AnonymousIpVoteWindowMinutes

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/11/2010 1:01:55 PM
Gravatar
Total Posts 12

AnonymousIpVoteWindowMinutes

What`s AnonymousIpVoteWindowMinutes property mean?

5/11/2010 1:29:43 PM
Gravatar
Total Posts 18439

Re: AnonymousIpVoteWindowMinutes

That is a property on the mojoRating control. 

If you allow anonymous voting then automated bots may click the rating over and over skewing the results (or an anonymous user may do the same). We capture the ip address of anonymous votes and we don't let the same ip address vote again until the duration specified in this setting has elapsed.

Hope it helps,

Joe

5/11/2010 2:07:18 PM
Gravatar
Total Posts 12

Re: AnonymousIpVoteWindowMinutes

where can I code of anonymousIpVoteWindowMinutes find? I found only description of propertys and variables. But I can`t find a logic of verification proccess.

5/11/2010 2:16:08 PM
Gravatar
Total Posts 18439

Re: AnonymousIpVoteWindowMinutes

Hi,

After looking at it more closely, I see it is not using that property, but instead is using a setting from Web.config

ContentRating.RateContent(
                siteSettings.SiteGuid,
                ContentGuid,
                userGuid,
                rating,
                emailAddress,
                txtComments.Text,
                SiteUtils.GetIP4Address(),
                WebConfigSettings.MinutesBetweenAnonymousRatings
                );

I will remove the unused property.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.