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

Freddie Bingham 07-27-2001 06:29 PM

Sure but put your license info in your profile.

SloppyGoat 04-02-2003 01:37 PM

I've been trying to figure this one out for awhile. I'm licensed. Can anyone enlighten me? This has been driving me crazy for awhile.

SloppyGoat 04-03-2003 11:17 PM

Can someone please take a look at this when you have time? I'm all out of options here. This is my only hope to find out how to change this one little thing. vB.com won't help because it's in a php file, which they consider a hack. I'd be forever grateful.

Link14716 04-04-2003 12:06 AM

Why not use PHP tags?

PHP Code:

<?php
echo "Hello, vBulletin.org!";
?>


SloppyGoat 04-04-2003 12:13 AM

That's the point. I shouldn't have to, by default. As it is now, people don't necessarily think about that, so it's useless, unless they happen to figure it out. It's just more of a pain. One quick edit and that would be fixed, if I could just figure out what to edit, exactly. PHP tags can still be used, but I'd like the code to default to any color except black, which is the same as my background.

SloppyGoat 04-06-2003 11:15 PM

Bump

SloppyGoat 04-09-2003 08:25 PM

Bump


All times are GMT. The time now is 03:32 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.01033 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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