Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,576 through 7,600 (of 14,261 total)
  • @robin-w

    Moderator

    so in wp-options what is_bbp_forum_slug set to ?

    If forum, then set it to chat

    @robin-w

    Moderator

    the slug is a setting held in the database, not in code or a file.

    the single forum root slug is held in wp_options in the database, and is changed by the setting in
    dashboard>settings>forums>single forum slug where you have a label of ‘discuusion’ and I even with buddypress have a description of ‘Forum’, so something is messing round with that and stopping you setting ‘forum’ I think.

    I don’t get ‘discussion’ as the single forum label when I use buddypress, so something else is setting that, hence my suggestions above.

    so if you go to wp_options table and find _bbp_root_slug you can see what it is set to.

    You could just go to wp_options table and find _bbp_root_slug and set it to ‘chat’

    @robin-w

    Moderator

    by code

    //create vertical list subforum layout
    function custom_bbp_sub_forum_list() {
      $args['separator'] = '
    ';
      return $args;
    }
     add_filter('bbp_after_list_forums_parse_args', 'custom_bbp_sub_forum_list' );

    or this plugin has it as a setting in

    dashboard>settings>bbp style pack>Forum Display

    bbp style pack

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    simply repeating what you have put before does not add to my knowledge – I am trying to help you, but do not understand what ‘then “search results for:” all posts and pages but no forum posts are displayed.’

    are you doing some sort of search and why??

    @robin-w

    Moderator

    what is confusing me is that in

    dashboard>settings>forums>single forum slug you have

    discussion where I have forum, and it is this slug that is the extra one showing in the url.

    Why you have discussion, I have no idea, I have not seen this before

    all I can suggest is that it could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

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

    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.

    and see what is setting this to discussion

    Then come back

    In reply to: Theme

    @robin-w

    Moderator

    unfortunately when themes don’t obbey the rules, I can’t code for them 🙂

    In reply to: Theme

    @robin-w

    Moderator

    no problem !

    In reply to: Theme

    @robin-w

    Moderator

    apologies put

    .bbp-topic-content p {
        color: black !important;
    }

    @robin-w

    Moderator

    But when I click on the forum index on “Mark all topics as read”, then “search results for:” all posts and pages but no forum posts are displayed.

    sorry, can you explain a bit more

    you go to the main index and click ‘mark all topics as read’ then what happens?

    @robin-w

    Moderator

    Oh, how can I get rid of the search function in the admin bar?

    Don’t have the admin bar – it is horrible and breaks away from your theme, bbpress has profile edit which let the user access their profile.

    There are plenty of plugins to hide the admin bar

    https://en-gb.wordpress.org/plugins/search/admin+bar/ lists lots

    In reply to: Theme

    @robin-w

    Moderator

    put this is my plugin’s custom css tab

    bbp-topic-content p {
        color: black !important;
    }

    @robin-w

    Moderator

    what version of bbpress are you using ?

    @robin-w

    Moderator

    untested, but this should do it

    add_filter ('bbp_after_has_search_results_parse_args', 'my_function')
    
    my_function ($args) {
    	
    		// bbp_get_closed_status_id() REMOVED,
    		$post_statuses = array(
    			bbp_get_public_status_id(),
    			bbp_get_spam_status_id(),
    			bbp_get_trash_status_id()
    		);
    
    		// Add support for private status
    		if ( current_user_can( 'read_private_topics' ) ) {
    			$post_statuses[] = bbp_get_private_status_id();
    		}
    
    		// Join post statuses together
    		$args['post_status'] = implode( ',', $post_statuses );
    		
    return $args ;
    
    }

    @robin-w

    Moderator

    ‘closed’ in bbpress just means that the area cannot have new things added.

    If you want to have an old forum that is not seen by users, then make it hidden.

    @robin-w

    Moderator

    I’m just a humble user who helps out here. I did write quite a bit of the documentation, but not functions. A list would be very large nowadays, and quite hard to describe.

    suggest you post any q’s here, and I’ll try and find them for you

    @robin-w

    Moderator

    sorry, untested and taken from my files – try

    function rew_no_reply_per_forum ($reply_address) {
    	$forum_id = bbp_get_forum_id() ;
    	if ($forum_id == 6 ) $reply_address =  'xxx@yyy.com' ;
    	if ($forum_id == 7) $reply_address =  'abd@hdhd.com' ;
    	return $reply_address ;
    }
    
    add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply_per_forum') ;
    In reply to: Theme

    @robin-w

    Moderator

    themes can stop my style pack plugin working.

    please specify what in your example you would like changed and to what

    In reply to: Newbie question

    @robin-w

    Moderator

    bbpress uses wordpress login, so they only need to login once.

    a public forum is visible to logged in AND not logged in
    A private forum is only visible to logged in

    If you set anonymous posting then everyone can post topics and replies, otherwise just logged in users can post

    @robin-w

    Moderator

    try this in your functions file

    function rew_no_reply_per_forum ($reply_address) {
    	$forum_id = bbp_get_forum_id() ;
    	if $forum_id = 6 $reply_address =  'xxx@yyy.com' ;
    	if $forum_id = 7 $reply_address =  'abd@hdhd.com' ;
    	return $reply_address ;
    }
    
    add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply_per_forum') ;

    @robin-w

    Moderator

    not quite sure what you mean by ‘archived’ content

    bbpress has statuses of

    public,
    private
    closed
    spam
    trash

    spam and trash depend on the user capability – so keymasters and moderators see these, but not participant level.

    @robin-w

    Moderator

    you are using buddypress which is the work of the devil

    try disabling this and see if that fixes, if it does re-enable and ask this in the buddypress support forum.

    @robin-w

    Moderator

    @mrwrongusername

    is doable but would require a small amount of custom code beyond free help

    contact me via

    http://www.rewweb.co.uk/contact-me/

    @robin-w

    Moderator

    @billysgtr – sorry I didn’t get to this one, only so many hours and weekend commitments, but thank you for posting the answer – many don’t bother, and this will help others !

    @robin-w

    Moderator

    great – glad to have helped

Viewing 25 replies - 7,576 through 7,600 (of 14,261 total)