• 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
    • [4.1 Beta 1] Watched wiki content: checkbox alignment issue due to empty list element, block-outer bottom page navigation padding incorrect due to missing class

    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: [4.1 Beta 1] Watched wiki content: checkbox alignment issue due to empty list element, block-outer bottom page navigation padding incorrect due to missing class

    • Issue Tools
      • View Changes
    1. issueid=5789 July 11, 2019 7:45 AM
      ACL ACL is offline
      Regular Member
      [4.1 Beta 1] Watched wiki content: checkbox alignment issue due to empty list element, block-outer bottom page navigation padding incorrect due to missing class

      I've noticed a couple of minor styling issues on the watched wiki content page for XF2.

      1) An extra (empty) list item in structItem-extraInfo throws the js-chooseItem checkbox out of alignment. This occurs when the notification preference is "Alerts only" (empty label). When this preference is Instant/Daily/Weekly email, the alignment is perfect.

      URL: https://www.vaultwiki.org/xf/index.php?wiki-watch/

      For "Alerts only":
      Code:
      <ul class="structItem-extraInfo">
      	<li></li>
      	<li><label class="iconic iconic--noLabel"><input name="deletebox[1][893]" value="893" class="js-chooseItem" type="checkbox"><i aria-hidden="true"></i></label></li>
      </ul>
      The solution would be to not render this extra list item when there is no additional label to display. I've looked at the VW templates and I believe this was already your intention. I think this doesn't happen because a variable is always defined (in vw_subscribe_listbit) and then a subsequent condition (in vw_content_listbit) doesn't then check whether this variable is not empty.

      vw_subscribe_listbit for reference:
      Code:
      <xf:set var="$extraInfo"><xf:if is="{$item.notifytype}">{$item.notification|raw}</xf:if></xf:set>
      In template vw_content_listbit, perhaps the below change will do?
      Find:
      Code:
      				<xf:if is="{$extraInfo}">
      				<li>{$extraInfo|raw}</li>
      				</xf:if>
      Replace with:
      Code:
      				<xf:if is="$extraInfo is not empty">
      				<li>{$extraInfo|raw}</li>
      				</xf:if>
      -------

      2) There is also a top/bottom padding issue with the bottom page navigation. The second block-outer element is simply missing the additional block-outer--after class in template vw_subscribe_list.
    Issue Details
    Issue Number 5789
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Styling / CSS
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.0 Beta 1
    Fixed Version 4.1.0 Beta 3
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 10, 2019 4:35 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed both in the next release.
      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 3:06 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.