![]() |
Who's Online Clickable Location Icon
1 Attachment(s)
This is a little mod that I use on my boards and wanted to share with the community.
What does it do? This mod will make the "question mark" icon ( https://vborg.vbsupport.ru/images/icons/icon5.gif ) in Who's Online clickable so you can see the real location of the visitor on your forum. Time= 1 minute Files to edit= 0 Templates to edit=1 Install: Edit template WHOSONLINE: Find this code: PHP Code:
PHP Code:
If you want the link to open in same page: Replace the original code above with this code: PHP Code:
I hope you find this mod of some use. I tested this on vB 4.2.0 and 4.2.1 Alpha 7/17/12 Updated missing closing </a> tag If you enjoy my mod, please consider marking it as "Installed". Any comments are welcome. |
Nice, I used to use this on vB3 good to see it back for vB4
|
Thanks Joe
|
Do you know what code would need to be edited for this to work on versions before 4.2.0?
I just checked in the Template for 4.1.3 and this first code wasn't there. |
1 Attachment(s)
For vb 4.1.3 you need to change the code in whosonlinebit template instead
Find this code: PHP Code:
Replace it with: PHP Code:
|
That worked great, thanks again.
|
Glad to hear
|
Installed thanks... How could this be set so only admins could view the links?
|
Thanks dsantana,...
This is really a simple code, and others can't see what they aren't allowed to see before. Noone can view any location unless they have permission. But there are ways to do what you want. Either allow only Admins to view Who's Online, or simple condition will do. |
Code is missing the closing "</a>" tag right before the "</vb:if>"
|
All times are GMT. The time now is 05:45 PM. |
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:
|