View Full Version : 2 Questions
ascully
23 Jul 2001, 09:29
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
23 Jul 2001, 11:59
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
23 Jul 2001, 12:05
I see the 2 lines they look like this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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
23 Jul 2001, 15:47
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Change to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ascully
23 Jul 2001, 16:32
The icq thing is working perfectly i cant thank you enough
But the other thing gives me a parse error any ideas?
JamesUS
23 Jul 2001, 16:57
Make sure that if you use any "s, you precede them with a \
eg:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
ascully
24 Jul 2001, 10:17
"</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
24 Jul 2001, 12:03
Whoops that is the wrong place, sorry.
Try this:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Hopefuly that will work a bit better :)
ascully
24 Jul 2001, 14:57
That still didnt do it lol
Not having much luck here?
ascully
27 Jul 2001, 18:58
Anyone else any ideas ????
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Freddie Bingham
27 Jul 2001, 19:29
Sure but put your license info in your profile.
SloppyGoat
02 Apr 2003, 14:37
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 Apr 2003, 00:17
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 Apr 2003, 01:06
Why not use PHP tags?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
SloppyGoat
04 Apr 2003, 01:13
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
07 Apr 2003, 00:15
Bump
SloppyGoat
09 Apr 2003, 21:25
Bump
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.