vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Forum Name Colors (https://vborg.vbsupport.ru/showthread.php?t=92735)

Blindchild02 07-23-2005 05:34 PM

Forum Name Colors
 
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

Quote:

Originally Posted by gio~logist
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

1 Attachment(s)
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:
PHP Code:

eval('print_output("' fetch_template('FORUMDISPLAY') . '");'); 

Then add above:
PHP Code:

$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

1 Attachment(s)
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)


All times are GMT. The time now is 06:27 PM.

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.01217 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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