Gossamer Forum
Home : Products : Links 2.0 : Customization :

REVIEW.CGI

(Page 1 of 5)
> >
Quote Reply
REVIEW.CGI
ok.. i am now done with the script.. i have sorta succesfully installed it onto templates..

www.paintballcity.com/cgi-bin/links/review.cgi?ID=75

i didn't install the failure and the success pages cause i didn't feel like it Smile

there are ALOT of variables though..

now the graph has 4 different types..

1. image graph.. (loads MUCH faster)
2. html graph.. (very slow.. but some like it)
3. image w/ percentages..
4. html w/ percentages..

it's just a switch of a varible in links.cfg.. you can have no graph too.. by switching it to 0 Smile

i'm not sure if it will be out tonight.. the code is practically final.. but i am busy with another mod i have to install for someone..

i'm going to make a few more adjustments to the multiple rating fields and make it show all of the ratings below the users review.. and then on the top it will show Overall Rating..

Also.. i am going to make a simple script to help you guys install the mod Smile there is alot of stuff to do and there is one part that i know alot of you are going to mess up.. hehe

i already deleted my rate.cgi Smile it's no longer needed.. hehe

jerry

[This message has been edited by widgetz (edited August 17, 1999).]
Quote Reply
Re: REVIEW.CGI In reply to
  Smile Nice work Jerry! Can't wait till the code is release!

BTW, I had problems adding a review:

Code:
CGI ERROR==========================================
Error Message : fatal error: Template: Can't find template: /home/paintba/public_html/cgi-bin/links/admin/templates/review_success.html at /home/paintba/public_html/cgi-bin/links/admin/Template.pm line 41.
Script Location : review.cgiPerl Version : 5.00502

------------------
www.techdevelopers.com
ASP, HTML, CGI, Flash, and more!

HPCalc.com - English
Official HP Calculator Site
www.hpcalc.com/english



[This message has been edited by XanthisHP (edited August 10, 1999).]
Quote Reply
Re: REVIEW.CGI In reply to
ya.. i told you i didn't do that Smile

it just loads the template thats all.. it does add the review.. hehe.. just i didn't have time to put the template up.. Smile

jerry
Quote Reply
Re: REVIEW.CGI In reply to
The template is up. But the review will not go in untill I build the site. Jerry set it up so that you validate each review.



------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com


Quote Reply
Re: REVIEW.CGI In reply to
no.. it will autovalidate when you build your pages Smile
Quote Reply
Re: REVIEW.CGI In reply to
Hi Widgetz - James,

Did you notice that the graph for 10 has 11 bars?

