Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User selected default posting font and color Details »»
User selected default posting font and color
Version: 1.00, by Theoldwiz Theoldwiz is offline
Developer Last Online: Nov 2008 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 03-01-2008 Last Update: Never Installs: 85
Template Edits
 
No support by the author.

Hello,

This mod allows users to select their default posting font and color. You will have to select this at registration and can update it whenever you want in profile.

First you must make two new single selection menu user profile fields. Options for them are below.

Profile field one:

Title: Default Post Color

Description: What color your posts show up as?

Options:

Black
Blue
Green
Red
Pink
Orange
Purple

Set Default: Yes, but no first blank option

Display Order: Doesnt Matter

Field Requiried: Yes, at registration and profile updating

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No


Profile field two:

Title: Default Post Font

Description: What do you want your default post font to be?

Options:

Arial
Arial Black
Arial Narrow
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Fixedsys
Franklin Gothic Medium
Garamond
Georgia
Impact
Lucida Console
Microsoft Sans Serif
Palatino Linotype
System
Tahoma
Times New Roman
Tribuchet MS
Verdana

Set Default: Yes, but no first blank option

Display Order: Doesnt Matter

Field Requiried: Yes, at registration and profile updating

Field Editable by User: Yes

Private Field: No

Field Searchable on Members List: No

Show on Members List: No

Now go to the user profile field manager, and jot down the two field numbers of the new fields listed on the right side of the two fields. Along with that, write down what number goes with what field. Please note this is not the display number, its the number next to it that says fieldX

Template Edits:

Go to your styles postbit/postbit legacy (whatever you use)

Find:
Code:
<!-- message -->
After Add:
Code:
<font COLOR="$post[fieldX]"><font face="$post[fieldX]">

Replace: The first red X with your default text color field number
The second red X with your default font field number.



Find:
Code:
<!-- / message -->
Add Above:
Code:
</font></font>

You are done, hope you like it!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 06-01-2009, 10:24 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These template edits are not working if you are using this hack
Chief First Post - Every Page [Forum Based]
https://vborg.vbsupport.ru/showt...=194832&page=3
If you setup within mentioned hack "no comment type" or postbit flipped" option these templates will not work
Does anyone know way around this !?
Reply With Quote
  #73  
Old 06-02-2009, 03:02 PM
iBetc iBetc is offline
 
Join Date: May 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thanks!
Reply With Quote
  #74  
Old 06-05-2009, 07:54 PM
jaredwilli's Avatar
jaredwilli jaredwilli is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working for me and I did everything correctly
Reply With Quote
  #75  
Old 07-15-2009, 02:42 AM
SnapOff Racing SnapOff Racing is offline
 
Join Date: Apr 2006
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how to make this work with vba CMPS?
Reply With Quote
  #76  
Old 10-20-2009, 02:22 PM
Lovinmysailor Lovinmysailor is offline
 
Join Date: Aug 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using VBA CMPS and it is working fine. PM me with your code or post it (whatever you want) and I will help you.
Reply With Quote
  #77  
Old 10-25-2009, 11:23 PM
TypeStaff TypeStaff is offline
 
Join Date: Apr 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how i can install this same hack in the profile messages? :s
Reply With Quote
  #78  
Old 07-19-2010, 01:09 PM
Seshat Diva Seshat Diva is offline
 
Join Date: Oct 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seshat Diva View Post
Perfect, installed, exactly what I wanted! Thank you!

Update~ Installed but not working. It's in the UserCP/Edit Details as it should be but when I direct what font and color I want to use and save, it doesn't work. I'm not sure what I did wrong.......sigh......
I had the same problem, had to hire someone to get it working for me. It worked great until my site was upgraded to the 4.0 version.

Quote:
Originally Posted by Mellymonster View Post
Seshat Diva, its not working for me either.
Sorry Mellymonster, I hope by now you have it working

Quote:
Originally Posted by joe1989 View Post
Why does this work for some of us and not for others???

Notice to new members: Don't waste your time installing this until support is offered. It is not working properly for most of us, and it took a decent amount of time to do, so DO NOT WASTE YOUR TIME WITH IT unless you are certain it will work!! (Most likely will not work!!)
I really liked having this hack/product when it finally worked. Now since my upgrade to the 4.0 version, it doesn't work anymore.

Is there a new 4.0 version update for the "User Font and Post Color"? Please and thank you!
Reply With Quote
  #79  
Old 06-16-2011, 09:27 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I don't think its gonna work on 4.1.4 but i am gonna try this cux my forum users are asking for it (majority of them) i tried to look around for this mod for 4.x.x version but can't find nowhere. i will update this post to let ya all know if it worked or not
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04999 seconds
  • Memory Usage 2,293KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete