• 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.2] Admin cp: Missing phrases node_type.vw_area, vw_index_permissions_canlist_title, Edit link points to page with title "Adding new moderator"

    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.2] Admin cp: Missing phrases node_type.vw_area, vw_index_permissions_canlist_title, Edit link points to page with title "Adding new moderator"

    • Issue Tools
      • View Changes
    1. issueid=6227 July 10, 2021 1:53 PM
      ACL ACL is offline
      Regular Member
      [4.1.2] Admin cp: Missing phrases node_type.vw_area, vw_index_permissions_canlist_title, Edit link points to page with title "Adding new moderator"

      See: Groups & permissions -> Moderators in the Admin cp.

      1. In the list of content moderators: The phrase node_type.vw_area is missing.
      2. When editing a moderator, under the Index permissions group the phrase vw_index_permissions_canlist_title is missing.
      3. When clicking on an existing wiki content moderator, the page opened says "Adding new moderator", the username field is empty and all permissions display as "Not set (No)".
        Troubleshooting details: the URL is different compared to navigating to moderators via Wiki tab (title and username correct for that instance). For the same moderating user:
        • Via "Wiki" tab: admin.php?wiki/moderator/&moderatorid=3&do=edit (Title: Editing moderator: Username (id:3)
          for All areas and sub-areas (id:0))
        • Via "Groups & permissions" tab: admin.php?moderators/content/12/edit (Title: Adding new moderator)
    Issue Details
    Issue Number 6227
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.1.2
    Fixed Version 4.1.3
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 1
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 15, 2021 11:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      #3 In src/addons/vw/vw/XF/Admin/Controller/Moderator.php, find:
      Code:
      			$params = [
      				'panel' => 'moderator',
      				'do' => 'edit',
      				'username' => $contentModerator->User->username,
      				'nodetypeid' => \vw_Hard_Core::model('Node')->id('Area'),
      				'nodeid' => $contentModerator->content_id
      			];
      Replace with:
      Code:
      			$params = [
      				'panel' => 'moderator',
      				'do' => 'edit'
      			];
      
      			$moderator = \vw_DB::get()->query()->select(array(
      				'fields' => array('moderatorid'),
      				'table' => 'vw_moderator',
      				'where' => array(
      					\vw_DB::get()->query()->eq('userid', $contentModerator->User->user_id),
      					\vw_DB::get()->query()->eq('nodetypeid', \vw_Hard_Core::model('Node')->id('Area')),
      					\vw_DB::get()->query()->eq('nodeid', $contentModerator->content_id)
      				),
      				'first' => 1
      			));
      
      			if ($moderator)
      			{
      				\vw_Hard_Core::controller('Input')->set('moderatorid', $moderator['moderatorid'], 'UINT');
      			}
      			else
      			{
      				\vw_Hard_Core::controller('Input')->set('username', $contentModerator->User->username, 'STR');
      				\vw_Hard_Core::controller('Input')->set('areaid', $contentModerator->content_id, 'UINT');
      			}
      Reply Reply  
    2. September 20, 2021 12:37 PM
      pegasus pegasus is offline
      VaultWiki Team
      Missing phrases are now added in the next release. Marking this as fixed.
      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 2:30 AM.
    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.