Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Review.cgi v2.0

Quote Reply
Review.cgi v2.0
Has review.cgi v2.0 been released yet? and if so where can i get it?

Thanks

Rene Rodriguez
Quote Reply
Re: Review.cgi v2.0 In reply to
http://source.jerry07.com/review2/

umm.... yea.. no support

Jerry Su
widgetz sucks
Quote Reply
Re: Review.cgi v2.0 In reply to
I think he's looking for review.cgi that works with SQL 2.0 ;)

Quote Reply
Re: Review.cgi v2.0 In reply to
Is there ANY review.cgi for Links SQL released yet?

Rene Rodriguez
Quote Reply
Re: Review.cgi v2.0 In reply to
For the NG version, NOPE.

But the review.cgi v.2.0 that widgetz wrote shouldn't be hard to port into the NG as a plugin or re-writing the script to use NG syntax and modules.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Review.cgi v2.0 In reply to
hello
i tested the review.cgi for links-SQL 1.11 and get the folowwing errors:

$tags->{$_} = &rating_image ($tags->{$_}) foreach (@{$LINKS{rating_fields}}, "USER_Average");

errors around ") foreach "
and"}}"

and when I remove this, review.cgi can't work.
what do I wrong?????????

Quote Reply
Re: Review.cgi v2.0 In reply to
Do you have a sub in the HTML_Templates.pm called sub rating_image. If not, then that's your problem and you need to add that sub, which I believe is posted somewhere in the REVIEW 2.0 files.

Regards,

Eliot Lee
Quote Reply
Re: Review.cgi v2.0 In reply to
argh... i was trying to make the code ASAP (as short as possible) and that line doesn't work with some versions of perl..

change it to


foreach (@{$LINKS{rating_fields}}, "USER_Average") {
$tags->{$_} = &rating_image ($tags->{$_});
}

Jerry Su
widgetz sucks
Quote Reply
Re: Review.cgi v2.0 In reply to
I have added review to my site and seem to have gotten it to work with the exception of one problem, when I go to add a review I get this:

"Status: 302 Moved Location: http://www.adultfairlinks.com/cgi-bin/review.cgi?ID=1583"

The review IS added though but I do want to take them to a review_success page.

this is what i have in my review.cgi:
print $in->redirect("$LINKS{db_cgi_url}/review.cgi?ID=$id");

any help would be greatly appreciated.

Rene Rodriguez
Quote Reply
Re: Review.cgi v2.0 In reply to
This problem was addressed in an earlier REVIEW Thread in this forum.

Regards,

Eliot Lee
Quote Reply
Re: Review.cgi v2.0 In reply to
I saw that a similar problem was addressed for rate.cgi but not for review.cgi, I did try some of the fixes mentioned for rate.cgi but with no luck. has anyone figured out what is causing this?

error:
"Status: 302 Moved Location: http://www.adultfairlinks.com/cgi-bin/review.cgi?ID=1583"


Rene Rodriguez
Quote Reply
Re: Review.cgi v2.0 In reply to
thats not an error..

its just a mistake..

you have to remove the print $in->header(); line before the print $in->redirect (............ line..

Jerry Su
widgetz sucks