Results 1 to 10 of 10

Thread: Username Color, Size, and Font selection per User Pro

  1. #1

    Cool Username Color, Size, and Font selection per User Pro

    $20

    Version 1.8.0

    New as of 1.8.0 - Added minimum post count to use mod setting, added option to use existing username HTML markup in addition to customizations by this mod.

    New as of 1.7.7: Critical Security Fix - Update ASAP

    New as of 1.7:

    • Scheduled Task to "Clean Up" custom selections from users who no longer have permission to use mod
    • Option to clear all customization for your username



    The purpose of this mod is to allow users to choose their own look for their username. This mod allows each user to choose their font color, font size, and font face (name) for their username. This will show up everywhere "username markup" would normally show such as the postbit, blogs/CMS, who's online page, and member's logged in on forumhome. If this mod is coupled with my other mod, HTML Markup in More Places (VB4 Only) then the custom username will show in even more locations.

    This mod is active on Qapla.com. I have chosen a custom font, color, and size for myself. Registered users are allowed to choose a font face only. (Color and size will not be an option.)

    You can restrict which fonts a user is allowed to pick from or allow them to use any font they want. You can also restrict which colors are allowed to be used, I suggest for example removing the "white" colors so usernames can't be "invisible" on a white background like here.

    As of Version 1.6 you can also choose a minimum post count each user must have before using this mod.

    Other options include to restrict where the custom font sizes are shown because on some pages lager fonts can be distracting.

    There are separate VB3 and VB4 versions available, please be sure to download the correct one. (You will have access to both.)

    The one place the custom username does not show is on formhome "Who's logged in" when the user is viewing the page themselves. This is because vBulletin "cheats" to always make the logged in user's name the first name displayed and it is not possible to alter that name without manual file edits. Everyone else however will see the correctly formatted name.

    You can see VB3 version in action at JUOT.net.
    The VB4 version is active on this forum.

    VB3 Screenshots:

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    VB4 Screenshots:

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    Screenshot - Click to Enlarge

    Cron Log:

    Click image for larger version. 

