Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 4,826 through 4,850 (of 26,876 total)
  • Author
    Search Results
  • #180624
    Shaped Pixels
    Participant

    I went to use a plugin FG Joomla to WordPress with the Kunena plugin addon to import all my Joomla users into WordPress, plus the Kunena forum posts (3000+). Most went fine but I noticed that my admin user on the Joomla site was turned into Anonymous with no link to a profile. All my post replies are now done by Anonymous.

    Is there a way to change this Anonymous to my admin user and be linked to the profile? I went to look in the database, but I do not see where bbpress posts and post user names are.

    #180618
    sally
    Participant

    Hi,

    I’m working on WP 4.7.1 and BBPress Version 2.5.12. I would like to allow Participants to Trash there own Topics and Posts. I found the following code here in the Forum and added it to my functions.php. When i register as Participant and create a new Topic I have only EDIT / REPLY available, but not TRASH.

    
    /*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;
    }
    
    

    Can someone help me with this, or has a other code snippet what is working?

    Thx
    Sally

    #180572

    In reply to: Not found

    Stephen Edgar
    Keymaster

    Right, thanks, this is a BuddyPress issue and not bbPress.

    That said, you need to create pages for each of those BuddyPress menu items

    If you go to your BuddyPress settings page e.g https://example.com/wp-admin/admin.php?page=bp-page-settings it should show what pages are and are not associtaed with the BuddyPress components you activated.

    For each one missing a page, go create a new WordPress page for each then return and associate each page with the BuddyPress component and hit save πŸ™‚

    #180550
    Barry
    Participant

    This is great news!

    Unfortunately I did pretty much hit a fatal error straight away (I reported it and added a patch here – hopefully that was the right place/course of action) though I believe that will only impact those who test this out in a site that was already running bbPress, vs a clean installation.

    #180540
    Stephen Edgar
    Keymaster

    Per the announcement post:

    If you’re going to test 2.6 on a live site, maybe don’t just yet. It runs a database upgrade routine to migrate favorites & subscriptions from usermeta to postmeta, and for large forums that may take a while or possibly lock things up for a bit.

    So I’d suggest waiting until we hit beta 2, by then we should be able to better analyse how the upgrade routing has worked for some larger sites, mainly wordpress.org.

    #180537
    Stephen Edgar
    Keymaster

    I hope you saw that we released bbPress 2.6 beta last night πŸ™‚

    https://bbpress.org/forums/topic/bbpress-2-6-beta-1/

    There are significant performance increases with 2.6, wordpress.org/support is now running 2.6 alpha, we’ll update it shortly to 2.6 beta.

    We’ve got further performance enhancements to come, one that I think you may be running into is the time it takes to post a reply, one change that was merged last night and is now being used here on bbPress.org significantly imporoves that time for adding new replies, another in the works for the same issue is to optimize how subscribers are notified of a new reply in a topic, currently most of that wait period you’re experiencing I would think is coming from topics that have high number of subscribers.

    Anyway, I hope this is better news for you πŸ™‚

    p.s. WordPress dot org support has ~2.5 million topics and 6 million replies

    #180521
    Robin W
    Moderator

    can be done

    try

    http://jobs.wordpress.net/

    or contact me via my website

    http://www.rewweb.co.uk

    #180520
    Robin W
    Moderator

    This would need some bespoke coding

    you could try

    http://jobs.wordpress.net/

    or contact me via

    http://www.rewweb.co.uk

    #180519
    Robin W
    Moderator

    whilst in the forums list a sub private forum will not show, if the sub forum is set to public, then searches would show as the forum it belongs to is private.

    So set every forum that you wish to be private to Private

    If you don’t want the word private to appear – and I hate it showing! – then you can add this to your functions file

    add_filter('private_title_format', 'ntwb_remove_private_title');
    function ntwb_remove_private_title($title) {
    	return '%s';
    }

    or add my plugin which has this and many other features

    https://wordpress.org/plugins/bbp-style-pack/

    and set this to hide in
    dashboard>settings>bbp style pack>forum display item 4

    #180516
    Robin W
    Moderator

    The reply form has an element which says

    Notify me of follow-up replies via email

    By default this is unticked, so unless you tick it, you are unsubscribed from the topic.

    So remembering to tick it makes sure you stay subscribed.

    You can change this default to make it ticked by default by using

    Reply Subscribed

    or using my style pack plugin which has lots of other extras

    https://wordpress.org/plugins/bbp-style-pack/

    #180503

    Hey everyone! Guess what?

    bbPress 2.6, Release Candidate 3, is now available for testing.

    Download it from here: https://downloads.wordpress.org/plugin/bbpress.2.6-rc-3.zip

    Why is this cool? For starters, @jeffr0 may finally climb down off my back and stop giving me grief for how long it’s been since we shipped a major release.

    bbPress 2.5.0 in 2014, 3 years ago.

    Most people wouldn’t be proud to say that, but… I am. The 2.5 branch of bbPress has been so stable & well received, we were able to take our time with 2.6 and double-down on upstream improvements to WordPress.

    bbPress 2.6 will come with:

    * Per-forum moderators
    * Improved favorites & subscriptions management
    * Improved BuddyPress integration
    * Performance improvements across the board
    * UX improvements to meta-boxes and admin-area tools
    * Tighter integration with WordPress’s Dashboard
    * Template tweaks & clean-up
    * About 110 other things

    If you’re going to test 2.6 on a live site, maybe don’t just yet. It runs a database upgrade routine to migrate favorites & subscriptions from usermeta to postmeta, and for large forums that may take a while or possibly lock things up for a bit.

    We are already running 2.6 here and on bbPress.org, so enjoy the speedier new posting experience, and we’ll let you know when the next beta is ready!

    #180499
    Stephen Edgar
    Keymaster
    #180495

    Hi there @iprg,

    Sorry, but there isn’t yet. It wouldn’t be too difficult for us to implement this feature inside of wp-admin, though.

    Are you comfortable creating a feature request over at https://bbpress.trac.wordpress.org? If so, that’s the best place to log this idea, and we’ll try and get it into a future release.

    #180493
    #180490
    jasnlee
    Participant

    Hello,

    Our topics are no longer being listed on our forum except for sticky topics I believe.

    Top blue box says “This forum contains 32 topics and 24 replies, and was last updated by…” but it then only lists 3 topics “Viewing 3 topics – 1 through 3 (of 3 total)”

    WordPress: 4.7.1
    bbPress: 2.5.12
    Theme: Salutation by Parallelus v3.0.2

    Please help. Thank you.

    #180486
    marnieg
    Participant

    Wordpress: 4.7.1
    bbPress: 2.5.12-6148
    theme: Zippy Courses

    I have a new bbPress forum and just recently lost the formatting options–there’s just an empty rectangle where the formatting buttons formerly were. Under Forums and then Settings I have several things checked that don’t seem to be available in the forum. For instance: “Add toolbar & buttons to textareas to help with HTML formatting” and “Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies” are selected. But these aren’t available.

    I would love any direction so I can add basic formatting functionality. I added Forum Beginner Posts plugin but that didn’t change anything so I uninstalled it.

    juliemarie99
    Participant

    WordPress 4.7 bbPress 2.5.12 http://members.thesoulscripts.com

    There seems to be no way for admins or users to unsubscribe from email notifications when they are no longer Participant. After they stop paying to be a member of our site, their Participant role is removed. They should be removed from all email notifications as well at that point. Many angry people! Help!!

    Stephen Edgar
    Keymaster

    @mth75 Sure, kind of like how BP’s profiles, if active, replace bbPress’ profiles we could possibly do something similar for BuddyPress favourites.

    Create a ticket on Trac and if you can, take a stab at writing a patch maybe?

    https://bbpress.trac.wordpress.org/newticket

    Robin W
    Moderator

    ok, I’ve just loaded your code to my test site, and I can set a user to member and it holds

    Suspect either theme or other plugins

    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 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.

    Then come back

    #180440
    DanaJoy2008
    Participant

    Hello,

    I am getting the following errors:
    Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 394

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 407

    I cannot log in as an admin. My site is artintheblood.net. I should have the latest update of WordPress, but I cannot confirm because I cannot enter the site. Any advice you can offer is greatly appreciated.

    #180436
    Robin W
    Moderator

    I suspect it could be done, but can you repost onto my bbp user ranking plugin website, and I’ll take a look

    https://wordpress.org/support/plugin/bbp-user-ranking

    #180431
    Robin W
    Moderator

    As far as I can see that is down to the rest api, not bbpress – it does the same with posts ie not show author.

    I suspect barry is way ahead of me in knowledge but these two links seem to show that you write api callbacks into your website and then add them to the api

    http://wordpress.stackexchange.com/questions/224332/how-to-get-author-meta-into-post-endpoint-in-api-v2

    http://v2.wp-api.org/extending/adding/

    #180426
    soundboy
    Participant

    Hi, I’ve been working on migrating my large Drupal site to WordPress. I’ve managed to do the majority of the site but now I’m stuck on the forum.

    I’m using Drupal 6 and Advanced Forum, I have 26K topics and 700K replies.

    I’ve tried running the script on a couple of different local machines, and on my VPS server where I’ve had the most success; the script does the 26K topics smoothly but then hangs pretty early in the replies, around the 700th row. Locally, it gets stuck before. Weird thing is that a couple of times I’ve left it running for longer, eventually it manages to go past that sticking point and just continues extremely slowly.

    Also: I’ve read the troubleshooting instructions, which make sense but I don’t understand how to pinpoint the line numbers within the database, specifically these points:

    • “Now drop all the rows in the database that are not in the range of rows that failed during import”
    • “Once you have your list of offenders and the import has finished delete these rows from the database and test again to make sure it completes without hanging

    So question #1: if I look at my database in phpMyAdmin for example, and I know the problem is in rows 700-799 of my replies, how do I locate these rows?

    Question #2: Is there a way to know for sure if the problem is performance/memory related or if it’s an encoding issue in a specific row? I don’t know if I should be directing my efforts to solving performance issues or pinpointing problem rows.

    And finally question #3: Does anybody here have experience with these issues and would be willing to be hired to do this migration? Contact me if you do please!

    Thank you very much for any help you can provide πŸ™‚

    #180412

    In reply to: bbpress link error

    hodoze
    Participant

    I have the exact same problem. I’ve struggled to find anyone else in my situation. It’s a clean installation of wordpress, and bbpress is the only plugin installed, NOTHING else is done at all. I’ve tried different themes (like twentyfifteen), but that doesn’t seem to be the troublemaker. I’m allowed to make a new forum, but the “all forums” page results in this error. I’m running it on a localhost mamp server.

    kajzh
    Participant

    Hello,

    I am running bbPress v2.5.12 on WordPress 4.7 with a child theme I’ve developed based on Imaginem Themes’ Sentric Theme.

    The problem:
    In my child theme’s functions, I have added the following code to make two custom roles, Professional and Member, for my Q&A/”Ask the Expert”-style forum called “Ask a Professional.” Essentially, Members can make threads asking questions, but only screened Professionals have the ability to reply and provide answers.

    I want everyone to automatically be assigned the Member role upon registration. Then I can manually “upgrade” their roles to Professional once they’ve been successfully screened. However, when a user registers and logs in, they inherit Member capabilities, but are not assigned the Member role. Manually selecting the user and assigning them the Member role doesn’t work; their role immediately reverts back to “β€” No role for these forums β€””
    screenshot

    When I select the user and manually assign the Participant role, the role “sticks” β€” meaning, it doesn’t revert back to “No Role.” However, the “Member” capabilities remain.

    screenshot

    Does anyone know why this problem persists and how to fix it? This is the final thing that needs to be ironed out before my site goes live. πŸ™‚ Thank you!

    //code to add custom roles 
     
    function add_new_roles( $bbp_roles )
    {
        /* Add a role called professional */
        $bbp_roles['bbp_professional'] = array(
            'name' => 'Professional',
            'capabilities' => custom_capabilities( 'bbp_professional' )
            );
     
        /* Add a role called member */
        $bbp_roles['bbp_member'] = array(
            'name' => 'Member',
            'capabilities' => custom_capabilities( 'bbp_member' )
            );
     
        return $bbp_roles;
    }
     
    add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
     
    function add_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_professional' )
            $caps = custom_capabilities( $role );
     
        if( $role == 'bbp_member' )
            $caps = custom_capabilities( $role );
     
        return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    function custom_capabilities( $role )
    {
        switch ( $role )
        {
     
            /* Capabilities for 'professional' role */
            case 'bbp_professional':
                return array(
                     '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'   => true,
                    'read_hidden_forums'    => true,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => true,
                    'delete_others_topics'  => true,
                    'read_private_topics'   => true,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => true,
     
                    // Topic tag caps
                    'manage_topic_tags'     => true,
                    'edit_topic_tags'       => true,
                    'delete_topic_tags'     => true,
                    'assign_topic_tags'     => true,
                );
     
                /* Capabilities for 'member' role */
            case 'bbp_member':
                return 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'   => true,
                    'read_hidden_forums'    => false,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => false,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => true,
     
                    // Reply caps
                    'publish_replies'       => false,
                    'edit_replies'          => false,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => true,
     
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => false,
                );
     
                break;
     
            default :
                return $role;
        }
    }

    Troubleshooting:

    1. I’ve tried to disable plugins and see if any of them are causing this issue. This hasn’t yielded any different results.
    2. I’ve checked with the Twenty Sixteen and Twenty Seventeen theme.
Viewing 25 results - 4,826 through 4,850 (of 26,876 total)
Skip to toolbar