Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:49 am EDT

Geeklog Forums

Rating Plugin Version 2.3.0 now available


Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
I just uploaded the latest version of the rating plugin which contains mainly small bug fixes and template tweaks. It is a recommended update for sites using the previous versions of the plugin.

I am planning to start working again on this plugin and am accepting feature requests (doesn't mean they will get in though Surprised! )

Current features being considered are:

- Popup mouse overs on average rating display with information about the item
- CAPTCHA Integration
- Expand on user reviews. Allow administrators to add custom text fields and one or more sub ratings to user reviews.
One of the Geeklog Core Developers.
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Tom,

Just let me know what I can do in the CAPTCHA plugin to support your Ratings plugin. I'll be happy to implement any changes necessary.

Thanks!
Mark
 Quote

Status: offline

CavemanJoe

Forum User
Chatty
Registered: 09/20/06
Posts: 41
Location:Cheshire, England
Is there a way to link to a list of the top ten rated stories? I know that the ten highest-rated stories are available in stats.php, but is there a way to add this as a centerblock or on a page by itself?
Apologies if there's an obvious way to do this. The site in question is retroreviews.net, if it helps.

Thanks.
Silly browser RPG: improbableisland.com!
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
No, sorry not yet. Diggs uses a center block to display the top ten diggs but there is nothing for ratings or reviews.

I'll add this feature to the next release.
One of the Geeklog Core Developers.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Ok,

I've finished up a few things I have been working on and now plan to get back to the Rating Plugin. Here is my to do list:

To Do:
1 Mouse Overs (Popup mouse overs on average rating display with information about the item (average_rating, number of ratings, your rating, Rating Title).
2 User Page which lists all of the users ratings.
3 PHP Blocks
- Top Ratings
4 Expand on reviews. Allow administrators to add one or more sub ratings to reviews. Sub ratings will have a caption, a rating and a weight. If a sub rating exists, the overall rating will be based on the average (depending on the weight) of the sub ratings.
5 CAPTCHA Integration
6 Admin Interface
- Multi Delete Rating Totals
- Cleanup Button in Admin to remove any ratings that the parent object doesn't exist anymore for.
- Update All Totals Button
- Check out Parent Id in admin, maybe auto load it?
7 A centerblock for the top rated items (all items, or just specific like story). Allow options to specify number of ratings and date (ie top ten rating items of the last week)


Items 4, 5, 6, 7 are the features I will be working on first. If anyone has any additional feature requests, now is the time to make them.

One of the Geeklog Core Developers.
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Tom,

I dusted off the CAPTCHA plugin this morning and fixed a few small issues and also added the hooks for the Rating Plugin. I'll need to tweak the template to match your plugin, but all the other hooks are in place when you are ready to add it to your plugin.

Let me know when you hit that point and I'll shoot over a version to work with.

Thanks!
Mark
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Sounds good Mark,

It will probably be a few weeks before I need it.

Thanks

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

griffman

Forum User
Junior
Registered: 04/23/02
Posts: 28
I have the plug-in installed, but when I rate one story, it seems to apply that rating to *every* story on the site. Help?

-rob.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi,

Is Rating plugin version 2.3 the last available release?

There is an issue with the rating plugin and Chameleon. It will be fixed in the next release.


Any future release on the road?

::Ben

I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Yes down the road, but I must admit it is not a high priority at the moment. I have a few other projects plus some stuff I want to get done in Geeklog first.

There is a few things I want to fix since the last version including switching over to jQuery and better integration with other plugins.

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
So I will implement rating in paypal plugin.

Do you know there is a nice jquery star rating plugin? Maybe you could use it in a next version of the geeklog rating plugin ...

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Cool.

Thanks for the link. I haven't used jQuery yet so I will need some examples to work from.

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

kobab

Forum User
Regular Poster
Registered: 02/22/10
Posts: 73
Hi!
Will you advise me where of lib-story.php the rating code should be pasted for GL1.8.1?

readme.txt attached in the downloaded file mentioned as below.
Integration is simple, and involves calling just one function that will return the HTML to incorporate into your page.
The call is something like (add the following code to lib-story.php around line 439 (on geeklog ver. 1.4.0sr2)(on geeklog ver. 1.4.1 around line 454):

/* start rating code */
if (function_exists('RATING_display_rating'Wink)
{
$article->set_var('rating', RATING_display_rating($A['sid'], 'story', $A['sid'], 1, 5, CONST_FLAG_DEFAULT_RATING ) );
}
/* end rating code */
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
With version 2.3.1, there is no need to modify the core. Only the addition of a variable in the template files used to display the score obtained by each story, page or comment. This update corrects a few problems from the previous version and enable the comming paypal plugin to integrate your clients review on each product page if needed.

For more information, please visit this wiki plugin rating page.

Version 2.3.1 Dec. 15th 2010

Updated version by ::ben to support paypal plugin (Needed rating conf values)
New star color
Fix template bug on Edit page
Fix language bug on Edit page for save and delete action.
Fix template bug for admin menu
Fix search issue


Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

kobab

Forum User
Regular Poster
Registered: 02/22/10
Posts: 73
happy
Thank you, Ben.
Updated from 2.3.0 to 2.3.1 and working fine.

I will try to make a language file in Japanese.
 Quote

Status: offline

kobab

Forum User
Regular Poster
Registered: 02/22/10
Posts: 73
I made a Japanese language file HERE.
 Quote

All times are EDT. The time is now 06:49 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content