Gossamer Forum
Home : General : Perl Programming :

Rate.cgi please read!

Quote Reply
Rate.cgi please read!
I need a script on my site (http://vr.coaster-network.com) that works exactly like your rate.cgi (for program mods). Can you either:
A: Allow me usage of the file (with like a "by gossimer-threads line) or:
B: Point me in the direction of somthing like it?

I need a text based rating script with unlimited files. I need it to count number of votes and average votes on a 1-10 scale, pref. pulldown menu. Thanks!
Quote Reply
Re: Rate.cgi please read! In reply to
Well, you would need more than just the rate.cgi file. All that file does is adds ratings and votes into separate ID files, which are used in the build process via the nph-build.cgi script to update the votes and ratings fields in the database file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Rate.cgi please read! In reply to
Yeah, so would you point me in the direction of any script that can do that? I know it's not only rate.cgi, but I'd need the whole shabang. Where can I get the whole shebang?
Quote Reply
Re: Rate.cgi please read! In reply to
 
Quote:
Where can I get the whole shebang?

#!/usr/bin/perl

(Perl humor, Arr Arr)

--mark
Quote Reply
Re: Rate.cgi please read! In reply to
Haa haa... Whatever. I really need this script to adapt to just plain old files...
Quote Reply
Re: Rate.cgi please read! In reply to
Well...download the LINKS scripts...and start playing with it.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Rate.cgi please read! In reply to
I've tried that, but I get a script error...
Quote Reply
Re: Rate.cgi please read! In reply to
Yeah, this is pretty impossible.. Can I just get a stand alone script that gives me the chance to include rate.cgi?ID=x and a pulldown menu from 1-10? It's exactly like you have for Rate It! but I just need the standalone script.. This is driving me crazy... Did I mention I can't program perl?
Quote Reply
Re: Rate.cgi please read! In reply to
I am almost there... All I need to know (I THINK) is how to call the rate.cgi from the links script? Do I use <!--#exec cgi="/cgi-bin/rate.cgi" -->?
Quote Reply
Re: Rate.cgi please read! In reply to
What do you mean call the script? Create a form for the rating option.

Why would you want to use SSI to call the script?

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Rate.cgi please read! In reply to
I don't really know... I guess I did it wrong. I used "exec virtual" to call the script and I got to the script, but it tried to download rate.cgi instead of excecuting it...

I am through with that option, have any more ideas?
Quote Reply
Re: Rate.cgi please read! In reply to
DO NOT USE SSI...Like I said use web forms to increment your ratings!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.