• 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
    • Reported edit does not show which edit is reported.

    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: Reported edit does not show which edit is reported.

    • Issue Tools
      • View Changes
    1. issueid=2472 September 29, 2011 1:55 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Reported edit does not show which edit is reported.

      If a user reports a wiki edit, then the report in the post report forum does not mention which edit was reported. If there are a lot of edits, then its almost impossible to find what the report was about.

      This may not necessarily be a bug, but would be nice to see this fixed none the less.
    Issue Details
    Issue Number 2472
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category History / Revisions
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.14
    Fixed Version 3.0.15
    Milestone (none)
    Software DependencyvBulletin 3.8
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 29, 2011 2:40 PM
      pegasus pegasus is offline
      VaultWiki Team
      Can you paste an example post, or link to one? Everything looks fine on the code side.
      Reply Reply  
    2. September 30, 2011 2:51 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      http://awesomescreenshot.com/047lhxa85

      or go to showthread.php?t=168740
      Reply Reply  
    3. October 1, 2011 4:44 AM
      pegasus pegasus is offline
      VaultWiki Team
      First, let me clarify: it is possible to report the page as a whole, or individual edits.

      This depends if you used the Report link from the main tab, or from a history action. If a page is reported, it doesn't refer to a particular edit, because the entire page (or the current version) needs to be reviewed. This is working as designed.

      When I report a page here, and separately report an edit here, I see that the message for both reported pages and reported edits use the word "page" - however, the link the message includes for review is correct. If an edit was reported, the link points to the specific edit.
      Reply Reply  
    4. October 1, 2011 7:58 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I reported a specific edit (from the revisions tab), but it shows as a report for the page.
      Reply Reply  
    5. October 1, 2011 9:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      As I mentioned, the post erroneously uses the word "page", but the link for review actually points to the reported revision. I have tested this a number of times here since you reported the issue.
      Reply Reply  
    6. October 2, 2011 12:11 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      showthread.php?p=1035016#post1035016

      This is a post report generated from a specific edit. Yet it links to showwiki.php?title=Member_groups
      Reply Reply  
    7. October 2, 2011 8:02 AM
      pegasus pegasus is offline
      VaultWiki Team
      Okay it looks like the plugin in the vBulletin 3 XML is wrong. In your Plugin Manager, edit the VaultWiki plugin for hook report_start. The code should be as follows:
      Code:
      if ($_REQUEST['oldid'])
      {
      	$vbulletin->input->clean_gpc('r', 'oldid', TYPE_UINT);
      
      	$revision = $db->query_first("
      		SELECT *
      		FROM " . TABLE_PREFIX . "vault_revision
      		WHERE revisionid = " . intval($vbulletin->GPC['oldid']) . "
      	");
      }
      
      if ($foruminfo['vault_type'] > 0 AND $threadinfo['firstpostid'] == $postinfo['postid'])
      {
      	require_once(DIR . '/vault/class/reportitem.php');
      	$reportobj = new vB_ReportItem_Vault_Article($vbulletin);
      
      	// re-set info, already passed floodcheck
      	$reportobj->set_extrainfo('forum', $foruminfo);
      	$reportobj->set_extrainfo('thread', $threadinfo);
      
      	if ($revision)
      	{
      		$reportobj->set_extrainfo('revision', $revision);
      	}
      }
      Update if needed.
      Reply Reply  
    8. October 2, 2011 4:38 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      It was this:
      Code:
      if ($foruminfo['vault_type'] > 0 AND $threadinfo['firstpostid'] == $postinfo['postid'])
      {
      	require_once(DIR . '/vault/class/reportitem.php');
      	$reportobj =& new vB_ReportItem_Vault_Article($vbulletin);
      
      	// re-set info, already passed floodcheck
      	$reportobj->set_extrainfo('forum', $foruminfo);
      	$reportobj->set_extrainfo('thread', $threadinfo);
      }
      Reply Reply  
    9. October 2, 2011 4:49 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      After changing the plugin content, the link goes to:
      showwiki.php?title=Member_groups&do=history&actio n=revision&oldid=5436
      However, that does not show what was edited.
      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:27 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 © 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.