Saltar navegación

[Resuelto] How to make Buddypress competely private

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
How to make Buddypress competely private

Solution:
I found a good plugin which is available free to download which I already downloaded and installed on your site:
=> https://wbcomdesigns.com/downloads/wordpress-lock-for-buddypress/

Relevant Documentation:

This support ticket is created hace 4 años, 1 mes. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Este tema contiene 10 respuestas, tiene 2 mensajes.

Última actualización por hugoC-3 hace 4 años, 1 mes.

Asistido por: Minesh.

Autor
Mensajes
#1993281

I would like to hide all Buddypress for non logged in users i.e. make this part of the site completely private.

Is there any documentation that you are following? https://toolset.com/lesson-placement/lesson-placements-1621543-1655635/

What is the link to your site? enlace oculto

#1993411

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share bit more information, what parts you want to hide as well as do you mean that only loggedin users can access those parts.

I need all required information first to understand what are the parts you created using buddypress and what is the condition to hide those parts.

#1993517

Hi Minesh,

Buddypress creates a number of pages like activity, members, groups etc. I would like to restrict access to the activity and members pages to logged in users only.

#1993523

Hi Minesh,

Buddypress creates a number of pages like activity, members, groups etc. I would specifically like to restrict access to the activity and member pages to logged in users only.

#1993527
Schermafbeelding 2021-03-19 om 15.33.41.png

Hi Minesh,
The Buddypress plugin creates a number of pages like activity and members. I would like to restrict access to these pages to logged in users only. I tried to create a post group andd added the pages in 2 languages (WPML) for this but it doesn't work.
Can you help?
Regards
Hugo

#1993571

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

It seems we do not have tight integration with BuddyPress, I see couple of workarounds offered.

Can you please share admin access details so I can try to check if that workaround is still valid.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1996027

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

As I need to hook the custom code with early priority.

Can you please send me FTP access details so that I can add the code to functions.php file.

#1996055

Hi Minesh,

I added the ftp details as requested.

Regards,
Hugo

#1996067

Hi Minesh,

I just got an error message on the site:
Warning: Undefined variable $post_id in /home/customer/www/staging2.belgianfapa.be/public_html/wp-content/toolset-customizations/toolset-custom-code.php on line 14
ttt==

Please check.

Kind regards

Hugo

#1997061

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

The thing is that Toolset Access do not have any official integration with Buddypress. I tried all possible workaround but it was not useful.

Finally, I found a good plugin which is available free to download which I already downloaded and installed on your site:
=> enlace oculto

It offered GUI settings about what pages you want to lock - please all all of your pages that you want to lock:
=> enlace oculto

As well as it also allow you to configure the message as well as login form:
=> enlace oculto

I suggest you go with above solution as there is no native solution available.

#2001795

My issue is resolved now. Thank you!