Navigation überspringen

[Gelöst] Password protect individual gallery using Form and Access?

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

I am planning to create my own profile page, replacing the existing BuddyPress one, and I want the photo gallery on the new profile page to be password-protected. The idea is for a member to upload images using Forms to create a gallery, set a password to protect the images, and then share the password with friends to allow them access to the gallery.

Solution:

Creating such a profile page would require a separate custom post type. However, it's important to note that Toolset does not support the creation of password-protected posts natively. Custom development along with the Toolset Forms API would be needed to achieve this feature.

Relevant Documentation:

https://toolset.com/forums/topic/password-protect-custom-posts-with-toolset-forms/#post-1452647

https://toolset.com/documentation/programmer-reference/cred-api/

This support ticket is created vor 2 years, 6 months. 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.

Dieses Thema enthält 2 Antworten, hat 2 voices.

Zuletzt aktualisiert von triggeru571 vor 2 years, 6 months.

Assistiert von: Christopher Amirian.

Author
Artikel
#2594233

This may be beyond the scope of toolset but I am asking anyway as there may be a solution.

I have a site currently using buddy press, but want to create my own profile page rather than buddy press. One of the main factors is that I need the photo gallery on the profile page password protected. It would work as follows

1) Member uploads images using Forms to create a gallery on the profile.
2) Member creates a password to protect those images from everyone he does not want to share them with
3) Member gives the password to his friends who can now see the images in the gallery.

Is this possible to achieve using toolset?

Thanks

#2594773

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hi there,

To be able to create such a profile you will need a separate custom post type so you can create the form against.

Toolset does not support creating a password protected post. You will need to use custom development and Toolset Forms API to create such a feature.

Here is a starting point that you can use:

https://toolset.com/forums/topic/password-protect-custom-posts-with-toolset-forms/#post-1452647

And here is a reference to Toolset Forms API:

https://toolset.com/documentation/programmer-reference/cred-api/

Thanks.

#2597261

Thank you. I will try this