Inferno Mini Profile Mod (Work With Everything)
This thread is in the Modification Graveyard.
We'll after some work i finally got Inferno Mini Profile Hover to work with everything on my forum without the need for vb Advanced or anything else
CREDITS TO: Zero Tolerance Inferno Technology's 1st your going to need to download the hack itself , and go to Admin CP -> Plugins & Products -> Manage Products -> [Add/Import Product] & Import the Product Step 2: Go to -> Styles & Templates -> Style Manager -> Your Style - > Edit Templates Open up the template memberinfo tiny Just Replace all with: Code:
<li class="memberinfo_tiny"> <if condition="$user['avatarurl']"> <a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($user[userid])', 400)" onmouseout="clearTimeout(request_data)"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a> </if> <div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($user[userid])', 400)" onmouseout="clearTimeout(request_data)">$user[musername]</a></div> </li> Code:
$navbar Code:
<script type="text/javascript"> <!-- /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *\ | AJAX Member Info Pop-Up | Created By Zero Tolerance | Copyright 2006 Inferno Technologies | All Rights Reserved \* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ ajax_member_popup_active = false ajax_member_popup_call = null ajax_member_popup = function(id) { if (id == 'clear') { if (obj = fetch_object('memberpopup')) { obj.parentNode.removeChild(obj) } ajax_member_popup_active = false return false } if (ajax_member_popup_active) { return false } //ajax_member_popup_call = call ajax_member_popup_active = true ajax_pop = new vB_AJAX_Handler(true) ajax_pop.onreadystatechange(ajax_member_popup_show) ajax_pop.send('ajax.php', 'do=memberpop&u=' + id) } ajax_member_popup_show = function() { if (ajax_pop.handler.readyState == 4 && ajax_pop.handler.status == 200 && ajax_member_popup_active && ajax_pop.handler.responseText) { ajax_member_popup_doshow(ajax_pop.handler.responseText) } } ajax_member_popup_doshow = function(display) { if (obj = fetch_object('memberpopup')) { ajax_member_popup('clear') } linkoffset = vB_Popup_Menu.prototype.fetch_offset(ajax_member_popup_call) div = document.createElement('div') div.id = 'memberpopup' div.align = 'left' div.innerHTML = display div.style.position = 'absolute' div.style.top = (linkoffset['top'] + ajax_member_popup_call.offsetHeight) + 'px' div.style.left = linkoffset['left'] + 'px' document.body.appendChild(div) fetch_object('memberpopup').style.width = fetch_tags(fetch_object('memberpopup'), 'table')[0].offsetWidth + 'px' if (linkoffset['left'] + fetch_object('memberpopup').offsetWidth > (document.body.clientWidth - 20)) { while (linkoffset['left'] + fetch_object('memberpopup').offsetWidth >= (document.body.clientWidth - 20)) { linkoffset['left']-- } fetch_object('memberpopup').style.left = linkoffset['left'] + 'px' } document.onclick = function(){ajax_member_popup('clear')} ajax_member_popup_active = false } --> </script> Find Code:
</if> <li><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_posts_by_x]</phrase></a></li> <li><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]&starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li> Code:
<li><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($userinfo[userid])', 400)" onmouseout="clearTimeout(request_data)"><phrase 1="$prepared[username]">$vbphrase[find_all_posts_by_x]</phrase></a></li> <li><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]&starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li> Next Step Open "forumhome_birthday" Replace entire contents with Code:
<!--rlm--><a href="member.php?$session[sessionurl]u=$birthday[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($birthday[userid])', 400)" onmouseout="clearTimeout(request_data)">$birthday[username]</a><if condition="$birthday[age]"> <!--rlm-->($birthday[age])</if> Next Open "memberinfo_small" Find : Code:
<li id="friend_mini_$user[userid]" class="memberinfo_small"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td rowspan="2"> <div class="fixed_width_avatar"><a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a></div> </td> <td width="100%"> <div class="tborder info_bar"> <ul class="alt2 list_no_decoration"> <li><a href="member.php?$session[sessionurl]u=$user[userid]" class="bigusername">$user[musername]</a></li> <li class="smallfont">$user[usertitle]</li> </ul> </div> </td> </tr> <tr valign="bottom"> <td> Code:
<li id="friend_mini_$user[userid]" class="memberinfo_small"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td rowspan="2"> <div class="fixed_width_avatar"><a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($muser[userid])', 400)" onmouseout="clearTimeout(request_data)"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a></div> </td> <td width="100%"> <div class="tborder info_bar"> <ul class="alt2 list_no_decoration"> <li><a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($user[userid])', 400)" onmouseout="clearTimeout(request_data)" class="bigusername">$user[musername]</a></li> <li class="smallfont">$user[usertitle]</li> </ul> </div> </td> </tr> <tr valign="bottom"> <td> Replace all with : Code:
<li class="smallfont"><a href="member.php?$session[sessionurl]u=$user[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($user[userid])', 400)" onmouseout="clearTimeout(request_data)">$user[musername]</a>$user[invisiblemark]$user[buddymark] </li> Find: Code:
<if condition="$message['postuserid']"><a href="member.php?$session[sessionurl]u=$message[postuserid]"></if><img src="$message[avatarurl]" class="alt2 avatar"<if condition="$message['avatarwidth']"> width="$message[avatarwidth]"</if><if condition="$message['avatarheight']"> height="$message[avatarheight]"</if> border="0" alt="$message[username]" /><if condition="$message['postuserid']"></a></if> </div> Code:
<if condition="$message['postuserid']"><a href="member.php?$session[sessionurl]u=$message[postuserid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($message[userid])', 400)" onmouseout="clearTimeout(request_data)"></if><img src="$message[avatarurl]" class="alt2 avatar"<if condition="$message['avatarwidth']"> width="$message[avatarwidth]"</if><if condition="$message['avatarheight']"> height="$message[avatarheight]"</if> border="0" alt="$message[username]" /><if condition="$message['postuserid']"></a></if> </div> Code:
<if condition="$message['postuserid']"> <a href="member.php?$session[sessionurl]u=$message[postuserid]" class="smallfont username">$message[musername]</a> <else /> Code:
<if condition="$message['postuserid']"> <a href="member.php?$session[sessionurl]u=$message[postuserid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($message[userid])', 400)" onmouseout="clearTimeout(request_data)" class="smallfont username">$message[musername]</a> <else /> Next Open "whosonlinebit" Replace ALL with Code:
<tr> <td class="alt1" width="35%"> <span class="smallfont" style="float:$stylevar[right]"><span class="time">$userinfo[time]</span></span> <if condition="$show['loggedinuser']"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]"rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($userinfo[userid])', 400)" onmouseout="clearTimeout(request_data)">$userinfo[musername]</a>$userinfo[hidden]<if condition="$show['buddy']">+</if> <else /> <if condition="$show['spider']">$spidertype<else />$userinfo[musername]</if> </if> </td> <td class="alt2" width="35%"> <div> <span style="float:$stylevar[right]"> <if condition="$show['lockedout']"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></if> <if condition="$show['nopermission']"><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></if> <if condition="$show['errormessage']"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></if> <if condition="$show['reallocation']"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" /></if> </span> $userinfo[action] </div> <if condition="$show['where']"> <div class="smallfont" style="margin-top:1px"> <if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if> $userinfo[where] </div> </if> </td> <if condition="$show['ip']"> <td class="$ipclass"><div class="smallfont"> <if condition="$show['ajax_resolve']"> <a href="online.php?$session[sessionurl]do=resolveip&ipaddress=$userinfo[host_encoded]" id="resolveip_$count" title="$vbphrase[resolve_ip_address]">$userinfo[host]</a> <else /> $userinfo[host] </if> <if condition="$show['useragent']"><br />$userinfo[useragent]</if> </div></td> </if> <if condition="$vboptions['showimicons']"> <td class="alt2" align="center" nowrap="nowrap"> $userinfo[aimicon] $userinfo[icqicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon] </td> </if> </tr> Find Code:
$navbar Code:
<script type="text/javascript"> <!-- /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *\ | AJAX Member Info Pop-Up | Created By Zero Tolerance | Copyright 2006 Inferno Technologies | All Rights Reserved \* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ ajax_member_popup_active = false ajax_member_popup_call = null ajax_member_popup = function(id) { if (id == 'clear') { if (obj = fetch_object('memberpopup')) { obj.parentNode.removeChild(obj) } ajax_member_popup_active = false return false } if (ajax_member_popup_active) { return false } //ajax_member_popup_call = call ajax_member_popup_active = true ajax_pop = new vB_AJAX_Handler(true) ajax_pop.onreadystatechange(ajax_member_popup_show) ajax_pop.send('ajax.php', 'do=memberpop&u=' + id) } ajax_member_popup_show = function() { if (ajax_pop.handler.readyState == 4 && ajax_pop.handler.status == 200 && ajax_member_popup_active && ajax_pop.handler.responseText) { ajax_member_popup_doshow(ajax_pop.handler.responseText) } } ajax_member_popup_doshow = function(display) { if (obj = fetch_object('memberpopup')) { ajax_member_popup('clear') } linkoffset = vB_Popup_Menu.prototype.fetch_offset(ajax_member_popup_call) div = document.createElement('div') div.id = 'memberpopup' div.align = 'left' div.innerHTML = display div.style.position = 'absolute' div.style.top = (linkoffset['top'] + ajax_member_popup_call.offsetHeight) + 'px' div.style.left = linkoffset['left'] + 'px' document.body.appendChild(div) fetch_object('memberpopup').style.width = fetch_tags(fetch_object('memberpopup'), 'table')[0].offsetWidth + 'px' if (linkoffset['left'] + fetch_object('memberpopup').offsetWidth > (document.body.clientWidth - 20)) { while (linkoffset['left'] + fetch_object('memberpopup').offsetWidth >= (document.body.clientWidth - 20)) { linkoffset['left']-- } fetch_object('memberpopup').style.left = linkoffset['left'] + 'px' } document.onclick = function(){ajax_member_popup('clear')} ajax_member_popup_active = false } --> </script> Find Code:
$navbar Code:
<script type="text/javascript"> <!-- /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *\ | AJAX Member Info Pop-Up | Created By Zero Tolerance | Copyright 2006 Inferno Technologies | All Rights Reserved \* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ ajax_member_popup_active = false ajax_member_popup_call = null ajax_member_popup = function(id) { if (id == 'clear') { if (obj = fetch_object('memberpopup')) { obj.parentNode.removeChild(obj) } ajax_member_popup_active = false return false } if (ajax_member_popup_active) { return false } //ajax_member_popup_call = call ajax_member_popup_active = true ajax_pop = new vB_AJAX_Handler(true) ajax_pop.onreadystatechange(ajax_member_popup_show) ajax_pop.send('ajax.php', 'do=memberpop&u=' + id) } ajax_member_popup_show = function() { if (ajax_pop.handler.readyState == 4 && ajax_pop.handler.status == 200 && ajax_member_popup_active && ajax_pop.handler.responseText) { ajax_member_popup_doshow(ajax_pop.handler.responseText) } } ajax_member_popup_doshow = function(display) { if (obj = fetch_object('memberpopup')) { ajax_member_popup('clear') } linkoffset = vB_Popup_Menu.prototype.fetch_offset(ajax_member_popup_call) div = document.createElement('div') div.id = 'memberpopup' div.align = 'left' div.innerHTML = display div.style.position = 'absolute' div.style.top = (linkoffset['top'] + ajax_member_popup_call.offsetHeight) + 'px' div.style.left = linkoffset['left'] + 'px' document.body.appendChild(div) fetch_object('memberpopup').style.width = fetch_tags(fetch_object('memberpopup'), 'table')[0].offsetWidth + 'px' if (linkoffset['left'] + fetch_object('memberpopup').offsetWidth > (document.body.clientWidth - 20)) { while (linkoffset['left'] + fetch_object('memberpopup').offsetWidth >= (document.body.clientWidth - 20)) { linkoffset['left']-- } fetch_object('memberpopup').style.left = linkoffset['left'] + 'px' } document.onclick = function(){ajax_member_popup('clear')} ajax_member_popup_active = false } --> </script> Next open up "forumhome_loggedinuser" Replace ALL with Code:
$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($loggedin[userid])', 400)" onmouseout="clearTimeout(request_data)" >$loggedin[musername]</a> $loggedin[invisiblemark]$loggedin[buddymark] And Now to get it working with MEMBERSLIST Open up the template MEMBERSLIST: Find as shown above Code:
$navbar Code:
<script type="text/javascript"> <!-- /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *\ | AJAX Member Info Pop-Up | Created By Zero Tolerance | Copyright 2006 Inferno Technologies | All Rights Reserved \* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= */ ajax_member_popup_active = false ajax_member_popup_call = null ajax_member_popup = function(id) { if (id == 'clear') { if (obj = fetch_object('memberpopup')) { obj.parentNode.removeChild(obj) } ajax_member_popup_active = false return false } if (ajax_member_popup_active) { return false } //ajax_member_popup_call = call ajax_member_popup_active = true ajax_pop = new vB_AJAX_Handler(true) ajax_pop.onreadystatechange(ajax_member_popup_show) ajax_pop.send('ajax.php', 'do=memberpop&u=' + id) } ajax_member_popup_show = function() { if (ajax_pop.handler.readyState == 4 && ajax_pop.handler.status == 200 && ajax_member_popup_active && ajax_pop.handler.responseText) { ajax_member_popup_doshow(ajax_pop.handler.responseText) } } ajax_member_popup_doshow = function(display) { if (obj = fetch_object('memberpopup')) { ajax_member_popup('clear') } linkoffset = vB_Popup_Menu.prototype.fetch_offset(ajax_member_popup_call) div = document.createElement('div') div.id = 'memberpopup' div.align = 'left' div.innerHTML = display div.style.position = 'absolute' div.style.top = (linkoffset['top'] + ajax_member_popup_call.offsetHeight) + 'px' div.style.left = linkoffset['left'] + 'px' document.body.appendChild(div) fetch_object('memberpopup').style.width = fetch_tags(fetch_object('memberpopup'), 'table')[0].offsetWidth + 'px' if (linkoffset['left'] + fetch_object('memberpopup').offsetWidth > (document.body.clientWidth - 20)) { while (linkoffset['left'] + fetch_object('memberpopup').offsetWidth >= (document.body.clientWidth - 20)) { linkoffset['left']-- } fetch_object('memberpopup').style.left = linkoffset['left'] + 'px' } document.onclick = function(){ajax_member_popup('clear')} ajax_member_popup_active = false } --> </script> Then in "memberslist_resultsbit" Find Code:
<tr align="center"> <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if> </td> Code:
<tr align="center"> <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]" rel="nofollow" onmouseover="ajax_member_popup_call = this;request_data = setTimeout('ajax_member_popup($userinfo[userid])', 400)" onmouseout="clearTimeout(request_data)">$userinfo[musername]</a> <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if> </td> Download This modification cannot be downloaded. Supporters / CoAuthors
|
Similar Mods
[mini-hack] Hidden profile fields viewable by admins & mods IN profile. | vBulletin 2.x Full Releases |