Name:	cron_job_log_gold.jpg 
Views:	46 
Size:	35.6 KB 
ID:	508

    With HTML Markup in More Places Mod:

    Screenshot - Click to Enlarge Screenshot - Click to Enlarge

    To download this file you must purchase a "Username Color, Size, & Font Mod" subscription in Subscriptions.

    -Joe

  2. #2
    Version 1.8.0 Readme File in .Zip (VB 3/4 Version)

    Code:
    Official Mod Source: 
    http://www.qapla.com/mods/showthread.php/91-Username-Color-Size-and-Font-selection-per-User
    
    Support for this mod available on http://www.qapla.com/mods/
    
    Product: Username Color, Size & Font Selection GOLD Per User by BOP5
    
    Developer: BirdOPrey5
    vB.org Profile URL: http://www.vbulletin.org/forum/member.php?u=258922
    
    Version 1.8.0
    
    New as of 1.8.0: Added minimum post count to use mod. 
                     Added option to use existing username markup in addition to customizations.
    New as of 1.7.7: Critical Security Fix
    New as of 1.7:   Scheduled task to cleanup users who lost permission (more details below)
                     Option to clear all changes when choosing color, size, or font in settings
    
    
    *****COMPATIBILITY******
    
    There are 3.x and 4.x versions of this mod. 3.x tested on 3.8.6 and 3.8.7 and 4.x tested on 4.0.8, 4.1.10, and 4.2.0. 
    Expected to work on all 3.7, 3.8. and 4.x versions.
    NOT compatible with VB5.
    
    *****PURPOSE******
    The purpose of this mod is to allow specific usergroups to choose their own font face and/or font size and/or font color for their usernames. This custom font, color, and/or size will be displayed everywhere the username "markup" is normally displayed- such as in the postbit, on their profile, in visitor messages, on the forumhome active user list, who's online, and so on. 
    
    The mod offers a "live preview" of the font/size combo you have selected. You choose these options in your User CP -> Edit Options, at the bottom of the page. 
    
    The mod allows users to pick from a list of common fonts or, if the admin allows it, enter any custom font they want.
    
    Sizes are allowed between any two admin specific min and max sizes.
    
    A complete list of over 200 browser-recognized colors are included. You can add or remove colors by editing the setting in Admin CP.
    
    *****IMPORTANT******
    This mod will modify your database. It is strongly suggested you do a database backup before installing. This is good practice before installing any vBulletin modification. 
    
    To Install: 
    Upload the file bop5_ucsf_cron.php to your /includes/cron/ directory
    In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
    Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
    Click "Import"
    
    To Upgrade (inclding upgrading from the Free/Light version) :
    Upload the file bop5_ucsf_cron.php to your /includes/cron/ directory (Overwrite if necessary)
    In Admin CP go to Plugins & Products -> Manage Products -> Add/Import Product
    Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
    Change "Allow Overwrite" to YES
    Click "Import"
    
    You MUST set your settings to enable the mod.
    
    Enable Mod? - Yes/No - Enables or disables the entire mod.
    
    Minimum Post Count - Select a minimum post count that any user needs before using this mod.
    
    Font List - Enter a list of common fonts you want to allow here. Keep each font on its own line. Be default a number of common fonts are listed. You may add to or remove from this list to suit your needs.
    
    Allow User to Set Custom Font? Yes/No - If YES anyone with permission to choose a font face will be allowed to enter the name of any custom font they choose instead. If NO users will only be allowed to pick from the font list, above.
    
    Minimum/Maximum Font Size (in px) - Choose the smallest and largest font sizes you want to allow. Users with permission to change their font size will see a drop down box with each number in between the min and max size, inclusive. Font sizes are in px.
    
    Font Colors - List of all modern browser recognized font colors separated by category. You can remove any colors you wish by deleting them from this list. Create new category names by preceding the name with three dashes (---) Example:
    ---My Category Name
    
    I suggest deleting the colors that closely match your style's background color (like the Whites) to prevent users from making "invisible" usernames. 
    
    Usergroups Allowed To Choose Fonts - Check a box next to each usergroup you want to give permission to choose a custom font (font face.) The permission wil be granted to both primary and secondary usergroups.
    
    Usergroups Allowed To Choose Font Size - Check a box next to each usergroup you want to give permission to choose a custom font size.  The permission will be granted to both primary and secondary usergroups.
    
    Usergroups Allowed to Choose Font Colors - Check a box next to each usergroup you want to give permission to choose a custom font color.  The permission will be granted to both primary and secondary usergroups.
    
    Enable Live Preview? Yes/No - If YES a "live preview" of the font will be shown next to the options when selecting the font size or face. This preview requires JavaScript to be active. 
    
    Disable sizes on Active User's List? Yes/No - Changing font sizes, especially to larger sizes, and disrupt the "flow" of the page when large usernames are displayed in the Active User's list on FORUMHOME. If YES the mod will not change the font size on this page but any changes to the font face will still show. If NO the username displays in full markup. 
    
    
    ----
    
    A "Clean Up" Cron job file (Scheduled Task) is included as of version 1.7. Each time it runs it will remove any custom colors, sizes, or fonts from users who no longer have permission to use them due either to usergroup changes or changes you've made in which groups have permission. 
    
    You can view the scheduled task log to see a summary of all changes made.
    
    On extremely large forums your *may* want to disable this task (tens of thousands of active users big.)
    
    In Admin CP -> Scheduled Tasks -> Scheduled Task Manager you can edit the Username Color, Size, Font mod task to run when you want. Default is to run once a night at ~3:13 am. You can change the time or frequency like with any other vBulletin scheduled task.
    
    ----
    
    THIS IS A PREMIUM MODIFICATION. YOU MUST HAVE PURCHASED IT FROM BIRDOPREY5 / QAPLA.COM IN ORDER TO USE IT. YOUR PURCHASE INCLUDES THE RIGHT TO USE THIS MOD ON ANY FORUM YOU ARE THE PRIMARY ADMINISTRATOR OF. UPDATES AND SUPPORT ARE INCLUDED THROUGH THE LIFE OF YOUR SUBSCRIPTION, BY DEFAULT 1 YEAR UNLESS OTHERWISE DISCUSSED. 
    
    DO NOT REDISTRIBUTE THIS MOD!
    -Joe

  3. #3
    A bug has been found affecting vBulletin versions 4.1.4 and above. Please see this announcement for more info.
    -Joe

  4. #4
    Due to changes in vBulletin 4.1.10 a new bug has been discovered where the font name was not being applied to CMS Articles and the CMS Homepage if the user logged in was the Administrator.

    I tracked this down to a change how the hook fetch_musername is called. I believe this to be a bug and will report it to vBulletin.

    However in the mean time there is a simple fix.

    Go to your plugin manager, find the plugin: Username Format and Data Setup, edit it, and change the hook from global_bootstrap_init_start to init_startup.

    Save the plugin.

    The font name should now properly work in all locations for all users.

    I will incorporate this fix into the next update.
    -Joe

  5. #5
    Updated both versions to 1.6

    Both VB3.x and VB 4.x now have a minimum post count option- Every user must have a post count at least equal to whatever is set in the mod options to use any part of this mod.

    The VB 4.x version also has the fix from the above post integrated now.
    -Joe

  6. #6
    The VB4 version has been tested and is working in VB 4.2.0 Alpha.
    -Joe

  7. #7
    Updated both 3.x and 4.x versions to Version 1.7.

    Added 2 new features-
    -Option to clear all customization in addition to choosing custom font, size, or color in settings.
    -Scheduled task to "clean up" users who no longer have permissions to user all or parts of the mod each night.
    -Joe

  8. #8
    A critical security fix was issued in version 1.7.7 - There is potential for an SQL Exploit. You should upgrade immediately. If you cannot upgrade right now you should disable the mod until you can.

    In addition to fixing the potential SQL exploit a new check was added to make sure font sizes are never larger than the specified max font size, as wellas checks to make sure the color is always an approved (listed) color. Previously users could find sneaky ways to alter these values.
    -Joe

  9. #9
    I have emailed all past subscribers to this modification a courtesy upgrade without having to renew. If you are a past subscriber and did not get the email please PM me.
    -Joe

  10. #10
    Updated to version 1.8.0

    Added option for minimum post count to use mod (if you want to make users have 100 posts for example, in addition to usergroup restrictions)

    Added option to use existing username HTML markup, if any, provided in the Usergroup Manager, in addition to the customization chosen via this mod. Previous this mod would replace any existing HTML markup completely. Now you can choose.
    -Joe

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •