• Resolved exilod

    (@exilod)


    Hello!
    First I want to say, you’ve done a good work and I felt in love with this your plugin on first sight. It blends perfectly with my site.
    The only question is how I can enable voting for visitors. I tried editing the wc.php and comment `if (!is_user_logged_in()) {
    $messageArray[‘message’] = $this->wc_options->wc_options_serialized->wc_phrases[‘wc_login_to_vote’];
    echo json_encode($messageArray);
    exit();
    }`
    but it didn’t work. I don’t want to mess with the plugin, so I would be very thankful if you could provide a workaround.
    Thanks!

    https://ww.wp.xz.cn/plugins/wpdiscuz/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi exilod,
    Thank you for using wpDiscuz. It uses logged in user ID as a base for registering a vote. So it can’t register a vote without user ID, therefore it’ll not be able to track guests votes. However we’re going to find some solution for this and add a new option to allow Guests voting in very soon releases.

    Thread Starter exilod

    (@exilod)

    I never thought about that.That’s a pain giving the user registration is disabled on my website. I will hide the voting until this feature will be it will be available. Thanks for the answer!

    Voting for guests would be really good option. I want this too

    Plugin Author gVectors Team

    (@gvectors-team)

    Hi,
    We’ve added this feature in wpDiscuz 2.1.8 version, please update.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make voting accessible to visitors’ is closed to new replies.