Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 5,751 through 5,775 (of 26,874 total)
  • Author
    Search Results
  • #173790
    Robin W
    Moderator

    bbpress and buddypress work fine together.

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and buddypress 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, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    berkelmudez
    Participant

    Hi,

    I have wordpress 4.4.4 with bbpress 2.5.8 installed with Buddypress 2.5.2 Everything works fine except on my profile page.

    If I go to a user profile and go to the tab forums and subtab topics started, it just shows every single topic that has been made and not just the topic that has been started by that user.
    Same goes with ‘replies created’, I get to see every single reply beside the user’s replies.
    As with favorites and subscribed, All topics besides the favorites will also all still display.
    I basically needs all those tabs to display that user’s created topics and replies exactly like here on bbpress.org.

    Is there a some settings I need to set? Could buddypress settings have been causing it? Is there some test I can run to see what is it?

    #173786
    webmedia365
    Participant

    I have installed bbpress version 2.5.8 it worked fine but when i install buddypress and activate it my site goes dead. Even i can’t access my WordPress dashboard admin login. Then i have to go to my site cpanel and manually delete one of the plugins. After deleting the one plugin site works fine. But I can not use these two plugins at the same time i have to deactivate one to use other. Please help me what to do. I am using WordPress version 4.4.1. My site is http://www.virtualmentoring.net
    Please help me out

    tech55541
    Participant

    Hello,
    Actually after further testing, my code above for some reason hid the Forums, Topics, and Replies menu from people who had access to view them. Here is an updated piece of code that does not have this problem.

    /*Customize the BBPress roles to allow Participants to trash topics
    add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 10, 2 );
    
    function ST_add_role_caps_filter( $caps, $role ){
        // Only filter for roles we are interested in!
        if( $role == 'bbp_participant' ) {
    
    	$new_caps = array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => false,
                    'throttle'              => false,
                    'view_trash'            => false,
    
                    // Forum caps
                    'publish_forums'        => false,
                    'edit_forums'           => false,
                    'edit_others_forums'    => false,
                    'delete_forums'         => false,
                    'delete_others_forums'  => false,
                    'read_private_forums'   => false,
                    'read_hidden_forums'    => false,
    
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => true,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => false,
    
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => true,
                    'delete_others_replies' => false,
                    'read_private_replies'  => false,
    
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );	
    
    	}
    
        return $new_caps;
    }
    /*Fixes an issue that only allows mods to trash topics.
    bbpress.trac.wordpress.org/changeset/5852
    bbpress.trac.wordpress.org/ticket/2685*/
    
    add_filter( 'bbp_map_reply_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    
    // tweak for replies
    function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
    
    	// apply only to delete_reply and delete_topic
    	if ( $cap == "delete_reply" || $cap == "delete_topic" ){
    		// Get the post
    		$_post = get_post( $args[0] );
    		if ( !empty( $_post ) ) {
    
    			// Get caps for post type object
    			$post_type = get_post_type_object( $_post->post_type );
    			$caps      = array();
    
    			// Add 'do_not_allow' cap if user is spam or deleted
    			if ( bbp_is_user_inactive( $user_id ) ) {
    				$caps[] = 'do_not_allow';
    
    			// Moderators can always edit forum content
    			} elseif ( user_can( $user_id, 'moderate' ) ) {
    				$caps[] = 'moderate';
    
    			// User is author so allow edit if not in admin
                } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps[] = $post_type->cap->delete_posts;
    
    			// Unknown so map to delete_others_posts
    			} else {
    				$caps[] = $post_type->cap->delete_others_posts;
    			}
    		}
    
    	}
    	// return the capabilities
    	return $caps;
    }

    NOTE: Had to remove links.

    Thanks.

    #173768

    In reply to: Bulk Users Deletion

    swstarone
    Participant

    Dear sir this tool is made for wordpress posts,
    a user who have posts in bbpress forum all shows as 0 post users.

    can you help me to make a sql query for to change roles of bulk users.

    #173758
    ldieno
    Participant

    BBPress 2.5.8
    Wordpress 4.4.2

    I am currently having difficult with something that I think might be simple to configure.

    I have a very simple site that is not using any third party or complex permissions settings. I have registered users who are “Contributors” and I am attempting to configure a forum that only members can see.

    I have created a new forum.
    Settings are as follows:
    Type: Forum
    Status: Open
    Visibility: Private

    When you click on the permalink to that forum my site throws back a 404.

    When I change the visibility to public the forum works.

    Hoping there is some minor configuration I am missing to getting this going and creating a forum that only registered members of the site can view and contribute to?

    thank you in advance!

    #173757

    In reply to: Bulk Users Deletion

    Stephen Edgar
    Keymaster

    The queries in this post should do what you need:
    http://www.scriptol.com/wordpress/mass-delete-users.php

    #173751
    Robin W
    Moderator

    try my private groups plugin

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

    this will allow you to restrict who sees what

    #173746
    Pascal Casier
    Moderator
    #173727
    tech55541
    Participant

    Hello,
    No one apparently wants to help at wordpress.stackexchange.com, anywhere else you suggest? Is there anyone else on this forum that is a Jquery expert?

    Thanks.

    #173709

    In reply to: Hide User Role

    tech55541
    Participant

    Hello,
    You can put it in a child theme style.css file. You can also use this plugin.
    https://wordpress.org/plugins/simple-custom-css/

    Thanks.

    #173701
    Pascal Casier
    Moderator

    Hi,

    First of all, the /forums is indeed the default that comes out. Handy, no ? 🙂

    For the width, this is fully WordPress and the theme you have chosen, so bbPress just adapts to it.
    I would propose that you ask on the global WordPress support forum for that.

    Pascal.

    #173697
    aaachiaki
    Participant

    Thank you guys for not giving up on me!

    I hope I’m giving you the right information… Went into phpMyAdmin. Clicked on the database running the WordPress install, clicked on Operations.

    Under Collation it says: latin1_swedish_ci

    #173693
    Stephen Edgar
    Keymaster

    A quick search reveals this https://core.trac.wordpress.org/ticket/35958


    @aaachiaki
    Can you look up what your WordPress database character set and collation are being used?

    #173682
    Pascal Casier
    Moderator

    Hi,
    Only saw your last posts now, a SQL to delete the trash would have been better probably…
    But I’m out of ideas for your environment 🙁

    You don’t have any errors in your logs, right ? Your memory is high enough for both WordPress and your environment ? You are running on a public host ?

    Pascal.

    #173671
    talhawp
    Participant

    I tried the following steps without any success:

    1- Upgraded to bbPress 2.6

    2- Removed sub-forums

    3- Emptied Trash/Spam Topics and Replies through admin panel. This took me 3 days! Around 25% of 0.5 million posts were removed

    4- Repaired Forums by going through every single option

    5- Optimized WordPress Database through wp-optimize plugin

    6- Changed theme to WordPress default Twenty Sixteen theme

    7- Deactivated all the plugins except bbPress

    The site works for few minutes then crashes. My WordPress itself has around 30K posts and 400K comments, not sure if this is causing the issue.

    The whole bbPress 1.x worked perfectly for 7 years, then only issue was that the cookies and single sign between WP and bbPress had become incompatible due to newer WP versions.

    Can anyone suggest anything else that I can try?

    tech55541
    Participant

    Hello,
    It was hard, but I and another member on a private dev forum were able to figure it out. What tripped us up was this.
    https://bbpress.trac.wordpress.org/ticket/2685
    Can’t believe this has not been fixed in core yet.

    Anyway, here is my full solution. All you have to do is add this code to functions.php.

    /*Customize the BBPress roles to allow Participants to trash topics*/
    add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 999, 2 );
    
    function ST_add_role_caps_filter( $caps, $role ){
    if( $role == bbp_get_participant_role() || $role == "default" ) {
    
    	$new_caps = array(
                    // Primary caps
                    'spectate'              => true,
                    'participate'           => true,
                    'moderate'              => false,
                    'throttle'              => false,
                    'view_trash'            => false,
    
                    // Forum caps
                    'publish_forums'        => false,
                    'edit_forums'           => false,
                    'edit_others_forums'    => false,
                    'delete_forums'         => false,
                    'delete_others_forums'  => false,
                    'read_private_forums'   => false,
                    'read_hidden_forums'    => false,
    
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => true,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => false,
    
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => true,
                    'delete_others_replies' => false,
                    'read_private_replies'  => false,
    
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );	
    
    	}
    
        return $new_caps;
    }
    /*Fixes an issue that only allows mods to trash topics.
    https://bbpress.trac.wordpress.org/changeset/5852
    https://bbpress.trac.wordpress.org/ticket/2685*/
    
    add_filter( 'bbp_map_reply_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 );
    
    // tweak for replies
    function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){
    
    	// apply only to delete_reply and delete_topic
    	if ( $cap == "delete_reply" || $cap == "delete_topic" ){
    		// Get the post
    		$_post = get_post( $args[0] );
    		if ( !empty( $_post ) ) {
    
    			// Get caps for post type object
    			$post_type = get_post_type_object( $_post->post_type );
    			$caps      = array();
    
    			// Add 'do_not_allow' cap if user is spam or deleted
    			if ( bbp_is_user_inactive( $user_id ) ) {
    				$caps[] = 'do_not_allow';
    
    			// Moderators can always edit forum content
    			} elseif ( user_can( $user_id, 'moderate' ) ) {
    				$caps[] = 'moderate';
    
    			// User is author so allow edit if not in admin
                } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps[] = $post_type->cap->delete_posts;
    
    			// Unknown so map to delete_others_posts
    			} else {
    				$caps[] = $post_type->cap->delete_others_posts;
    			}
    		}
    
    	}
    	// return the capabilities
    	return $caps;
    }

    I suppose this was the correct way to do it @casiepa?

    Thanks.

    #173665
    uschesch
    Participant

    Hi Pascal,

    Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.

    I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common

    // Add the breadcrumb
    // $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;
    $crumbs[] = ‘Dynaman Community Forum‘;

    instead of the standard code, which is:

    // Add the breadcrumb
    // $crumbs[] = ‘‘ . $r[‘root_text’] . ‘‘;

    #173660
    uschesch
    Participant

    Hi Pascal,

    Thanks for the quick reply. There is no Subscribe next to the breadcrumbs.

    I did customize the breadcrumbs though so that it displays my wordpress forum home page instead of the default forum home page. This is what I added to the template.php file in this folder: wp-content/plugins/bbpress/includes/common

    // Add the breadcrumb
    			// $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
    			$crumbs[] = '<a href="/wordpress/dynaman-community-forum/">Dynaman Community Forum</a>';

    instead of the standard code, which is:

    // Add the breadcrumb
    // $crumbs[] = '<a href="' . esc_url( $root_url ) . '">' . $r['root_text'] . '</a>';
    #173659
    aaachiaki
    Participant

    I only had about 10 plugins running. I closed down everything but BBPress, your toolkit, and a simple “under construction” page. No white/blacklisting that I know of…

    Re-ran, gave the same issue:

    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key, meta_value) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci

    #173653
    uschesch
    Participant

    I have installed bbPress (2.5.8) with WordPress 4.4.2. In the forum settings, I’ve selected the option to allow users to subscribe to a forum or a topic. In the forums that I created, I see the Subscribe button on topics, but I do not see options at the forum level for users to subscribe to the forum. Is there something else I need to do in order to implement subscriptions at the forum level?

    Thank you.

    #173651
    Pascal Casier
    Moderator

    That’s not giving your PHP version…
    MySQL is not the recommended one, but should be ok. Could you have another look for PHP ?
    If you don’t find it, install my toolkit plugin that will tell you the PHP version in the ‘basic system info’: https://wordpress.org/plugins/bbp-toolkit

    Pascal.

    #173649
    zorog
    Participant

    Hi, I have read the several forums surrounding warp 7 and yootheme issues with getting it to work with bbpress. I have a yootheme wordpress theme installed and would like to use the bbpress plugin. However my userprofile and edit profile pages are blank when linked or throw up a

    /home/../public_html/../wp-content/themes/yoo_sun_wp/styles/Themename/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/systems/wordpress/layouts, /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/layouts] in /home/../public_html/../wp-content/themes/yoo_sun_wp/warp/src/Warp/Helper/TemplateHelper.php on line 53″

    I have already installed the suggested plugin fixes
    bbpress wp4 fix
    bbpress wp4 fix2

    I have also copied the “bbpress” & “extra” directories to the child theme folder as suggested.

    I would be grateful for any help or suggestions to try and get this to work.

    Many thanks

    Michael

    #173648
    Pascal Casier
    Moderator

    Hi,

    https://wordpress.org/plugins/bbp-private-groups/ is what I use and it prevents the search for private forums.

    Pascal.

    #173646
    perkiins
    Participant

    LIKE THAT? I CAN DO THIS ON MY FORUM PAGE OF WORDPRESS?

    https://floridastate.forums.rivals.com/

Viewing 25 results - 5,751 through 5,775 (of 26,874 total)
Skip to toolbar