|
|
Joined: Jun 2003
Posts: 9
Lurker
|
Lurker
Joined: Jun 2003
Posts: 9 |
I've gone through page after page of the mods index, but one thing I haven't found is a feature I love on this very discussion board: On the main discussion board page, after each forum, it says how many users are currently browsing that forum, i.e.: How Do I... (3 viewing). What mod is this? I'd so love to use it.
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
This normal function and it's not enabled by default. To enable it go to Admin > Edit Config Settings > Special Functions / Misc. settings and turn on Post Tracking.
|
|
|
|
Joined: Jun 2003
Posts: 9
Lurker
|
Lurker
Joined: Jun 2003
Posts: 9 |
I do have post tracking on (tried the 2 flavors available) but neither show current number of users viewing each forum from the main discussion board page. If I understand correctly, new post tracking shows you how many new posts are in a forum, but not how many folks are currently viewing that forum.
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
I'm sorry pdagal, I mis-read. What version of threads are you using? It's now standard in 6.4.
|
|
|
|
Joined: Jun 2003
Posts: 9
Lurker
|
Lurker
Joined: Jun 2003
Posts: 9 |
Still on 6.2.3. Since I'd customized it so much, I've been avoiding the upgrade until 6.5 comes out. . . I might have to re-consider.
|
|
|
|
Joined: Sep 2003
Posts: 803
Coder
|
Coder
Joined: Sep 2003
Posts: 803 |
How could we change the color of that (3 viewing) to something more definite than white?
|
|
|
|
Joined: May 2003
Posts: 1,068
Junior Member
|
Junior Member
Joined: May 2003
Posts: 1,068 |
Edit your /lang/*/ubbthreads.php as shown below. Then change the color to one that works for you find: $ubbt_lang['VIEWING'] = "viewing"; Then surround it with color quotes $ubbt_lang['VIEWING'] = "<font color=\"gray\">viewing</font>";
|
|
|
|
Joined: Sep 2003
Posts: 803
Coder
|
Coder
Joined: Sep 2003
Posts: 803 |
that only changed the word viewing?
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
That is correct. To change the color of the whole string, you'd have to edit the tmpl file to add/change the class for that specific cell so that the text color is different.
Last edited by DLWebmaestro; 04/14/2004 12:02 AM.
|
|
|
|
Joined: Sep 2003
Posts: 803
Coder
|
Coder
Joined: Sep 2003
Posts: 803 |
I found this in the ubbthreads.tmpl file. <span class="small"><br /> {$forum[$c][$f]['viewing']}<br /></span><br /> that seems to be the only one there that has the viewing option.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
thats the forum variable thats built in ubbthreads.php if (!isset($Boardview[$Keyword])) { $forum[$x][$y]['viewing'] = ""; } else { $forum[$x][$y]['viewing'] = "($Boardview[$Keyword] {$ubbt_lang['VIEWING']})"; } so change it there instead.
Last edited by scroungr; 04/14/2004 7:44 AM.
|
|
|
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.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|