vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Thread Prefixes help (https://vborg.vbsupport.ru/showthread.php?t=316093)

Goomzee 12-18-2014 04:50 AM

Thread Prefixes help
 
I added Thread Prefixes in some forum and that works fine but my question is Can i add background color on prefix for example below is Thread Prefixes

Tech
Help
Guide


now i want Tech Background is "green" Help "blue" and Guide "yellow"

kh99 12-18-2014 10:31 AM

In the Thread Prefix Manager, edit the prefix, and in the "Title (Rich Text)" field, enter the html you want to add color. For example, for Tech you could enter:
Code:

<span style="background-color:green">Tech</span>
or you could use classes instead, and put css for th class in the additional.css template.

Is that what you meant, or do you want to change the backgroud of the entire thread based on the prefix?

HM666 12-18-2014 11:09 AM

Knew you could do that for the usergroups but never realized it would work with prefixes, that is pretty cool, you learn something new each day.

Goomzee 12-23-2014 03:40 AM

Thanks sir


All times are GMT. The time now is 01:10 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.01036 seconds
  • Memory Usage 1,709KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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