Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Personal Font/Color in Posts Details »
Personal Font/Color in Posts
Mod Version: 1.00, by Gio~Logist (Coder) Gio~Logist is offline
Developer Last Online: Dec 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 RC1 Rating: (2 votes - 5.00 average) Installs: 78
Released: 29 Jul 2005 Last Update: 29 Jul 2005 Downloads: 135
Supported Template Edits  

Personal Font/Color in Posts
by gio~logist
Allow users to change what color/font their posts are in threads Via UserCP

Step 1
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Your Font Color In Posts"

Description: This is the color of the font in which will appear in your posts. (Ex: #ff0000 is red)

Display Size: 11

Max length of allowed user input: 8


HIT SAVE



Step 2
Go to User Profile Fields >> Add New User Profile Field

Choose A "Single-Line Text Box"

Title: "Your Font In Posts"

Description: This is the font in which will appear in your posts. (Ex: Tahoma)

Display Size: 15

Max length of allowed user input: 20


HIT SAVE


Step 3
Now go to edit your postbit template and search for this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace the first x in the condition statement with the ID of the “Your Font Color In Posts” profile field, and replace the second with the “Your Font In Posts” profile field. The X in font-family will be the id for the field in which you created in the first step and the X in color will be the id for the field in which you created in the first step. To view the id of the field created go to the "Profile Field Manager" and find the field ID of the field you made. (This appears under the "Name" column). It should show as fieldx where x is the ID.


HIT SAVE

[high]AND WE'RE DONE![/high]


Addons Already Made
Glowing Posts For Mods, S.Mods, and Admins


Planned Addons For Next Release
- Nothing So Far

Feel Free to Post Any Ideas/Suggestions

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Users Choose Username Font/Color Posts Gio~Logist vBulletin 3.5 Template Modifications 61 15 Mar 2010 06:53
Show Thread Enhancements User Color/Font In Posts Editable Via Profile ShadowOne vBulletin 3.6 Template Modifications 46 26 Mar 2009 04:45
Users Choose Color/Font Of Username In Posts Gio~Logist vBulletin 3.0 Template Modifications 15 16 Apr 2008 21:17

  #76  
Old 26 Aug 2006, 01:48
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
I have made a "slight" modification.
As most of you know, when making the "New profile field" use the option "Single drop down menu" and for the list. (See below)
Then "Set Default, Yes, But No First Blank Option"
Then just do your normal title, desc etc, and in the options field, paste this list.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Updated Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This was a fix I did the same night because some users told me that once you select a font.. you cant get back to "Default" which is what you have your browser set to. (maybe you have a custom one?) etc, so the new code and list will allow users to choose not to use it and the code will reconize that and restore the default based on the user themself.

I may update again if I add bold and italic options to the list, but so far, my Premium users are loving this exclusive feature. =)

OCT 17 2006 Update:

I updated the above code. This time.. I believe it is stable, I changed it to look at the POSTERS usergroup vs the bbuser flag which caused some issues... The change? Well... BEFORE it turned out that ONLY members OF that allowed usergroup were able to see others with custom font/color, whereas regular users/guests would only see black. Which was in error. Now ANYONE can see the "allowed" usergroups custom color/font. Long as the user of the "x" post is part of the "x" assigned usergroup, the forums will pull the data from that users field profile on custom font/color and apply it.

If they are not part of the "x" allowed group, then it will just be a normal looking post. So NOW its working as intended for a special or paid usergroup, where everyone else can see they have custom stuff, but cant use it themselves unless they are also in that group.
__________________
~Battlez-avec la Mystique?~

Last edited by Mysticales; 17 Oct 2006 at 12:30.
Reply With Quote
  #77  
Old 02 Sep 2006, 00:54
Jeordie015 Jeordie015 is offline
 
Join Date: Nov 2002
How would you be able to add the bold or italics feature, but without having to type in "yes" in a text box? Is it possible to do it so you'd have yes and no radio buttons?

Like this:

Bold Font? oYes oNo
Reply With Quote
  #78  
Old 07 Sep 2006, 00:20
Zelos's Avatar
Zelos Zelos is offline
 
Join Date: Jun 2006
Does this work with 3.6?
Reply With Quote
  #79  
Old 13 Oct 2006, 16:50
Joe Gronlund's Avatar
Joe Gronlund Joe Gronlund is offline
 
Join Date: Jun 2005
Real name: Joe Gronlund
Question

