Previous Thread
Next Thread
Print Thread
Rate Thread
#57543 04/29/2004 12:20 PM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
How hard would it be to make an addon that would log the usernames of users who view a thread and then save it to display on the thread page.

Sponsored Links
#57544 04/29/2004 3:38 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
*cough*pntf*cough* tipsy

Go to ?ubb=pntf;f=X;t=xxxxxx

BTW that's a great idea for hit hack 3: use PNTF to find out the number of viewers.

#57545 04/29/2004 8:53 PM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
But see that only tracks it for the last 15 minutes. Im wanting to be able to show every user that ever viewed each thread.

#57546 05/04/2004 1:53 AM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
bump

#57547 05/04/2004 9:29 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
that's a very server intensive idea although it should be possible

Sponsored Links
#57548 05/04/2004 10:08 AM
Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
I dont really see how its that server intensive if you replicate the model used in the hit hack already. You pass all the info back and forth using its javascript and that little cgi page handels all the data reading and stuff and generates the output. If you store the names in a field list and the user ids in a feild list similar to the method for the hit hack this should only be as server intensive as the hit hack is.

#57549 05/04/2004 5:28 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
The hit hack increments a number. This requires storing a large amount of names, making sure not to duplicate any of them, and then you have to format then.

Also, you'll most likely want to use &GetPubName on the members so you know they're publie name, and this would need to be done every time anyone viewed a topic.

This idea could bring forums like UBBDEV to a halt


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 20240506)