vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   chaning user title color? (https://vborg.vbsupport.ru/showthread.php?t=181734)

berry05 06-06-2008 09:57 PM

chaning user title color?
 
is there a way to changing the user title color on users? i tried HTML and it didn't work...

veenuisthebest 06-06-2008 10:04 PM

it has to work.

usergroup manager->choose usergroup->HTML markup

put this in first box

Code:

<span style="color: red";>
and this in second

Code:

</span>

Opserty 06-06-2008 10:22 PM

Add a ">" to the end of the first code ;)

berry05 06-06-2008 10:43 PM

no..like opserty...see how your thing is "advisor" and its blue...like that...not the user name..

veenuisthebest 06-06-2008 10:49 PM

okayy.. i got it now..

you'll have to edit title in postbit template.

Carlos X 06-06-2008 11:18 PM

I was going to respond to this thread clarifying this, but I didn't want to correct Osperty.

berry05 06-06-2008 11:44 PM

ok..so how do i do it? lol

Dismounted 06-07-2008 06:54 AM

Edit your postbit template, find the user title variable, and wrap the colour code.

berry05 06-07-2008 11:59 AM

oOo ic....but i just wanna make a certain one light blue...is there a way i can add HTML to the user title of one user?

Dismounted 06-07-2008 12:17 PM

Use a conditional:
Code:

<if condition="$vbulletin->userinfo['userid'] == X">CODE</if>

berry05 06-07-2008 12:33 PM

your prob gunna get mad at me but...where exactly do i put the code? i tried in postbit but i dont know where in postbit i put it.

Lynne 06-07-2008 01:48 PM

Quote:

Originally Posted by berry05 (Post 1543116)
your prob gunna get mad at me but...where exactly do i put the code? i tried in postbit but i dont know where in postbit i put it.

Go to your postbit template and in the Search in Template field, put "usertitle" and hit Find. It will show you where in the template the usertitle is located. You will see a line like this:
HTML Code:

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
You want to put your conditional there, after the condition that is currently there. Try it out yourself, and if you are having problems, post what you tried and we will help you to get it how you want it.


All times are GMT. The time now is 10:20 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.01127 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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