The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Diffrent Table Color For a Certian Forum
Hello All ,
I have 1 forum on my board that allows Cuss words , People seem to forget what forum there in ,All i want to do is make the Table outline RED when your viewing that forum , so members always know where they are . How can i pull this off? Thanks |
#2
|
||||
|
||||
Why not add something like this to the forumdisplay?
Code:
<if condition="$foruminfo[forumid] == 'x'">YOU CAN F****** CURSE IN THIS DAMN FORUM</if> |
#3
|
||||
|
||||
What template would i add this to ? and where , and where would it show ?
Thanks Alot I really just want the table boarder to be RED --------------- Added [DATE]1201510362[/DATE] at [TIME]1201510362[/TIME] --------------- I Added <if condition="$foruminfo[forumid] == '6'">YOUR IN THE BAD LANDS</if> Under $navbar on Forum Dispaly but it dont show in threads , how do i make it show in threads? Thanks --------------- Added [DATE]1201510486[/DATE] at [TIME]1201510486[/TIME] --------------- Well you know... I installed the Add a Banner to any forum and selected it to show this image on threads also its stale looking and i really just want the Outline of the Postbit To be RED in that fourm/ all threads Thanks |
#4
|
||||
|
||||
In the forumdisplay template
Change this Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist" <if condition="$foruminfo[forumid] == 'x'">style="border 2px solid #ff0000;"</if>> Let me know how it works out. |
#5
|
||||
|
||||
I did that and theres no change at all ??
Not on threads or forum display yes i changed x to 6 http://www.dieselbombers.com/forumdisplay.php?f=6 |
#6
|
||||
|
||||
Oops. Forgot to add the
Code:
: Code:
border Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist" <if condition="$foruminfo[forumid] == 'x'">style="border: 2px solid #ff0000;"</if>> |
#7
|
||||
|
||||
Success !! now how do i make the threads Do that, and threads from that forum on the Search page to have a red outline
Also Give me your pay pal Information |
#8
|
||||
|
||||
The threads, you'd probably have to edit the postbit template itself:
Try changing Code:
$template_hook[postbit_start] <table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
$template_hook[postbit_start] <table class="tborder" id="post$post[postid]" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" <if condition="$forum[forumid] == 'x'">style="border: 2px solid #ff0000;"</if>> |
#9
|
||||
|
||||
WORKS !!!
Now how about on the search page , just allow the table arond the threads from that forum to be red Thanks |
#10
|
||||
|
||||
Is this possible?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|