vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   2 Questions (https://vborg.vbsupport.ru/showthread.php?t=23416)

ascully 07-23-2001 08:29 AM

First off when you post the code tags on a forum to put a string of text as code how do you change the color that displays in?

Ive looked though the templates but dont see it.

And secondly how do you show users icq,aim,msn status on the board? i read you uncomment it in the template but it dosnt look commented in mine anyway

Any help welcome thanks in advance

JamesUS 07-23-2001 10:59 AM

1. To change the code tag format, you need to open the admin/functions.php file. Then find lines 397 and 398 - you can change it all there. You can use the <font color="whatever"> to change the color.

2. Do you mean in the profile template? Or on all posts? Or where? :)

ascully 07-23-2001 11:05 AM

I see the 2 lines they look like this
Code:

          "</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
          "</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",

where do i put the font?

Sorry i was unclear on the other point i need the icq etc to appear on all posts

Thanks for the help

JamesUS 07-23-2001 02:47 PM

1. After the <smallfont> tag in both lines should do the trick.
2. About halfway down the postbit template (in your CP), there should be a line like this:
Code:

<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
Change to:
Code:

$post[icqicon]  $post[aimicon]  $post[yahooicon]

ascully 07-23-2001 03:32 PM

The icq thing is working perfectly i cant thank you enough

But the other thing gives me a parse error any ideas?

JamesUS 07-23-2001 03:57 PM

Make sure that if you use any "s, you precede them with a \
eg:
Code:

<font color=\"red\">

ascully 07-24-2001 09:17 AM

"</normalfont><blockquote><pre><smallfont><font color=\"silver\">code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",
"</normalfont><blockquote><pre><smallfont><font color=\"silver\">code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>",

im entering this and having no luck at all the code tag text is still staying black

JamesUS 07-24-2001 11:03 AM

Whoops that is the wrong place, sorry.

Try this:
PHP Code:

 "</normalfont><blockquote><pre><smallfont>code:</smallfont><hr><font color=\"silver\">\\5<hr></pre><normalfont></blockquote>"
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr><font color=\"silver\">\\5<hr></pre><normalfont></blockquote>"

Hopefuly that will work a bit better :)

ascully 07-24-2001 01:57 PM

That still didnt do it lol
Not having much luck here?

ascully 07-27-2001 05:58 PM

Anyone else any ideas ????

Code:

Its the color of this text i need to change


All times are GMT. The time now is 11:16 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.01153 seconds
  • Memory Usage 1,734KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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