Gossamer Forum
Home : Products : Links 2.0 : Discussions :

The Rating System

Quote Reply
The Rating System
Ok, ive looked in the search thing but it;s mostly to do with the modification of the rate system...

Is there any way to reset all the rates that all of the links have got back to 0? The links database has been running constantly for about a year now and they need to all be reset :(
Quote Reply
Re: [Katie Venra] The Rating System In reply to
if you want to change the data in fields you could use http://home.hccnet.nl/...e/t2t/text2table.htm

remember to backup! Tongue


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [Katie Venra] The Rating System In reply to
I suppose you could just delete everything that's in the 'rates' folder, except the index.html page (which is blank). This would completely reset the ratings upon rebuilding the index, so all sites would start over again from a '0' rating.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] The Rating System In reply to
Hmmmm, I think the rates info is stored in the links.db file in the Rating and Votes fields. The rates folder just contains votes to be added to the above fields.

the CSVdb.exe file above can make changes.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Quote Reply
Re: [esm] The Rating System In reply to
So true! I have not used the vote/rate feature on my sites, so am unfamiliar with them. Looking at links.def, I see rating is field 11, and votes is field 12. Going into links.db and removing the data from those fields, and 'hits' (field 8), will reset everything to "new." And the site Gene mentioned has a tool to do that. just to be more detailed, the |number| needs to be removed from between the |'pipes'|. So, each entry which looks sorta like:

56|This is my link|http://mysite.com|1/2/02|category_one|This here is an example.|Joe Smith|smith@mysite.com|106|No|Yes|9|110|Yes

should be changed to this:

56|This is my link|http://mysite.com|1/2/02|category_one|This here is an example.|Joe Smith|smith (at) mysite.com||No|Yes|||Yes

Should the space have a '0' entered in it (|0|)? I don't think so...


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] The Rating System In reply to
by default, they are required fields and as such you would get an error msg when you save them unless they contain a value - zero or something. If you make them non-required, then they could be blank.


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."