vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - BT - Displays avatars your friends pop-up (https://vborg.vbsupport.ru/showthread.php?t=240446)

BlackThorn 04-13-2010 10:00 PM

BT - Displays avatars your friends pop-up
 
BT - YOUR FRIENDS-BUDDIES WITH THEIR AVATARS ON POP-UP PAGE

  • BlackThorn Coding...
  • vBulletin Version: 3.7.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;

PHP Code:

<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);

PHP Code:

<a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=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


All times are GMT. The time now is 02:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01106 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete