Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[FREE PLUGIN] AJAXRate

(Page 1 of 4)
> >
Quote Reply
[FREE PLUGIN] AJAXRate
Hi,

I've been playing around with AJAX recently, so thought I would put my new-found skills to use in a free plugin =) (see post below, as I've updated the plugin, and the old post was redundant)

[ removed, as new instructions are in the Readme in the plugin ]

http://www.ultranerds.com/...3_0_x/AJAXRate_L279/

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Jan 13, 2010, 1:47 AM
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Ok, here is a proper version of the plugin. It also has some documentation now (and a bug fixed)

You can see an example here:

http://www.ultranerds.com/...ersion/Adverts_L277/ (look for "Rate this product:")

(you can do both 5 and 10 star ratings now btw)

Enjoy!

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Jan 10, 2010, 1:19 AM
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Looks Nice :)

Thanks.

Vishal
-------------------------------------------------------
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Looks good. But is the confirmation necessary?
Quote Reply
Re: [gotze] [FREE PLUGIN] AJAXRate In reply to
Haven't tested it on a live site, however I think having confirmation is a good option - it prevent something trying to just rate links at random. (It was real pain in the neck to deal with on my previous site)

... *addition * ....

However instead of "'Your rating has been accepted." actual rating image (with stars highlighted that user rated for) or both star and text message would be a great idea - since it gives users instant output view of their own rating.

Can be something like: (replace # with star images in below code box)

Code:
Rating Accepted:
You Rated : ##### (5 out of 10).. (hopefully a message that can be updated my admin in template file)

Vishal
-------------------------------------------------------

Last edited by:

SWDevil.Com: Dec 23, 2009, 6:08 PM
Quote Reply
Re: [gotze] [FREE PLUGIN] AJAXRate In reply to
gotze wrote:
Looks good. But is the confirmation necessary?

Sure, in ajax_rate.js, just delete linese 2 lines:


Code:
40 if (confirm('Are you sure you want to rate this link a ' + Star + ' star rating?')) {
50 }

..and it shouldn't ask you to confirm any more =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [SWDevil.Com] [FREE PLUGIN] AJAXRate In reply to
Quote:
... *addition * ....

However instead of "'Your rating has been accepted." actual rating image (with stars highlighted that user rated for) or both star and text message would be a great idea - since it gives users instant output view of their own rating.

Can be something like: (replace # with star images in below code box)

Mmm, will see what I can come up with... probably won't have time today, as got a really busy day, trying to catch up on my work before Christmas day :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Hm... I always get message "Your vote is accepted" although, vote isn't accepted.

Regards.

UnReal Network
Quote Reply
Re: [DeadMan] [FREE PLUGIN] AJAXRate In reply to
You sure your not trying to just vote for something you have already voted for? Also, what do you have set for RATE_VOTED in your Build > User Language section? The JS code looks for a keyword ("already") in the message - therefore if you don't have that in the message, it doesn't know that the vote was already registered =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Ok, I understand now. Yes, I was voting for link I have already voted just to see will message change, but it doesn't change.

Yes, I have changed RATE_VOTED to my language, so that is why I'm having same message for new vote and for already voted. :)

Maybe some other way would be much better to check is link is voted or not as this will work only for English language. ;)

Regards.

UnReal Network
Quote Reply
Re: [DeadMan] [FREE PLUGIN] AJAXRate In reply to
Just tell me the value of RATE_COUNTED, and I'll show you how to edit the .js file =) (it should be pretty simple)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Hi Andy,
nice plugin, but I have there is one problem. On your site the "rate this product"-stars are difficult to find, cause they are blank.
The second problem is, that you have two star images. The already rated and the stars where we can rate.
In my wordpress blog. I have a rating system that includes this two parts into one.
You can rate and see the result in one image. Hope you understand what I mean ;-)
Here is an example (scroll down to the stars)
http://www.gpaed.de/...king-papierflugzeug/

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [FREE PLUGIN] AJAXRate In reply to
Hi,

I don't see why that couldn't be done - will try and have a look at it later today.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Man, what a sod this is being! I've got it almost working, but for some reason the "onestar" refuses to show up (even though the rest are fine!)

Eugh Crazy

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Matthias70] [FREE PLUGIN] AJAXRate In reply to
Man, that was a sod!

This more what you are thinking of?

http://www.ultranerds.com/...sic_Installation_L1/

Its only on the ultranerds site atm, not packaged up just yet.

I tried doing it with half stars too, but couldn't get to work.

The only downside of thia, is I couldn't find a "matrix" set of star ratings for 10 stars - so this will limit the plugin to only work with 5 stars

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Matthias70] [FREE PLUGIN] AJAXRate In reply to
Ok, here is the latest version. What I did, was "merge" the different options in.

So you can do:

1) A 5 star rating (like before)
2) A 10 star rating (like before)
3) A 5 star "advanced" one - which I've just added

Please find the file attached.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Number 3 looks great. Unfortunately I'm running a 10 star rating system :-)
Maybe someone has some images for 10 stars...

Matthias
gpaed.de
Quote Reply
Re: [Matthias70] [FREE PLUGIN] AJAXRate In reply to
Hi,

If someone can find a 10 star version of the attached image, I should be able to do it =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
I've just uploaded a new version, as the .js file had a bug in it.

If you have this plugin installed, please find /pages/static/ajax_rate.js, and add this at the VERY top of the file:

Code:
jQuery.noConflict( )

That should fix it =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Andy wrote:
Hi,

If someone can find a 10 star version of the attached image, I should be able to do it =)

Cheers

Are those the actual images that you use or just a screenshot? I can adapt those with photo editing software if it helps but I'd rather get the actual gifs that you are using if the attached isn't.
Quote Reply
Re: [MJB] [FREE PLUGIN] AJAXRate In reply to
Thats the actual image :) Basically, the CSS shows each line.. so what you'd need to do, is make the image 2 times the height, and 2 times the width. Then make 10 stars instead of 5.

Thanks if you can do this (I gave it a go, but I'm not that great with the GFX packages, more a coder Wink)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
See if the attached is any use.
Quote Reply
Re: [MJB] [FREE PLUGIN] AJAXRate In reply to
Looks perfect to me - will have a go at implementing it tomorrow :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [MJB] [FREE PLUGIN] AJAXRate In reply to
Ok, almost done (The CSS updates were more of a bugger than I was expecting)

http://ultradev.com.nmsrv.com/...ailed%2F337.html;d=1

Still got a few issues to iron out - like on some stars the are not quite aligned properly, so they show a little part of the star below ... just gotta try and work out which ones need aligning now - but hopefully that won't take too long :/

EDIT: Now have it working right - just gotta test it in other browers to make sure it works ok, and then package it up :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Jan 9, 2010, 1:36 AM
Quote Reply
Re: [Andy] [FREE PLUGIN] AJAXRate In reply to
Does anyone have IE 6 or 7? I tested this page in IETester:

Code:
http://ultradev.com.nmsrv.com/cgi-bin/dev/page.cgi?g=Detailed%2F337.html;d=1

..but it gives an error about line 11. It works fine in Chrome, IE8 and FF 3, so can't work out where the issue is coming from - eugh!

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
> >