Back to vBulletin 3.6 Add-ons

AJAX - Mouseover Profile Preview
Mod Version: 2.0, by ericgtr

This modification is in the archives.
vB Version: 3.6.0 Rating: (28 votes - 4.36 average) Installs: 569
Released: 11 Aug 2006 Last Update: 07 Feb 2007 Downloads: 2835
Not Supported Uses Plugins Template Edits Additional Files  

What it does:
This script will display profile info when you mouseover their username on the forumhome page, the javascript (ajax) is from http://www.dhtmlgoodies.com/index.html?whichScript=ajax-tooltip See screenshot or test drive it here by waving your mouse over usernames in the What's Going On box http://www.guitarblast.com/ (currently off for guests, see screenshot below)

Notes&Updates:
  • By default this uses it's own CSS located in the CSS folder. To change the background color, edit ajax-tooltip.css and find /* Background color */ and change to your background color.
  • There is a space after each username, between the comma's. Currently working on fixing this.
  • If the name wraps to the next line, it will not display on mouseover.
  • The javascript box will run off the end if the forum width is at 100% for usernames on the edge. (currently working on this)
  • [8/13] Added the option to turn off for guests. This is ideal both to save server load and if you have the member list turned off for guess through the admin CP.
  • [10/28] Fixed broken page (css display) and included a Product installer.
  • [10/28] Now also shows "mousing over members" in the Who's Online page.
  • [11/1] Added a delay so it has to be moused over for a small amount of time before it will show. Removed caching and put a timer on it so there will no longer be a need to refresh the page to get the latest on where a user is, it will do it automatically.
  • [11/8]
    Added option to make the window stay open so you can click within it or scroll (if scrollbars appear) clicking anywhere outside of it will close it. To do this:
    In the forumhome_loggedinuser find:
    Code:
    $stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
    Replace with:
    Code:
    $stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false">  $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark]
    Open the header template and add this to the very bottom:
    Code:
    <script type="text/javascript"> 
    document.body.onclick = ajax_hideTooltip; 
    </script>

Keep in mind that if you leave this on for guests, you must also allow guests to view member info. Admin CP > Usergroups > Usergroup Manager > Unregistered / Not Logged In [edit] > Can View Member Info (Yes).

Upgrade and fresh install instructions are included in the zip file.

That's it!
Pleas click if you use this

Download

This modification is archived, downloads are still allowed.

File Type: %1$s product_ajax_mouseover.zip (22.3 KB, 2827 downloads)

Screenshots

Click image for larger version
Name:	sshot.gif
Views:	6253
Size:	7.7 KB
ID:	55395  

Similar Mods

Forum Display Enhancements [AJAX] Ajax Poll Preview vBulletin 3.7 Add-ons
New Posting Features AJAX Preview For New Thread / Reply vBulletin 3.6 Add-ons
Show Thread Enhancements Ajax Thread (1stPost) Preview 1.5 Gold vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024