2 personman Jul 14, 2006 23:12

Awesome, thanks for posting that.
What do I need to edit so that only the stars are displayed, and not the other stats?
Personman, i'm developing my own digg/rating plugin.
Would i be able to get 'in' on what you've done so far with yours?
I released this plugin [url=http://plugins.b2evolution.net/index.php/2006/10/05/star_rating]here[/url]. It now includes the ability to show info below the stars, in a pop-up notice or not at all (like scottsforum suggested).
This plugin looks great. Ajax is just so impressive. It's almost, but not quite what I need for my [url=http://www.mattandcat.co.uk]restaurant review site[/url]. I'm after a way of displaying our own ratings of restaurants, rather than users ratings of posts. So the rating is done by the editor and is read-only (maybe if we really take off I'll introduce reader's evaluations too, for which this plugin is admirably suited). Also, ideally, a suitable list in the sidebar with a category for '5*', 4*' etc.
I'd been looking at tweaking the native categories.plugin to do this, and, to be frank, thinking it was beyond me, but can you suggest whether or not it would be easy enough to install this spiffy plugin and then adapt it to that much more mundane task? If not, I guess you can take this as a request for a new plugin.
Ok, I was wrong. There are more notices. Notices are not errors and the plugin works fine if you turn off notices. Add this in /conf/_basic_config.php:
error_reporting(4);
That will still show errors and warnings, but notices will not be shown. I'll get the notices fixed, but it's going to take a little time, so this will work for now. I wouldn't recommend running a production site with notices turned on, anyway.
This issue with notices also comes up with your "Democracy" plugin on 1.9.1
some examples....
Notice: Undefined index: display in /home/blahblah/plugins/democracy_plugin/_democracy.plugin.php on line 418
Notice: Undefined variable: poll_id in /home/blahblah/plugins/democracy_plugin/_democracy.plugin.php on line 438
Notice: Undefined index: jal_no_js in /home/blahblah/plugins/democracy_plugin/_democracy.plugin.php on line 442
Which version of democracy? It was updated 2 days ago ([url=http://b2evo.astonishme.co.uk/index.php?title=democracy-plugin&more=1&c=1&tb=1&pb=1]here[/url]) and (hopefully) all the errors are cured?
¥
Thanks Yabba, I'll load that up and report back
balupton wrote:
Personman, i'm developing my own digg/rating plugin.
Would i be able to get 'in' on what you've done so far with yours?
Is your plugin ready? I could be interested in change some ideas with you. Mine is ready and I will give you the code if we could arrange a settlement.
_________________
*edit* link removed
is there a way to vote by cookie instead of IP so that every member will be able to vote once ??
I'll probably clean it up and do a formal release sometime soon, but if you like, here it is:
http://brendoman.com/dev/beta/plugins/starrating.zip