vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Change vBCode color (https://vborg.vbsupport.ru/showthread.php?t=41567)

amykhar 04-09-2003 08:35 PM

Enough with the bumps already.

Look for this:

// ###################### Start stripbrsfromcode #######################

and find the normalfont section in that function and modify it to your heart's content.

SloppyGoat 04-09-2003 09:28 PM

Ok, thanks for replying. And sorry about all the bumps. It's tough not knowing php. :(

Is there anything I need to know about tags in php? Someone in another thread was saying it had to be something like this:

Code:

<font color=\"red\">
Is that correct? Between the normalfont tags?

[edit] It worked!! WOOOHOOOOO!!! Thank you so much! I'd give ya a big hug if I could. :D If there's anything I can do for ya, just ask. ;)

But I found out something rather strange. Maybe you can help explain this one. I was convinced that the code font color couldn't be changed without hacking, until now.

This makes no sense at all. I was talking to another vB admin, and she said that that particular text color changes when custom styles/templates are used. Her code color defaults to white, and she has no idea why....since she never hacked that line. That would mean it can't possibly be in functions.php, correct? I mean, templates can't change php code, correct? Do you think there's some easier way to change it? I'd assume there's a template or style that can be changed, in light of this new info.


All times are GMT. The time now is 07:56 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
  • Page Generation 0.00996 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete