Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

How can i hide Member Pages for Non Registred Users

This topic is resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Giovanni
    Participant
    • 7 Topics
    • 10 Posts
    @giovannispazzoli

    Hello,

    I followed instructions and dowloaded CODE SNIPPETS Plugin, activated it then pasted the code:

    /**
    * Redirect buddypress pages to registration page
    */
    function gwangi_restrict_buddypress() {
    // If not logged in and on a bp page except registration or activation
    if ( ! is_user_logged_in() && is_buddypress() && ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) {
    wp_redirect( home_url( ‘/register/’ ) );
    exit();
    }
    }
    add_action( ‘template_redirect’, ‘gwangi_restrict_buddypress’ );

    Now non registered members by cliccking on pages are correctly redirected to REGISTER page, that’s ok but….in menu primary SWIPE MEMBERS button if clikking still shows the members profile photo. Then by clikking on the member photo ok redirect to REGISTER page. The point is that not logged members can see clikking on SWIPE MEMBERS at least the photo of members and I want to hide this. By clikking on SWIPE MEMBERS for not logged in members must redirect directly to REGISTER page. How can I do it?

    Another issue: in the home page by cliccking on FINDO YOUR LIFE PARTNER – you are looking for – submit I want that not logged in members are redirected to REGISTER PAGE, now it’s not. How can I do it?

    Thank you,

    Giovanni

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6587 Posts
    @themodactyl

    Hi Giovanni,

    Our theme is compatible with Paid Memberships Pro, which allow you to restrict content or areas of your website that will only be displayed to premium members. Plenty of PMPro add-ons are available on the author website to go further if necessary, including one for BuddyPress restrictions.

    To know precisely which features will be restricted from your BuddyPress website, it’s best if you ask directly to the plugin authors. They will be more informed and better suited to answer you:
    paidmembershipspro.com/contact

    Please note that no premium plugin or add-on has been included in our theme package. Our theme is compatible with different premium plugins but they have to be purchased separately.

    In case you wanna use this snippet, this feature requires custom development work. Please be aware that custom work is not part of the support we provide. In consequence, our recommendation is to hire a developer to do this job for you. We got an amazing discount for our users with our partner Zipline, which can handle installation, customization, and mobile apps with your theme :

    Gwangi Theme

    Disclaimer : This is an affiliated link to our partner Zipline, by using this link you will get an amazing discount!

    Best,

    Giovanni
    Participant
    • 7 Topics
    • 10 Posts
    @giovannispazzoli

    You should provide this CSS to hide SWIPE MEMBERS button on home page to not registred users. I tried with ChatGPT to create a CSS to put in Snippets but it’s not working. Plaease provide the CSS as you provided the previous one about redirect to registration page not logged in members.

    I don’t want to use Free Membership PRO, I just need a CSS from you. Can you provide?

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6587 Posts
    @themodactyl

    This is standard design with our theme and BuddyPress, I’m afraid.

    As this is not breaking the page, changing this is considered customization work. Unfortunately, this is a service that we do not provide. We provided this snippet generously, as we only share snippet only to solve issues with our theme. Any further request for CSS snippets will have to be part of a defect that needs to be fixed urgently. No snippets will be shared otherwise.

    If you want to go further with the customization of your website, we advise that you hire a developer to do it for you.

    Thank you for your understanding.

Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How can i hide Member Pages for Non Registred Users’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site