Page 1 of 1

5 Star + Thumb + Hearts Rate Extension + translate variable

Posted: Tue Apr 21, 2009 8:30 pm
by Eddy
Star rate extension with translate variables and select option for stars,thumbs or hearts!

Image

I have made new png star images for a bether quality but in IE6 the
pngfix for transparentie das not work with the png images.

Developer: Gr0w
http://gr0w.com/

Extension builder: Eddy.

Star rate extension with translate variables and select option for stars,thumbs or hearts!
Download Star rater with translation variables for WB 6.5.(please read the included pdf )
http://www.mediafire.com/file/m51tz2t0g ... ate_65.zip


Star rate extension for WB 6.5.
Download Star rater (please read the included pdf )
http://www.mediafire.com/file/yoz11manyji/Star Rater_65.zip


Thumb - rate extension for WB 6.5.
Download Thumb rater.(please read the included pdf )
http://www.mediafire.com/file/oojczaoid ... ter_65.zip


Hearts rate extension for WB 6.5.
Download Hearts rater.(please read the included pdf )
http://www.mediafire.com/file/momzzozm5yd/Hearts Rater_65.zip

====================================================================
You can use more than one rate on every page.

If you use different rate layouts than you need to use pages in folders to not overwrite the php file.
For every new rate change the ID
You can use in total 80 ratings on your website withoud using folders with the same rating layout.
If you use folders than you can use in every folder with pages also 80 ratings ,with for every new folder with pages a different rating layout.
Every new rate ID generates a new page on your server for the rate results with the same ID as your rating.

===================================================================
How to change the rate images.

There is a folder with name img uploaded to your server,in there are the images for the rate extension .
Change these images to what you like but they must have the same name and image extension .png
Use if possible the same width as the original rate image the height is not so important.

===================================================================
The differents between the translate version and the other three.

The first with translation have stars,thumbs and hearts.
For different rating layouts in your website you have to use pages in folders.
------------------------------------------------------------------------------------
The other three are english but have different names for the php and rate savings file.
You can use al three english versions on one page or website if I did not make a mistake in the codes :wink:

Every next rate object must have another ID number in all versions!

star1
star2
star3
thumb4
hearts5

Posted: Tue Apr 21, 2009 8:34 pm
by star57
Awesome Job Eddy~! Thanks

Posted: Tue Apr 21, 2009 8:39 pm
by zinc
Nice one Eddy!!!!

Posted: Tue Apr 21, 2009 8:43 pm
by Eddy
Was a lot work,I did make new images because the original have a white background what you not can use on backgrounds with another color than white.
I did search for a solution with IE6 transparentie but no luck :?

If needed for IE6 users can always make new images with the same color as the page background,but I think there are now only a few people left what use IE6, thus not realy a problem.

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

Posted: Tue Apr 21, 2009 9:16 pm
by BaconFries
Very Nice Eddy
Image

Posted: Tue Apr 21, 2009 11:28 pm
by genieuk
Nice extension. I was going to attempt to try an extension similar like this,

Now i won't have to.

Thanks Eddy!

Regards,
Mathew

Posted: Tue Apr 21, 2009 11:49 pm
by star57
Honest, if anyone has IE 6.... UPGRADE already! if you have to stick with IE 6 because your program vendor has stated that they have no fix, Fire them and get a new vendor. just my pennies worth!

Posted: Wed Apr 22, 2009 5:31 pm
by me.prosenjeet
Nice one eddy!
will download

Posted: Wed Apr 22, 2009 9:27 pm
by DarrenH
Excellent work (again) Eddy!

:D

One quick question - can you also change the images of the stars in the extension - eg to thumbs up, or something else just in case the star rater has to go onto a site that thumbs (or something else) would be more appropriate.

Doesn't matter if you can't - just wondered before I utilised.

Excellent Eddy!

Posted: Wed Apr 22, 2009 9:35 pm
by DarrenH
:D :D :D :D

Excellent Eddy!

Posted: Thu Apr 23, 2009 9:02 am
by madebyibloo
This is a nice extention! am loving the thumbs!

Great work Eddy



Cheers,
SUB

Posted: Thu Apr 23, 2009 10:01 pm
by star57
great Extension
Image

Posted: Thu Apr 23, 2009 10:23 pm
by Eddy
I`am improving this rate extension with more options,just wait :wink:

Posted: Thu Apr 23, 2009 10:24 pm
by star57
Eddy wrote:I`am improving this rate extension with more options,just wait :wink:
Better, no way!

Posted: Sun Apr 26, 2009 8:26 am
by Eddy
New updates ,look in the first post :wink:

Posted: Sun Apr 26, 2009 12:35 pm
by BaconFries
WOW as the words of the song......
"Things can only get better Can only get better"
thx Eddy......

Posted: Sun Apr 26, 2009 2:09 pm
by Eddy
What are the difference between the 1st (with translation) and the others
I did write an answer in the first post.

Php Rater Bug

Posted: Tue Jun 09, 2009 11:56 pm
by rolo
I insert the php rater in a wysiwyg .php page.

When published, I get this error:

Warning: fopen(item_1.rating) [function.fopen]: failed to open stream: Permission denied in /home/todo/domains/mydomain.com/public_html/prueba/rater.php on line 86

Warning: fclose(): supplied argument is not a valid stream resource in /home/todo/domains/mydomain.com/public_html/prueba/rater.php on line 87


Any idea on how to fix it?

Thanks

Posted: Wed Jun 10, 2009 10:02 am
by Eddy
There are two files,the proses file and the rate file.

check the file permissions - they are probably set in a way that the web server cannot open it.

Cmod to 755 or 777
Look also if php safe mode is off.

Posted: Thu Jun 11, 2009 11:59 am
by rolo
I only have Rater.php file (with chmod 777)

and a Stars dir with png files.

1) Where can I find "Rater" and "Proses" files you mention ?

2) How can I know if I have php safe mode off in cpanel ?

Thanks !

Posted: Thu Jun 11, 2009 12:18 pm
by Eddy

Code: Select all

I only have Rater.php file (with chmod 777) 
and a Stars dir with png files.
The rate file what stores the ratings is generated after the first rating on your server.(item_1.rating)
1) Where can I find "Rater" and "Proses" files you mention ?
On your server.
2) How can I know if I have php safe mode off in cpanel ?

You can ask your hosting compagny.

Ask them also about the error message ,maybe they know how to solve it or what they have to change on the server to make it work.

This is where you have the error,

Code: Select all

 }
 fclose($rater_file);
}else{
 $rater_file=fopen($rater_filename,"w");
 fclose($rater_file);
}

Posted: Tue Jul 07, 2009 12:37 am
by Eddy
The rate file what stores the ratings is generated after the first rating on your server.(item_1.rating)

Have u tried changing the permission to 777 right after the file item1.rating is created?

cmod the file item1.rating to 777

Please contact your hosting maybe they can help you if cmod to 777 das not solve your problem.

Posted: Sat Sep 19, 2009 6:26 pm
by v84x4
hey...

I was messing around with the NEW star rater (80 max)
I deleted (item_1.rating ) from my server & now when I re-upload the Star rater extention
the upload dosnt put the nessesary file back...........hmmmm

I have tried uploading the entire site to get it to work but still
wont upload the file item_1.rating

See example here http://www.highwaytrucker.com/talent.php

Regards V8

Posted: Sat Sep 19, 2009 8:19 pm
by Eddy
item_1.rating is generated on your server after the first rating,please read previous posts about the same problem.

It looks that the rater das not work on your server ,something on your server is not configured for this script ( fopen) I have read this from other users to but dont know how to change the php to make it work on al servers.
Contact your hosting maybe they know what todo. :?

Your error code:
Warning: fopen(item_5.rating) [function.fopen]: failed to open stream: Permission denied in /home/v84x4/public_html/rater.php on line 35

Warning: fread(): supplied argument is not a valid stream resource in /home/v84x4/public_html/rater.php on line 37

Warning: fwrite(): supplied argument is not a valid stream resource in /home/v84x4/public_html/rater.php on line 60

Warning: fclose(): supplied argument is not a valid stream resource in /home/v84x4/public_html/rater.php on line 63

Warning: fopen(item_5.rating) [function.fopen]: failed to open stream: Permission denied in /home/v84x4/public_html/rater.php on line 86

Warning: fclose(): supplied argument is not a valid stream resource in /home/v84x4/public_html/rater.php on line 87
Maybe you can use this?
http://nl2.php.net/function.fopen

Posted: Mon Sep 21, 2009 2:59 am
by v84x4
I manually created the item_1.rate and then chmod it to 666. All works now.

Thank you eddy This is a great estention

Regards V8

Posted: Mon Sep 21, 2009 6:51 am
by Eddy
manually created the item_1.rating and then chmod it to 666.

Never thought about that,maybe this works for others to :?

Posted: Wed Sep 23, 2009 4:42 pm
by Eddy
Open notepad.
Save a new page as item_1.rating
Upload that empty page to your server in the same directorie as rate.php and cmod to 666.

Or look first in the php file for the exact name:
Open rater.php and look to the raterID "rating" for the exact name after item_1.

// DO NOT MODIFY BELOW THIS LINE
$rater_filename='item_'.$rater_id.".rating";

Posted: Wed Sep 23, 2009 5:32 pm
by v84x4
Thanks Eddy

It worked but now Im having a problem using "Star Rater" with "Form" with submit button

When I hit "Rate" it mixes up with the "Submit" button on the form

See Here http://highwaytrucker.com/talent.php

Regards V8

Posted: Wed Sep 23, 2009 5:56 pm
by Eddy
The form prosesses the rater after submit and thats what the form prosessor from webbuilder shut do,it proseses all forms in your page.

I think the best thing todo is:
Make the form on another page and show the form in an iframe page.

Posted: Wed Sep 23, 2009 7:07 pm
by v84x4
:wink:

Ahhhh,

Good Idea Eddy

Once again...........Your the man


Best Regards V8

Posted: Tue Dec 29, 2009 11:59 am
by Eddy
Built with Extension Builder 2.0.2

