Previous Thread
Next Thread
Print Thread
Rate Thread
#277036 07/21/2004 6:01 PM
Joined: Jul 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2004
Posts: 2
I am wondering if the 6.4 version of UBB threads is able to auto refresh the postings? (My clients are not too keen on hitting F5 every minute.)

I have found a few posts (on the UBBS site) that suggest this feature but did not find it listed in the "version history" or "features" area.

Can anyone shed some light onto this for me.

Another question if I may: Has anyone created a split screen (using iframes perhaps?) so the user can watch the active posts (which hopefully refresh ever 5 seconds or so) but can still continue writing their posting?

If not, is it technically possible to modify the php code to do this?

I am evaluating whether this software is the best choice for our univeristy and need more information about the software.

Many thanks.

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
You'll end up using more bandwidth, but if that's not a concern then go for it I guess :-)

In postlist.tmpl...

CHANGE THIS:

Code
<? //UBBTREMARK <br />echo <<<UBBTPRINT <br />


TO THIS:

Code
<? //UBBTREMARK <br />echo <<<UBBTPRINT <br /><meta http-equiv="refresh" content="X">  


...where X is the number of seconds between refreshes.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Hey Twisty.
Is there a way to do that for the active topics page only. like it does for the whos online page?

I looked into the .tmpl folder but dont see an activetopic.tmpl file.

Joined: Jul 2004
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2004
Posts: 2
Hey, Thanks very much. Works like a charm.

I also added it to the showflat.tmpl and showthreaded.tmpl files so that new posts also get refreshed automatically.

Yes, the bandwidth will be reduced but we will only have maybe 20 user at one time for a particular session so we can live with it.

Many thanks!

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
[]DrChaos said:
Hey Twisty.
Is there a way to do that for the active topics page only. like it does for the whos online page?

I looked into the .tmpl folder but dont see an activetopic.tmpl file. [/]

I'm using an older threads version which doesn't include that feature, so sorry, I'm not able to assist you on that one.

Maybe someone else will know.

EDIT: I just had a look at the source on this site and it uses dosearch.php to generate the page. Thus, try adding that change into dosearch.tmpl and see how it works.

The only 'issue' is that it will also auto-refresh normal search results as well, but that shouldn't really matter because most people wouldn't leave that page sitting there for any length of time anyway.

It probably won't matter if the refresh time is set to something reasonable like 1-5 minutes.

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Ill try it. I was thinking something liek 5 minutes would be a good number.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)