The real problem I am trying to solve is that I want users to be able to quickly and easily leave a comment (which I can do with Orchard comments module), but I want to prevent the user from skewing the results of a comment session by logging in under
many different identities to make their comments.
I thought that one way to do this would be to record their IP address as a hidden field. Then when we analyze the comments, we can check for one user acting like many users.
, and it is easy enough to use jquery to populate a hidden field with the results--I just need a field in the comment part where I can put the IP address.
Orchard comments has a default field called SiteName (Url) that enables users to enter their web address. I was going to re-purpose this field by turning it to "hidden" and sticking the IP address value in there. The problem with this is that Orchard
validates the SiteName (Url) field and won't accept an IP address (x.x.x.x). I can't find where or how this field gets validated.
Can someone tell me how to remove this validation so that SiteName accepts an IP address?
Also, is there a better way to solve my fundamental problem without making the user authenticate?