View Full Version : Forum Name Colors
Blindchild02
07-23-2005, 05:34 PM
Is there a way i can set the color for each forum name to a different color??
say i want general discussion to show up red.... is that possible
Marco van Herwaarden
07-23-2005, 07:07 PM
Just put html color tags around the forumname.
Gio~Logist
07-23-2005, 07:08 PM
that's what i did... however, then it shows the html tags in your title when you enter the forum ;]
Blindchild02
07-23-2005, 07:10 PM
i did that, but it doesnt work in firefox
Marco van Herwaarden
07-23-2005, 07:33 PM
that's what i did... however, then it shows the html tags in your title when you enter the forum ;]What tag did you use?
Marco van Herwaarden
07-23-2005, 07:36 PM
Just tried on 3.0.7 and put a '<font color="red">forumtitle</font>' and it works like a charme.
Gio~Logist
07-23-2005, 07:38 PM
And did you click on the forum and notice the title on the browser also shwos as <font color="red">forumtitle</font> ?
Marco van Herwaarden
07-23-2005, 07:39 PM
Nope, just showing the forumname in red.
Using IE
Edit: Tried it now on a local almost unhacked testboard, but i have done this on many production boards before without any problem.
Gio~Logist
07-23-2005, 07:45 PM
so your telling me that on the top of the browser.... in the part that uses the code <title>.... it has red font?
Blindchild02
07-23-2005, 07:47 PM
oops.
well i fixed it, i forgot the # for the hex code, it doesnt show in firefox without that @.@
and yes, at the top it does say <font>Forumname</font>
Marco van Herwaarden
07-23-2005, 07:53 PM
See screenshots
Blindchild02
07-23-2005, 08:05 PM
no man... TOP OF THE BROWSER
Gio~Logist
07-23-2005, 08:16 PM
<font color="green">*gio~logist rubs in marco's face what hes been trying to say for the past 1/2 hour*</font>
Marco van Herwaarden
07-23-2005, 08:26 PM
Lol, well to fix that:
edit forumdisplay.php, find in the bottom:
eval('print_output("' . fetch_template('FORUMDISPLAY') . '");');
Then add above:
$show['forumtitle'] = strip_tags($foruminfo['title']);
Now edit the FORUMDISPLAY template, and replace '$foruminfo[title]' in the <title> tag with '$show[forumtitle]'
Will show up fine now
Gio~Logist
07-23-2005, 08:27 PM
i like that one.... ima have to use that
now maybe you can answer my request marco!!!!!!!!!!!!!!!!!!!!!!! :-D
Marco van Herwaarden
07-23-2005, 08:33 PM
You asked something?
I am afraid i won't be answering much more tonight, and in te morning it will depend on if i had already finished my coffee when i see your thread. :D
Adrian Schneider
07-23-2005, 08:34 PM
I really hope you don't mean here...
Marco van Herwaarden
07-23-2005, 08:41 PM
????
Blindchild02
07-23-2005, 08:42 PM
sweet worked perfectly :D
Marco van Herwaarden
07-23-2005, 08:43 PM
of course :D :D
bigcurt
07-23-2005, 10:48 PM
/me hates marco for being rite all the time 0_o rofl
Marco van Herwaarden
07-24-2005, 04:58 AM
I wish i was, but i guess that would get boring also.
Don't worry i am just as human as you are and make my fair share of mistakes.
bigcurt
07-24-2005, 05:18 AM
/me doesnt believe marco :P rofl
J/k, everyone makes mistakes ( except zachery 0_o rofl)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.