News:

Looking for documentation? Take a look on our wiki

Main Menu

Rating & Review without Registration

Started by JasonYohon, December 10, 2012, 23:42:43 PM

Previous topic - Next topic

JasonYohon

It seems that this idea has been thought about just not completed. I can make Virtuemart allow Reviews & Ratings from guests but the obvious problem that comes up is the "created_by" field in the "virtuemart_ratings" table. Only 1 review can be entered per product and then VM tells everyone (weather they have submitted a review or not) that they have already submitted a review. Seems like this should be pretty easy to fix though, a little above my head but maybe someone out there can help?

A few possible solutions:

  • Use the session data to generate a random 11 interger userid to be passed to the 'created_by' field in the 'virtuemart_ratings' table
  • Use User IP data to to generate a random 11 interger userid to be passed to the "created_by" field in the 'virtuemart_ratings' table
  • Use PHP to make the 'created_by' field auto-increment (probably the least desirable, yet easiest solution).
Any help on this would be greatly appreciated.

lysov

I have the same problem, but I do not found a suitable solution and I switch Ratings&Reviews to "only registered users".
Also I want to have Ratings in a category view.

Option based on ip-address seems to me not a good solution.