Back to Modification Graveyard

Inferno Mini Profile Mod (Work With Everything)
Mod Version: 1.00, by slapjack2fast

This thread is in the Modification Graveyard.
vB Version: 3.8.0 Rating: (0 vote - 0 average) Installs: 1
Released: 02 Aug 2009 Last Update: Never Downloads: 2
Not Supported Uses Plugins Template Edits Code Changes Additional Files Re-usable Code Translations  

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>
Next Open Up MEMBERINFO itself and find

Code:
$navbar
Underneath Place
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>
Save that and then open "memberinfo_block_statistics"
Find
Code:
</if>
			<li><a href="search.php?$session[sessionurl]do=finduser&amp;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&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li>
Replace With
Code:
<li><a href="search.php?$session[sessionurl]do=finduser&amp;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&amp;u=$userinfo[userid]&amp;starteronly=1" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></li>
Save That.

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>
Save that

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>
Replace All With
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>
Next : Open , "memberinfo_visitorbit"
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>
Save that , Next Step Open the "memberinfo_visitormessage"

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>
Replace with:
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>
Next Find
Code:
<if condition="$message['postuserid']">
					<a href="member.php?$session[sessionurl]u=$message[postuserid]" class="smallfont username">$message[musername]</a>
				<else />
Replace with
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 />
SAVE THAT once you got BOTH of the top things done

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&amp;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>
Save that and next open "Whosonline"
Find
Code:
$navbar
Underneath place
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"

Find
Code:
$navbar
Underneath place
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>
SAVE THAT!

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
Underneath that place
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>
Save that

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>
Replace with
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>
This should now be working with everything in your forum except for 1 or two things , screenshots and a demo will be posted later aswell

Download

This modification cannot be downloaded.

Supporters / CoAuthors

  • Zero Tolerance

Similar Mods

[mini-hack] Hidden profile fields viewable by admins & mods IN profile. vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024