Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: kuo_star_rating: a basic star rating for Textpattern
i “voted’ – not sure it worked though
…. texted postive
Offline
Re: kuo_star_rating: a basic star rating for Textpattern
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
#4 2017-05-11 12:45:06
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
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
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
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,306
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
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
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,306
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
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
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