It takes a while for the page to load in Netscape (I am usine netscape, I don't about IE). I suppose that submission form can be put on a seperate page?

Quote Reply
Re: REVIEW.CGI In reply to
Please stop posting tests to my site.

It is a live link. Thanks

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com


Quote Reply
Re: REVIEW.CGI In reply to
Just to clarify, I did not post any tests to your site.
Quote Reply
Re: REVIEW.CGI In reply to
Widgetz, sorry. Didn't know what you meat by not placing a success/error template. . . Now I get it.
Quote Reply
Re: REVIEW.CGI In reply to
hi.. if you are concerned about the slowness Smile

you should use the image graph.. it loads much faster...

its slow cause the table has 11 x 10... 110 tds in it.. Smile

the reason it has 11 bars..

is cause 100 is the 11th one Smile [count and you will understand] 1-9 10-19 20-29 etc...

jerry

[This message has been edited by widgetz (edited August 10, 1999).]
Quote Reply
Re: REVIEW.CGI In reply to
  Whats the difference between the HTML graph and the Image Gragh??? Also, have you made some code so that the external rate it will work on your site???

Thanks alot widgetz... when your site is up, and if I get this script to work, i;ll give yo a couple of thousand banner impressions.
Quote Reply
Re: REVIEW.CGI In reply to
those happy faces at the top are annoying arn't they? Smile

anyways.. my version.. (the most updated out of the three currently running versions..)

is now displaying the image graph.. the color you can choose.. just you have to change the image to something.. right now.. this image is a transparent gif.. so it's white..

three currently running are:

mine.. non template.. (image graph w/o %) NEWEST:

http://www.pdamania.com/review.cgi?ID=1001

ground zero's... (html graph w/o %) template.. newer.. not newest

http://www.paintballcity.com/...nks/review.cgi?ID=47

and ceglobe's... (image graph) (OLD VERSION)

http://www.ceglobe.com/...ware/review.cgi?ID=1

the one ceglobe has is really old.. he made it look like his own review mod.. so don't think i'm lying to you Smile

anyways.. i am going to be making external rating tommorrow mornig.. cause it's 3:00am now Smile

jerry
Quote Reply
Re: REVIEW.CGI In reply to
Hi Jerry!

I have noticed that when clicking on the "Next" link to go the the next page of reviews, it displays on error message.
I was wondering if you have an ETA when it will be ready for download. Thanks!

Cheers,
Mike
Quote Reply
Re: REVIEW.CGI In reply to
aww man Smile

ok.. i have to fix that.. not hard.. just it's cause i put some tag in yesterday..
Quote Reply
Re: REVIEW.CGI In reply to
hi..

uhh.. i just made the external review/rate..

here..
http://www.widgetz.com/external.html

will rate link 1001 at pdamania.com

http://www.pdamania.com/review.cgi?ID=1001

but remember.. you have to BUILD ALL or VALIDATE it first.. build all autovalidates the reviews and updates the html (links.db) version of the ratings..

http://admin:demo@www.pdamania.com/admin/

ok.. i plan on releasing this script tonight.. no user db.. i want to get to doing my site before summer is over Smile so i'll leave any other add in for review.cgi up to you guys

jerry

Quote Reply
Re: REVIEW.CGI In reply to
only one more change to review.cgi and it should be out.. i need to fix up the multiple rating feature so it averages out the total of each rating and stuff..

i was going to do it today.. but i found myself helping other people again Smile

anyways.. check back soon

jerry
Quote Reply
Re: REVIEW.CGI In reply to
I'm still waiting.
Quote Reply
Re: REVIEW.CGI In reply to
lol.. ok Smile

i'll try today.. it's cause there is SO many things........ (in other files.. nph-build.cgi etc.. )

i either have to make a readme (easy way).. or i will make those webpages that take forever.. hehe

jerry
Quote Reply
Re: REVIEW.CGI In reply to
bmxer.. yea. if you noticed.. when links chmods a new cat dir 777 it says 511...

xanthis.. it will most likely say "can't parse" or something and have a link to a page with manual instructions.. (built with the install file based on the cfg file)

jerry
Quote Reply
Re: REVIEW.CGI In reply to
the reason this is not out yet is cause i am working on a script that will install the mod for you..

http://admin:demo@www.pdamania.com/admin/install.cgi

i plan to release the source for this.. so other people can use it also.. it's really easy to use.. all you need to do is specify what each file does.. here is a cutout of the current install.cgi

Code:
%files = (
"test.cgi" => ["add", "reviewcgi", "$db_script_path", 1, 0755],
"test.def" => ["add", "reviewdef", "$db_script_path", 1, 0644],
"nph-build.cgi" => ["mod", "nph-build", "$db_script_path", 1, 0755],
"rates" => ["del", "", "$db_script_path/data", 0, 0777]
);

basically.. you tell it what file.. then you tell it if it's a add, mod or a delete... then you tell it the TXT filename where it gets the actual source.. then the path where the file on your server is located.. and then if it's a dir (1 equal no) and then the CHMOD...

pretty cool?

i have to work on the MOD part Smile i haven't "ran" it yet.. and it scares me to run it.. hehe.. at least it makes a SINGLE backup eh?

(so it can't write over and over and screw up the code more and more.. hehe)

it checks if the file is there too.. pretty cool..

jerry
Quote Reply
Re: REVIEW.CGI In reply to
anyone know why it displays

"CHMOD TO 420" instead of 644?

in ftp it says the permission is 644.. and on the hash i specifically put 644..

directories chmod 511 also.. (LINKS does that too...)

anyone know why?

jerry
Quote Reply
Re: REVIEW.CGI In reply to
Do the file permissions work even though they say the wrong number?

------------------
------------------------------------------
Lavon Russell
LookHard! Search
http://www.lh.yi.org
webmaster@lh.yi.org
Quote Reply
Re: REVIEW.CGI In reply to
Jerry,

Will the installation script work for people who modified their scripts with other mods? I have modified my site with a lot of mods already . . .



------------------
http://www.techdevelopers.com
ASP, HTML, CGI, Flash, and more!

HPCalc.com - English
Official HP Calculator Site
http://www.hpcalc.com/english

Quote Reply
Re: REVIEW.CGI In reply to
Hey... I think it's better he's taking his time, rather than releasing something that's going to have a bunch of bugs he'll have already fixed...

Sometimes, it's not a good idea to release a wine/whine before it's time <G>

Quote Reply
Re: REVIEW.CGI In reply to
Jerry,

Now that you have been making so much wind about your great review mod, please do release it. We have been waiting for over a week now Smile.

Cheers,
Mike
> >