Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 2,201 through 2,225 (of 26,818 total)
  • Author
    Search Results
  • #214417
    Robin W
    Moderator
    #214391
    chakotenwebmaster
    Participant

    Just a quick question.

    Has bbpress 2.6.5 been checked for compability with WordPress 5.5.1

    and if not – when will it be checked or a new version released

    #214389
    elinecomunica
    Participant

    Dears,

    I’m getting an error message when I click on “Edit Forum Profile”.

    In addition to the wordpress error, I cannot edit my profile because the save button is not shown.

    I’m using DIVI theme with WordPress 5.5.1 and bbpress 2.6.5

    I tried changing to Twenty theme but it happens the same thing.

    You can check it creating an account here and going to My account – Forum Profile

    Frases de supervivencia para viajeros

    Thanks for your help

    #214362
    ricks03
    Participant

    <?php
    /**
    * Exit if accessed directly.
    *
    * @package Responsive
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    exit;
    }

    /**
    * Full Content Template
    *
    * Template Name: Full Width Page (no sidebar)
    *
    * @file full-width-page.php
    * @package Responsive
    * @author CyberChimps
    * @copyright 2020 CyberChimps
    * @license license.txt
    * @version Release: 1.0
    * @filesource wp-content/themes/responsive/full-width-page.php
    * @link https://codex.wordpress.org/Theme_Development#Pages_.28page.php.29
    * @since available since Release 1.0
    */

    get_header();

    Responsive\responsive_wrapper_top(); // before wrapper content hook. ?>

    <div id=”wrapper” class=”site-content clearfix”>
    <div class=”content-outer container”>
    <div class=”row”>
    <?php Responsive\responsive_in_wrapper(); // wrapper hook. ?>
    <main id=”primary” class=”content-area col-940″ role=”main”>
    <?php
    get_template_part( ‘loop-header’, get_post_type() );

    if ( have_posts() ) :
    while ( have_posts() ) :
    the_post();
    Responsive\responsive_entry_before();
    get_template_part( ‘partials/page/layout’, get_post_type() );
    Responsive\responsive_entry_after();
    Responsive\responsive_comments_before();
    comments_template( ”, true );
    Responsive\responsive_comments_after();
    endwhile;
    get_template_part( ‘loop-nav’, get_post_type() );

    else :
    // Elementor 404 location.
    if ( ! function_exists( ‘elementor_theme_do_location’ ) || ! elementor_theme_do_location( ‘single’ ) ) {
    get_template_part( ‘loop-no-posts’, get_post_type() );
    }

    endif;
    ?>

    </main><!– end of #content-full –>
    </div>
    </div>
    <?php Responsive\responsive_wrapper_bottom(); // after wrapper content hook. ?>
    </div> <!– end of #wrapper –>
    <?php
    Responsive\responsive_wrapper_end(); // after wrapper hook.
    get_footer();
    ?>

    #214333
    Robin W
    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Profile

    Chuckie
    Participant

    I am not sure if it is related but things like videos can trigger moderation to kick in. I have personally switched off moderation since the current mechanism is by no means efficient. Any topic / reply that goes to moderation just vanishes and the user is not informed. This is clearly not OK but I have no idea to improve it in the bbPress code.

    There is a ticket open for this issue for several months now but I don’t think it is being worked on. You can go into your discussion settings and adjust certain properties that affect when content will trigger moderation. This is in your WordPress settings.

    But like I say, I switched off moderation all together due to the confusion is causes for users. There are other topics on here with info on how to do that.

    I am not saying it is the cause of your problem. Just wanted to mention it.

    #214242
    nedhoste
    Participant

    Hi – I am new to BBP and this may be a really obvious question.

    I am running Avada 7.02 on WP 5.5.1

    I have set up the registration and lost password and forum pages – I have allowed anyone to register in settings – however when I test the registration page, it allows me to fill in the Username and email panels. But when I click the register button the page redirects to a 404 page and the registration does not complete. (If the solution is blindingly obvious, please be gentle! but still let me know)

    Any ideas, solutions gratefully received.

    The plugins live on the site are
    ManageWP – Worker by GoDaddy
    WPML Multilingual CMS by OnTheGoSystems
    Yoast SEO Multilingual by OnTheGoSystems
    bbPress by The bbPress Contributors
    Contact Form 7 Multilingual by OnTheGoSystems
    Cookie Notice by dFactory
    Ditty News Ticker by Metaphor Creations
    Ditty Twitter Ticker by Metaphor Creations
    Easy Hide Login by Arshid
    Feed Them Social – for Twitter feed, Youtube, Pinterest and more by SlickRemix
    Avada Builder by ThemeFusion
    Avada Core by ThemeFusion
    Avada Custom Branding by ThemeFusion
    LiteSpeed Cache by LiteSpeed Technologies
    Mailchimp for WooCommerce by Mailchimp
    MC4WP: Mailchimp for WordPress by ibericode
    Wordfence Security by Wordfence
    Yoast SEO by Team Yoast
    WPForms Lite by WPForms
    MailChimp for WordPress Multilingual by OnTheGoSystems
    WPML Media by OnTheGoSystems
    WPML String Translation by OnTheGoSystems
    WPML Translation Management by OnTheGoSystems

    The site address is micro-oiseau.com

    Many thanks in advance.Have a great weekend

    Ned

    #214232
    Robin W
    Moderator

    Private groups

    and use topic permissions

    #214210
    Robin W
    Moderator

    bbp style pack

    once activate to

    dashboard>settings>bbp style pack>Topic/Reply Form for editor options and

    dashboard>settings>bbp style pack>buttons for new topic button

    #214195
    #214189
    kigazw
    Participant

    Hello everyone, please help!

    Problems since the last WordPress update.

    Since the last WordPress update, you can no longer choose between “visual” and “text” in the text editor.

    In addition, the “GD Attachments” plugin no longer works.

    Am I alone with the problem?

    Happy to test at:

    https://pollenhoeschen.de/Hummelforum/Thema/ektiven-es-kann-heute-zu-ausfaellen-von-pollenhoeschen-de-kommen/

    #214187
    stefyonweb
    Participant

    Thank you Robin, here’s the code:

    <?php
    
    /**
     * bbPress Example Converter
     *
     * @package bbPress
     * @subpackage Converters
     */
    
    /**
     * Example converter base impoprter template for bbPress
     *
     * @since 2.3.0 bbPress (r4689)
     *
     * @link Codex Docs https://codex.bbpress.org/import-forums/custom-import
     */
    class snitz extends BBP_Converter_Base {
    
    	/**
    	 * Main Constructor
    	 */
    	public function __construct() {
    		parent::__construct();
    	}
    
    	/**
    	 * Sets up the field mappings
    	 */
    	public function setup_globals() {
    
    		/** Forum Section *****************************************************/
    
    		// Setup table joins for the forum section at the base of this section
    
    		// Old forum id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'FORUM_ID',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_old_forum_id'
    		);
    
    		// Forum parent id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'CAT_ID',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_old_forum_parent_id'
    		);
    
    		// Forum topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_FORUM',
    			'from_fieldname' => 'F_TOPICS',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		);
    
    		// Forum reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_FORUM',
    			'from_fieldname' => 'F_COUNT',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_reply_count'
    		);
    
    		// Forum total topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_FORUM',
    			'from_fieldname' => 'F_TOPICS',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_total_topic_count'
    		);
    
    		// Forum total reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_FORUM',
    			'from_fieldname' => 'F_COUNT',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_total_reply_count'
    		);
    
    		// Forum title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'F_SUBJECT',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Forum slug (Clean name to avoid confilcts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'F_SUBJECT',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    
    		// Forum description.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'F_DESCRIPTION',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_null'
    		);
    
    		// Forum display order (Starts from 1)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'F_ORDER',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'menu_order'
    		);
    
    		// Forum type (Category = 0 or Forum = 1, Stored in postmeta)
    		$this->field_map[] = array(
    	//		'from_tablename'  => 'FORUM_FORUM',
    	//		'from_fieldname'  => 'the_forum_type',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_forum_type',
    		//	'callback_method' => 'callback_forum_type'
           'default'      => 'forum'
    		);
    
    		// Forum status (Unlocked = 0 or Locked = 1, Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_FORUM',
    			'from_fieldname'  => 'F_STATUS',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_status',
    			'callback_method' => 'callback_forum_status'
    		);
    
    		// Forum dates.
    		$this->field_map[] = array(
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_date',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_date_gmt',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_modified',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_modified_gmt',
    			'default' => date('Y-m-d H:i:s')
    		);
    
    		// Setup the table joins for the forum section
    /*		$this->field_map[] = array(
    			'from_tablename'  => 'groups_table',
    			'from_fieldname'  => 'forum_id',
    			'join_tablename'  => 'forums_table',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING groups_table.forum_id = forums_table.forum_id',*/
    		//	'from_expression' => 'WHERE forums_table.forum_id != 1',
    /*			'to_type'         => 'forum'
    		);*/
    
    		/** Forum Subscriptions Section ***************************************/
    
    		// Subscribed forum ID (Stored in usermeta)
    	/*	$this->field_map[] = array(
    			'from_tablename'  => 'forum_subscriptions_table',
    			'from_fieldname'  => 'the_forum_id',
    			'to_type'         => 'forum_subscriptions',
    			'to_fieldname'    => '_bbp_forum_subscriptions'
    		);*/
    
    		// Subscribed user ID (Stored in usermeta)
    	/*	$this->field_map[] = array(
    			'from_tablename'  => 'forum_subscriptions_table',
    			'from_fieldname'  => 'the_user_id',
    			'to_type'         => 'forum_subscriptions',
    			'to_fieldname'    => 'user_id',
    			'callback_method' => 'callback_userid'
    		);*/
    
    		/** Topic Section *****************************************************/
    
    		// Setup table joins for the topic section at the base of this section
    
    		// Old topic id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'TOPIC_ID',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_old_topic_id'
    		);
    
    		// Topic reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_REPLIES',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_reply_count',
    			'callback_method' => 'callback_topic_reply_count'
    		);
    
    		// Topic total reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_REPLIES',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_total_reply_count',
    			'callback_method' => 'callback_topic_reply_count'
    		);
    
    		// Topic parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'FORUM_ID',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Topic author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_AUTHOR',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Topic author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_IP',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Topic content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_MESSAGE',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_SUBJECT',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Topic slug (Clean name to avoid conflicts)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_SUBJECT',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    
    		// Topic status (Open or Closed)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_STATUS',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_old_closed_status_id',
    			'callback_method' => 'callback_topic_status'
    		);
    
    		// Topic parent forum id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'FORUM_ID',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Sticky status (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_STICKY',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_old_sticky_status_id',
    			'callback_method' => 'callback_sticky_status'
    		);
    
    		// Topic dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_DATE',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_DATE',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_LAST_POST_DATE',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_LAST_POST_DATE',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_LAST_POST',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_last_active_time',
    			'callback_method' => 'callback_datetime'
    		);
    
        $this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'T_MESSAGE',
    			'join_tablename'  => 'thread',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING (threadid) WHERE post.parentid = 0',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
       );
        
    		// Setup any table joins needed for the topic section
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'TOPIC_ID',
    			'join_tablename'  => 'FORUM_TOPICS',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING FORUM_REPLY.TOPIC_ID = FORUM_TOPICS.TOPIC_ID',
    			'from_expression' => 'WHERE FORUM_FORUM.TOPIC_ID = 0',
    			'to_type'         => 'topic'
    		);
    
    		/** Tags Section ******************************************************/
    
    		
    
    		/** Topic Subscriptions Section ***************************************/
    
    		/** Favorites Section *************************************************/
    
    		// Favorited topic ID (Stored in usermeta)
    
    		/** Reply Section *****************************************************/
    
    		// Setup table joins for the reply section at the base of this section
    
    		// Old reply id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'REPLY_ID',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_old_reply_id'
    		);
    
    		// Reply parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'FORUM_ID',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Reply parent topic id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'TOPIC_ID',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_topic_id',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_IP',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Reply author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_AUTHOR',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Reply title and reply slugs
    		// Note: We don't actually want either a reply title or a reply slug as
    		//       we want single replies to use their ID as the permalink.
    
    		// Reply content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_MESSAGE',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    	/* Snizt doesnt use reply order
    		// Reply order.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'the_reply_order',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'menu_order'
    		);
    */
    		// Reply parent topic id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'TOPIC_ID',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_DATE',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_DATE',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_DATE',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_REPLY',
    			'from_fieldname'  => 'R_DATE',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    
    		// Setup any table joins needed for the reply section
    	/*	$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_TOPICS',
    			'from_fieldname'  => 'TOPIC_ID',
    			'join_tablename'  => 'FORUM_REPLY',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING FORUM_TOPICS.TOPIC_ID = FORUM_REPLY.TOPIC_ID',
    			'from_expression' => 'WHERE FORUM_TOPICS.first_post != 0',
    			'to_type'         => 'reply'
    		);*/
    
    		/** User Section ******************************************************/
    
    		// Setup table joins for the user section at the base of this section
    
    		// Store old user id (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'MEMBER_ID',
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_old_user_id'
    		);
    
    		// Store old user password (Stored in usermeta serialized with salt)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_PASSWORD',
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_password',
    			'callback_method' => 'callback_savepass'
    		);
    
    		// Store old user salt (This is only used for the SELECT row info for the above password save)
    	/*	$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'the_users_password_salt',
    			'to_type'         => 'user',
    			'to_fieldname'    => ''
    		);*/
    
    		// User password verify class (Stored in usermeta for verifying password)
    		/*$this->field_map[] = array(
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_class',
    			'default' => 'Example'
    		);*/
    
    		// User name.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_NAME',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_login'
    		);
    
    		// User nice name.
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_MEMBERS',
    			'from_fieldname' => 'M_NAME',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_nicename'
    		);
    
    		// User email.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_EMAIL',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_email'
    		);
    
    		// User homepage.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_HOMEPAGE',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_url'
    		);
    
    		/* Snitz doesn't use user registered
    		// User registered.
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'the_users_registration_date',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_registered',
    			'callback_method' => 'callback_datetime'
    		);
    */
    /* Snitz doesn't use user status
    		// User status.
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_MEMBERS',
    			'from_fieldname' => 'the_users_status',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_status'
    		);
    */
    
    		// User display name.
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_MEMBERS',
    			'from_fieldname' => 'M_NAME',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'display_name'
    		);
    
    		// User Profile Field 1 (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_AIM',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'aim'
    		);
    
    		// User Profile Field 2 (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'FORUM_MEMBERS',
    			'from_fieldname'  => 'M_YAHOO',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'yim'
    		);
    
    		// User Profile Field 3 (Stored in usermeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'FORUM_MEMBERS',
    			'from_fieldname' => 'M_SIG',
    			'to_type'        => 'user',
    			'to_fieldname'   => '_bbp_snitz_user_sig'
    		);
    
    		// Setup any table joins needed for the user section
    	/*	$this->field_map[] = array(
    			'from_tablename'  => 'users_profile_table',
    			'from_fieldname'  => 'the_users_id',
    			'join_tablename'  => 'FORUM_MEMBERS',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING users_profile_table.MEMBER_ID = FORUM_MEMBERS.MEMBER_ID',
    			'from_expression' => 'WHERE FORUM_MEMBERS.MEMBER_ID != -1',
    			'to_type'         => 'user'
    		);*/
    	}
    
    	/**
    	 * This method allows us to indicates what is or is not converted for each
    	 * converter.
    	 */
    	public function info() {
    		return '';
    	}
    
    	/**
    	 * This method is to save the salt and password together.  That
    	 * way when we authenticate it we can get it out of the database
    	 * as one value. Array values are auto sanitized by WordPress.
    	 */
    	public function callback_savepass( $field, $row ) {
    		$pass_array = array( 'hash' => $field, 'salt' => $row['salt'] );
    		return $pass_array;
    	}
    
    	/**
    	 * This method is to take the pass out of the database and compare
    	 * to a pass the user has typed in.
    	 */
    	public function authenticate_pass( $password, $serialized_pass ) {
    		$pass_array = unserialize( $serialized_pass );
    		return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
    	}
      
      
    	/**
    	 * Translate the forum status from Snitz v3.x numeric's to WordPress's strings.
    	 *
    	 * @param int $status Snitz v3.x numeric forum status
    	 * @return string WordPress safe
    	 */
    	public function callback_forum_status( $status = 1 ) {
    		switch ( $status ) {
    			case 0 :
    				$status = 'closed';     // Snitz forum status closed 'F_STATUS = 0'
    				break;
    
    			case 1 :
    			default :
    				$status = 'open';       // Snitz forum status open 'F_STATUS = 1'
    				break;
    		}
    		return $status;
    	}
    
    	/**
    	 * Translate the topic status from Snitz v3.x numeric's to WordPress's strings.
    	 *
    	 * @param int $status Snitz v3.x numeric topic status
    	 * @return string WordPress safe
    	 */
    	public function callback_topic_status( $status = 1 ) {
    		switch ( $status ) {
    			case 0 :
    				$status = 'closed';     // Snitz topic status closed 'T_STATUS = 0'
    				break;
    
    			case 1 :
    			default :
    				$status = 'publish';    // Snitz topic status open 'T_STATUS = 1'
    				break;
    		}
    		return $status;
    	}
    
    	/**
    	 * Translate the topic sticky status type from Snitz 3.x numeric's to WordPress's strings.
    	 *
    	 * @param int $status Snitz 3.x numeric forum type
    	 * @return string WordPress safe
    	 */
    	public function callback_sticky_status( $status = 0 ) {
    		switch ( $status ) {
    			case 1 :
    				$status = 'sticky';       // Snitz Sticky 'T_STICKY = 1'
    				break;
    
    			case 0  :
    			default :
    				$status = 'normal';       // Snitz normal topic 'T_STICKY = 0'
    				break;
    		}
    		return $status;
    	}
    }
    
    
    #214182
    Mark Smith
    Participant

    We understand that Yoast and bbPress may not be fully integrated. We have an open-issue report here: https://github.com/Yoast/wordpress-seo/issues/7332 which seeks to do that. We suggest commenting on the issue so you may be kept aware of updates. You may need to create an account in order to do that.

    #214160
    Robin W
    Moderator

    yes if you don’t want the hassle of css editing, then this may well do all the css you need to change

    bbp style pack

    #214141
    Robin W
    Moderator

    I think this should do it, but check that it works, and try it from topics/replies freshness etc.

    add_filter ('bbp_get_user_slug' , 'rew_get_user_slug' ) ;
    
    function rew_get_user_slug ($slug) {
    	$default = 'users' ;
    	// Filter & return
    	return apply_filters( 'rew_get_user_slug', get_option( '_bbp_user_slug', $default ) );
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #214127
    Robin W
    Moderator

    but yes, looks like the way conversion works is different, so use the new ‘to’ and just out your snitz from.

    I think this might be your problem

    CRITICALLY I also added the following as the example doesn’t had a bit that brings the actual topic content across !

    in the first post above.

    If you are starting again then make sure you blank the forums in wordpress first, so it does the whole job again

    dashboard>forums>reset forums.

    #214060
    smith512
    Participant

    I am worried about that “GD Power Search for bbPress” is not verified my wordpress version.
    Do you intend to update this?

    #214056
    Robin W
    Moderator

    yes this seems to be a bug.

    in

    \bbpress\includes\forums\functions.php

    line 197 has

    // No forum parent was passed (should never happen)
    	if ( empty( $forum_parent_id ) ) {
    		bbp_add_error( 'bbp_new_forum_missing_parent', __( '<strong>ERROR</strong>: Your forum must have a parent.', 'bbpress' ) );

    but a top level forum will have zero so empty !

    (I’m not a bbpress author, I just help moderate here, so not under my direct powers to change)

    To correct this for another user, I did the following :

    created a hidden forum – then noted the ID (in this case 4537)

    then in

    \bbpress\templates\default\bbpress\form-forum.php

    changed line 138 etc. from

    <p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>

    to

    <?php
    					//the code in incudes/forums/functions won't let post parent be blank.
    					//to get this to work, we have created a hidden forum in the site.  This forums ID is 4537
    					//if the hidden forum exists, then use this forums id 
    					//otherwise show the post parent section
    					$forum_parent_id = bbp_get_forum_id( 4537 );
    					if (!empty( $forum_parent_id )) { ?>
    					 <input type="hidden" id="bbp_forum_parent_id" name="bbp_forum_parent_id" value="4537">
    					 <?php
    					}
    					else {
    					?>
    					<p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>
    					<?php } ?>

    This template then gets saved to your child themes directory as

    wp-content/themes/%your-theme-name%/bbpress/form-forum.php

    bbPress will now use this template instead of the original

    Finally, add an action to re-write the parent forum from 4537 to zero post forum creation

    add_action( 'bbp_new_forum_post_extras', 'ltc_limit_forum', 10 ,1  );
    
    function ltc_limit_forum ($forum_id) {
    	//this function is fired when a forum is created
    	//set post parent to zero
    	wp_update_post(
    		array(
    			'ID' => $forum_id, 
    			'post_parent' => 0
    			)
    	);
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    You could amend that function to have an if statement so if forum parent is 4537 then create forum parent as 0, but in this case there were no times when a sub forum was being created, so it was not needed.

    I know this is quite convoluted, but it worked !!

    There is a trac ticket for this issue somewhere, so the authors are aware

    #214049
    Milan Petrovic
    Participant

    Your code doesn’t look complete. You posted ‘my_bbp_filter_search_results’, but there is no filter it is tied into. Which filter did you use to hook this function too?

    I can recommend you trying my advanced search plugin: GD Power Search for bbPress – https://wordpress.org/plugins/gd-power-search-for-bbpress/ it allows you to select forums to search through and other things.

    Milan

    #214027
    hellojesse
    Participant

    My plugin is rejeceted, here is their reply:
    Your plugin has been rejected because it is a duplicate of another plugin, already hosted on WordPress.org

    My answer was this:
    The reason why I did it is because, I do have client and he checked your plugin and he said that "This plugin hasn’t been tested with the latest 3 major releases of WordPress." So he feels insecure. I have tested with WordPress and bbPress and it works fine.

    #214015
    petergariepy
    Participant

    A boatload unfortunately.

    Admin Columns
    Adminimize
    Advanced Classifieds and Directory Pro
    Advanced Custom Fields
    Advanced Custom Fields PRO
    All-in-One WP Migration
    All-in-One WP Migration Unlimited Extension
    amr shortcode any widget
    bbP shortcodes
    bbPress
    bbPress Style
    bbpress wp4 fix
    bbpress wp4 fix2
    Better Search Replace
    Bulk Delete
    Check Email
    Classic Editor
    Code Snippets
    Contact Form 7
    Envato Market
    Events Manager
    Events Manager Pro
    GA Google Analytics
    Goodlayers Core
    Goodlayers Personnel Post Type
    Goodlayers Portfolio Post Type
    Goodlayers Twitter
    Google XML Sitemaps
    Horizontal scrolling announcements
    If Menu – Visibility control for menu items
    Image Upload for BBPress
    Image Upload for bbPress Pro
    Intuitive Custom Post Order
    Login or Logout Menu Item
    Magic Liquidizer Responsive Table
    Maintenance
    ManageWP – Worker
    Media Cleaner
    Media Deduper
    MemberPress Developer Tools
    MemberPress Importer
    MemberPress Plus
    PAS Vehicle
    PDF Embedder
    Plugin
    Pricing Table by Supsystic
    Really Simple CSV Importer
    Redux Framework
    Reveal IDs
    Search & Replace
    Simple File List
    Simple Lightbox
    Slider Revolution
    Snazzy Maps
    Toolset Types
    Toolset Views
    UpdraftPlus – Backup/Restore
    User Role Editor
    User Switching
    WordPress Importer
    WP All Export Pro
    WP All Import – ACF Add-On
    WP All Import Pro
    WP Engine Automated Migration
    WP Google Map Plugin
    WP phpMyAdmin
    WP-Optimize – Clean, Compress, Cache
    WPForms
    WPForms Custom Captcha
    WPForms PayPal Standard
    WPForms Stripe

    #214014
    Robin W
    Moderator

    bboress notifications are sent from and to the same address, with the actual recipients being BCC’d on the email.

    This is a popular way that many people send a single email without letting the recipients see each other.

    You probably receive emails this way from some companies.

    If you don’t want this, then use

    AsynCRONous bbPress Subscriptions

    but some hosters may limit the number of emails sent at one time – again seeing these as spam.

    There is no right answer – just choose the solution that suits you.

    2cats
    Participant

    I’m running bbPress 2.6.5 with WordPress 5.4.2, and using SendGrid to process notifications. When I check the SendGrid activity log, I see that the forum notifications, which are being sent from a “noreply@domainname” email address, are also being delivered TO that same “noreply” email address. I have searched every setting and can’t find any reason why emails would be sent to that address. Does anyone know how this could happen? My hosting company tells me this could be seen as spam, which could affect delivery. The forums are members-only so I can’t post a link. Any advice would be greatly appreciated.

    #214001
    martinrtr
    Participant

    Nice – thanks Robin – I’m just getting my mind round BBPress for the first time. In the intro blurb there was a statement along the lines of ‘BBPress is develkped by wordpress and, as such uses wordpress core for its functionality’. I read this but clearly didn’t register it!
    Thank you for you help
    Martin

    #214000
    Robin W
    Moderator

    bbpress simply uses WordPress registration and login, so any plugin that does wordpress registration will work for bbpress.

    Therefore rather than trying to amend the bbpress registration, I’d probably just use a wordpress registration plugin, there are lots – just google ‘worpdress registration plugin’

    this is a list of popular ones

    10 Best WordPress User Registration Plugins to Power Up Your Site

Viewing 25 results - 2,201 through 2,225 (of 26,818 total)
Skip to toolbar