chalkie1983uk (@chalkie1983uk)

Forum Replies Created

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

  • chalkie1983uk
    Participant

    @chalkie1983uk

    You could use something like this in the functions.php file:

    function is_user_logged_in() {
        $user = wp_get_current_user();
     
        return $user->exists();
    }

    then look into adding a function in the bbpress like so:

    if ( is_user_logged_in() ) {
        {display the content}
    } else {
        {setup redirect}
    }

    Its a bit hard as you don’t want any plugins or addons, if you did it would be easier to just create a plugin which would automatically hook it in.


    chalkie1983uk
    Participant

    @chalkie1983uk

    Thank you so much Robin.

    Much Love!

    In reply to: Creating a new topic

    chalkie1983uk
    Participant

    @chalkie1983uk

    Sadly when I use the following ccs code:

    .bbp-form {
    display: none;
    }

    the form also disappears from the custom page I made.

    Just feels that this isn’t going to work for me and thus should look into alternative forum software.

    In reply to: Creating a new topic

    chalkie1983uk
    Participant

    @chalkie1983uk

    I have created a seperate page for the form quite easily using [bbp-topic-form], but how could I remove the form from the bottom of the forum?

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