![]() |
Personal Font/Color in Posts
Personal Font/Color in Posts
by gio~logist Allow users to change what color/font their posts are in threads Via UserCP [high]Step 1[/high] [high]Go to User Profile Fields >> Add New User Profile Field[/high] Choose A "Single-Line Text Box" [high]Title:[/high] "Your Font Color In Posts" [high]Description:[/high] This is the color of the font in which will appear in your posts. (Ex: #ff0000 is red) [high]Display Size:[/high] 11 [high]Max length of allowed user input:[/high] 8 [high]HIT SAVE[/high] [high]Step 2[/high] [high]Go to User Profile Fields >> Add New User Profile Field[/high] Choose A "Single-Line Text Box" [high]Title:[/high] "Your Font In Posts" [high]Description:[/high] This is the font in which will appear in your posts. (Ex: Tahoma) [high]Display Size:[/high] 15 [high]Max length of allowed user input:[/high] 20 [high]HIT SAVE[/high] [high]Step 3[/high] Now go to edit your postbit template and search for this code: HTML Code:
$post[message] HTML Code:
<if condition="$post['fieldx'] != '' OR $post['fieldx'] != ''"> [high]HIT SAVE[/high] [high]AND WE'RE DONE![/high] [high]Addons Already Made[/high] Glowing Posts For Mods, S.Mods, and Admins [high]Planned Addons For Next Release[/high] - Nothing So Far Feel Free to Post Any Ideas/Suggestions |
Zip Updated.....Hope You All Like
|
how is this different than the one you released yesterday?
Users Choose Username Font/Color Posts https://vborg.vbsupport.ru/showthread.php?t=93099 |
Quote:
That hack changes the color/font of your USERNAME in posts, this hack changes the color/font of your POSTS themselves. |
Quote:
|
Quote:
|
I do not have time to do the admin option thing. Why not just make field/dont make field editable in order to enable/disable the hack?
You want only certain usergroups to be allowed to do this? |
Quote:
|
thank you
sweet i will installed :D |
Quote:
[high]Step 1[/high] [high]Go to User Profile Fields >> Add New User Profile Field[/high] Choose A "Single-Line Text Box" [high]Title:[/high] "Glow For Moderators and Admins" [high]Description:[/high] This is the glow color of the font in which will appear in your posts. (Ex: #ff0000 is red) <font color="red"> This Will Only Work For Moderators and Administrators. [high]Display Size:[/high] 11 [high]Max length of allowed user input:[/high] 8 [high]HIT SAVE[/high] [high]Step 3[/high] Now go to edit your postbit template and search for this code: HTML Code:
<font style="font-family:$post[fieldx]; color:$post[fieldx];">$post[message]</font> HTML Code:
<if condition="$bbuserinfo['usergroupid'] == '6' OR $bbuserinfo['usergroupid'] == '7' OR $bbuserinfo['usergroupid'] == '5'"> Replace the X in the <div style= tag with the field ID for the field we just created. [high]HIT SAVE[/high] [high]AND WE'RE DONE![/high] This will make it so that mods, s mods, and admins can have glowing posts. |
Quote:
hello! some of us don't know how to do that kind of ++++ yet. some of us just installed vB last week! not everyone is a php guru like u. :p That said, does this hack effect text formating used in the posts? |
Quote:
|
Lmao you can't use Y in fields... atleast i don't think so... i will get to work on the admin option thing ASAP, i've been extremely busy lately
|
Quote:
|
btw, do you know why some colors (#540000) don't work?
|
i dont see why a certain color woulrnd work as long as you make sure to put the # (for firefox). why doesn't that one work? what happens?
|
/me installs
|
THANK YOU gio~logist for all of your hard work and effort that you've put into this. It IS appreciated :)
|
For whatever reason mine's not working...
<div id="post_message_$post[postid]"><if condition="$post['field5'] != '' OR $post['field6'] != ''"> <font style="font-family:$post[field5]; color:$post[field6];">$post[message]</font> Is this right?? |
Quote:
|
Quote:
It depends.... is field 5 and 6 the fields you made? Also, what happens when you install? |
This is greatly appreciated Gio.... one thing... when I do change it, it makes the font smaller.
But this is exactly what I was looking for thanks |
Anyone know why only Administrators can see the custom fonts?
|
Lol what code did you use?
|
I followed the exact instructions in the first post, on my board only administrators can see the custom colors and fonts.
|
Post your whole postbit file and i will take a look.
Also, did you make this field a private field? |
Yeah I did make it private, both fields.
Code:
<!-- post #$post[postid] --> |
Quote:
There you go..... only admins can view private fields... |
It only works right after posting, after refreshing it goes back to default white text... when the profile fields are set to private.
When not set to private it's fine :ermm: If you find the problem could you please post what code you change, for future reference? :) |
<font size="7">WHY ARE YOU SETTING IT TO PRIVATE!?!?!?</font>
|
Wow ok caps locks.
I like to have a clean forum without visual junk all over the place. Surely there is a way to make it invisible in member profiles but have it work in posts. Nevermind, sorry for wasting your time. |
Quote:
Lol no you're not wasting my time. You have to take out $customfields from memberinfo and manually insert each field that you want to show. |
Is there a reason that my font goes small
And the font part of things is actually not working correctly... |
Guess Unsure Why?
Is There A Simple Way Then Just To Add A Default Size Field |
Yes there is.
Add this to the end of the <font tag. HTML Code:
font-size: 9pt; |
When ever I post it reverts back to the regular fonts and color I can't get my font and color to show in my posts.....
|
I think you need to a) calm down and b) adopt a more linient and friendly attitude.
If you want more people to use your modifications at least. |
Quote:
Color does though |
any demo?
screenshots? |
Im trying to install this with the glow addon, but cant find the code requested in step 3, any ideas please? ^^.
|
All times are GMT. The time now is 04:44 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:
|