Skip Navigation

[Resolved] workaround for user start rating

This support ticket is created 3 years, 8 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1731349

Tell us what you are trying to do?
as there is no user-star rating right now, is there a way for a workaround?

I need a field, where any visitor of the page can use a checkbox field, to sort the artists he/she wants to invite to an audition.
this checkbox field should be shown on listing pages ( views, kind of archives) and also on the page of every artist, that is generated from an artists-form, this artist fills out before

then I want the user to filter his/ her checked artists and show them in a kind of query filter

is this possible
and how can i do this?

i suggest a small checkbox with just this 1 small checkbox
created in a custom field group
added to a specific custom post type, where all the artists custom fields are in

then create an "add"- form for only this small checkbox field
and connect it to the artists post type

include this small form in the listing-views
and also in the artists pages

but how do i manage for the user to get a list of all cheked artists in a listing view?

Is there any documentation that you are following?
https://toolset.com/course-chapter/designing-the-archive-for-directory-items/
https://toolset.com/course-chapter/creating-custom-searches-for-directory-items/

Is there a similar example that we can see?
in this example it is a star rating sytsem
the outputs automatically on an extra page the rated ( sorted, filtered artists)
i do not need an extra page , that is pre-designed
it would also be great see the checked artists in a list just like you filter it with a search
and with an extra plugin be able to create a pdf and print it:

hidden link
the list where you see your stared artists is on this page
by default it is empty hidden link

What is the link to your site?
schpinn.at

#1732397

so in brief
i do not need a star rating
i need a select and show - thing
so i would build a checkbox called
- add to my selection
and then i want to get a list of all my selections

all on the frontend
and also possible for non logged in users

#1732473

Hello, at a very basic level it sounds like you need a way to relate Users to Artist posts, a way to display whether an individual Artist post is linked to the current User, and a way for the current User to manage that relationship per Artist. You have two general options for relating Users and Artists. One is post relationships, but that's difficult because post relationships don't link Users and posts directly. They only link posts, so you would need a proxy post type to represent Users: https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/
The other option that doesn't require a proxy post type is a repeating numeric field on the User Profile that stores the ID of each Artist he or she has invited, or a repeating numeric field on the Artist post that stores the numeric ID of each User who invites that Artist. That would work a lot like a "favorite" post feature, where each User can mark a post a "favorite" or not. I've helped other clients set up something similar:
https://toolset.com/forums/topic/method-for-user-to-choose-post-as-favorite/
https://toolset.com/forums/topic/favorite-posts-by-logged-in-user-add-to-remove-not-working-properly/
https://toolset.com/forums/topic/attn-christian-cox-continuation-of-one-to-many-user-relationships/

Any approach will likely require some amount of custom code to implement exactly like you want it. Another option that doesn't require custom code might be to look for a 3rd-party "favorites" plugin, and use these favorites to represent invitations.

Thought I would present a few ideas and let you decide which might work best for your site. If you have follow-up questions about these workarounds, feel free to let me know. I can discuss details of any approach, or discuss pros and cons to help you make a decision about which approach works best.

#1736965

My issue is resolved now. Thank you! Great support Christian!

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