Previous Thread
Next Thread
Print Thread
Hop To
#226494 05/14/2009 12:53 AM
Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
would it be possible to but an auto refresh command into the active topics page, the same as is done for Who's Online?

Code
<meta http-equiv="Refresh" content="60;url=/forums/ubbthreads.php/online" />

many of my regular users spend all day logged in, and an auto refresh on this screen would be useful for them.



JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Feb 2007
Posts: 1,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
You can place this in your HTML includes in the control panel.

It can be nice on some boards but on others may not be appreciated.

Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
if i put that code in the HTML header includes it would cause all pages to refresh, not just the Active Topics page. that would certainly be very unappreciated! smile



JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users
Joined: Nov 2006
Posts: 40
newbie
newbie
Joined: Nov 2006
Posts: 40
This is top of the head stuff, but you could try something like this in your HTML header...

Code
<?php
if($_SERVER["SCRIPT_NAME"]=="/forums/ubbthreads.php/activetopics/7/1")
{
?>
  <meta http-equiv="Refresh" content="60;url=/forums/ubbthreads.php/activetopics/7/1" />
<?php
}
?>

Joined: Dec 2005
Posts: 122
member
member
Joined: Dec 2005
Posts: 122
thanks neil! works a treat!!


JakChat.com -- Forums for Indonesia's English-speaking community
Ubuntu-Indonesia.com -- Forums for Indonesia's Ubuntu Users

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)