vB4 Reduce font size on Long Username to fit Postbit (legacy)

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,482
    7,721
    321
    localhost
    Heisenberg submitted a new resource:

    - Reduce font size on Long Username to fit Postbit (legacy)

    vB Version: 4.2.2

    I found that when I switched to the "legacy" postbit, some of the usernames wrapped (if they were particularly long:

    So I made a mod for this which contains 2 steps: a new plugin and template edit. Less than 5 minutes!

    1. Create a plugin for hook location memberaction_dropdown. This puts the length of the username into a variable the template can use.

    Code:
    [I][B]$memberinfo['unlength']= $memberinfo['musername']? strlen($memberinfo['musername']):...

     
    Last edited:
    Thread starter Similar threads Forum Replies Date
    ven0m vB4 DSO - Font Awesome [4.2.x] Addons 0
    ven0m vB4 Yilmaz - Postbit Font Size [4.2.x] Addons 0
    ven0m vB4 @font-face - @keyframes [4.2.x] Addons 0
    Similar threads