Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2013-12-06 16:39:17

etc
Developer
Registered: 2010-11-11
Posts: 5,675
Website GitHub

Re: How to accept reviews (stars and comments)?

I’ve made some quick mods to peg_nested_comments to allow reviews. There are no fancy stars for the moments, but it will be easy(?) to implement once the functionality is approved. The current features include:

  • one review per IP address
  • average ratings (per article, section and so on)
  • best/worst rated

Planned (if needed):

  • quintiles (59% liked this…)
  • most active reviewers and other statistics
  • review restriction abstraction (by ip, cookies, auth, …)

The code is ever-changing and not yet released, but, since there is only one review per IP, I need your help in testing. :)

Offline

#17 2013-12-06 19:16:24

springworks
Member
Registered: 2005-01-06
Posts: 172
Website

Re: How to accept reviews (stars and comments)?

etc wrote:

The code is ever-changing and not yet released, but, since there is only one review per IP, I need your help in testing. :)

I’ve just tried it out.

When I clicked on the Preview button, my rating was cleared and I had to click the radio button again before clicking on the submit button to successfully leave a review.

Hence my two comments, but only one review. ;-)

You probably want to change that as most people probably won’t notice that their rating gets cleared when they click on Preview.

Edit: Just tried it again to see if it allowed me to leave a second rating and found that my new rating was accepted but my old one disappeared. I wasn’t expecting that and there was no warning that that was what was going to happen.

Last edited by springworks (2013-12-06 19:18:43)

Offline

#18 2013-12-06 20:32:52

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

Re: How to accept reviews (stars and comments)?

It accepted my (first) comment, but didn’t accept my voting. It also keeps me now from commenting other peoples comments. I’d expect it keeps me only from voting the article, not from commenting. A can of worms … sorry.

Last edited by uli (2013-12-06 20:33:35)


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

Offline

#19 2013-12-06 21:27:04

etc
Developer
Registered: 2010-11-11
Posts: 5,675
Website GitHub

Re: How to accept reviews (stars and comments)?

Thank you for testing, your remarks are taken in account now. But the questions stay:

  • should comment replies be accepted as reviews?
  • should reviews be revisable?

Offline

#20 2013-12-09 23:51:01

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 597
Website

Re: How to accept reviews (stars and comments)?

Fantastic Oleg, I’ll have to try it out.

> should comment replies be accepted as reviews?

No (comment replies can be helpful in their own right)

> should reviews be revisable?

Not necessary for what I’m doing, though perhaps others would like it, especially if comment replies provide more information that may lead the original reviewer to revise their review.

Offline

#21 2013-12-13 14:40:08

etc
Developer
Registered: 2010-11-11
Posts: 5,675
Website GitHub

Re: How to accept reviews (stars and comments)?

It should be safe for testing now. Just mind that if you use a previous version of peg_nested_comments, you’ll have to remove <txp:peg_comments /> from comments form (not needed anymore).

Offline

#22 2013-12-13 14:41:05

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: How to accept reviews (stars and comments)?

I am really looking forward to trying this out – thanks for all your work, Oleg.

Offline

Board footer

Powered by FluxBB