Skip Navigation

[Resolved] Split: Custom Comment System – implement rating system

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by Luo Yang 4 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#1397295

Hi Luo,
Thanks for the reply and sorry for my delayed response. I had to fly out of the country for work for three days.

I managed to get the select field to populate the correct value and hide it using this documentation I found:
https://toolset.com/forums/topic/creating-prefilled-relationships-in-post-forms/

I also did as you suggested with the post relationships and now my comments are displaying correctly due to the relationships being assigned properly now.

My next step is to make the "rating" custom post type and get that to work properly.

Thanks for your help with this.

#1397297

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Regarding rating system - I see Luo already made few suggestions with the following reply:
=> https://toolset.com/forums/topic/custom-comment-system/#post-1395163

Can you please share more details where exactly you stuck or you need help to implement the rating system.

#1406079

Hi Minesh,
Thanks for the replay and I apologize for my late response.

What I would like to do is create a star rating for my Twitch channels for users to give it a rank from 1-5.
Yesterday, I noticed in the latest Toolset Youtube video what seemed to be a built in rating system for listings. Is this something I can use?

Thanks again for all your help.

#1406331
Star-Rating.JPG

Hello,

There is a "Star Rating" block within our new "Toolset Block" plugin, it can only display a custom numeric field value as stars, but I can not say it is a rating system, since it lacks other feature of a rating system.

See screenshot: Star-Rating.JPG

In above screenshot, the "Star Rating" block will display the value of custom field "page-rating" as stars in front-end.

#1406377

Hi Luo.
Thanks for the response.

Can it be used if I set up a custom post type called "ratings" then take that numeric value and pass it to the block?

I'd like my users to be able to rate a channel but only do it once per user.

#1406435

Yes, it is possible with some custom codes, see my answer in your previous thread:
https://toolset.com/forums/topic/custom-comment-system/#post-1395163

For the question "users to be able to rate a channel but only do it once per user", you can add a post date filter in the post view:
Select posts whose
Published date belongs to a year between those: CURRENT_ONE(),FUTURE_ONE(1)
See our document:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-date/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.