Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 5,751 through 5,775 (of 26,859 total)
  • Author
    Search Results
  • #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/

    #173640
    aaachiaki
    Participant

    Pascal, thank you for responding! Downloaded 2.6 and uploaded it without problem.

    Went to import, and got a new error–>

    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

    #173639

    In reply to: Private Message

    Robkk
    Moderator

    Just found this new plugin.

    https://wordpress.org/plugins/bbp-messages/

    #173633

    Topic: Sidebar

    in forum Showcase
    johnzoro
    Participant

    Not sure if this is the right place.

    On my normal pages in wordpress I have the option of using full width or having a sidebar.

    Is there this option on bbpress or do you need to create a page, then post shortcode then modify that page to full width?

    #173631
    Stephen Edgar
    Keymaster

    I’ve just pushed a new 2.6-alpha that includes a fix for deleting imported users, it wasn’t behaving as it should.

    https://downloads.wordpress.org/plugin/bbpress.zip

    #173628
    Stephen Edgar
    Keymaster

    I’ve just bumped 2.6-alpha with the above changes and also a fix for deleting imported users that wasn’t playing nice 😉

    https://downloads.wordpress.org/plugin/bbpress.zip

    #173626
    Stephen Edgar
    Keymaster

    I’ve just added support to the XenForo importer to support deleted users.

    https://bbpress.trac.wordpress.org/ticket/2922

    If you update your 2.6-alpha via this zip file you’ll have that included for your import.

    What this does is if a user has been deleted from XenForo their topics and replies are not actually deleted (they are kept to maintain context) but during import because that user no longer exists they cannot be imported and the topic/reply would then be attributed to the anonymous user. Now the topic/reply is still attributed to the anonymous user but includes the original author name, basically the same way XenForo handled this.

    Edit: You can see the difference from when the Member Two user still existed and was imported per https://cloudup.com/c_epfx4Q4z8/f, I then deleted Member Two and the result looks like this https://cloudup.com/cNnYv-3eSyl https://cloudup.com/c5iQ-iIOoW4

    Pascal Casier
    Moderator

    Hi,
    Activity streams and group forums are BuddyPress specific, not bbPress. So better ask on their forum.
    Blogging is WordPress, not bbPress.

    So I’m sure that for what you want to do, the WordPress platform seems what you need. But for sure to accomplish what you want, you will need to have different plugins and maybe coding help.

    Pascal.

    #173604
    Pascal Casier
    Moderator

    Hi Biorn,

    Create a standard WordPress page and put the slug ‘forums’. Creating this page will override the standard page that comes out.

    You can then add the [bbp-forum-index] shortcode on that page (see https://codex.bbpress.org/features/shortcodes/) and change the title of your page.

    Pascal.

    aaachiaki
    Participant

    Late to the party on migrating, but I think it’s time. Installed bbPress via plugins on my WordPress instance. I’d played around with it in the past so I cleared all the old data with a board reset. Went to import and put in all the information – created a new MySQL user with full permissions to the database my phpBB forum is on.

    Set rows limit to 75 and Delay time to 3 – I have a pretty big forum to move.

    Checked all three boxes for Convert Users, Start Over, and Purge – I want a full, clean import.

    It gets right to the start of the process and says:
    WordPress database error: [Table ‘XXXX_forum.users’ doesn’t exist]
    (the XXXX is the name of my database)

    And it gives a long string in gray after that of info I don’t quite understand.

    Tried deleting the plugin and reinstalling it. I’m on the latest version of WordPress and PhpBB.

    Any help would be greatly appreciated, and thanks in advance!

    #173589
    abletec
    Participant

    Well let’s see if the 3rd time’s a charm. My site is netballscoop.com. I’m running latest version of WordPress & BBPress. This is a sports site, w/content going back to 2007. I’d really like to make it such that only content for the current year is displayed & previous content archived to another site, but I’m having trouble. An export of only 2016 content & reimport does not work correctly (I suspect because the topic & reply numbers are messed up) & the WordPress Bulk Delete plugin simply can’t do this. Anyone got any suggestions? Please? Is this something that no one else wants to do or…?

    #173587
    thinkDrew
    Participant

    I was looking for something like this as well for our “non-tech savy” audience and found that @Robkk answer works best: https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/

    #173582
    olliewe88
    Participant

    Hello,

    I make a new fourm role called facepainter. When I go into the user and set the fourm role as facepainter it works fine. However when they post somthing it still says member below their name, when it should say facepainter.

    I am on the latest wordpress version
    I am using Tesseract theme
    My website is http://www.monsterbrand.co.uk

    Hopefully that is clear enough
    Thanks!

    LTCOllie
    Participant

    Hi Stephen, Cheers for the reply!

    I’ve spoken with the host where the forum database I’ve been trying to import is located and they don’t anticipate being able to upgrade MySQL until the end of the year – It’s this kind of service that prompted me to move to a new host in the first place!

    With this not being an option I’m wondering if there is a way I can manually export the database to my new server running MySQL 5.3.3, manually update the database to utf8mb4 and retry the import from there. I’ve found an article at https://mathiasbynens.be/notes/mysql-utf8mb4 which appears to be along the right lines but might be a bit of a stretch for me as I’m pretty new to WordPress and coding. Does this seem like a sensible next step?

    Thanks for all the help and advice so far!

    #173550
    Wendell
    Participant

    I reset the forum, then upgraded to bbpress 2.6 alpha, checked the “purge previous import” checkbox (just to be sure), then started the import process again and got this lovely error message:

    “WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE blp_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”

    So I unchecked the purge option and tried again. It’s currently importing the users.

    #173548
    olliewe88
    Participant

    I just clicked on users in wordpress @robin-w

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