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-25-2006 04:17 AM

How do I change the buddy and invisible symbol?
 
I was wondering, how do I change the buddy symbol (+) and the invisible symbol (*) that's displayed next to the username? I would prefer using a .gif.

Domokun

domokun 09-28-2006 12:46 AM

Nobody knows how to do this???

Domokun

domokun 09-30-2006 02:26 PM

Anybody??

Domokun

Paul M 09-30-2006 04:44 PM

As far as I remember it is built into the code, so you would need to edit the vb files in a number of places.

calorie 09-30-2006 05:13 PM

Untested, but in both the forumdisplay_loggedinuser and forumhome_loggedinuser templates find:
Code:

$loggedin[invisiblemark]$loggedin[buddymark]
And replace with the following:
Code:

<if condition="$loggedin[invisiblemark]"><img src="http://www.domain.com/forum/images/misc/whatever1.gif" alt="" border="0" /></if><if condition="$loggedin[buddymark]"><img src="http://www.domain.com/forum/images/misc/whatever2.gif" alt="" border="0" /></if>

Adrian Schneider 09-30-2006 05:24 PM

I've only ever seen it generated by the function fetch_online_status() in functions_bigthree.php.

Look at that function (line 53 for me) - it should be very easy to change.

calorie 09-30-2006 05:34 PM

No need to change the function though. ;)

Adrian Schneider 09-30-2006 05:45 PM

I'd personally rather change one PHP file than 3-4 templates. You missed postbit_onlinestatus as well.

calorie 09-30-2006 05:51 PM

The postbit_onlinestatus template is for user_offline.gif, user_online.gif, and user_invisible.gif. Both buddymark and invisiblemark appear in only the forumdisplay_loggedinuser and forumhome_loggedinuser templates, at least on vB 3.6.0, and of course TIMTOWTDI. :)

Adrian Schneider 09-30-2006 05:53 PM

Ah right - I just took a quick glance. :)


All times are GMT. The time now is 08:27 AM.

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.01000 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
  • (2)bbcode_code_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
  • (10)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