• 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
    • Error - "You can't vote your own poll"

    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: Error - "You can't vote your own poll"

    • Issue Tools
      • View Changes
    1. issueid=504 April 15, 2009 11:59 AM
      pnuker pnuker is offline
      Junior Member
      Error - "You can't vote your own poll"
      Users can't vote on any polls

      I've been seeing this error lately on any polls that are created. I'm only assuming that it may be some kind of conflict with the wiki, since polls were working correctly before I installed it.

      It doesn't matter who created the poll, everybody is getting this error, and nobody can vote. These are just polls created in the regular forum; not wiki forums.
    Issue Details
    Issue Number 504
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Polls
    Status Not a Bug
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 2.2.2
    Fixed Version (none)
    Milestone VaultWiki 2.3.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 15, 2009 12:31 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is not a VaultWiki bug.

      It results from another plugin you have installed called "Can't vote own polls". The plugin is written incorrectly as it checks two NULL values against each other which always eval to true, so the error always occurs. It looks like a scoping issue, so the values you probably want to compare are $GLOBALS['threadinfo']['postuserid'] and $this->registry->userinfo['userid'].
      Reply Reply  
    2. April 15, 2009 1:32 PM
      pnuker pnuker is offline
      Junior Member
      Ok, thanks, forgot about that plugin. It looks like that fixed it when I disabled it. Just haven't used polls for awhile so I wasn't sure if it was vaultwiki or not.
      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 4:54 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.