Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 2,676 through 2,700 (of 11,589 total)
  • Author
    Search Results
  • #176058
    Robin W
    Moderator

    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.

    #176051
    giobby
    Participant

    Hi everybody,

    I’ve just finalised the migration from PhpBB to BBpress.
    I’have noticed that when I open a read a topic for the first time, there’s some processing happening in the background the takes time depending on the number of replies in that topic.

    – hundred of replies can take more than 10 seconds. Once I am in the topic, if I open it again with another user, it’s fast.
    – thousand of replies can end up in a ” PHP Fatal error: Maximum execution time of 30 seconds exceeded”
    – also, a test I did on a topic with about 40K replies ended up in an “Allowed memory size of XXXX bytes exhausted (tried to allocate 4096 bytes) in Unknown on line 0” error.

    I am on a dedicated server and I can change all the memory and execution time limits parameters, but I have the feeling this should not be the solution.
    I don’t understand why there0s so much processing happening.

    After a second look, I’ve noticed that the replies are not paginated. So the system tries to return all the replies in one shot.
    I’ve tried to change the pagination settings and also to deactivate/reactivate the plugin but it didn’t fix the issue.

    Even when I move a topic in the thrash, there’s some php logic that eliminates the replies one by one and can take a minute when the topic has 40 replies.

    Is this normal?

    Anyone who can help?

    Thanks,

    Gio

    #176023
    heero
    Participant

    Latest WordPress and bbPress version. Any idea guys?

    #175989
    Robin W
    Moderator

    ok, I’d either

    change the theme to parent briefly and try it again – see if this fixes

    or try replicating to a test site, where you can play with it

    https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/

    #175975
    Stephen Edgar
    Keymaster

    It’s been a while since I tried it, I’ll have to re-attempt it in a couple of days when I have an opportunity to try it again.

    Cool

    As I recall, it imported the users fine, and then it looked like it was doing the posts, but after, I want to say about 150 posts, it froze there, never indicated further imports. When I checked the database tables, it didn’t appear that it actually brought the content from Dizkus over to bbPress at all.

    Ok, so it did something, thats a good sign in that the database name and password were correct.

    If you’ve ever used Chrome/Firefox “inspect” debugger, you can right click and select “inspect” or (view the source code of the web page) and there is some extra debugging MySQL statements you will see there, if when testing you have issues take a look at the last query and include that MySQL code here when posting back, it will help determine what went wrong.

    As to the localhost problem, I mirrored the Zikula site to my local WIn 10 machine, and then tried to import on a local WP/bbP site and it didn’t do anything. Seems like it just couldn’t find data.

    If it can’t find any data it should thrown an error message to that affect, if you don’t select Dizkus from the dropdown menu on the importer screen and use the default AEF that can be one of the causes, another is that the database is not in the same database server as your WordPress install.

    Did you import that database to your Win 10 machine or were you trying to connect to it remotely?

    #175966
    TriiXx
    Participant

    Hello,

    I want migrate my Joomla website to WordPress.
    I have 23.000 members and more 100.000 messages.

    It’s good for :
    – Members
    – Forums
    – Topics

    But when he must migrate responses, i have an error message :
    “jos_kunena_topics not exists” -> It’s true … the table name is “jo_” not “jos_” … i don’t know why he adds a “s” …

    I use Kunena 3 and latest version of BBpress

    Someone can help me ?
    Thanks and sorry for my english.

    #175961
    JohnP
    Participant

    I’ve already searched both the parent theme and the child theme for the string “bbp”, but can not find it there.

    The previous developer did some rather unorthodox coding, so anything is possible.

    They might have even edited core WordPress files.

    Is there any other way of testing where a bbPress-dependent function might be running?

    #175956
    vivnt
    Participant

    In my main forum page, I only have categories listed. Under each category, there are a couple of forums and people would post under each of these forums. However, on my main forum page, the freshness just states no topics. Is there a way to change it to include the subforums under it?

    I have tested without any other plugins other than bbpress.

    #175931
    Pascal Casier
    Moderator

    @gfxcon @adaman I can confirm it’s inside 2.6 (moderators per forum), you can already test the 2.6-alpha if you want that is very stable.

    Pascal.

    bjornwebdesign
    Participant

    Ok, last time, I promise :p…

    I updated all my users with the above function, but I don’t want it to run every time on the init hook.
    So I changed it into:

    /*
     * Do stuff when the user's xprofile is updated
    */	
    function xprofile_updated ( $user_id, $posted_field_ids, $errors, $old_values, $new_values) {
    	/*
    	 * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
    	 * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
    	 * Altough this should run AFTER updating profile fields (saving to DB), the nicename is only updated after a second save. So we need to check from $new_values
    	 */
    	$new_display_name = '';
    	foreach ( $new_values as $key => $value ) {
    		if ( is_array($value) && $key == 1 ) { // field display_name = 1, make sure this is correct
    			foreach ( $value as $k => $v ) {
    				if ( $k == 'value' ) {
    					$new_display_name = $v;
    				}
    			}
    		}
    	}
    	//error_log('******** xprofile_updated: '.$user_id.' | NEW DISPLAY_NAME: '.$new_display_name.' *********');
    	$search = array( ' ', '.' ); 
    	$replace = array( '_', '' );
    	$user = get_user_by( 'ID', $user_id );		
    	if ( $user ) {
    		if ( $user->data->user_status == 0 && $new_display_name ) {
    			$new_user_nicename = strtolower(str_replace( $search, $replace, $new_display_name) );
    			if ( strlen ( $new_user_nicename ) > 50 ) {
    				$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    			}				
    			if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    				$args = array(
    					'ID'            => $user->ID,
    					'user_nicename' => $new_user_nicename
    				);
    				wp_update_user( $args );
    				//error_log('******** updated user_nicename: '.$user->ID.' | NEW USER_NICENAME: '.$new_user_nicename.' *********');
    				wp_redirect( get_site_url().'/leden/'.$new_user_nicename.'/profile/edit/group/1/' ); // we cant use bp_core_get_user_domain() here, because it still uses the old user_nicename
    				exit;					
    			}
    		}
    	}
    }
    add_action( 'xprofile_updated_profile',  'xprofile_updated', 100, 5 );

    Please note, it has some site specific code, like the wp_redirect.
    Any questions? Feel free to ask.


    @mod
    : Hoping my code snippet is not too long.

    Regards, Bjorn

    bjornwebdesign
    Participant

    OMG… We webdesigners are never finished 😛

    After some more testing I noticed that the function did not change all user_nicename.
    The DB type of user_nicename = VARCHAR(50) and the type of display_name = VARCHAR(250).
    If the updated user_nicename exceeds 50 chars the DB field will not update and nothing changes. So I added a substr to resolve this.
    Thankfully the wp_update_user() takes care off special characters like ë.

    Updated code:

    /*
     * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
     * This runs allways (with init hook), we should only do this once and then on user register & profile update..
     * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
     * And offcourse allways use something like: 'bp_core_get_user_domain( $user_id )' when you want to get the user's profile url.
     */
    $search = array( ' ', '.' ); 
    $replace = array( '_', '' );
    $all_users = get_users();		
    foreach ( $all_users as $user ) {
    	$display_name = $user->data->display_name;
    	if ( $user->data->user_status == 0 && $display_name ) {
    		$new_user_nicename = strtolower(str_replace( $search, $replace, $display_name) );
    		if ( strlen ( $new_user_nicename ) > 50 ) {
    			$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    		}				
    		if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    			$args = array(
    				'ID'            => $user->ID,
    				'user_nicename' => $new_user_nicename
    			);
    			wp_update_user( $args );					
    		}
    	}
    }
    bjornwebdesign
    Participant

    LoL, I thought i was finished, but i noticed the second loop isn’t necessary.
    So here’s my finished/tested code:

    /*
     * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
     * This conversion runs allways, we should only do this once and then on user register & profile update..
     * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
     * And offcourse allways use something like: 'bp_core_get_user_domain( $user_id )' when you want to get the user's profile url.
     */
    $search = array( ' ', '.' ); 
    $replace = array( '_', '' );
    $all_users = get_users();		
    foreach ( $all_users as $user ) {
    	$display_name = $user->data->display_name;
    	if ( $user->data->user_status == 0 && $display_name ) {
    		$new_user_nicename = strtolower(str_replace( $search, $replace, $display_name) );
    		if ( $user->data->user_nicename != $new_user_nicename ) {
    				$args = array(
    					'ID'            => $user->ID,
    					'user_nicename' => $new_user_nicename
    				);
    				wp_update_user( $args );					
    		}
    	}
    }

    Put this in a function and call it on an action hook, can be done in your theme’s functions.php just like the OP already explained here.

    The function will change something like this: ‘Mr. A.T. Testing123’ into ‘mr_at_testing123’.

    #175899
    Robin W
    Moderator

    not tested but this code should allow editing at all times. Add it to your functions file

    add filter ('bbp_past_edit_lock' , 'rew_allow_editing' )
    
    function rew_allow_editing () {
    	$retval = false ;
    	Return $retval ;
    }

    on other posts, I’d wonder if the bbp_reply_id(); might be returning a null or the wrong id.

    As a test the easiest way would be to replace your Edit </a> with

    <?php echo esc_url( home_url( '/' ) ).'conversations/reply/'.bbp_reply_id().'/edit/' ?></a>
    

    That way you’ll see where it is going to send you and can find out what the problem is

    #175887
    Jon Fergus
    Participant

    Ok, so I’ve added the ability to include a featured image for forums and topics. BUT…. the featured image for forums isn’t being recognized as the og:image when I run it through the facebook debugger. Any ideas why that would be?

    Here’s the forum I’m using as the test: http://nexus.universaltheosophy.com/groups/art-of-living-study-group/forum/

    This is the image I set as the featured image: http://nexus.universaltheosophy.com/wp-content/uploads/nexus.jpg

    But facebook seems to be picking up the first image it finds within the forum.

    Also…. I’d like to add a featured image that works as the og:image for groups. Any idea how to do that?

    EliFerreira
    Participant

    I’m using the 2.5.9 version of bbPress plugin in the latest version of WordPress and would like to remove this tab, but I can not. Can someone help me?

    Here’s a print for better understanding: http://www.siteconcursos.com/wp-content/uploads/2016/06/Capturar.jpg

    #175877
    Brian
    Participant

    Folks, I’m new to bbPress, but I’m setting it up for a client’s membership site. They want a general forum for their members, where any member can post at any time (in other words, no moderation before posting).

    Then they want a more-restrictive forum, where members can create drafts which must be approved before they are published.

    I’ve tested bbP with bbPress Moderation by Ian Stanley, and it works in general — but requiring all posts to be moderated. I’m currently working with FV bbPress Tweaks, which appears to be brand new, but also seems to work and has a few more features.

    However, I’m not seeing anything that allows settings for individual forums. Seems like the sort of thing people would want.

    This all-or-nothing approach seems baffling to me, so I’m hoping that I’ve missed something obvious. Any relief here?

    #175866
    Robin W
    Moderator

    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

    #175851
    peter-hamilton
    Participant

    And I wish this forum did a bit more to sell BBPress, where are the showcases, the paid for professionals and why is this theme still sooooo boring.

    Why not integrate more with Buddypress forums, as I can not believe people only using BBPress on its own, I want a better profile.

    Why not have the option to test plugins on this site with live demos.

    Why not have a clear donation button on your site, or do anything to receive funds to spend time improving the BB line.

    Perhaps charge people 1 euro to download BBPress first time then free for life through account, perhaps the free model gives more awareness but BBPress is good enough to compete with expensive forum software.

    Why not compete with codecanyon and offer premium plugins that work without conflicts.

    Why not hire me as vice president of BBCorp and pay me lots, I accept jellybeans as currency.

    Anyway, as mentioned before loving BBPress.

    P.H.

    #175841
    peter-hamilton
    Participant

    Yeah I need to look into that, tried a few years ago but really did not understand how to, even with lots of tutorials.

    I do actually have a test site where I keep most of my clients sites during production, url is http://www.my-latest.com and I should use it more…lol

    Really not a webdeveloper by trade, just a hobby and being anal about controlling everything myself.

    onlijn.com is more of a fun project that had no time allocated for a while, but I am getting to understand BBPress better every time I use it.

    Now just completed a BBPress forum at seedism.nl and very happy with the outcome once again.

    link here

    Ofcourse it is a lot easier now that BBPress and Buddypress have added some core functions that took a lot of hacking a few years ago.

    Still loving BBPress and convinced it is the better option for forums.

    Peace
    Peter

    #175837
    Blaze Miskulin
    Participant

    Okay, now I’m very confused. It appears to be the WP Spamshield plug-in–but I have another install with both bbPress and Spamshield and it works fine (which is why I didn’t bother testing it at first).

    I’ll check the support page for the plug-in.

    #175831
    Robin W
    Moderator
    #175823
    Robin W
    Moderator

    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

    #175822
    Robin W
    Moderator

    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

    #175818
    Blaze Miskulin
    Participant

    Fresh install of WordPress 4.5.2
    Fresh install of bbPress 2.5.9-6017
    Only other plugin: WP Spamshield
    Theme: Moon
    Site: GeekNiche.com
    All settings left at default.

    As Admin/Keymaster, I am unable to create new topics or reply to topics already posted, when in the forums. I can post a new topic from the dashboard.

    The error (when trying to post from the forums) reads:
    ERROR: You do not have permission to reply.

    To test, I created a new user with the “participant” role. That user can create new topics and reply to topics. It’s only the Keymaster who is forbidden from posting.

    This would appear to be a problem. 🙂

    #175801
    Robkk
    Moderator

    The images might depend on what you are doing on the original site, I have tested it out on my local server and it works fine then doesn’t every now and then. Right now it works fine.

Viewing 25 results - 2,676 through 2,700 (of 11,589 total)
Skip to toolbar