Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,551 through 12,575 (of 14,141 total)
  • In reply to: Deleting Log of edits

    @robin-w

    Moderator

    try this in your style.css

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none !important ;
    }

    In reply to: Deleting Log of edits

    @robin-w

    Moderator

    yes, you have a choice

    1. You could put it in your style.css – that is a file called style.css that you will find in your theme

    wp-content/themes/%yourthemename%/stle.css

    where %yourthemename% is the name of your theme

    Just drop it at the end.

    This will then override the code in bbpress.css, and is the easiest way

    2. Otherwise you can create a directory called css in your theme

    /wp-content/themes/%yourthemename%/css

    and copy the existing bbpress.css across to get

    /wp-content/themes/%yourthemename%/css/bbpress.css

    but here’s the thing, you then need to find and edit the existing display lines, just adding code will give two sets, and your maybe won’t take preference

    the lines you are looking start at line 904 and say

    /* =Revisions
    -------------------------------------------------------------- */
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    	border-top: 1px dotted #ddd;
    	width: 100%;
    	margin: 0;
    	padding: 8px 0 0 0;
    	font-size: 11px;
    	color: #aaa;
    }
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li {
    	list-style-type: none;
    }
    
    

    you just need to edit that to

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none ;
    }

    come back if we can help further

    @robin-w

    Moderator

    not quite sure what is going on in your site, but you are logged in, and the login session has not expired !

    So go to forums and login, then go back to fourums. Yes the right hand side says ‘login’ but you are still logged in, and can post topics etc. IF you then click any forum, you’ll see the correct logged in on the right hand side.

    So how are your sidebars set up?

    @robin-w

    Moderator

    🙂

    In reply to: Remove Private Tag

    @robin-w

    Moderator

    You’re welcome !

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    hey no problem, just post the details when you get back

    @robin-w

    Moderator

    no problems, just want to see what you’ve done and if I can help further

    @robin-w

    Moderator

    ok, my brain is now mush, but I am still hooked.

    Can you post you solution so far, then I’ll put it in my test site

    So I need to know

    what code you put in your functions file

    what code you have in loop single reply (and starting where!)

    any other code you have, and where you’ve put it

    I’ll then have a play !

    @robin-w

    Moderator

    can you post the exact error please ?

    @robin-w

    Moderator

    you’ll need to have some logic in here

    eg

    if there are replies find latest reply, and then find that replies author and insert that.
    if there are no replies, then put in topic author

    At the moment you looking up the reply author for a topic, and that won’t work.

    just had a play and this seems to work, but only tested quickly, so you’d need to set up a few topics with and without single and multiple replies and check that it worksin all circumstances

    // Maybe get the topic author
    if ( ! empty( $settings['show_user'] ) ) {
    //see if there has been replies, and if so set to latest
    $replycheck = get_post_meta( $topic_id, '_bbp_last_reply_id',true);
    //if we have replies ie replycheck holds the latest reply number
    if (!empty ($replycheck)) 
    $author_link = bbp_get_reply_author_link( array( 'post_id' => $replycheck, 'type' => 'both', 'size' => 14 ) );
    else
    $author_link = bbp_get_topic_author_link( array( 'post_id' => $topic_id, 'type' => 'both', 'size' => 14 ) );
    				} ?>
    
    
    In reply to: Unique member names

    @robin-w

    Moderator

    are you using automatic registration?

    If so wordpress should prevent duplicate usernames.

    or maybe you using a membership plugin that overrides this?

    @robin-w

    Moderator

    @robin-w

    Moderator

    @obinyc sorry missed this post

    try

    <?php get_sidebar(); ?>


    @drceng

    lots of different boats, and yours is probably not the same.

    Do you have a sidebar at all showing?
    Have you followed

    Step by step guide to setting up a bbPress forum – Part 1

    Come back if you need further help

    @robin-w

    Moderator

    ok there are two parameters

    wordpress – has subscriber, author, admin etc.
    bbpress has – participant, moderator, keymaster etc.

    you’ll see the bbpress roles when you do into

    dashboard>settings>users>all users and go into edit users. Look at the bottom of the screen and you’ll see forum role.

    If you are manually registering your users, then have set up a user, you’ll need to go back into edit to add the role.

    If your users are automatically registered as part of a process, then you’ll need to set Dashboard>settings>forums and change/tick automatically assign users the participant role (if that’s the role you want them to have).

    In automatic mode, the user is assigned the bbpress role on first login. However if you are using third party registration processes (eg plugins to do that) then some override that, and that part of the process doesn’t work, so you’ll need to check that rthe process is happening.

    Come back if you need further help.

    In reply to: Remove Breadcrumbs

    @robin-w

    Moderator
    In reply to: disabling breadcrumbs

    @robin-w

    Moderator

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    thanks for posting that and I haven’t got bored with this subject, just V busy elsewhere !!

    I’ll try and come back and help when I get some time to properly digest !! 🙂

    @robin-w

    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    do you simply want the forum to be hidden from non-logged in users?

    If so private does what it says on the tin. So set the forum, and all posts under it will be private as well.

    If you need only some users to see if private, then

    https://wordpress.org/plugins/bbp-private-groups/

    is what you need.

    In reply to: Simple Layout

    @robin-w

    Moderator

    great – glad you’re fixed !

    In reply to: Simple Layout

    @robin-w

    Moderator

    ok, several ways you could do this, the best I know is

    https://wordpress.org/plugins/display-posts-shortcode/

    just create a page called anything and put the code on it.

    you’ll be looking for a custom post type of topic.

    see https://github.com/billerickson/display-posts-shortcode/wiki for the arguments you can use

    you can then determine exactly what you display

    but something like

    [display-posts post_type=”topic” posts_per_page=”15″]

    would give a simple list of 15 clickable topic titles per page.

    @robin-w

    Moderator

    great – glad you’re fixed !!

    @robin-w

    Moderator

    great, glad you’re fixed

Viewing 25 replies - 12,551 through 12,575 (of 14,141 total)