![]() |
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 |
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? :) |
I see the 2 lines they look like this
Code:
"</normalfont><blockquote><pre><smallfont>code:</smallfont><hr>\\5<hr></pre><normalfont></blockquote>", Sorry i was unclear on the other point i need the icq etc to appear on all posts Thanks for the help |
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] --> Code:
$post[icqicon] $post[aimicon] $post[yahooicon] |
The icq thing is working perfectly i cant thank you enough
But the other thing gives me a parse error any ideas? |
Make sure that if you use any "s, you precede them with a \
eg: Code:
<font color=\"red\"> |
"</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 |
Whoops that is the wrong place, sorry.
Try this: PHP Code:
|
That still didnt do it lol
Not having much luck here? |
Anyone else any ideas ????
Code:
Its the color of this text i need to change |
Sure but put your license info in your profile.
|
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.
|
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.
|
Why not use PHP tags?
PHP Code:
|
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.
|
Bump
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|