![]() |
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 |
Why not add something like this to the forumdisplay?
Code:
<if condition="$foruminfo[forumid] == 'x'">YOU CAN F****** CURSE IN THIS DAMN FORUM</if> |
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 https://vborg.vbsupport.ru/external/2008/01/2.jpg its stale looking and i really just want the Outline of the Postbit To be RED in that fourm/ all threads Thanks |
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. |
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 |
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>> |
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 ;) |
The threads, you'd probably have to edit the postbit template itself:
Try changing Code:
$template_hook[postbit_start] Code:
$template_hook[postbit_start] |
WORKS !!!
Now how about on the search page , just allow the table arond the threads from that forum to be red Thanks |
Is this possible?
|
bummer
|
I will pay Pal $20 to anyone who can get the Border around the posts on new posts thats in this forum
|
I'd be willing to help, but I'm slightly confused how you'd like to accomplish this consider the "New Posts" Page has all the posts in 1 table, including the same border for all the posts. I could possibly make the cell of the specific posts from your desired forum turn red, but not the border of the cell.
|
Yes Just the Cell Around New Posts from This Particular Forum To be Red , so when someone is searching new posts its obvious Which ones are not like the other :)
|
What do you mean by "Searching for"? Do you in fact mean the search.php?do=getnew link (the "New Posts" link in the navbar)? or actual search results? Please confirm this and I'll get on it.
|
Yes New Post Searches I want Posts from a certain Forum ID to have a red border insted for a normal one on the search page
--------------- Added [DATE]1204084235[/DATE] at [TIME]1204084235[/TIME] --------------- You going to do it? |
Unfornately, I wasn't able to get this to work. As the problem seems to be that the conditional I am using:
Code:
<if condition="$forumid == x"></if> There probably is a compromise to your problem though. Such as creating a unique "New Posts" link which shows posts from only specific forums, namely the one you want, while leaving anything else out. Effectively you can setup either 2 links, one that will pull new posts from the entire board exclude the forum you want, and the second link showing only the posts from the desired forum. Or Option B) When you enter the desired board, the new posts link will change to that which will only show the new posts in that particular board, rather than the entire forum. |
worked again for another forum thanks !
|
All times are GMT. The time now is 08:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|