Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-05-10 23:31:10

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 238
Website

kuo_star_rating: a basic star rating for Textpattern

Please check the demo site and put some votes in. :-) I need to see if it actually works as intended.

About this plugin

Install kuo_star_rating and place <txp:kuo_star_rating id='<txp:article_id />' /> in some template. That tag is then replaced by a basic Ajax-powered star rating.

The plugin comes with another tag: <txp:kuo_star_rating_snippet id='<txp:article_id />' />. It creates a textual summary of the corresponding star rating with Schema.org markup.

Last edited by kuopassa (2021-08-20 20:30:10)

Offline

#2 2017-05-11 03:38:07

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,094
Website Mastodon

Re: kuo_star_rating: a basic star rating for Textpattern

i “voted’ – not sure it worked though


…. texted postive

Offline

#3 2017-05-11 04:04:26

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

Re: kuo_star_rating: a basic star rating for Textpattern

bici wrote #305657:

i “voted’ – not sure it worked though

ditto


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

Offline

#4 2017-05-11 12:45:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: kuo_star_rating: a basic star rating for Textpattern

After voting, the first instance of the total count went one up, whereas the number in the pink box remained as if I hadn’t voted.

Edit after reading Michael’s post: Yup, I got the message “you have voted”, too.

Last edited by uli (2017-05-11 14:35:27)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2017-05-11 13:55:14

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: kuo_star_rating: a basic star rating for Textpattern

As far as I could tell, it worked correctly. The counter went from 15 to 16 and the text said “you have voted.”

Offline

#6 2017-05-12 02:26:30

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 238
Website

Re: kuo_star_rating: a basic star rating for Textpattern

Thanks everyone for testing that plugin. Download link is coming soon. :-)

The pink box contains just static text so it doesn’t get updated when a new vote is saved, it needs page reload to show latest results. The idea with that static text is to offer visitors a separate summary of current rating. It’s also in such format that Google (and perhaps other search engines as well) might use it in search results.

Offline

#7 2017-06-02 18:05:07

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: kuo_star_rating: a basic star rating for Textpattern

Your new feed topic reminded me to see if this one can now be downloaded (Thanks, Petri!) BTW: You might want to re-open the demo again.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2018-03-24 19:01:25

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

Re: kuo_star_rating: a basic star rating for Textpattern

Very useful plugin. It is “must have” to get stars in google search result!

I have installed it. Do not see stars yet. What to do with the php file?

Last edited by zenman (2018-03-25 15:38:08)

Offline

#9 2018-04-02 11:20:10

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

Re: kuo_star_rating: a basic star rating for Textpattern

kuopassa wrote #305656:

Please check the demo site and put some votes in. :-) I need to see if it actually works as intended.

About this plugin

Install kuo_star_rating and place <txp:kuo_star_rating id='<txp:article_id />' /> in some template. That tag is then replaced by a basic Ajax-powered star rating.

The plugin comes with another tag: <txp:kuo_star_rating_snippet id='<txp:article_id />' />. It creates a textual summary of the corresponding star rating with Schema.org markup.

everything is fine on the demo site. but on my testing site no stars showed up. does it have anything to do with hosting?

Offline

#10 2018-04-02 13:27:12

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: kuo_star_rating: a basic star rating for Textpattern

zenman wrote #310316:

Do not see stars yet. What to do with the php file?

I quickly unzipped the download and skimmed the two additional files. Seems like there are some hard-coded paths in these files. Try the following: look for the file names inside the code, adapt the path(s) to your own situation and report back, please.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#11 2018-04-03 10:03:49

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

Re: kuo_star_rating: a basic star rating for Textpattern

in kuo_star_rating.js only line 24 has to be changed to: KUO_ROOT_URL = 'https://your_site.com/',
that’s all. may be, the plugin instruction is missing something?

EDITED: Textile — Uli

Last edited by uli (2018-04-03 11:52:33)

Offline

#12 2018-12-06 10:21:34

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

Re: kuo_star_rating: a basic star rating for Textpattern

work fine on 4.6.2 now. Can I change <span itemprop=“aggregateRating” itemscope itemtype=“http://schema.org/AggregateRating”> for just Rating somehow?

Offline

Board footer

Powered by FluxBB