[Resolved] Need to do history like youtube

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 1 reply, has 2 voices.

Last updated by Luo Yang 1 month, 1 week ago.

Assigned support staff: Luo Yang.

Author
Posts
#1632803

Tell us what you are trying to do?
As the title suggest. how to do the history at My Account (User account ~ subscriber)

Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/custom-content/user-fields/

Is there a similar example that we can see?
Youtube channel... (got list of history video if you sign in) ... since our main concept is video base website

What is the link to your site?
hidden link

#1632865

Luo Yang
Supporter

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

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

Hello,

For example, there is a custom post type "Video" in your website.

It needs these:
1) Many-to-many relationship between post type "Video" and WordPress users
Toolset relationships are based on post type, you will need to create an intermediate post type "Member", use it to setup the many-to-many relationship, see our document:
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/

2) Setup custom PHP codes, when user visit a "Video" post, connect his "Member" post with current "Video" post
custom codes.
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_connect_posts

For your reference.