Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,076 through 7,100 (of 14,232 total)
  • @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    change this to

    /*
    // Forum topic count (Stored in postmeta)
    $this->field_map[] = array(
    ‘from_tablename’ => ‘forums_table’,
    ‘from_fieldname’ => ‘the_topic_count’,
    ‘to_type’ => ‘forum’,
    ‘to_fieldname’ => ‘_bbp_topic_count’
    );
    */

    @robin-w

    Moderator

    so from forums loop remove

    <li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    

    and from loop single forum remove

    <li class="bbp-forum-freshness">
    
    		<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
    
    		<?php bbp_forum_freshness_link(); ?>
    
    		<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
    
    		<p class="bbp-topic-meta">
    
    			<?php do_action( 'bbp_theme_before_topic_author' ); ?>
    
    			<span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_author' ); ?>
    
    		</p>
    	</li>

    I’ll let you work out the topics

    @robin-w

    Moderator

    try

    .archive:not(.page-one-column):not(.has-sidebar) #primary article {
     float : none !important;
     Width : 100% !important ;
    
    }

    @robin-w

    Moderator

    I have seen this, and will respond, but I need to do paid work first. I am only a volunteer on here.

    @robin-w

    Moderator

    your theme is doing this – try this in you custom css

    .archive:not(.page-one-column):not(.has-sidebar) #primary article {
    float : none ;
    Width : 100%

    }

    but it may affect how other pages/post show

    @robin-w

    Moderator

    it could do with an action link in the topic handler, but you may wait a while for the devs to add that.

    @robin-w

    Moderator

    the issue will be site specific, and given that it is on an intranet, not one that I’d be able to investigate.

    @robin-w

    Moderator

    hmm

    you’ll need to alter several files, so general first

    altering bbpress templates

    You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.

    so if you wanted to amend loop-single-forum you would do the following

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    files

    There may be others, but

    loop-forums (forum headings)
    loop-single forum (forum content)
    loop-topics (single forum heading)
    loop-single-topic (single forum content)

    will get you most of the way there

    @robin-w

    Moderator

    really hard to do – i’d suggest you’d need to look at rss feeds.

    @robin-w

    Moderator

    ok, two things

    1. you could just use the template in my

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    2. if you want to alter that,
    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 download my plugin and find template/templates1/loop-forums

    copy that file to your theme and put it in the bbpress directory

    @robin-w

    Moderator

    @ works!

    I have topics setup so that most recent replies appear at the top.

    so first thing is I need to know how you did this?

    @robin-w

    Moderator

    tools>forums>reset forums

    you will need bbpress enabled to do this

    @robin-w

    Moderator

    can only suggest that something else is putting it there

    maybe try

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    @robin-w

    Moderator

    bbpress just uses wordpress login, so

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

    In reply to: downloadable files

    @robin-w

    Moderator
    In reply to: downloadable files

    @robin-w

    Moderator

    you mean within here, or within your wordpress site?

    @robin-w

    Moderator

    can you post lines 60-65 here please

    @robin-w

    Moderator

    ok, for the participants trashing topics, install

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Display items 17,18,& 19

    On the widgets, install
    the ‘widget logic plugin’, and on pages you want the widget, use

    is_bbpress()

    in the condition

    @robin-w

    Moderator

    I think this should work

    add_action('after_setup_theme', 'remove_admin_bar');
    
    function remove_admin_bar() {
    $user_id = get_current_user_id() ;
    $role -= bbp_get_user_display_role($user_id) ;
    if (role == 'bbp_participant' {
    show_admin_bar(false);
    }
    }

    put in your functions file or use the code snippets plugin

    @robin-w

    Moderator

    so it lists

    forum
    sub forum(s)
    topics from forum

    yes ?

    @robin-w

    Moderator

    contact me via

    Contact me

    In reply to: Delete “Header”

    @robin-w

    Moderator

    thanks for your kind comments – much appreciated !!

    @robin-w

    Moderator

    try

    add_action( 'bbp_template_before_forums_loop', 'rew_add_custom_menu'  ); 
    add_action( 'bbp_template_before_topics_loop', 'rew_add_custom_menu'  ); 
    
    function rew_add_custom_menu () {
    echo '<a href= "https://bbpress.org/forums/">customs menu area</a>' ;
    
    }

    @robin-w

    Moderator

    what is the issue with your code above?

Viewing 25 replies - 7,076 through 7,100 (of 14,232 total)