Skip Navigation

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

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.

This topic contains 5 replies, has 3 voices.

Last updated by Luo Yang 9 months, 2 weeks ago.

Assigned support staff: 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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

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/

The topic ‘[Closed] Split: Custom Comment System – implement rating system’ is closed to new replies.