5 Star + Thumb + Hearts Rate Extension + translate variable

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
Post Reply
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

5 Star + Thumb + Hearts Rate Extension + translate variable

Post 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
Last edited by Eddy on Tue Dec 29, 2009 11:58 am, edited 10 times in total.
User avatar
star57
 
 
Posts: 129
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 »

Awesome Job Eddy~! Thanks
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Post by zinc »

Nice one Eddy!!!!
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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.

------------------------------------------------------------------------------------
Last edited by Eddy on Wed Apr 22, 2009 9:26 pm, edited 2 times in total.
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

Very Nice Eddy
Image
genieuk
 
 
Posts: 129
Joined: Fri Mar 06, 2009 2:10 am

Post 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
User avatar
star57
 
 
Posts: 129
Joined: Fri Mar 02, 2007 10:45 am

Post 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!
User avatar
me.prosenjeet
 
 
Posts: 1267
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet »

Nice one eddy!
will download
Check the new Chat GPT and Malware detect extensions at the link below

Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
User avatar
DarrenH
 
 
Posts: 46
Joined: Thu Apr 10, 2008 9:31 am

Post 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!
User avatar
DarrenH
 
 
Posts: 46
Joined: Thu Apr 10, 2008 9:31 am

Post by DarrenH »

:D :D :D :D

Excellent Eddy!
User avatar
madebyibloo
 
 
Posts: 366
Joined: Fri Mar 27, 2009 3:58 pm
Location: East Yorkshire, United Kingdom
Contact:

Post by madebyibloo »

This is a nice extention! am loving the thumbs!

Great work Eddy



Cheers,
SUB
User avatar
star57
 
 
Posts: 129
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 »

great Extension
Image
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

I`am improving this rate extension with more options,just wait :wink:
User avatar
star57
 
 
Posts: 129
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 »

Eddy wrote:I`am improving this rate extension with more options,just wait :wink:
Better, no way!
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

New updates ,look in the first post :wink:
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries »

WOW as the words of the song......
"Things can only get better Can only get better"
thx Eddy......
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

What are the difference between the 1st (with translation) and the others
I did write an answer in the first post.
rolo
 
 
Posts: 9
Joined: Sat Jun 09, 2007 5:42 pm

Php Rater Bug

Post 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
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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.
rolo
 
 
Posts: 9
Joined: Sat Jun 09, 2007 5:42 pm

Post 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 !
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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);
}
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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.
User avatar
v84x4
 
 
Posts: 102
Joined: Thu Sep 18, 2008 1:48 am
Contact:

Post 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
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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
User avatar
v84x4
 
 
Posts: 102
Joined: Thu Sep 18, 2008 1:48 am
Contact:

Post 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
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

manually created the item_1.rating and then chmod it to 666.

Never thought about that,maybe this works for others to :?
Last edited by Eddy on Wed Sep 23, 2009 4:54 pm, edited 1 time in total.
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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";
User avatar
v84x4
 
 
Posts: 102
Joined: Thu Sep 18, 2008 1:48 am
Contact:

Post 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
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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.
User avatar
v84x4
 
 
Posts: 102
Joined: Thu Sep 18, 2008 1:48 am
Contact:

Post by v84x4 »

:wink:

Ahhhh,

Good Idea Eddy

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


Best Regards V8
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post by Eddy »

Built with Extension Builder 2.0.2
User avatar
DarrenH
 
 
Posts: 46
Joined: Thu Apr 10, 2008 9:31 am

Post 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
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

Post by JimmyJazz »

I'm also searching for a star rater combined with comment, is this achievable with this extension?
User avatar
Eddy
 
 
Posts: 473
Joined: Tue Nov 27, 2007 1:52 am
Location: Nederland.

Post 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. :?
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

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

Post 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.
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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....
User avatar
JimmyJazz
 
 
Posts: 72
Joined: Mon Jun 28, 2010 6:11 pm
Location: Penang, Malaysia
Contact:

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

Post 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?
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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...
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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...
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post 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]/>';
User avatar
BaconFries
 
 
Posts: 5619
Joined: Thu Aug 16, 2007 7:32 pm

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

Post by BaconFries »

You should note that Eddy is no longer a active member of the forum so this will not be possible sorry...
Post Reply