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,559
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: 228
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: 228
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: 5,185
Website GitHub

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,368
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.

Offline

#13 2018-02-22 09:31:47

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.

Sorry for the inconveniences I don’t know what caused the error but I bear in mind to change my provider.


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

Offline

#14 2018-02-27 10:21:15

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

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

trenc wrote #309370:

Sorry for the inconveniences I don’t know what caused the error but I bear in mind to change my provider.

Danke! I still dont understand how to get “stars”. Do I have to create a style or it is already created in the plugin? On you site stars are images, are they not?

Offline

#15 2018-03-10 07:04:36

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.

The plugin does not directly create it. With the output of the plugin you can generate class names for an element (yab-rating-3 or yab-rating-5 etc). You can now bind different images or an image with different positions on this class names in the style sheet. So it’s done on my demo site. Feel free poke around with the dome inspector.


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

Offline

Board footer

Powered by FluxBB