The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AJAX - Mouseover Profile Preview Details »» | |||||||||||||||||||||||||
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.ht...t=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:
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 Install if you use this Show Your Support
|
Comments |
#232
|
||||
|
||||
Quote:
in header template, change Code:
<script type="text/javascript" src="js/ajax-dynamic-content.js"></script> <script type="text/javascript" src="js/ajax.js"></script> <script type="text/javascript" src="js/ajax-tooltip.js"></script> <link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css"> <script type="text/javascript"> document.body.onclick = ajax_hideTooltip; </script> Code:
<script type="text/javascript" src="$vboptions[bburl]/js/ajax-dynamic-content.js"></script> <script type="text/javascript" src="$vboptions[bburl]/js/ajax.js"></script> <script type="text/javascript" src="$vboptions[bburl]/js/ajax-tooltip.js"></script> <link rel="stylesheet" href="$vboptions[bburl]/css/ajax-tooltip.css" media="screen" type="text/css"> <script type="text/javascript"> document.body.onclick = ajax_hideTooltip; </script> |
#233
|
|||
|
|||
Eric, is it possible to fix the errors we described in the above posts? If not, please let us know because I'll need to remove this hack from our site for now until the problem is fixed.
I just discovered this mod also has the same problem with Photopost Pro and have provided additional screenshots. edit: I just noticed MiotraGusa posted a fix - I'll try it and get back to you. Thanks Miotra. |
#234
|
|||
|
|||
Quote:
Quote:
|
#235
|
||||
|
||||
FIX CMPS - Member ajax
Quote:
Code:
<script type="text/javascript" src="js/ajax-dynamic-content.js"></script> <script type="text/javascript" src="js/ajax.js"></script> <script type="text/javascript" src="js/ajax-tooltip.js"></script> <link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css"> <script type="text/javascript"> document.body.onclick = ajax_hideTooltip; </script> Code:
<script type="text/javascript" src="$vboptions[bburl]/js/ajax-dynamic-content.js"></script> <script type="text/javascript" src="$vboptions[bburl]/js/ajax.js"></script> <script type="text/javascript" src="$vboptions[bburl]/js/ajax-tooltip.js"></script> <link rel="stylesheet" href="$vboptions[bburl]/css/ajax-tooltip.css" media="screen" type="text/css"> <script type="text/javascript"> document.body.onclick = ajax_hideTooltip; </script> Code:
<if condition="$loggedin[userid]"><if condition="in_array($bbuserinfo['usergroupid'], array(1, 3))"> $stylevar[dirmark]<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark] <else /> $stylevar[dirmark]<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('http://www.yourdomain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()"> $loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark] </if> <else />$loggedin[musername]</if> in template member_ajax search: Code:
<if condition="$show['avatar']"> <td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> <else /> Code:
<if condition="$show['avatar']"> <td><img src="$vboptions[bburl]/$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td> <else /> bye |
#236
|
||||
|
||||
if your forums are located in one subdomain ex. forum.mydomain.com and don't show profile in forumhome, replace again the entire forumhome_loggedinuser template with this:
Code:
<if condition="$loggedin[userid]"><if condition="in_array($bbuserinfo['usergroupid'], array(1, 3))"> $stylevar[dirmark]<a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a>$loggedin[invisiblemark]$loggedin[buddymark] <else /> $stylevar[dirmark]<if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$loggedin[userid]"onmouseover="ajax_showTooltip('http://www.domain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]',this,true);return false" onmouseout="ajax_hideTooltip()"> $loggedin[musername]</a><else /><a href="$vboptions[bburl]/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></if>$loggedin[invisiblemark]$loggedin[buddymark] </if> <else />$loggedin[musername]</if> |
#237
|
||||
|
||||
Thanks for taking time to help out and post your fixes guys.
|
#238
|
|||
|
|||
Thanks for your fixes, MioTraGusa.
I have just one minor error I'm seeing in CMPS. In Internet Explorer, if you or some of your users are in invisible mode, you'll get this script error: 'Error:Permission denied' on the CMPS home page. Any fix for this? |
#239
|
||||
|
||||
Quote:
Code:
ajax_showTooltip('http://www.yourdomain.org/forum/member_ajax.php?$session[sessionurl]u=$loggedin[userid]' test it... |
#240
|
|||
|
|||
hey man, great hack i love it
sorry if you already answered this, i search and did not find it.. sometimes some users have big avatars like 130px wide, so the popup doesnt show everything is suppose to, it shows a scroll bar but u cant really scroll down is there a way to make the pop up box bigger? thanks in advance! |
#241
|
||||
|
||||
Quote:
PHP Code:
bye |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|