star rating system

charliebrown

New Member
What would be the easiest way to incorporate it?

It should be standalone, as in - star rating is just for surfers to rate the site, it doesn't change the site position or anything, 1 - 5 stars dynamic rating

any idea, anyone done it already?
 

Mark

Administrator
Staff member
you can use the legacy version if you like until we get the new one built.

open sources/details.php and find the following line:

Code:
  ////////////
  //REVIEW SECTION TO BE UPDATED
  ////////////
  $reviews_on = 0;
change to:


Code:
  ////////////
  //REVIEW SECTION TO BE UPDATED
  ////////////
  $reviews_on = 1;
 

charliebrown

New Member
Hello,

That solution worked, however - when I click on "rate" button, it asks for username/password, can that be turned off? I just need the voting to work, once per day / ip, nothing more complex than that (no login whatsoever)
 

Mark

Administrator
Staff member
That's really odd, there is no login required to rate, never has been either.
 

charliebrown

New Member
Have had my host trying to resolve this issue for a couple of days now, they composed a message for me to post here:


"The domain that we installed your script on contained a directory called "stats"
This directory stores website logs/stats for the domain.
It was present during the script install and there were no complaints of it being there during the install process.
When you click on "Rate and Review" here: it redirects to DOMAIN.com/stats/UsernameHere/ which does not exist
I see your script uses dynamic links, and I don't see anything in the htaccess file that refers to "stats" so removing that directory did nothing.
Can you enlighten me on why the script is calling the stats directory, and how we get around this issue.
Thank you"


Host then also suggested that perhaps a removal of directory and reinstall would help?
 

Basti

Administrator
Staff member
Where is your review link stored? on members details page?

If so do it look like this?
Code:
<a href="{$list_url}/{$url_helper_a}{$url_helper_rate}{$url_helper_u}{$username}{$url_tail}">{$lng->stats_rate}</a><br />
This is from vl 1.3 and how it should look.

If your review link still points to "stats" that was from an old vl version.
Those hosting stats programms located at site.com/stats/ is why we changed member stats from site.com/stats/username/ to site.com/details/username/
so i see why it complains on your site
 

charliebrown

New Member
yes, my link is same as the one you posted
<a href="{$list_url}/{$url_helper_a}{$url_helper_rate}{$url_helper_u}{$username}{$url_tail}">...

and I used it on table_top_row.html so surfers could reach it faster
 
Top