vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I change the buddy and invisible symbol? (https://vborg.vbsupport.ru/showthread.php?t=127494)

domokun 09-30-2006 09:27 PM

1 Attachment(s)
Ok, you've given me enough to figure this out :) . I'm learning HTML as much as I can so let me give this a shot. I use vBulletin 3.5.4 so I'm not sure what difference there is for vB 3.6.

You'll have to change a few templates in order to make this consistent, unless there's an easier way but I'm not sure:

forumdisplay_loggedinuser

Quote:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" target="_blank">$loggedin[musername]</a><if condition="$loggedin[invisiblemark]"><img src=images/misc/user_invisible.gif alt="" width="10" height="10" /></if><if condition="$loggedin[buddymark]"><img src=images/misc/heart.gif alt="" width="12" height="12" /></if>
forumhome_loggedinuser

Quote:

$stylevar[dirmark]<a href="member.php?$session[sessionurl]u=$loggedin[userid]" rel="nofollow">$loggedin[musername]</a><if condition="$loggedin[invisiblemark]"><img src=images/misc/user_invisible.gif alt="" width="10" height="10" /></if><if condition="$loggedin[buddymark]"><img src=images/misc/heart.gif alt="" width="12" height="12" /></if>
WHOSONLINE

Quote:

<!-- icons and forum jump -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td width="100%">
<table cellpadding="2" cellspacing="0" border="0">
<col align="center"></col>
<tr>
<td><img src=images/misc/heart.gif alt="" width="12" height="12" /></td>
<td class="smallfont">&nbsp; $vbphrase[user_is_on_your_buddy_list]</td>
</tr>
<if condition="$show['hidden']">
<tr>
<td><img src=images/misc/user_invisible.gif alt="" width="10" height="10" /></td>
<td class="smallfont">&nbsp; $vbphrase[user_is_invisible_to_others]</td>
</tr>
</if>
whosonlinebit

Quote:

<if condition="$show['loggedinuser']">
<a href="member.php?$session[sessionurl]u=$userinfo[userid]" target="_blank">$userinfo[musername]</a><if condition="$userinfo[hidden]"><img src=images/misc/user_invisible.gif alt="" width="10" height="10" /></if><if condition="$show['buddy']"><img src=images/misc/heart.gif alt="" width="12" height="12" /></if>
I used the ftp to upload the images I wanted to use instead of the vBulletin defaults. This should replace those images in the forum home page, the who's online page, and the legend on who's online. Thanks so much for giving me a place to start. I think I'm finally starting to understand how HTML works. Much appreciated.

Domokun

p.s. Some snapshots of what I did:

da420 09-30-2006 09:32 PM

Very cool. I might just have to do something like that. :)


All times are GMT. The time now is 11:17 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.01023 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete