![]() |
Hi, I have modified the original Users Online (online.php)
All i have changed are the templates really, and put it into member.php so its not one more file! It can be found here: http://www.nicholasbrown.karoo.net/usersonline.zip Hope it is of some use to someone. PS. I Take no credit at all for this "hack" |
Better then ever. :)
How can I get it to show guests like guest, guest2.etc? |
Id tell you apart from the fact i didn't write the hack, i just cleaned it up
|
okay sorry
Glad you make it better. :) |
|
Very nice hack!
One could also add an '@' behind the names on the main page user listing. And when you click it you'll be transferred to the thread the person is looking at. like: DVD Plaza@, leadZERO@, PeF@, ukliam@ in template 'loggedinuser' use this: <a href="member.php?action=getinfo&userid=$userid">$u sername</a><a href="$locationLink">@</a> and in index.php (line154) paste: $locationLink = $location; right under: $username=$loggedin[username]; $location=$loggedin[location]; cya! |
tried the @ and when i click on my @ it takes me to the root directory not the index.php where im located.?
|
in the loggedinuser template i added this code looks pretty good
<smallfont>There are currently $numberregistered member(s) and $numberguest guest(s) on the boards.</smallfont><a href="member.php?action=onlineusers"><br><B>Browsi ng the Boards</B></a><br></normalfont><a href="member.php?action=getinfo&userid=$userid">$u sername</a> |
OH ok I forgot something...
for the @ addition search for $username=$loggedin[username]; $location=$loggedin[location]; on line 143 directly underneath it paste $locationLink = $location; if you look about 10 lines more below you'll find $username=$loggedin[username]; $location=$loggedin[location]; again paste $locationLink = $location; under it So you'll end up with 2 $locationLink = $location; Should work now Hope this helps |
hey thats pretty cool
it works now thanx:) |
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|