This topic has 7 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #200494
     ChristelijkPodium
    Participant

    On the forums page: https://www.christelijk-podium.nl/forums/

    When you click on Business Forum, you are being notified that you should upgrade your profile.

    When you click on ChristelijkPodium Live, you are redirected to the PMPro Registration Page.

    How can I make clicking on Business Forum to also go to the PMPro Registration Page?

    #200516
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #200614
     Radu
    Moderator

    Hi,

    Maybe using this plugin : https://wordpress.org/plugins/pmpro-bbpress/

    You will be able to set a required membership level for every forum in place.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #200679
     ChristelijkPodium
    Participant

    Hi Radu,

    I am already using that plugin and I have assigned the forums to the specific Member Types.

    It seems to me as if the Business Forum doesn’t go to the PMPro Registration Page, because it’s Forum Type is Category. Perhaps the Christelijk Podium Live Forum does go to the PMPro Registration Page, because it’s Forum Type is Forum?

    How can we make this work for the Business Forum as well?

    #200732
     Radu
    Moderator

    Hi,

    Check if that still happens default wp theme, if yes it may be related to the bbpress itself. having that plugin and the restrict should be sufficient.

    As a workaround try this code

    COPY CODE
    
    
    function sq7r_force_redirect_forum_123() {
        if (strpos($_SERVER['REQUEST_URI'], "/forum/business-forum/") !== false) {
            header('Location: http://christelijk-podium.nl/register/');
        }
    }
    add_action('wp_enqueue_scripts', 'sq7r_force_redirect_forum_123',999);
    
    

    The function will have to be added in wp-content/themes/kleo-child/functions.php

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #200992
     ChristelijkPodium
    Participant

    I haven’t tried your code yet, but it has nothing to do with the Forum Type being Category or Forum, because I changed ChristelijkPodium Live from Forum to Category, but it still pointed towards the PMPro Registration Page.

    #200993
     ChristelijkPodium
    Participant

    Before implementing your code, I have contacted BBPress Support to see if they might have a solution.

    #201175
     Radu
    Moderator

    Hi,

    The codes should work not sure why so special with that topic to not work, let me know what bbpress team says.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?