vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Add a colored prefix (https://vborg.vbsupport.ru/showthread.php?t=185747)

Virtualshiner 07-19-2008 01:45 PM

Add a colored prefix
 
Hi,

To a certain usergroup, I want to add a colored prefix so before their username.

How can I do this?

Thanks,

VS

Opserty 07-19-2008 02:16 PM

AdminCP > Usergroups > Usergroup Manager > Edit Usergroup > Username HTML Markup.

Virtualshiner 07-19-2008 02:52 PM

What do I have to put into the markup though?

Hex_legend 07-19-2008 02:56 PM

<font color="red"> in the first box

</font> in the second.

change red to the color you want to show.

Opserty 07-19-2008 02:58 PM

Search google for "color text HTML" and you're bound to get some results for further help.

Virtualshiner 07-19-2008 03:24 PM

I couldn't seem to find it.

Anyone have the markup just for the prefix?

Hex_legend 07-19-2008 03:34 PM

What is not to understand?

Go to usergroup options, edit usergroup, HTML markup:

First text box, enter <font color="red"> then </font> in the other.

Replace Red with your color text wanted.

Save.

Done.

Virtualshiner 07-19-2008 03:36 PM

I want to add a prefix to the username also so for example:

me_Virtualshiner

Hex_legend 07-19-2008 03:38 PM

you could create a custom usergroup and have the user HTML markup showing something like:

<font color="red">me_

in first box

</font> in second

Virtualshiner 07-19-2008 03:39 PM

Thank you for your help. I will try it out.

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

How do I make just the prefix a color?

Hex_legend 07-19-2008 03:44 PM

im not sure, but try:

(in first box only)

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

leave 2nd box blank

Virtualshiner 07-19-2008 03:47 PM

Awesome Thanks


All times are GMT. The time now is 01:57 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.01069 seconds
  • Memory Usage 1,723KB
  • 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)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