Any chance of getting this updated for vB 3.6.x??
__________________
MCSE, MVP, CCIE
Microsoft Beta Team
Windows 7 - Windows 7 Support
Reply With Quote
  #80  
Old 14 Oct 2006, 17:19
UncoderMom's Avatar
UncoderMom UncoderMom is offline
 
Join Date: May 2006
Real name: Lisa
Originally Posted by Joe Gronlund
Any chance of getting this updated for vB 3.6.x??
Same ?
Reply With Quote
  #81  
Old 17 Oct 2006, 06:09
Tulsa Tulsa is offline
 
Join Date: Jul 2005
To use this hack for 3.6.2

Look for this in your postbit or legacy...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Replace with this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Don't forget to change the X's to whatever fields you specified originally.
Reply With Quote
  #82  
Old 17 Oct 2006, 10:22
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
I had to alter my code again.. something had messed things up... but not sure how many people use my version of the code here?
__________________
~Battlez-avec la Mystique?~
Reply With Quote
  #83  
Old 17 Oct 2006, 12:31
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Updated my post! ^^
http://www.vbulletin.org/forum/showp...1&postcount=76

Fixed the glitches, made it work right, now only selected usergroups can use the function, but everyone will be allowed to still see what they used. Just their own posts wont be changed unless they too are in that usergroup.
__________________
~Battlez-avec la Mystique?~
Reply With Quote
  #84  
Old 20 Oct 2006, 15:52
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Real name: Vex or Shadow Will do
Originally Posted by Mysticales
Updated my post! ^^
http://www.vbulletin.org/forum/showp...1&postcount=76

Fixed the glitches, made it work right, now only selected usergroups can use the function, but everyone will be allowed to still see what they used. Just their own posts wont be changed unless they too are in that usergroup.


When I Used Your Code... I Got An Illegal String In The Template... Oh Well... I Finally Fixed The Color And Font... Thanks Gio
Reply With Quote
  #85  
Old 21 Oct 2006, 00:48
Diva's Avatar
Diva Diva is offline
 
Join Date: Oct 2001
Originally Posted by Tulsa
To use this hack for 3.6.2

Look for this in your postbit or legacy...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Replace with this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Don't forget to change the X's to whatever fields you specified originally.
Hi. I am trying to get this to work for VB3.6.2 and can't seem to figure out what I did wrong. I copied the codes, changed the fields and the font is the only thing that works. Unfortunately I want this for the color. Here is what I am using:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any help would be very appreciated!
__________________
Are We Fighting?
Am I Winning?
Reply With Quote
  #86  
Old 21 Oct 2006, 22:07
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Originally Posted by Diva
Hi. I am trying to get this to work for VB3.6.2 and can't seem to figure out what I did wrong. I copied the codes, changed the fields and the font is the only thing that works. Unfortunately I want this for the color. Here is what I am using:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any help would be very appreciated!

You have your field#'s wrong. Try this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #87  
Old 22 Oct 2006, 00:38
Diva's Avatar
Diva Diva is offline
 
Join Date: Oct 2001
Originally Posted by Tulsa
You have your field#'s wrong. Try this...
Oops! I can't believe I did that. Thank you so much Tulsa!
__________________
Are We Fighting?
Am I Winning?
Reply With Quote
  #88  
Old 15 Feb 2007, 18:10
Caddyman's Avatar
Caddyman Caddyman is offline
 
Join Date: Mar 2006
works in 3.6, thanks installed!
__________________
Delaware Online
Reply With Quote
  #89  
Old 18 Feb 2007, 01:28
Mysticales's Avatar
Mysticales Mysticales is offline
 
Join Date: Oct 2005
Originally Posted by ShadowOne View Post
When I Used Your Code... I Got An Illegal String In The Template... Oh Well... I Finally Fixed The Color And Font... Thanks Gio
Oh? What version? My code is for 3.5.x I mean you can see a working version on http://forums.qj.net which I have it all set. =D Added a nice feature to premium users.
__________________
~Battlez-avec la Mystique?~
Reply With Quote
  #90  
Old 18 Mar 2007, 18:18
TheMayhem's Avatar
TheMayhem TheMayhem is offline
 
Join Date: Oct 2002
Real name: Brad
uhh, whenever I try to install this hack, it always disables Quick Edit, which sucks. Is there any way around it?
__________________
Currently in Production:
vB 4: Point Market System Version 3.1.2 (A Point Donate/Store System)
Point Market Support: Support Trouble Ticket System
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:23.

Layout Options | Width: Wide Color: