The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Change Title Color of Specific Forums on Homepage Details »» | |||||||||||||||||||||||||||
Change Title Color of Specific Forums on Homepage
Developer Last Online: Jan 2018
This modification will allow you to change the color of your forum titles for specific forums on your forumhome.
For example, if you want to draw more attention to your private sections to drive paid registrations, or just to make your forum unique and more customized, this can help. This mod is done via one simple template edit. STEP 1 - Find the forumhome_forumbit_level2_post template via edit templates > Forum Home Templates. Find the code below Code:
{vb:raw forum.title} Code:
<vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> {vb:raw forum.title} <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> Replace XXXXXX with the hex code for the color you want the forum title to be. You can find hex codes here, http://www.html-color-codes.com If you have multiple forums you want to change the title colors of for each, simply stack additional vb:if conditions above and below {vb:raw forum.title} for each forum you want to change. Like below Code:
<vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> <vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> <vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> {vb:raw forum.title} <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> <vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> [Postbit-Legacy Hack] Attractive User Info Boxes for Posts Link Private Forums to thread instead of error message Sidebar Anywhere Enhancement - Custom Blocks Per Forum or Page Change Thread Title Color for Specific Forums on Homepage Change Background Color for Specific Forums on Homepage Thread Starter Image in Postbit for OP CUSTOM BUTTONS that look like your forum! Custom User Rank Box in Posts Show Your Support
|
Comments |
#2
|
|||
|
|||
Thank you very much
|
#3
|
|||
|
|||
Can you made something similar to change color threads title on forumhome in specifics forums?
regards bosss |
#4
|
|||
|
|||
Find the forumhome_lastpostby template via edit templates > Forum Home Templates.
Find the code below Code:
<a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a> Code:
<vb:if condition="$forum[forumid] == XXX"> <font color="#XXXXXX"> </vb:if> Code:
<vb:if condition="$forum[forumid] == XXX"> </font> </vb:if> Replace XXXXXX with the hex code for the color you want the thread title colors to be. I created an additional mod anyway, in case anyone else has the same question. https://vborg.vbsupport.ru/showthread.php?t=293431 |
#5
|
|||
|
|||
I'm hoping you still monitor this thread. Seeing as you seem to know a bit about which templates edit what, would you by chance know how to apply this to the What's New (search.php?do=getnew&contenttype=vBForum_Post) thread titles?
For those who access my site, I'd like to draw specific attention to threads found in the What's New area of the forum that fall under specific forums. So to say... I post something important in forum id 2, and a member who can access that forum clicks What's New and it shows all the new posts since his last visit. Then they see that this particular thread, which is in forum id 2, is now red instead of the default link color. Is this possible? EDIT 2: I've tried editing "search_threadbit" by finding {vb:raw thread.threadtitle} and adding around it various attempts at changing the color. For the most part, all it does is cause the text to disappear from the search menu. I've not yet had success. <vb:if condition="$forum[forumid] == XXX"><font color=red></vb:if> and other attempts... If I leave a simple <font color=red>{vb:raw thread.threadtitle}</font> it has no problem changing to red. Almost seems as if the vb:if/forumid doesn't work in this area. |
#6
|
||||
|
||||
any screenshot for this modification?
|
#7
|
|||
|
|||
I was able to follow, and get to work, the Mod to alter the background colour of a Forum - But following this, I was unable to get title font colour to change.
Has anybody had any recent success? I have a 'problem' with Staff losing their way and forgetting which is the Staff Area and which is the main area - Mind - I too have to double-check at times |
#8
|
||||
|
||||
Couldn't get it to work on 4.2.5 ;(
|
#9
|
|||
|
|||
Not working in 4.2.3
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|