Skip to:
Content
Pages
Categories
Search
Top
Bottom

Login Form on Topics, Forum page

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

  • Robin W
    Moderator

    @robin-w

    link to an example on your site please


    Rob
    Participant

    @tcgrt

    Here is a page showing the form: Forum Sample Along with this sample of a post page Post Page

    I am thinking this is getting called from a page template, but not sure. Basically what I want is for everything below the ‘User must be logged in’ to not show.


    Robin W
    Moderator

    @robin-w

    it come from

    bbpress\templates\default\bbpress\form-topic.php

    are you fine with FTP and changing files – if so I’ll give you intructions


    Rob
    Participant

    @tcgrt

    Let’s give it a go


    Robin W
    Moderator

    @robin-w

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    FTP transfer this to your pc and edit

    find starting from line 254

    <?php if ( ! is_user_logged_in() ) : ?>
    
    			<?php bbp_get_template_part( 'form', 'user-login' ); ?>
    
    		<?php endif; ?>

    and delete these lines

    and save

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php

    bbPress will now use this template instead of the original


    Rob
    Participant

    @tcgrt

    Thank You


    Rob
    Participant

    @tcgrt

    One last question, I noticed that the font size on the forum/topics is very small, is there an easy spot to fix this in the css?


    Robin W
    Moderator

    @robin-w


    Rob
    Participant

    @tcgrt

    Ok, got this done. It works on topic list page: Lists of Topics

    But, on Topic Post
    I am still getting the form, is this pulling from another template?


    Robin W
    Moderator

    @robin-w

    oops yes there is also a form-reply.php which has the same – it’s in the same directory


    Rob
    Participant

    @tcgrt

    Found it, thanks for all the help. This was confusing my users as they are all 65+


    Robin W
    Moderator

    @robin-w

    glad to have helped 🙂

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Skip to toolbar