• 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 3.x Series
    • Bug
    • Fatal PHP Moderation Error

    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: Fatal PHP Moderation Error

    • Issue Tools
      • View Changes
    1. issueid=1768 July 6, 2010 12:55 AM
      dnenni dnenni is offline
      New Member
      Fatal PHP Moderation Error

      I just created a wiki page and have been doing a few edits to it. After one of the edits I saved the changes and I was greeted with a dialog box that told me something along the lines of "the edits will be applied after they are approved by a moderator." First of all, as the moderator/admin of the forum, how can I view and approve the changes made to a wiki page? I assumed this was in the Admin CP, but when I clicked on VaultWiki -> Wiki Moderation in the Admin CP, I received the following error:
      Code:
      Fatal error: Call to undefined method vB_CES_Vault::fetch_permissions() in /home/semiwiki/public_html/forum/modcp/vaultwiki_moderate.php on line 64
      What's going on here?

      Thanks in advance.
    Issue Details
    Issue Number 1768
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Moderator Control Panel
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.1
    Fixed Version 3.0.2
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 6, 2010 1:01 AM
      pegasus pegasus is offline
      VaultWiki Team
      I'm surprised this is still occurring since it was supposed to be fixed by the last release. It looks like a change was not committed to the appropriate development version. In any case, you can fix this by editing modcp/vaultwiki_moderate.php. Find:
      Code:
      		$vaultperms = $vault->fetch_permissions($moderate['forumid']);
      
      		if ($vaultperms & $vbulletin->bf_ugp_vault_permissions['canrollback'])
      Replace with:
      Code:
      		if (
      			$vault->fetch_instance('permissions') AND
      			($vault->permissions->fetch_permissions($moderate['forumid']) & $vbulletin->bf_ugp_vault_permissions['canrollback'])
      		)
      As for your edit being moderated, check your Usergroup Permissions. See: http://www.vaultwiki.org/manual/VaultWiki-Permissions
      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 1:05 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.