Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-12-25 12:01:45

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

yab_review_rating: A comment based (star) rating system for articles.

This is (star) rating plugin for Textpattern. It’s a useful partner for yab_shop or similar plugins.
It extends the comment system with a rating scala, so it can be used as reviews for products as you see on Amazon or other shops.
Can be used standalone (without yab_shop).

Download compiled and source: yab_review_rating_v0.6
Info: Plugin help or plugin’s entry on YaBlo
Demo: yab_shop demo (feel free to review some demoshop products)

Changelog

  • v0.1: 2013-12-24
    • initial release
  • v0.2: 2014-01-08
    • new: added a the tag <txp:yab_review_rating_average />
  • v0.3: 2014-01-12
    • new: added the id attribute to <txp:yab_review_rating />
    • modify: <txp:yab_review_rating /> can now be used in <txp:recent_comments />
  • v0.4: 2014-01-16
    • new: added reverse attribute to <txp:yab_review_rating_input />
    • new: added only_visible attribute to <txp:yab_review_rating_average />
    • modify: id attribute of <txp:yab_review_rating_average /> can now contain list of article ids
  • v0.5: 2017-02-10
    • TXP 4.6-ready
  • v0.6: 2017-03-09
    • bugfix: handle comment UI correctly, prevent rating resets to 0 if comment status is changed

Last edited by trenc (2017-03-09 12:25:41)


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#2 2014-01-12 11:43:32

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_review_rating: A comment based (star) rating system for articles.

I updated the plugin to v0.3: Now the <txp:yab_review_rating /> can be used in a recent_comment form too. And I’ve added the id attribute to that tag, so you can display the rating of any comment/review everywhere and you’re not bound to a comment context (comments form).


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#3 2014-02-06 11:47:56

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_review_rating: A comment based (star) rating system for articles.

And another update, to v0.4.

Changes:

  • v0.4: 2014-01-16
    • new: added reverse attribute to <txp:yab_review_rating_input />
    • new: added only_visible attribute to <txp:yab_review_rating_average />
    • modify: id attribute of <txp:yab_review_rating_average /> can now contain list of article ids

Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#4 2014-02-18 13:54:35

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,538
Website GitHub Twitter

Re: yab_review_rating: A comment based (star) rating system for articles.

Hi Trenc

The plugin is not working on txp 4.4.1, i have upgradded my website to 4.5.5 to make it work.

On plugin help in requirement it said: txp 4.x!

Thanks for the plugin, i must change it a little because i want to use a jquery star rating plugin and i should get rid of labels on radio display.

Cheers.

Offline

#5 2017-02-10 14:14:03

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_review_rating: A comment based (star) rating system for articles.

Version 0.5 is now TXP 4.6-ready:

yab_review_rating_v0.5.tar.gz


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#6 2017-03-09 08:39:20

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: yab_review_rating: A comment based (star) rating system for articles.

I have a problem since my update to 4.6. Not 100% sure but I think it is due to the update.
Whenever I change a comment to visible it resets the rating to 0 on the database.
Also I do have in mind, that the rating was shown in the backend before. So when I am reviewing comments I could also see their rating. Now it is not shown. Any ideas?

Offline

#7 2017-03-09 11:41:05

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_review_rating: A comment based (star) rating system for articles.

I can confirm this issue. I will have a look into this.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#8 2017-03-09 12:21:43

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: yab_review_rating: A comment based (star) rating system for articles.

I’ve found the bug. Here is a bugfix release:

yab_review_rating_v0.6


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#9 2017-03-09 17:55:22

demoncleaner
Plugin Author
From: Germany
Registered: 2008-06-29
Posts: 220
Website

Re: yab_review_rating: A comment based (star) rating system for articles.

Wow, that was fast. Thanks a lot. Großartig! =)

Offline

#10 2018-02-03 08:03:36

zenman
Member
Registered: 2017-08-28
Posts: 41
Website

Re: yab_review_rating: A comment based (star) rating system for articles.

Achtung!
The site’s database is not available. What happened to yablo.de? I was so happy to find the right plugin! But I have got the surprise. I hope the time will come when all plugins can be downloaded from textpattern.org directly.

Offline

#11 2018-02-03 09:23:21

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: yab_review_rating: A comment based (star) rating system for articles.

zenman: try this and the cached version of trenc’s blog article about it. The site still appears to be there, so maybe trenc will see that the db is missing.

EDIT: the source is also on trenc’s GitHub page.


TXP Builders – finely-crafted code, design and txp

Offline

#12 2018-02-03 10:17:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: yab_review_rating: A comment based (star) rating system for articles.

zenman wrote #309049:

Achtung!
The site’s database is not available. What happened to yablo.de? I was so happy to find the right plugin! But I have got the surprise. I hope the time will come when all plugins can be downloaded from textpattern.org directly.

I should be a temporary error but you can still download the file from here


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Online

Board footer

Powered by FluxBB