The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom Postbit Font settings?
I created 3 custom options that each user can set, they are font face, font color and font size. I added the variables to my postbit template
<p><normalfont><FONT COLOR="$post[field16]" FACE="$post[field17] SIZE="$[field18]">$post[message] </normalfont></font></font></font></p> The problem I am having is that if someone doesnt select a custom size then it is defaulting to a larger font size and overriding my <normalfont> tag :surprised: How can I set a default for these fields to use if the user doesnt set their own, so that I can control the size myself if they dont have their own size set? Thanks in advance for your help :rambo: |
#2
|
||||
|
||||
Oops ignore this 2nd reply :lick:
|
#3
|
||||
|
||||
I'd say you need a small code hack to fix this.
In getpostbit in admin/functions.php, add lines like this: PHP Code:
This is untested, but should work. |
#4
|
||||
|
||||
Very cool thanks for your help. I will let you know
|
#5
|
||||
|
||||
Just to let you know, I added the code, tweaked the code in the postbit a tiny bit and its working wonderfully :banana: Thank you again
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|