Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'updated'

Viewing 25 results - 501 through 525 (of 2,086 total)
  • Author
    Search Results
  • #176386

    In reply to: Core change

    Robkk
    Moderator

    2.6 alpha did just get updated with the 2.5.10 security fix.

    https://bbpress.org/forums/topic/bbpress-2-5-10-released/

    #176355

    Topic: Core change

    in forum Troubleshooting
    Sziban
    Participant

    Just changed 10 minutes ago. Almost all of the bbpress files updated. (Still functioning well.) Is this normal?
    Example: Core change

    #176255
    Robkk
    Moderator

    1. An answer to this is really a personal opinion on what you prefer specifically from each.

    2. For WordPress you need a theme, Im sure its the same for others.

    3. Just so you know WordPress is the CMS and bbPress is just piggybacking and using APIs from such. WordPress is updated quite frequently. You can allow bbPress to update automatically if you want through some plugin.

    4. I don’t know why you brought up phpbb here, but bbPress can be automatically updated using a plugin. WordPress is updated automatically for security releases, and sometimes hosts cann allow you to just allow it to update automatically all the time.

    5. Blog functionality comes packaged with WordPress, you can add other features using plugins or themes.

    6. Read this for hardening WordPress.

    https://codex.wordpress.org/Hardening_WordPress

    7. For captcha plugins that work with bbPress check out this guide.

    https://codex.bbpress.org/getting-started/forum-moderation/dealing-with-spam/#registration-spam

    8. Use a plugin, or online service, or check your hosting provider.

    https://codex.bbpress.org/getting-started/before-installing/backing-up-your-database-and-files/

    9. Yes this forum has more than 100k topics. Users you will be fine.

    Also which plugins will be better for users and forums so that their updation does not affect the live site once it is launched.

    IF you are talking about plugin/theme/WordPress updates. Try to avoid automatic updates so you do not come across issues during an update and check to see if the update does not have any issues below rolling it out. Or just take frequent backups to avoid update issues and just roll back to a previous state.

    #176247
    veerendradarakh
    Participant

    Greetings all ye WordPress gurus,
    This is pertaining to the site http://www.dentistrytoday.info ( made in drupal 6.34 )

    Drupal 6.34 is now outdated. Support for Drupal 6 has been withdrawn and furthermore drupal development is expensive.

    So I have decided to migrate the forums from drupal to some other CMS. I also want to move away from Drupal since I find Drupal development is expensive.

    To migrate the site from drupal to some other CMS I have some queries.

    My queries to this esteemed forum.
    1. Which CMS is the best for a discussion forum?
    2. I want to migrate to a CMS which is easy to use, mobile friendly, responsive and easy to modify and refine.
    3. Plenty of developers must be available for the forums for that particular CMS so that maintaining, refining and upgrading the forums can be done at a reasonable cost.
    4. The CMS must get updated automatically. Will the phbBB forum get updated automatically? I am told that wordpress sites get updated automatically. Will the forums made in wordpress get updated automatically?
    5. We want conduct all activities on the forum that are usually done on educational sites like webinars, email newsletters, email newsletters with case presentations, blogs etc.
    6. If we migrate it to wordpress forums what kind of security precautions shoud I take, pre and post migration. I am told that wordpress sites are more vulnerable to hacking than Drupal sites.
    7. Besides the forums must be secure and if possible I want to have the registration form without a captcha challenge.
    8. My staff must be able to take offline and online backups of the site easily.
    9. Can wordpress forum can support forums of bigger sizes (80,000 forum articles and 30,000 users). Also which plugins will be better for users and forums so that their updation does not affect the live site once it is launched.

    Hope to see a lot of responses and many thanks in advance for the same.

    Regards,
    Dr. Veerendra Darakh

    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 );					
    		}
    	}
    }
    #175793
    amaros
    Participant

    Yeah, I just updated and it works as well as before ๐Ÿ™‚

    It was a pleasure to support you by testing the plugin. Thanks again for your great work and fast solution!

    Regards

    Thomas

    #175769
    amaros
    Participant

    Thank you, great job! I just donated ๐Ÿ˜›

    First it didn`t work and gave me the same error message as before. So I updated the server to PHP 5.6 and activated the rc successfully. It works perfectly! After activation of the new feature I created a new group “common users” and assigned all subscribers to it. Next step I did was to set up the forums I wanted to be visible to all. Done in 5 Minutes…

    I tested it with a few different test users and found everything working properly. The only cute lil bug I found is that the permission “Create/Edit Topics and Replies” appears twice in a row in the menu of the forum pages.

    This is just an amazing Plugin!

    Cheers ๐Ÿ™‚

    #175616

    In reply to: Per user moderation

    ddennison2016
    Participant

    Hello Robkk,

    I tried the moderation plugin you suggested but it has not been updated in over 3 years so it does not work for me.

    I read here https://codex.bbpress.org/moderation-and-blacklisting/ that discussion settings should be applied for bbpress but that also does not work.

    For whatever reason anyone can immediately post replies without having to wait for moderation.

    Under Settings > Discussion > Before a comment appears – I have the checkbox selected for “Comment must be manually approved” however that does not happen.

    Thanks,
    Dustin

    #175453
    sasenzon
    Participant

    Hi @robin-w
    I deactivated and deleted CBOX.
    Then I reloaded it.
    It reloaded with the same settings so bbpress forum was initially deactivated.
    I could see the forum that was up before the error started.
    Then I updated and activated the bbpress forum and the error started again.
    All buddypress pages are not visible.
    Other pages on the site (non buddypress are fine).
    Please advise.
    Thanks.

    #175423

    In reply to: Freshness URLs Broken

    timsilva_
    Participant

    Thanks so much for the detailed instructions Robin!

    I was able to make that edit in a separate installation and I can see the value being updated in the database each time I load a topic on a certain page. I have been clicking around to various pages and topics trying to understand the patterns, and I think it might have something to do with the custom migration work that I had done.

    One of the issues with the build-in SMF to bbPress importers had to do with posts that were created by users on SMF who later deleted their own accounts. After a handful of users did this on SMF, their old posts were still visible, but their usernames/display names wouldn’t link to their SMF profile page since it no longer existed. After I migrated my SMF site, these types of posts (the ones created by users that no longer existed) were all automatically attributed to the first WordPress user ID. The end result was a bunch of old posts from deleted accounts that looked like they were created by the admin account on my WordPress installation. So I hired a developer to transfer the old post author’s metadata over, along with some other data.

    Anyways, I suspect that the posts by users who deleted their accounts are possibly not being counted as posts which is causing the pagination calculations to break. So I am showing 15 replies per page, and if 1 of those posts is by a deleted account, I think it is counting 14 instead. I’m not sure if this is correct, but it seems plausible. The more I click around to different threads, the less consistent this explanation seems to be.

    But I am not seeing 1 or 0 for the faulty topics.

    In newly created topics with pagination, the counting is much clearer. The value is 14 for the first page (subtracting 1 from 15 since the original post doesn’t count as a reply), and then page 2 is 29, page 3 is 44, page 4 is 59, page 5 is 74, and page 6, which only has 4 replies, is 78. This makes sense with 79 total (if you include the original post as a reply).

    …30 minutes later…

    After some more digging around, I have noticed that the count seems to have started over from 1 in the topics that have had new replies after the migration. So if a topic had 10 pages (let’s say 144 replies, not including the original post) before the migration, and then someone replied to the topic (which would be reply #145), the $reply_position would be 1. Another reply would make it 2, and so on…

    So that appears to be the pattern. I did find and verify that at least one thread that was migrated with 702 replies (excluding the first post) is still working after it was responded to once after the migration, although I wouldn’t be surprised if another reply could cause the bug to come back.

    It sounds like I will eventually have to repair the reply counts or something along those lines. :/ I’m gonna have my developer take a look as soon as he can, this info is really great to know!

    #175339

    In reply to: Freshness URLs Broken

    timsilva_
    Participant

    @robin-w I do have access to phpmyadmin. I have been looking around, and the only thing that looks fishy is that the “guid” varchar(255) row has my old local environment in the URL instead of my live domain. So it is http://localhost/forum/topic/title/ when it should be http://example.com/forum/topic/title/ – But after I tried to correct that for the post and the postmeta of the thread’s latest reply (in a safe environment) it didn’t seem to fix the problem. I did notice that my old local URL was hardcoded over 220,000 times in my database though, I wonder if this is something that needs to be corrected for each topic/reply.

    I tried to get creative by changing the “Replies Per Page” in wp-admin > Settings > Forums to a different number. That successfully recalculated the correct number of pages required for the non-affected threads (I set it from 15 replies per page to 30 replies per page, so a thread with 10 pages was updated with 5 pages, and the latest reply link updated to point to page 5), but the affected threads still have no โ€œ/page/##/โ€ segment in the URL.

    #175120
    Digital Arm
    Participant

    After upgrading to PHP 5.5 and running a compatibility test on a site, it has flagged the use of a deprecated modifier being used in preg_replace functions.
    These occur on lines 1149 and 1150 in file /includes/admin/parser.php

    1149 | ERROR | preg_replace() – /e modifier is deprecated in PHP 5.5
    1150 | ERROR | preg_replace() – /e modifier is deprecated in PHP 5.5

    Could you please let me know the best way to replace the code with the preg_replace_callback function and let me know if this is likely to be updated in a future patch as this can be seen as a security concern.

    Thank you

    #174905
    john2323
    Participant

    Hi, I have the Whoop theme and its designed to use bbPress but the menu shows ALL categories under one menu in a row. Including sub categories. I want to change it so it only shows the parent categories as currently there are at least 30 items in the menu.

    Is the below code what needs to be change and if so can you help me out by doing this? I don’t even want the menus collapsible. Just at link for each main category and thats it.

     <div class="whoop-forum-cats-list">
                            <ul class="whoop-forum-cats-list-inner">
                                <?php
                                
                                $forum_id = bbp_get_forum_id();
                                $forum_args = array(
                                    'posts_per_page' => 100,
                                    'post_type' => bbp_get_forum_post_type(),
                                    'order' => 'ASC'
                                );
                                $forums = query_posts( $forum_args );
                                foreach ($forums as $forum) {
                                    $link = get_permalink($forum->ID);
                                    if ($forum->ID == $forum_id) {
                                        $class = 'active';
                                    } else {
                                        $class = '';
                                    }
                                ?>
                                <li>
                                    <a class="<?php echo $class; ?>" href="<?php echo $link; ?>">
                                        <div class="forum-cat-text-wrap">
                                            <?php echo $forum->post_title; ?>
                                            <div class="forum-cat-last-updated">
                                            <?php echo bbp_get_forum_last_active_time( $forum->ID ); ?>
                                            </div>
                                        </div>
                                    </a>
                                </li>
    </ul>
    
    #174723
    lwathelet
    Participant

    Hi,
    We had an old website (old.wattlet.fr/forums) with an existing forum. I’ve tried to import it to our new website http://www.wattlet.fr/forums. The bbpress version on the old website has been updated to 2.5.9. I’ve used the import feature under tools/forum, but surprisingly there are no options to select bbpress 2 from the dropdown list. I just see bbpress1.This selection doesnโ€™t use the same table. Currently it is using wp_posts tables. Did I miss something? What Iโ€™m trying to do seems to be so simple !

    Luc

    #174679
    AlexanderCnb
    Participant

    Should this still work? It doesn’t seem to close the topics in my case. Just wondering if it’s me doing something wrong or that this doesn’t apply anymore.
    WordPress version: 4.5.2
    bbPress version: 2.5.9
    Child theme: Canvas WooThemes

    This is the code I’ve got in the plugin now, from all the code @robin-w provided.

    <?php 
    
    /*
    Plugin Name: BBPress Close Old Posts
    Description: Close BBPress 2.0+ posts that haven't been updated in X days. 
    Author: Raygun
    Version: 0.1
    Author URI: http://madebyraygun.com
    
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    */ 
    
    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$topic_date = strtotime( get_post( $topic_id, 'post_date', true ) );
                    $forum_id = bbp_get_topic_forum_id($topic_id);
                    if ($topic_date < strtotime( '-1 day') && $forum_id == 1276 )
                        bbp_close_topic( $topic_id );
    		}
    }
    ?>
    #174614
    Stephen Edgar
    Keymaster

    Unfortunately the original Sucuri article incorrectly stated what versions of bbPress were affected, the article has seen been updated to document what versions of bbPress were affected. bbPress 2.5.9 patched the security issue documented by Sucuri.

    gdelle
    Participant

    Im hoping someone can help… Im using bbpress/buddypress theme and my support is not helping at the moment. They have a 24-48 hour window..

    Half the site is 404 errors. My theme uses/recommenced rtmedia, I updated it and all went wacky. Only thing working Is the forums!

    Now I had many plugins going but shut Every single one down except bbpress/buddypress. Even required theme plugins. Ive even deleted 90% of them and still cant fix the issue…

    I know this is not my ‘support’ Im just at wits end and cant fix it, Im reaching out hoping someone can help… I can pay. We have 200+ members, while not a lot its a lot for us as we are so new.

    We’ve been half down for about 8 hours now…

    Its an adult content site so I dont know if I can/should post a link here… I can give admin, etc.

    This is the theme Im using.

    http://themeforest.net/item/kleo-next-level-wordpress-theme/6776630

    jkuzma
    Participant

    I have the same exact problem:

    Cannot modify headers. Parameter 2 to be array, null given in …/plugins/bbpress/includes/common/functions.php on line 1446

    My pages/posts can be updated/published, but I get a blank white page with this error each time I update.

    #174506
    Stephen Edgar
    Keymaster

    You should try bbPress 2.6-alpha, there are heaps of phpBB improvements in bbPress 2.6 ๐Ÿ™‚

    That should fix your author mapping, it also adds support for mapping anonymous/deleted users to their topics which is pretty cool.

    The mapping of the users old phpBB user ID is also updated to work quite differently to how it did in the 2.5.x release so again this should fix that for you also.

    p.s. bbPress.org here runs 2.6-alpha, and we’re hoping to ship 2.6 in the next couple of weeks.

    Edit: Get 2.6-alpha via our downloads page https://bbpress.org/download

    alingrad
    Participant

    Hi,

    I just installed on a test domain WordPress, bbPress and WPML. All are updated to the latest versions. I don’t use any other plugins and the theme is also the default one, Twenty Sixteen.

    I setup 2 languages: german as default and english. So the URLs are like this.

    website.com
    website.com/en

    I posted some topics in bbPress in both languages and I can see them per language, which is what I want. On the german version I see only the german posts and on the english version I see only the english post.

    Of course, a problem may be with the bbPress slugs settings. I cannot translate them but I can live with them.

    What I noticed is that when I go to profile and try to see the “Topics Started”, “Favorites” and “Subscriptions”, I see only a message that I don’t have any of those, although on the main Profile page shows that I have started 11 topics.

    That might be also a problem because it counts the topics from both languages. But I can live with that also, for the moment.

    I switched the languages and I made english default. After doing this, everything worked fine in english but not anymore in german, because german became the second language.

    Basically, I can see the “Topics Started”, “Favorites” and “Subscriptions” only for the default language.

    Only “Replies Created” show up for both languages.

    I also attached some screenshots.

    I also changed the theme from Twenty Sixteen to Twenty Fifteen and also Twenty Fourteen. Same problem.

    I setup another test website as WP Multisite, without WPML and everything works properly. I had to install another plugin to connect both languages. But I would like to use WPML and a single website, if this is possible.

    I hope there is a fix for this. bbPress is the most used forum and WPML should be able to handle it.

    Thank you very much for your time.

    Best Regards,
    Alin

    #174166

    In reply to: Formatting not loading

    brhahlen
    Participant

    Hi there!
    I found the problem: it is in the Crayon Syntax Highlighter plugin, which I updated at around the same time I did my WP4.5 update.
    So, this is fixed ๐Ÿ™‚

    Thanks for the help!

    #174139

    In reply to: Hide top pagination

    kieranw7261
    Participant

    Hi there

    Thanks for the reply.

    For the one or two lines of code that needs to be removed from the bbpress plugin files it doesn’t seem right to go to all the effort of a child theme.

    I can always remove the code each time the plugins updated.

    Would you happen to know where it is and which line I need to remove.

    Thanks

    gemack2810
    Participant

    Hi all,

    I am running wordpress 4.5 and bbpress 2.5.8

    Recently, one thread on my forum has started redirecting to the first page (not the last page) in the thread. Therefore once posted the user needs to click on the last page to see their post.

    All other posts are fine.

    Here is the post.

    I updated the permalinks, and ran all of the bbpress repair tools, but no change.

    Any help would be appreciated!

    #174056

    In reply to: link-problem

    Gunilla
    Participant

    I have installed

      bbPress
      bbp style pack
      bbPress New Topics
      bbPress WP Tweaks bbP private groups

    Here where I write this text there is a linkbutton which works, but i doesnยดt work in my forum ab update to wp 4.5. It did weork before I updated.

Viewing 25 results - 501 through 525 (of 2,086 total)
Skip to toolbar