Posted: Tue Jan 26, 2010 11:09 pm
by DarrenH
Hi Eddy

This is what I posted in the general section:

"When they enter the password they can then vote. But my problem is when a vote is taken, the page then goes back to the password protected page and says password not valid.

How can I overcome this? I know it's code related - maybe a session - any help or ideas?"

Someone best sumed up what I want to do in your star rater section:
brassnugget wrote:Great extension, really useful - just a thought, would be even better ( for my purposes anyway) if placing a comment required a login ie only registered members can place a rating.
That's what I want to do. Do you know how to achieve this??

Any ideas?

Thanks for the hard work and invluable contributions

Posted: Fri Jul 02, 2010 7:47 pm
by JimmyJazz
I'm also searching for a star rater combined with comment, is this achievable with this extension?

Posted: Sat Jul 03, 2010 7:02 am
by Eddy
Sorry DarrenH and JimmyJazz I do not know how to code php to make it work in password protected pages or how to combine a comment box with the star rater. :?

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Sun Feb 27, 2011 3:57 pm
by BaconFries
@ carib64 » Fri Jan 14, 2011 4:40 pm
@ victoriaw » Mon Jan 31, 2011 2:39 pm

I have ben in contact with Eddy regarding the Extension and recieved a email today with the extension please note this was made for WB6.5 but it should work fine if it doesnt I will try and update with the extension builder using the files Eddy has provided please be patient as I am busy with work and other commitments...BF
Star Rater 800
http://www.mediafire.com/?bo4875r84kbkl5f

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Sun Feb 27, 2011 8:35 pm
by BaconFries
Star rater I have uploaded a 800 version for user who need this Thanks to Eddy for supplying the extension to be used ....I had contact with him and he is busy with work so cannot get in forum as much as he would like but he will be back

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Thu Mar 10, 2011 3:09 am
by JimmyJazz
Hi Baconfries,

I posted this on the extensions suggestion thread but it is about star raters.

"Just found this open source star rater using jquery, it is called:

RateIt - a jQuery (star) rating plugin

Can be found at this website:

http://rateit.codeplex.com/

I've downloaded two .js files, a css file & related star images but unfortunately I do not know how to implement it in wysiwyg

This is a recently developed script that is billed as being easy to implement (they not meet me before)

The script is highly configurable & would be of great benefit to the community if someone could develop this into an extension.

Hopefully someone can pick up on this."

......................................................

Maybe better to let go the old rater & start again, anyone with experience in creating extensions will probably get this up & running in no time at all, it gives some amazing options as well.

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Thu Mar 10, 2011 8:14 am
by BaconFries
As I have mentioned in the previous other topic I am not taking over Eddys extensions...I am only trying to help were help can be given. I have taken a look at the Rateit script and it uses jQuery 1.4.3 at prescnt all WB jQuery and the majority of user made extension use jQuery 1.4.2 making them uncompatible with the Rateit script, so using with a extension/object that uses 1.4.2 will cause conflicts it would mean all WB jQuery objects/extension be updated to work with one script....

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Thu Mar 10, 2011 8:41 am
by JimmyJazz
Aaaahhh, ok, I didn't realise there would be backward compatibility issues with the jquery script. I just thought I could upgrade & there would be no problem with existing scripts.

It may be a blessing I am not a developer :!:

Does anyone know how often jquery gets updated in web builder?

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Thu Mar 10, 2011 11:19 am
by BaconFries
I cant say, but we will probably have to wait till the next major upgrade/update as WB has been using jQuery 1.4.2 since WB 7 was released last year but we can rely on Pablo if it is needed then it will be on the ro do list of improvments...

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Tue Aug 23, 2011 6:31 pm
by BaconFries
Eddy the builder of the "Extension", is no longer a active member due to other comitments away from WB, so you will not recieve a anwser to your post from him.... looking at the source of the PHP it is possible for you to manually modify it and adding a height and width to the code to suit your requirements...

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Tue Aug 23, 2011 7:44 pm
by BaconFries
You can either do it one of two ways either in a HTML Editor such a Notepad++ or you can modify through your cpanel once you have uploaded to your host server, before that we need to first install the extension on the page that you require it on, now save this...first way to modify is to browse to were you have saved to, look for the PHP file name rater.php open in Notepad++ and look for line 125 it should look like the code below once you have saved you can then upload...the second way is to upload all the files to your server ythe make the same changes through cpanel as described below..

Before
echo '<input type="submit" name="rate'.$rater_id.'" value="rate" style="font-size:12px;color:#FFFFFF;border: 2px solid #000000;background: #FFF000;font-family:Verdana" />';
After

Code: Select all

echo '<input type="submit" name="rate'.$rater_id.'" value="rate" style="font-size:12px;color:#FFFFFF;border: 2px solid #000000;background: #FFF000;font-family:Verdana";[color=#FF0000]width:56px;height:25px[/color]/>';

Re: 5 Star + Thumb + Hearts Rate Extension + translate varia

Posted: Mon Nov 21, 2011 1:30 am
by BaconFries
You should note that Eddy is no longer a active member of the forum so this will not be possible sorry...