First off I'm not at all a coder but messed with this for days till I got font size to work.. I made a 3rd custom field for the font size and added to the code.. Its working fine for me..
Title = Font Size In Posts
Description = This font size will appear when posting. Example: 2pt, 3pt, 4pt, 5pt, 6pt, 7pt
Max length = 15
Field Length = 25
Single-Line Text Box
Field Required = no
Field Searchable on Members List = yes
Show on Members List = yes
Last Edit your postbit or postbit legacy Template whichever one you use.
Find this code:
Code:
$post[message]Replace it with this code:
Code:
Code:
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
<if condition="$post['fieldx']!= '' OR $post['fieldx']!= '' OR $post['fieldx']!= ''">
<font style="font-family:$post[fieldx];color:$post[fieldx];font style="font-size:$post[fieldx];">$post[message]</font> <else />
$post[message]
</if>
</div>
When you edit the font size in usercp enter value like this <font size = 3pt> Not sure if you need the pt or not but it works for me..