• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • avatar size on history tab deviates if there is a vw_reason

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: avatar size on history tab deviates if there is a vw_reason

    • Issue Tools
      • View Changes
    1. issueid=3973 September 2, 2014 4:46 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      avatar size on history tab deviates if there is a vw_reason

      Edits with vw_reason have a smaller avatar than edits without.
      I think the size should be that of the small avatar. Else the page will be very long and not useful enough if it only shows 7 edits per page fold.

      Also: vw_reason phrase should display as 'description'
    Issue Details
    Issue Number 3973
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category History / Revisions
    Status Working as Designed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.0 RC 2
    Fixed Version (none)
    Milestone VaultWiki 4.0 Gold
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 2, 2014 5:28 PM
      pegasus pegasus is offline
      VaultWiki Team
      I can't find an example of this on your site.

      There are a few cases where the avatar size changes, and it's a result of the weighted importance of the edit. The following kinds of edits have lower importance and are displayed with less emphasis, by design, including using smaller avatar images:

      - edits flagged as "minor"
      - edits that are soft-deleted
      - moderated edits that were rejected

      As for the size being relatively large, yes, I noticed this too. In vBulletin it was relatively easy to specify an appropriate size and small version that made sense for the history page. Unfortunately, if you want to use the built-in avatar template code (which is ideal for compatibility), XenForo only offers three sizes:
      - l = 192px
      - m = 96px
      - s = 48px

      There are no style properties for these sizes, the values cannot be overridden (they are retrieved from a static method and the class is not resolved dynamically), and you cannot add custom values (the value names are hard-coded in the template compiler).

      On the other hand, it is possible to modify them via CSS, but we thought it might be confusing to someone making style changes if there was one page where an m-class avatar was rendering slightly smaller than on other pages. So we opted for consistency with other XenForo pages, and let the m-size render at the expected value. If you would like a smaller "m" icon, I can say that the ideal size based on all the possible text accompaniments is 80px by 80px. The default 48px by 48px size is already well-suited to the small icon, based on the possible text, so that really doesn't need changing.

      Code:
      .vw-history-avatar img {
      max-height: 80px;
      max-width: 80px;
      }
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:47 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.