![]() |
Quote:
Add the code in the right spot and you should be fine. |
Quote:
I put it in presumably where it is supposed to be, however, it is not working. Could you please be more specific for us code-tarded folks. Thanks.:D Also, can you clarify - the instructions say: FIND: <!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> REPLACE WITH: |
Yes, that would be handy!
Searching templates for the code PHP Code:
postbit and postbit_legacy postbit works. I only want members to be able to set font type, color and italic. The field number for this are: font type: 23 color: 24 italic : 25 I have color and italic working, but not font type. My current code is: PHP Code:
Does higher / lower case matter when defining fonts? |
Quote:
Code:
TEMPLATE EDIT: |
Quote:
As for your problem, the way the code works it HAS to have the the size code in there. my suggestion to is leave the code the way it is and change the font size PX to the desired size you want like so: Code:
<span style="font: 15px $post[fieldXX]; color: $post[fieldXX]; font-weight: $post[fieldXX]; font-style: $post[fieldXX]; text-decoration: $post[field17];">$post[message]</strong></span> You can also still make the profile field, but only make 1 option like 15 or whatever. Then set it to default first option and make it so the member can not edit. The first option might be easier. |
Aah. That makes sense. Thanks.
|
Exatcly what I was looking for. I did the same thing as Alph1
So what exactly is the default font px size? I am pretty sure 15 is a tad too large. |
One thing I have found--- when you choose a color--its lighter than the same color you choose in the editor
|
Here is an example. The dull pink is using the hack and the brighter is using the editor when you make a post
|
Quote:
Edit: I've tested it on my forum and it did not happen. I replied to the test thread and edited the post and it stayed the same. Also I don't know the exact size that would work for forum, so it's best to try a few numbers before go LIVE with it. |
All times are GMT. The time now is 09:52 PM. |
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:
|