Lunes, 21 Abril 2014 04:41
beggarly

RESET VOTES

Provides the ajax five-star rating feature to your articles

RESET VOTES

Postby zm15 » Wed Mar 11, 2009 1:24 pm

There are several posts on here regarding how to reset the votes, all of them unanswered. Do we have to delete a table in the database? ANY instructions on this would help out the community tremendously.

Thank You!!
zm15
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Fri Mar 06, 2009 4:27 am

Re: RESET VOTES

Postby chus » Wed Mar 11, 2009 8:46 pm

Hi!

To reset all content ratings, you need to do the following database query:
Code: Select all
DELETE FROM jos_content_rating;
To reset a particular content rating,
Code: Select all
DELETE FROM jos_content_rating WHERE content_id = ?;
And similarly for the extra votes, but using jos_content_extravote
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica


Return to Extra Vote



Who is online

Users browsing this forum: No registered users and 1 guest