Author |
Topic  |
kolucoms6
Average Member
  
845 Posts |
Posted - 15 May 2007 : 12:48:42
|
I have seen a feature in other forums where it shows how many users viewing a particular category.
Any MOD for our forum also ? |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 15 May 2007 : 12:51:03
|
active users mod does this I believe by viewing active.asp. I am sure if its not built in you could probably modify it to show on the bottom of the forums. But not sure for sure. |
 |
|
kolucoms6
Average Member
  
845 Posts |
Posted - 15 May 2007 : 12:54:22
|
Active Users shows how many logged in but not current viewing a particular category. |
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 15 May 2007 : 12:58:54
|
have a look through the archives...there was mods like this...they may need to be updated to snitz 3.4+ |
© 1999-2010 MaD2ko0l |
 |
|
Jezmeister
Senior Member
   
United Kingdom
1141 Posts |
Posted - 15 May 2007 : 13:27:43
|
active users could certainly be modified to do that, if you store the AU data in the database, make sure that AU is noting all querystrings then you can query for people in the AU table on the relevant page with the same ID using regular expressions or you could extend AU to save the ID QS seperately and again a simple query would do it but without regexp. |
Edited by - Jezmeister on 15 May 2007 13:28:59 |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 15 May 2007 : 13:46:22
|
I think MaD2ko0l was right though, I seem to remember there was another MOD that did this... if memory serves ServerHacker had built it into his portal (when it was still with us) |
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 15 May 2007 : 16:12:48
|
i think it was called "who is inside" or somthing along them lines |
© 1999-2010 MaD2ko0l |
 |
|
kolucoms6
Average Member
  
845 Posts |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 15 May 2007 : 19:46:07
|
No. But I don't think it was up there anyway. I think it was in the MODs w/code forum. I could be mistaken though as I've only heard of it in passing. You may want to try and contact ServerHacker as he did have it in his portal. He could probably let you know where it was. |
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 15 May 2007 : 20:28:15
|
The name of the other modded forum has escaped me but doesn't he have this same feature in his forum as well? |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 15 May 2007 : 22:18:31
|
Who, Image? I can't say, I haven't played with his portal much. |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 16 May 2007 : 20:03:51
|
I've got this MOD somewhere. I don't remember what it was called or who made it, though. I'm on my way out the door right now, but I'll see if I can track it down later this evening. |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
kolucoms6
Average Member
  
845 Posts |
Posted - 02 June 2007 : 18:16:35
|
Sorry buit I didnt get this MOD. |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 02 June 2007 : 22:08:22
|
Well, I couldn't find this for the life of me, so I decided to just write up the code. I've tested this on MySQL, and it worked there. This add-on assumes you're using the Active Users MOD (not Active Users Lite... I didn't test with that).
All line numbers here will assume a clean 3.4.06 install.
In topic.asp, around line 411-412, find this code:
Above that, add this code:
This will display the users viewing individual topics. The same principle would apply to other pages on the site. Find the code displaying the breadcrumbs menu and add the code above at the bottom of it.
Let me know if this works/doesn't work or if anyone has any questions. |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
 |
|
kolucoms6
Average Member
  
845 Posts |
Posted - 03 June 2007 : 02:20:49
|
Does it work with Default.asp to find out how many viewers viewing a particular category ? |
 |
|
Topic  |
|