View Full Version : 2 Questions
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
"</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:
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
Change to:
$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:
<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:
"</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 ????
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
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.