Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 4,776 through 4,800 (of 14,299 total)
  • @robin-w

    Moderator

    sorry, this one slipped by

    add this code, changing ‘shortcode here’ to the actual shortcode you wish to execeute

    add_action( 'bbp_theme_before_reply_form' , 'rew_add_shortcode'); 
    
    function rew_add_shortcode () {
    	echo do_shortcode( '[shortcode here]' );
    }

    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

    In reply to: Customization

    @robin-w

    Moderator

    If it is sidebars, then sidebars are controlled by

    wordpress – dashbaord>apperaance>widgets
    Your theme/elementor
    plugins that affect your theme

    bbpress does nothing except provide widgets for the elements above

    In reply to: Customization

    @robin-w

    Moderator

    sorry – suspect elementor is the issue

    In reply to: Customization

    @robin-w

    Moderator

    this still works as far as I know

    How to Add WordPress Conditional Content to Sidebar Widgets

    so you would use

    !is_bbpress()

    against the my posts – so that will only show on non bbpress pages

    @robin-w

    Moderator

    ok, can only suggest you try this, and then discuss with your theme author

    it could be a theme or plugin issue

    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.

    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

    @robin-w

    Moderator

    so what is the setting in

    dashboard>settings>forums>anonymous?

    @robin-w

    Moderator

    so are you using a page to display forums ie you have a page in your site called ‘foums’ with

    [bbp-forum-index]

    in it?

    If not try setting this up as then you theme might see this as a page

    @robin-w

    Moderator

    there are several plugins that do this eg

    CB Change Mail Sender

    or you can google for code

    @robin-w

    Moderator

    @robin-w

    Moderator

    looks like your theme is displaying the page title. You might need to amend some theme stuff

    @robin-w

    Moderator

    ok, a couple of thoughts just looking at that code

    The first would be to break it into a function, nested stuff can sometimes fail so

    add_action('init', 'rew_check_bbpress_moderator') ;
    
    function rew_check_bbpress_moderator(){
    	if(class_exists('WooCommerce') && function_exists('bbp_get_user_role') && is_user_logged_in()){
    		$current_user = wp_get_current_user();	
    		$user_id = $current_user->ID;	
    		$bbp_get_user_role = bbp_get_user_role($user_id);
    
    		if($bbp_get_user_role == 'bbp_keymaster' || $bbp_get_user_role == 'bbp_moderator'){	
    			add_filter( 'woocommerce_prevent_admin_access', '__return_false' );
    			add_filter( 'woocommerce_disable_admin_bar', '__return_false' );
    		}
    	}
    }

    Secondly I think woocommerce is all lower case so

    if(class_exists('WooCommerce')

    might need to read

    if(class_exists('woocommerce')

    Let us know if either of these help

    @robin-w

    Moderator

    great – glad you are fixed !

    @robin-w

    Moderator

    bbpress registration just uses wordpress registration, so likely a site/wordpress issue

    copy/paste of my standard advice on email – hopefully it will help

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address
    in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit.
    You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    it could be a theme or plugin issue

    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.

    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

    Next try switching to smtp email – this page from the host Siteground explains it

    https://www.siteground.co.uk/tutorials/wordpress/use-smtp/

    and of course

    By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics

    so testing would need two email accounts to prove !

    @robin-w

    Moderator

    you should get a ‘next page’ but probably easiest just to up the number.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Forum Display

    and set the number in item 11

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    it could be a theme or plugin issue

    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.

    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

    this column should show the last reply.

    @robin-w

    Moderator

    you need to confirm that it is JUST wplms and bbpress

    follow this

    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.

    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

    @robin-w

    Moderator

    1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
    2. Just bbpress?
    Then you need to see if this is wordpress wide or just bbpress.
    Try https://wordpress.org/plugins/check-email/

    it could be a theme or plugin issue

    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.

    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
    and of course

    By default, you do NOT receive emails for your own topics/replies, only if somebody else replies on your subscribed topics

    so testing would need two email accounts to prove !

    @robin-w

    Moderator

    if you decativate and delete the plugin and then re-install, then forums, topics etc. will be kept, but css will revert to default

    @robin-w

    Moderator

    bbpress itself does not allow uploads, so it will be an add-on plugin.

    https://en-gb.wordpress.org/plugins/gd-bbpress-attachments/ is one of the favourites for that.

    The actual error is almost impossible to work out without knowing what is on the site.

    it could be file type, or file size, so give that some experience and other not, then I’d try uploading different types and different sizes to see if you can work out when this happens.

    @robin-w

    Moderator

    suggest you chat with your host provider

    @robin-w

    Moderator

    try adding this to your theme’s custom css, or the custom css tab of style pack

    .mce-ico {
    	background: transparent center center !important;
    	color: #595959 !important;
    }

    you might need to play with the color to get what you want

Viewing 25 replies - 4,776 through 4,800 (of 14,299 total)