Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Who's Online Clickable Location Icon Details »
Who's Online Clickable Location Icon
Mod Version: 1.1, by Merjawy (Member) Merjawy is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (2 votes - 5.00 average) Installs: 18
Released: 15 Jul 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes Re-usable Code Translations  

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 ( ) 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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will open the link in a new page/tab.

If you want the link to open in same page:
Replace the original code above with this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View 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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	2012-07-15_0637.jpg
Views:	469
Size:	82.0 KB
ID:	139827  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Photopost "gallery" clickable icon in postbit(_legacy) and/or profiles. mini2 vBulletin 3.5 Add-ons 44 28 Jan 2008 14:54
Show Thread Enhancements Clickable user location using google maps 4x4 Mecca vBulletin 3.6 Template Modifications 21 02 Jun 2007 05:00

Comments
  #2  
Old 15 Jul 2012, 11:23
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Nice, I used to use this on vB3 good to see it back for vB4
Reply With Quote
  #3  
Old 15 Jul 2012, 11:34
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Thanks Joe
Reply With Quote
  #4  
Old 15 Jul 2012, 12:08
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
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.
Reply With Quote
  #5  
Old 15 Jul 2012, 13:38
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
For vb 4.1.3 you need to change the code in whosonlinebit template instead

Find this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: jpg 2012-07-15_0940.jpg (62.0 KB, 27 views)

Last edited by Merjawy; 17 Jul 2012 at 17:23.
Reply With Quote
  #6  
Old 15 Jul 2012, 14:48
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
That worked great, thanks again.
Reply With Quote
  #7  
Old 15 Jul 2012, 14:53
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Glad to hear
Reply With Quote
  #8  
Old 16 Jul 2012, 03:48
dsantana dsantana is offline
 
Join Date: Dec 2011
Installed thanks... How could this be set so only admins could view the links?
Reply With Quote
  #9  
Old 16 Jul 2012, 11:24
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
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.
Reply With Quote
  #10  
Old 17 Jul 2012, 17:14
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Code is missing the closing "</a>" tag right before the "</vb:if>"
Reply With Quote
  #11  
Old 17 Jul 2012, 17:24
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Good catch, thanks Mark...

Code updated
Reply With Quote
  #12  
Old 20 Jul 2012, 02:55
pbnjj11 pbnjj11 is offline
 
Join Date: Oct 2011
Thumbs up brother! thanks!
Reply With Quote
  #13  
Old 20 Jul 2012, 08:08
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Enjoy. Thank you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:38.

Layout Options | Width: Wide Color: