PDA

View Full Version : Add-On Releases - BT - Displays avatars your friends pop-up


BlackThorn
04-13-2010, 10:00 PM
BT - YOUR FRIENDS-BUDDIES WITH THEIR AVATARS ON POP-UP PAGE


BlackThorn Coding...
vBulletin Version: 3.6.x
Plug-in version: 2.00
All Friends with their avatars
Default Avatars works great.
Offline friends TOO!


Step 1: Download plug-in and upload it in admincp plug-in upload page.

Step 2: Open your buddylistbit template and all codes replace with;

<tr>

<td class="alt1"><a href="member.php?$session[sessionurl]u=$buddy[userid]" target="_blank"><img src="$stylevar[imgdir_statusicon]/user_$buddy[statusicon].gif" alt="" title="<phrase 1="$buddy[username]" 2="$buddy[statusicon]">$vbphrase[x_is_y]</phrase>" border="0" /></a></td>

<td class="alt2" width="100%">
<if condition="$buddy[avatarurl]"><img height="30px" width="30px" class="inlineimg" src="$buddy[avatarurl]" border="0" /></if>
<label class="smallfont" for="buddy_$buddy[userid]">
<if condition="$show['highlightuser']"><span class="highlight">$buddy[username]</span><else />$buddy[username]</if></label></td>

<td class="alt1"><input type="checkbox" name="userid[]" id="buddy_$buddy[userid]" value="$buddy[userid]" /></td>
</tr>



Step 3: Add a link on navbar or use this (if you do not have it);

<a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;" title="Arkadaşlarımı G?ster.">Show all my friends!</a>

Step 4: Please remember to click MARK AS INSTALLED if you use it :D