Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 2,501 through 2,525 (of 13,962 total)
  • @robin-w

    Moderator

    my guess would be that you have pasted this twice into the snippet or created 2 snippets in error

    @robin-w

    Moderator

    ok, so which method in

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

    item 3

    are you using to display this page?

    @robin-w

    Moderator

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    add_filter ('bbp_get_caps_for_role' , 'rew_change_caps', 10 , 2) ;
    
    function rew_change_caps ($caps, $role) {
    	// Which role are we looking for?
    	switch ( $role ) {
    	case bbp_get_spectator_role()   :
    			$caps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    			break;
    	}
    return $caps ;
    }

    @robin-w

    Moderator

    This occurs dependant on theme and set up.

    The easiest way to fix it is

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Breadcrumbs

    and you can set the root breadcrumb to correctly go to where you want

    @robin-w

    Moderator

    ok this is theme/page/wordpress setup rather than bbpress – if you look at the HTML then bbpress starts below this with

    <div id="bbpress-forums" class="bbpress-wrapper">

    above this – it is not bbpress doing it.

    @robin-w

    Moderator

    ok, your kinda leaving me guessing here as I have no idea what should be showing where 🙂

    when I go into community I get what looks like a large forum list.

    In reply to: Empty Text toolbar?

    @robin-w

    Moderator

    I can only suggest standard fault finding viz

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    My site with wordpress 5.9, bbpress 2.6.9 and style pack 4.9.1 (which has the bug fix automatically in it) with the visual editor turned on – all works fine

    @robin-w

    Moderator

    ok, this looks consistent to me – it might be a caching, browser or logged in vs logged out issue.

    If you still have issues, can you post a link to an image with some pointers as to what is not displaying correctly

    In reply to: Empty Text toolbar?

    @robin-w

    Moderator

    sorry, my brain was being fried – Visual is not standard but text is.

    bbpress 2.6.7 and after has a bug

    try and add this fix to your functions file

    if( !function_exists( 'bbpress_browser_supports_js' ) ){
    	function bbpress_browser_supports_js() {
    		echo '<script>document.body.classList.remove("no-js");</script>';
    	}
    	add_action( 'wp_footer', 'bbpress_browser_supports_js' );
    }
    In reply to: Empty Text toolbar?

    @robin-w

    Moderator

    text isn’t standard on bbpress – how are you achieving this?

    @robin-w

    Moderator

    as far as I know buddypress requires bbpress as a forum if you want your social network to have a forum.

    BBpress is just a forum, so if you want more than that, then you might need buddypress.

    In reply to: Private Forum?

    @robin-w

    Moderator

    @robin-w

    Moderator

    ok, I am not sure what is happening

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    bbpress is the forum part of buddypress.

    I don’t use buddypress on any of my sites – nothing wrong with it, but my sites are just forum based, and I use ‘bbp private groups’ (which I wrote 🙂 ) to run separate forums where I need to.

    @robin-w

    Moderator

    Great – glad you are fixed 🙂

    @robin-w

    Moderator

    ok, it is a function in your child theme’s function file – line 28

    Call to undefined function is_bbpress() in /home/storm/sites/wbc1-otiscreative-co-uk/public/wp-content/themes/Divi-Child-Theme/functions.php:28

    So who had created that file? as either they or you will need to amend whatever that part of the file is trying to do.

    In reply to: Like button for forum

    @robin-w

    Moderator

    This, though old, still works

    bbp-valoration

    @robin-w

    Moderator

    Can I ask why you don’t just make your spectators into participants?

    @robin-w

    Moderator

    ok. You should not get an error when deactivating bbpress, so something is causing this outside of bbpress itself.

    You say you get a critical error – I need to know exactly what that says. You might need to turn n debug to get this.

    Wordpress doesn’t make this easy !!

    https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/

    @robin-w

    Moderator

    so if you decativate ‘PMPro – bbPress Add On’ first and then deactivate bbpress – does that work?

    @robin-w

    Moderator

    ok, so what bbpress related other plugins do you have if any?

    In reply to: Change nickname

    @robin-w

    Moderator

    @mike80222 – thanks -interesting – I thought bbpress just pulled the name from the database user nickname field, maybe it doesn’t or that plugin doesn’t actually change that value

    @robin-w

    Moderator

    what other plugins do you have ?

    In reply to: Change nickname

    @robin-w

    Moderator

    bbpress just uses the wordpress display name, so any wordpress plugin that changes this should work eg

    Easy Username Updater

    @robin-w

    Moderator

    it maybe a dependant plugin issue? ie an additional plugin which needs bbpress

    so the standard fault finding applies viz…

    it could be a theme or plugin issue

    Themes

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

    Plugins

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

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

Viewing 25 replies - 2,501 through 2,525 (of 13,962 total)