Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Username Font Selection Per User (Light) By BOP5 VB4 Details »»
Username Font Selection Per User (Light) By BOP5 VB4
Version: 1.8.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 4.x.x Rating:
Released: 10-11-2011 Last Update: 07-14-2013 Installs: 45
Supported DB Changes Uses Plugins Auto-Templates
Translations  

Version 1.0 - Initial Release
Version 1.1 - Bugfix for vB 4.1.4 and above
Version 1.7.7 - Critical Security Update
Version 1.8.0 - Added post count setting / Added existing Markup setting

Live Demo: Qapla.com Forums Demo (Gold Version).

The purpose of this mod is to let users pick a custom font (either from a list you specify or optionally, a custom font they choose) to show up wherever username markup is allowed. (The postbit, profiles, who's online, blogs, CMS, etc...)

This is the free version, you can let users choose a font.

The GOLD version allows users to to choose a font, a font size, and/or a font color- each permission with independent usergroup control.
Gold version available at: Qapla.com Forums - Username Color, Size, & Font Selection.

Both versions include a "Live Preview" option allowing users to instantly see the effect of their changes before saving.

Both versions automatically add the options in Settings -> General Settings page, at the bottom, for users with permission.

In both versions all options font (and color/ size in gold) are independently controllable by usergroup permissions, so for example you could let registered users pick a font, mods pick a font AND color, and VIP users pick a font, color, and size.

You can add or remove available fonts from the list in Admin CP.

In the Gold version you can add/remove available colors and you can set a range of allowable font sizes.

See Screenshots for more details.
Screenshots are of free version only. See the GOLD thread, above, for screenshots of GOLD version.

Anyone running VB 4.1.4 to 4.1.8 please see the bug notice in the next post.

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: zip Username Font Selection Per User VB4 (Light) by BOP5 v180.zip (7.9 KB, 85 views)

Screenshots

File Type: jpg vb4_settings_free.jpg (96.1 KB, 0 views)
File Type: jpg vb4_free_preview2.jpg (27.2 KB, 0 views)
File Type: jpg vb4_free_preview1.jpg (38.2 KB, 0 views)
File Type: jpg vb4_free_post2.jpg (48.4 KB, 0 views)
File Type: jpg vb4_free_post1.jpg (48.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
FReeSTER

Comments
  #22  
Old 10-17-2011, 04:06 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great and is a keeper but it killed my HTML username color markup. :-(
Reply With Quote
Благодарность от:
BirdOPrey5
  #23  
Old 10-17-2011, 10:25 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FReeSTER View Post
This is great and is a keeper but it killed my HTML username color markup. :-(
It's still there if you disable this mod- but this mod is overriding it.
Reply With Quote
  #24  
Old 10-17-2011, 09:51 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
It's still there if you disable this mod- but this mod is overriding it.
Can you make it please to at least use the HTML markup we already have on the usergroup options? lol

Is just that i like to have the Mods as green and SM as blue, admins as red ect...
Reply With Quote
  #25  
Old 10-17-2011, 11:39 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will see what I can do.
Reply With Quote
  #26  
Old 10-18-2011, 09:39 AM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FReeSTER View Post
Can you make it please to at least use the HTML markup we already have on the usergroup options? lol

Is just that i like to have the Mods as green and SM as blue, admins as red ect...
Edit plugin Username Markup Override at hook fetch_musername and change
Code:
$bop_username .= '">'.$user['username'].'</span>';
to
Code:
$bop_username .= '">'.$user['musername'].'</span>';
Reply With Quote
3 благодарности(ей) от:
BirdOPrey5, CharlieDelta, FReeSTER
  #27  
Old 10-18-2011, 01:59 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snowlion View Post
Edit plugin Username Markup Override at hook fetch_musername and change
Code:
$bop_username .= '">'.$user['username'].'</span>';
to
Code:
$bop_username .= '">'.$user['musername'].'</span>';
thank you mate it worked. lol
Reply With Quote
  #28  
Old 10-19-2011, 12:06 PM
LLent LLent is offline
 
Join Date: Aug 2010
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

instead of downloading different fonts and keeping them on PC with the option of custom font is there a way i can put these somehow on the font list ....thanks in advance
Reply With Quote
  #29  
Old 10-19-2011, 12:45 PM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LLent View Post
instead of downloading different fonts and keeping them on PC with the option of custom font is there a way i can put these somehow on the font list ....thanks in advance
You can add as many fonts you want from the Mod Settings, but if users dont have the fonts installed in their PC is useless to have them listed unless you force them to install the custom fonts
Reply With Quote
  #30  
Old 10-19-2011, 01:52 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To expand a bit on what FReeSTER said- Available fonts aren't stored by this mod or on your server. You literally just add or remove the Names of fonts from the list. The included list is basically the same as the standard vBulletin font list which are very common fonts.

If the person viewing your site had "Arial Black" installed, and the font chosen is "Arial Black" then the user will see the font in "Arial Black." If they don't have Arial Black installed they will see a default font instead.

You do not need to download any fonts.
Reply With Quote
Благодарность от:
FReeSTER
  #31  
Old 10-19-2011, 02:52 PM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use Google Web Font to get more fonts but user don't have to install any font on there computers. I tested and it works fine .
But Using many font styles can slow down your webpage, so only select the font styles that you actually need on your webpage.

**Template issue at General Settings
Edit modifyoptions_bop5usernamefont (Modify User Option Templates > modifyoptions_bop5usernamefont) and then delete </div> at the top of the template will fix it.
Reply With Quote
Reply

Thread Tools

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 12:38 AM.


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.08005 seconds
  • Memory Usage 2,355KB
  • Queries Executed 28 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete