![]() |
Oh my god. You took out 6 characters.
Oh wow, that's still wrong. Should be <p><normalfont><font color="$post[field5]">$post[message]</font></normalfont></p> So I guess you took out 13 characters =P. |
Austin Dea, what're you talking about??
<p><normalfont color="$post[field5]">$post[message]</normalfont></p> works just fine, no need for 2 font tags (<normalfont> is a font tag, you can just add ` color="whatever"` to it...). However, doing this through Template changes only, will mess things up if a user doesn't enter anything in the field. If the field is left blank, with some browsers the font color will be made BLACK. If you're running a black-bg board with white text, that's not a fun thing. :) The idea of this hack is nice, but it can be improved easily. In showthread.php, find: PHP Code:
PHP Code:
$color_on and $color_off around $post[message] and it'll work. If a user doesn't enter anything, their posts will be default color. If they do, their posts (ALL their posts, including their former posts, made before you implemented this hack) will show up in the chosen color. |
I know it works just fine, I was just saying that the one I posted needed fixing =P.
And if you don't enter anything on my boards, it puts it as the default color...and on at least 3 other board I've seen using this method :). |
Well i like this hack i have it installed on my vB it is worth getting
|
AD: yes, but some (older) browsers might mess it up.
Anyhoo, the hack at the top, by Palmer, is just plain bad. Afterlab has it installed on FFR, and in my browser all users who use the hack, will have their posts show up in default color, TIMES NEW ROMAN. No colors, nothing, just an ugly TNR font. Quite annoying... :( |
seems like a good hack! I'll install it later! Good Work! I'd like the "Different Fonts" add-on too.......
|
Great Hack! Thx ..
Jacky |
KuraFire, I was wondering about one section of your updated version. Where you say:
Quote:
Thanks bunches in advance. |
You're suppose to put it in Admin CP > Templates > Modify > Style that you want to modify > Postbit Templates > postbit and then find the $post[message] and do as he said.
|
Quote:
|
All times are GMT. The time now is 01:47 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:
|