View Full Version : 1 more request
pHAZE_1
05-15-2002, 01:40 AM
i would like a thing in the users profile that says where they are. kinda like 'users browsing this thread' but in there profile or maybe in the admin cp. that would be nice. :cool:
this sounds kinda cool :)
this is being done in vb 3
tubedogg
05-16-2002, 03:10 AM
Right now it would be very difficult to do. But in v3 Freddie has moved the function that determines where a user is so that it is simple to call it from another file, e.g. the user profile.
pHAZE_1
05-16-2002, 04:07 AM
cool thanks for the info
Logician
05-16-2002, 08:03 AM
To get the location in the "raw format" is quite easy: Just query the session table and return result from location field. But what returns to you is a line like this:
"/yourforum/showthread.php?s=&threadid=1513"
If you want this line formatted like: "User is Reading Thread xxxx", Tubedogg is right, because you need to write the code to make convertions for all possibilities the user can be doing at that moment. Testing and debugging will be more arduous.
Considering the fact that vbulletin 3 has this feature, we'd better wait.. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.