Thanks for bringing this back to the top...I have the skeleton of the codes that I am going to use laid out. Just have to add in some deletion codes....Yet I do not think I release it unless others are willing to assist with the Mod.
In Reply To:
I just manually installed the mod, and was wondering before I run the reset.cgi script...what exactly it does?
It will reset both ratings and votes....
Look at the following line of codes in the
reset.cgi script:
Code:
$values[$db_rating] = $values[$db_votes] = 0; In Reply To:
Will it just reset the rates and votes or will it reset the hits also?
Nope...why would reseting the hits affect the new rating system, which is based on Votes (ID in the review.db) and Ratings?
In Reply To:
Plus, I know widgetz mentioned on his page that you should test everything before running the reset.cgi file....should I test adding ratings and reviews or do I need to run that file before hand?
You should first test adding reviews and see if everything works...then you should execute the reset.cgi script. Pretty self-explanatory.
In Reply To:
Also, have you noticed that a user can submit a rating without entering their name and email?
Yes...But I deleted the following codes:
Code:
if ($in{$db_cols[$db_review]}) {
($in{$db_cols[$db_contact_name]}) or &site_html_review_failure ("$db_cols[$db_contact_name] (Can not be left blank with Review)") and return;
($in{$db_cols[$db_contact_email]}) or &site_html_review_failure ("$db_cols[$db_contact_email] (Can not be left blank with Review)") and return;
} You will notice that these codes state the following:
Code:
If someone submits a REVIEW, then they have to submit a NAME and EMAIL ADDRESS. In Reply To:
I'm not sure if it was purposely done like this or not.
Yes....it is on purpose. The Review.cgi Mod allows you to submit EITHER a rating OR review OR BOTH.
In Reply To:
If you have any other pointers with this mod, I'd like to hear them.
What other pointers do you want???
BTW: I am using Widgetz's mod for REVIEWS only, however, I have the rating form in the
review_success.html file to encourage people to submit a Rating. Yet, I am also in the process of adding in the Rating field that will create the ID file in the
$db_rates_path as to not screw up the current Ratings and also the External Rate It Mod.
Regards,
Eliot Lee