Gossamer Forum
Home : Products : Links 2.0 : Customization :

Ratings in Links 2.0 B5

Quote Reply
Ratings in Links 2.0 B5
Ratings...
like I need some one to rate their site to get more hits; spam and only.
I was trying to turn them off, but I just screw every thing up, and had to reinstall most of the script again.
I really need to turn them off, does any one knows how to do this? May be some kind of mod will help?
Guys, I need your help here. Smile
Thank you in advance!

Pasha


------------------

-[ It's just another night; good morning Webmasters! ]-
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
Oops!
I just got everything work, no more ratings, no more spam, etc. Wink
Well, it's still looks good with out "them", isn't it?

Regards,

Pasha


------------------

-[ It's just another night; good morning Webmasters! ]-
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
can you tell me how you did it? i really don't want the ratings feature
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
The easiest way is just to not have a menu item for the top ratings page and remove the "Rate It" link from the link.html file or sub site_html_link in site_html.pl.

If they are not available to the public, they can't be used. You can also comment-out the lines in nph-build.cgi.

In sub build_staggered:
Code:
print "Updating ratings .. \n";
$t1 = time();
&build_update_ratings;
print "Done (", time - $t1, " s)\n\n";

In sub build_all:
Code:
# Create Top Rated Page
$use_html ?
print "Building <A HREF=\"$build_ratings_url/$build_index\">Top Rated</A> Page . . .\n" :
print "Building Top Rated . . .\n";
&build_rate_page;
print "Done\n\n";

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/


Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
Bobsie shows you basicaly the same as what I did. But I screw it over again, while playing with the script. . . :-\
And on the other hand, this kind of rating system is always a good thing to have. You never know, what comes up your mind tomorrow.

Regards,

Pasha


------------------

-[ It's just another night; good morning Webmasters! ]-


[This message has been edited by Pasha (edited February 02, 1999).]
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
Ok, I did everything over, everything works, except that "INTERNAL SERVER ERROR" when visitor tryes to rate a link.
I am tired of reinstalling this script, parts to parts...
Any ideas guys?

Pasha


------------------

-[ It's just another night; good morning Webmasters! ]-
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
Pasha,

Make sure that the rate.cgi is chmod 755 so users can access it.

If that doesn't work, or if it already is chmod 755, then see if you can get access to the error log for your system and see what it says about the error. It is best to cause the error just before looking so you can go directly to the end of the log and look at the error message without a lot of searching.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/


[This message has been edited by Bobsie (edited February 02, 1999).]
Quote Reply
Re: Ratings in Links 2.0 B5 In reply to
Don't know how, but it worked without me chmodding it to 755. It probably was some kind of another error.
Thanks Bobsie anyway.


------------------

-[ It's just another night; good morning Webmasters! ]-