The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Allow members to choose font size?
Hi
Some of my members are complaining about the size of text [it is verdana size 1] and they think it is too small. Is there a little hack someone can make for me, that would allow them to choose their own font size? I know they can change it through IE [View >> Text Size] but it looks weird. Thanks for any help! |
#2
|
||||
|
||||
Size 1 is too small. That's smallfont size. Make it size=2 and it should be fine.
You don't need a hack to let users choose their font size. Make a custom profile field, get your users to enter the font size they want in it in their user CP Profile, and then in your postbit template, have this <font face=Verdana size=$post[fieldx]> and </font> with your $post[message] in between (x being the custom profile field id). There you go! |
#3
|
||||
|
||||
Hi
Thanks for the reply Erwin. Although your method is logical, I'm having problems with it. If I put it "2" in my profile only my post will be that size. However another thing. Quoting people and posting "code" doesn't have the right size too after their closing tags. So if i put: "blah blah blah [Code here] or [Code here] There you go!" Blah Blah Blah will be in size 2 and so will the text within the tags. "Or" and "There you go!" will be still size 1. I prefer size 1 because it looks neater |
#4
|
||||
|
||||
I see what you are asking for.
Instead of the font code above, use this one: <font face=Verdana size=$bbuserinfo[fieldx]> and </font> with your $post[message] in between (x being the custom profile field id). All post will be set to each member's font size. As for quote tags - you can do the same in your custom vBCode section by modifying it there. |
#5
|
||||
|
||||
It's not working well in the quote tags, it's bigger for some reason- other than that post work well!
Thanks a lot m8 Edited: Where are the PHP/CODE tags? I can't seem to find them although they work. I did replace the javascipt file so maybe that has something to do with it |
#6
|
||||
|
||||
Please help me Erwin !
|
#7
|
||||
|
||||
Go to your Admin CP, then to your Custom vBCode section in the left column, click on Modify, and see if quote is listed there. If it's not, then you need to edit your functions.php.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|