yoyoma1974 (@yoyoma1974)

Forum Replies Created

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

  • yoyoma1974
    Participant

    @yoyoma1974

    Awesome, that works. Thanks again!


    yoyoma1974
    Participant

    @yoyoma1974

    Thanks tharsheblows! That works perfectly. I thought I might also add a “Register here” link beneath that but I guess just adding an echo statement within the if statement is not the way to do this, it didn’t get outputted.

    function mjj_new_reply_login(){
    if( !bbp_current_user_can_access_create_reply_form() && !bbp_is_topic_closed() && !bbp_is_forum_closed( bbp_get_topic_forum_id() ) ){
    bbp_get_template_part(‘form’, ‘user-login’);
    echo ‘Register here‘;
    }
    }


    yoyoma1974
    Participant

    @yoyoma1974

    ok, but there don’t seem to be any plugins that specifically add the login to the bottom of the topics/forum pages, unless I missed it but I did a lot of searching. Maybe there’s another plugin that would allow me to add the Login shortcode to the bottom area of the Topics/Forums templates?


    yoyoma1974
    Participant

    @yoyoma1974

    I searched for a plugin but couldn’t find anything like that, bummer. hmmm, not sure if were using a custom bbpress template. I don’t think so. If we’re not using a custom template would we need to create one? Then I imagine copy and past the login code at the bottom of that file?

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