This project is read-only.

How to enable voting for Anonymous user

Mar 7, 2012 at 1:57 PM

I installed and enabled Orchard Stars voting in my event page, but it only allows me to vote when a user is authenticated.

How can I enable voting for anonymous users?

Mar 7, 2012 at 2:16 PM

I don't know if my solution is the "right" solution.

Using WebMatrix, I open my site and locate the Modules\Contrib.Stars folder and open the Settings folder and the StarsTypePartSettings.cs

In the .cs file, locate public bool AllowAnonymousRations property and commented the existing code, and return true.

Save the file and restart the site. It works for anonymous user to vote now!

If there is a better solution, please let me know.