We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Ez_rate- a very beta ratings module.

Development and Programming

Robin Sowell's avatar
Robin Sowell
13,158 posts
19 years ago
Robin Sowell's avatar Robin Sowell

This one was completely off the cuff, but it’s starting to shape up. Needs some beta testing. It’s your basic ratings module- find it there, rate it while you’re visiting (I need numbers to check the stats)- comments here. That site isn’t all that ‘live’ yet.

Requires membership to download (figure might as well test that while I’m at it)- but it’s automatic and painless, so no worries.

Actually- it requires membership to rate anything too, now that I think about it.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
19 years ago
Lisa Wess's avatar Lisa Wess

Wiki’d. I saw module= in there, that means it works with the gallery?

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
19 years ago
Robin Sowell's avatar Robin Sowell

Well- in theory :coolsmile: It’s pretty simple, so no reason it shouldn’t. But I don’t have a gallery up on my test site, so some intrepid soul will have to go there first.

I KNOW the main stats tag won’t show for the gallery yet- cause I hard coded it. Because I got tired. And because I’m halfway thinking of adding a second table to hold summary stats.

But- the form SHOULD show on a gallery page- and it should submit and then show the rating and average rating on the gallery page itself. So- it should. I’d like it to work with about anything- linklist, members- pretty much anything that has a unique id ought to be ‘rateable’ in theory. Of course- displaying the rating on the member templates- I don’t know. But everything else uses the basic template engine and an id in the url- so should be doable.

Need to think on how to display ave. rating on multi-entry pages. That will be tricky. But the rest is all doable. If not necessarily done.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
19 years ago
Lisa Wess's avatar Lisa Wess

oooh rating links, now that is cool. I actually have no personal need for this but if no one steps up to test it in the gallery by this weekend, I’ll throw it in there and see how it goes. =)

       
Korak's avatar
Korak
8 posts
19 years ago
Korak's avatar Korak

Cool! Just what I need for two sections of the site I’m working on. Thank you, I will try this module out.

       
John Fuller's avatar
John Fuller
779 posts
19 years ago
John Fuller's avatar John Fuller

Took me a minute to figure out what the illustration is supposed to be on that site. 😉 It is a cable connected to LED’s or something?

Thanks for the plugin. I think this would be great if it had the ability to be connected to images that give a visual representation of the numbers.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
19 years ago
Robin Sowell's avatar Robin Sowell

Hey- the illustration is a squiggle. I pretty much hate the design of the site- but not enough to mess with it at the moment. Maybe I’ll trade some php help to somebody with design skills- because it’s just plain ugly.

The rating module, on the other hand, is starting to come along. You want images? Try this out.. It’s buggy as hell, degrades with no grace what so ever, and as an added bonus, you can’t actually rate an id with a rate that equals the id number. I have no idea what bit of variable confusion I managed that resulted in that.

Gotta figure out how to tweak it out a lot- keep it flexible yet simple. But for my first shot at ajax, it ain’t bad.

And a tip of the hat to this css tutorial- it’s where I got the dynamic css from.

(Note- the download is still the old one. I have to clean up the variable clash and figure out how to make it accessible to non-js browsers. Once that’s done, I’ll update.) Oh- and feel free to rate anything- I keep truncating the table in testing, so nothing that goes in right now is going to stick.

       
John Fuller's avatar
John Fuller
779 posts
19 years ago
John Fuller's avatar John Fuller

A squiggle? Dang, I was so far off on that one!

By the way, can I rate Lisa? I give her one star. 😛

That is cool though, rob1, it looks like you are having fun learning and that is all that counts.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
19 years ago
Robin Sowell's avatar Robin Sowell

LOL- is LJ picking on you?

Yea- it’s a fun module. Kind of exploded from the original intent, but the basics are simple so it gives me a lot of room to play with the tweaks. Like the javascript. I don’t do js much, but it’s starting to make a little more sense to me. However, once browser issues start cropping up like crazy, I’m sure I’ll hate it again.

And hey- glad my squiggle looks like something. Ghuh- I should just do the site in pure text, black borders, fixed single column- and nothing else.

       
John Fuller's avatar
John Fuller
779 posts
19 years ago
John Fuller's avatar John Fuller
And hey- glad my squiggle looks like something. Ghuh- I should just do the site in pure text, black borders, fixed single column- and nothing else.

Not a bad idea actually. I had a site like yours up once. I used it as a a place to show off things I have built, and to host tech support articles that I have written. It was black and white, and the only CSS I used was to add a navigation list on the side. I thought it amusing to be running such a bland site off a great system like Expression Engine.

       
John Henry Donovan's avatar
John Henry Donovan
12,339 posts
19 years ago
John Henry Donovan's avatar John Henry Donovan

Nice module. i installed it and it works a treat. I don’t have commenting turned on for the weblog I’m using so I use the {exp:ez_rate:form} tag and not the extension. The {exp:ez_rate:form} tag is used on a comment template. The {exp:ez_rate:stats} tag is using on the index and category template but doesn’t want to play ball and I am getting a blank display from it? Any ideas. Congrats on a nice module. My advice would be to not get overly complicated. Maybe 2 versions simple and advanced with advanced tied into the commenting etc.

       
Boyink!'s avatar
Boyink!
5,011 posts
19 years ago
Boyink!'s avatar Boyink!

Nice…might come in handy for a project I was just discussing this week.

       
DEA's avatar
DEA
257 posts
19 years ago
DEA's avatar DEA

I’ve been messing with the star rating samples for the past two days with no luck. One example required query strings, so no go with EE. The other, an AJAX-based version, crapped out connecting to the db every time. I see you’ve appropriate some of that for your module. How did you integrate it? All I get with your module is an empty field, thought it would generate the stars as on your site when you say, ‘You end up with a rating form that looks like the one on this page’.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
19 years ago
Robin Sowell's avatar Robin Sowell

Ah- the star one isn’t up for download yet. And yea, it pretty much works completely differently than the downloadable version- ajax based, uses gets and, er- mini-templates as that was the only way I could figure out how to swap out the data dynamically.

I’ve got to finish off a couple of other projects before I can finish cleaning it up for download, though.

       
Seamus's avatar
Seamus
47 posts
19 years ago
Seamus's avatar Seamus

This is going to be really useful. One of my long time wishes for EE. I just wish I’d seen this post earlier!

Thank you.

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.