vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I change "user title" color? (https://vborg.vbsupport.ru/showthread.php?t=195449)

the stig 11-04-2008 06:45 PM

How can I change "user title" color?
 
How can I change the user title color for Moderators, Administrator, Super moderators, supporting members and also sponsors. Also, bold their user title too. Help is appreciated.

example
https://vborg.vbsupport.ru/external/2008/11/45.png

Seven Skins 11-04-2008 06:49 PM

AdminCP > Usergroups > usergroup manager

Select user group and edit "Username HTML Markup" for the user group.

e.g. <span style="font-weight: bold;"> </span>

.

UKBusinessLive 11-04-2008 06:53 PM

AdminCP > Usergroup Manager>

Choose the usergroup you want to edit

ie. Admin

then in "Username HTML Markup" copy this in the first box

HTML Code:

<span style="color:Green" title="Admin"><b>
and close it with the following in the second box

HTML Code:

</b></span>
what that gives you is bold green username as admin see here http://www.ukbusinesslive.co.uk/foru...hp?p=26#post26

you just need to change the colors and username in each usergroup

Enjoy :D

the stig 11-04-2008 07:13 PM

Quote:

Originally Posted by Seven Skins (Post 1659534)
AdminCP > Usergroups > usergroup manager

Select user group and edit "Username HTML Markup" for the user group.

e.g. <span style="font-weight: bold;"> </span>


.

thanks but I already have the "username" bold and colored. I need the "user title" bold and colored.

Quote:

Originally Posted by UKBusinessLive (Post 1659535)
AdminCP > Usergroup Manager>

Choose the usergroup you want to edit

ie. Admin

then in "Username HTML Markup" copy this in the first box

HTML Code:

<span style="color:Green" title="Admin"><b>
and close it with the following in the second box

HTML Code:

</b></span>
what that gives you is bold green username as admin see here http://www.ukbusinesslive.co.uk/foru...hp?p=26#post26

you just need to change the colors and username in each usergroup

Enjoy :D

Thanks for your help but I already have the "username bold and colored" .. if you look at the picture, I only need the "user title"(i.e. administrator) bold and colored ..... Any idea how I can do that? I do appreciate your quick reply

UKBusinessLive 11-04-2008 07:59 PM

Perhaps you need to go to your styles postbit_legacy and edit the line..

HTML Code:

<if condition="is_member_of($post, 6)"><div style="color:red;">$post[usertitle]</div></if>
That will make admins user tiiles red, just change it for any other usergroup

the stig 11-04-2008 08:47 PM

1 Attachment(s)
Quote:

Originally Posted by UKBusinessLive (Post 1659559)
Perhaps you need to go to your styles postbit_legacy and edit the line..

HTML Code:

<if condition="is_member_of($post, 6)"><div style="color:red;">$post[usertitle]</div>
That will make admins user tiiles red, just change it for any other usergroup

aha ..that's what I need..

I tried but it didn't work. What's going on?? Here's a picture of my default codes....

Seven Skins 11-04-2008 10:12 PM

I have done it my profile manually in one of the forums.

Edit user profile in the adminCP > Custom User Title > "Yes, Admin set html allowed" and html mark up there.

http://img220.imageshack.us/img220/4787/0956sf2.png


.

the stig 11-04-2008 11:42 PM

Quote:

Originally Posted by Seven Skins (Post 1659605)
I have done it my profile manually in one of the forums.

Edit user profile in the adminCP > Custom User Title > "Yes, Admin set html allowed" and html mark up there.

THANK you for your time. I tried that and it worked! so I set the admins that way but it'll be a hassle and time consuming to set premium members or other user groups one by one. Still looking for a solution

Seven Skins 11-05-2008 09:45 PM

Hmm

Here we go, I have made this hack : https://vborg.vbsupport.ru/showthread.php?t=195539

;)

.

the stig 11-06-2008 02:19 AM

Quote:

Originally Posted by Seven Skins (Post 1660150)
Hmm

Here we go, I have made this hack : https://vborg.vbsupport.ru/showthread.php?t=195539

;)

.

AWESOME man! gonna give this a shot tomm.

aapkae 08-10-2009 02:08 PM

<b><font color="red"></font></b>

try this dude its work

Super-six 03-22-2010 01:05 AM

Quote:

Originally Posted by UKBusinessLive (Post 1659559)
Perhaps you need to go to your styles postbit_legacy and edit the line..

HTML Code:

<if condition="is_member_of($post, 6)"><div style="color:red;">$post[usertitle]</div></if>
That will make admins user tiiles red, just change it for any other usergroup



Several answers to the OP question in this thread, but this is the only
one that really addresses it.
I am after the same thing...I do not wish to alter the username
I only want to color and bold the usergroup title...just as presented in
the OP up top.
Any other way to do this other than the method in this post?

Speysider 03-22-2010 08:30 AM

No, you don't need to edit any templates to do this.
Check your user titles manager.

@all: please note <font> tags are deprecated and should be replaced with <span style="color: #000000;"> instead.

@super-six: Why did you bump this thread to make a point that you already made in your own thread?

Super-six 03-22-2010 10:23 AM

Quote:

Originally Posted by Speysider (Post 2007996)
Check your user titles manager.

Has nothing to do with the question.
This only contains option to change requirement to
belong to this title...not appearance.


All times are GMT. The time now is 07:43 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.01289 seconds
  • Memory Usage 1,757KB
  • 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
  • (7)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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