vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Stars next to username--paid subscibers (https://vborg.vbsupport.ru/showthread.php?t=237508)

CrashfAB 03-04-2010 07:05 PM

Stars next to username--paid subscibers
 
Ok I have figured out how to put a star next to a users name in the Usergroup settings under username markup <img src="images/stars/gold-star.png" border="0" class="inlineimg" />

The only issue is doing it this way it also shows a star next to the username down on the active users and visited users. Now I will be having 5 different paid subscriptions with each a different color star (black,green,blue,red,gold). I am not real good with conditionals(which I assume thats what its called) and I suspect its a simple code. So can anybody help me with some simple code for the postbit_legacy.

Thank you

--------------- Added [DATE]1267747015[/DATE] at [TIME]1267747015[/TIME] ---------------

Ok I am trying to teach myself the if conditional. I am having a hard time trying to figure out one aspect of it. For instance I have user (id:4) and I want that user number to have a particular star---whats the conditional to call that up?

Lynne 03-04-2010 10:59 PM

Probably:
HTML Code:

<if condition="$post['userid'] == x">
stuff
</if>


CrashfAB 03-06-2010 01:24 AM

Thank you lyyne---Perfect ;)


All times are GMT. The time now is 01:22 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.01159 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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