Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 51 through 75 (of 58,620 total)
  • Author
    Search Results
  • iconstudios
    Participant

    Hi,

    I’m looking for a plugin to show live mini popup (toast) notifications when a new topic is created in BBPress, something like what SalesPop (https://wordpress.org/plugins/sales-pop/) for Wocommerce has to offer.

    Any recommendations?

    #200571
    9march
    Participant

    Hi robin,

    I have the same issue on my site, I added the code as it is but when i give a user the ‘tutor’ role, After saving the role disappears and the user has no bbpress role assigned to them.Even i i signup as a subscriber, If the default role is set to be ‘tutor’ The newly registered user ends up with no bbpress role.

    Thanks,

    unclebob1zt
    Participant

    Running the latest version of WordPress and BBPress, (have Buddypress loaded, but I deactivated it, just so I can focus on learning BBPress right now). Been rolling it around in my head what is the best way to create a Business Directory on my site. Thought maybe I could do this through BBPress somehow, but after spending hours last night going down rabbit holes on the forum, (they were great knowledge, just too much time involved), I figured just ask 😳🙈😅🤪. I am trying to come as close as I can to mimicking https://www.ncfarmfresh.com/farms.asp . I do not have enough experience, (YET), to know what they are using to do this. I like https://businessdirectoryplugin.com/business-directory/ , but, I have great concern getting locked into expensive updates. I read a seven year old post in this forum, suggesting to someone else asking the same question, that they use custom Post Categories. I thought long and hard on that, but I don’t see where it would work like I am needing. Any solid suggestions?

    #200567
    Barry
    Participant

    Hmm, it’s possible there is some sort of conflict happening.

    It occasionally happens, for instance, that other plugins (or even your theme) generate additional admin menu entries at exactly the same position used by another plugin (in this case, bbPress). In such a case, one will ‘win’ and the other will not be visible. I don’t know that that is what is happening here, but it’s an example of the sort of conflict that is possible.

    Do you have a staging or testing site where you can deactivate all other plugins (except for bbPress) and switch to a default theme—do the admin menu items show up then?

    Alternatively, you could make use of the (humorously-named, but useful) poopy.life service to generate a brand new WordPress sandbox. It only stays alive for 24hrs, but that would possibly be enough time to see if you can install bbPress and use it successfully in a ‘clean’ environment. If you can, that would again indicate there is some kind of conflict on your live site.

    You could even troubleshoot ‘in reverse’ via this sandbox site, by incrementally adding your theme and other plugins and checking to see if any introduce this particular problem.

    #200565
    mcatselfprep
    Participant

    I just installed bbpress, but the bbpress menu items are not visible in the wordpress admin dashboard. I tried deactivating all other plugins and even switching themes, but the menu items remain invisible.

    Wordpress Version: 5.0.4
    bbPress Version: 2.5.14
    Site: mcatselfprep.com

    #200522
    steve01351
    Participant
    #200521
    kjhjkhjk
    Participant

    In all the post of the forum in general

    I mean when someone uploads an image, automatically reduce the size of the youtube video embed content.

    For the images, I used this CSS code and works fine

    #bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
    max-width: 500px;
    max-height:450px;
    height: auto;
    }

    But for the videos embed I still have the problem

    #200506
    brahman111
    Participant

    Hi guys,

    From some days ago I realised that in the forum of my courses visual editor doesn’t work and in the reaplying area is simply showing html editor as I am showing in this picture: http://i63.tinypic.com/15cyold.png

    Before It was working perfectly but all of the sudden something changed, I am using TinyMCE, just in case that gives more information.

    Actually I realised that in this forum from BBpress is happening the same, now I am writting and it doesn’t show a regular visual editor..

    ¿Is there any way to fix this?

    Thank you.

    kjhjkhjk
    Participant

    Hello, I’m trying to reduce the size of the images posted in the forums and replies, but I just found answers in this forum, from 6 years ago or more, that applies too for the embed and width of video contents. I just see very old answers with classes that don’t even exist in bbpress.

    So I ask for a recent or valid answer, how can I change the size of videos and images in the post?

    Thanks.

    #200499
    stinsonowners108
    Participant

    I have taken over an aviation club website from a guy that had stuff spread all over the place.
    I’m trying to centralize so that I and those after me can easily manage the site.

    I would like to move his phpbb forum to BBPress so I can protect some sections of the forum using MemberPress.

    I used Fivvr to try to get it transferred but the guy didn’t really know what he was doing.

    I have a phpbb backup and need help migrating.

    As an extra challenge, I have a backup from a Yahoo Groups and Facebook group that I would love to migrate into BBPress as well.

    This is a small aircraft owner site with less than about 400 members so my budget is not large, but I would like to work with someone to get it done.

    http://stinsonowners.org is the site. where you can see the Fivvr developer got data into BBPress but its not right.

    My direct email is @me.com">will.ware@me.com if you can help.

    #200489
    Robin W
    Moderator
    #200488
    spellman
    Participant

    I’m trying to figure out how to add shortcodes/bbcode to my bbpress website. I used to do this a lot with phpbb, but I can’t figure out how to do it with bbpress.

    I want my users to be able to type in [card]Serra Angel[/card] and have the posted code be <div class=”card”>Serra Angel</div>.

    How can I add this? Ideally, it would reside in forum posts as button, much like the LINK IMG CODE etc buttons.

    itsmescotty
    Participant

    Hi,

    I’m looking for insight into a bbPress point/reward system that can be setup with triggers (like posts, replies, post ratings) and the option to use these points to actually redeem physical items on the backend.

    In short, I don’t want a points system that simply hands out badges and titles, but give members the ability to actually participate and use the points they earn to order items like backpacks, giftcards and other items of value under $100.

    Thanks in advance for any thoughts!

    garfy
    Participant

    I have two sites with bbpress and several other WP sites with no bbpress forum….On these two sites my comments get disabled automatically after a few days, so people cant comment anymore….
    I could not figure out what is this happening. I suspected themes, other plugins, but what these two sites had in common is your plugin….

    So why is your plugin doing this? It ticks the box under setting/discussion
    https://snag.gy/KD0qOh.jpg

    Why is this happening, after disabling bbpres on both sites, comments stay open…..I had my comments disabled for few months, I did not even notice and users could not comment at all….

    #200469
    antonv
    Participant

    try bbPress Topics for Posts
    I am using it – works well.

    Also take note of: this support topic

    #200468
    antonv
    Participant

    Sorry guys – it was my mistake, filename was wrong bbpress[blank].css

    #200458
    Barry
    Participant

    Using 2.6-rc-7 (and testing against Twenty Seventeen) I don’t seem to experience the same problem: if I locate a copy of that same stylesheet within:

    themes/twentyseventeen/css/bbpress.css

    It is loaded as expected, instead of the default version.

    #200453
    dekudigital
    Participant

    Hello all.

    I have done a fair bit of research on this topic already and have made some progress.

    I have managed to get the BBPress importer working on a few occasions (using localhost and also remotely) and I know it’s working because it starts converting the users, then moves on to forums, topics etc.

    I did actually manage one full successful import, not sure how exactly but since then I’ve been struggling.

    I had to manually create the following blank columns just to get the importer started:

    USERS
    user_website
    user_aim
    user_yim
    user_icq
    user_msnm
    user_occ
    user_interests
    user_from

    TOPICS
    topic_replies
    topic_replies_real

    FORUMS
    forum_recent_topics
    forum_topics
    forum_posts
    forum_topics_real

    More recently the importer just seems to be getting stuck.

    I have 1333 users in my forum, after the importer has converted all the users (1300-1399) it just stops. It does actually import all the users correctly but then it doesn’t move on to the next task.

    When I don’t include users, it converts the forums and hierarchy, but then freezes on converting topics (0-99).

    It just doesn’t seem to be working smoothly.

    I am contemplating upgrading the forum from phpbb 3.1.9 to 3.2 using this guide:
    https://www.phpbb.com/support/docs/en/3.2/ug/upgradeguide/upgrade31/

    Tt seems like a lot of work and I’m not sure it will make such a difference with regards to this task.

    If anybody has faced any similar issues doing this import (freezing at certain points, not moving on to the next task etc).

    Any help would be MASSIVELY appreciated.

    Thanks
    Antony

    #200451
    pofferson
    Participant

    Found the Option.
    Need the Stylepack form bbpress and going to Design -> Widgets -> Tag-Cloud (Taxonomie: Topic Tags).

    Thx in advance

    #200449
    pofferson
    Participant

    Hello fellows and fellerias,

    iam pretty new to bbpress, looked at the blog/support, and couldnt find a solution for my problem.
    I need to install a field at the homepage (www.pro-heilpraxis.vital-life.de), where all the Topic Tags are shown like the tags on this website (left field, with the big and small “tags” to show.)

    I want to insert it in the sidebar, but couldnt find any plugin for it. Is there a simple solution for it ?

    WP 5.2
    bbPress 2.5.14-6684.

    #200425
    antonv
    Participant

    Hi guys, I am developing a website using 2.6-rc-7, and changing the default look of bbpress. (paged and threaded replies with alternating gray white backgrounds)

    I have one problem the style sheet located .../theme/ccs/bbpress.css is not loaded,

    I ended up in putting the css code into the theme style and deleting the default styles of the plugin.

    This is either a bug in 2.6-rc-7 or I am missing some coding finesse to make this happen. Any ideas?

    WP 5.2, PHP 7.1,

    PS. bbp 2.5.14 does not have above problem.

    #200406
    Benjamin
    Participant

    I think I may have fixed it. Time to run another import. I’ve made the following changes to the import script.

    <?php
    
    /**
     * Implementation of ECO Forums converter.
     *
     * @since bbPress (r4689)
     * @link Codex Docs https://codex.bbpress.org/import-forums/custom-import
     */
    class VSI extends BBP_Converter_Base {
    
    	/**
    	 * Main Constructor
    	 *
    	 * @uses Example_Converter::setup_globals()
    	 */
    	function __construct() {
    		parent::__construct();
    		$this->setup_globals();
    	}
    
    	/**
    	 * Sets up the field mappings
    	 */
    	public function setup_globals() {
    
    		/** Forum Section *****************************************************/
    
    		// Setup table joins for the forum section at the base of this section
    
    		// Forum id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_forum_id'
    		);
    
    		// Forum parent id (If no parent, then 0. Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'forums_table',
    		//	'from_fieldname'  => 'the_parent_id',
    		//	'to_type'         => 'forum',
    		//	'to_fieldname'    => '_bbp_forum_parent_id'
    		//);
    
    		// Forum topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'ECOFORUMS_FORUMS',
    			'from_fieldname' => 'numberoftopics',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		);
    
    		// Forum reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'ECOFORUMS_FORUMS',
    			'from_fieldname' => 'numberofreplies',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_reply_count'
    		);
    
    		// Forum total topic count (Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'forums_table',
    		//	'from_fieldname' => 'the_total_topic_count',
    		//	'to_type'        => 'forum',
    		//	'to_fieldname'   => '_bbp_total_topic_count'
    		//);
    
    		// Forum total reply count (Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'forums_table',
    		//	'from_fieldname' => 'the_total_reply_count',
    		//	'to_type'        => 'forum',
    		//	'to_fieldname'   => '_bbp_total_reply_count'
    		//);
    
    		// Forum title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumtitle',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Forum slug (Clean name to avoid confilcts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'forums_table',
    		//	'from_fieldname'  => 'the_forum_slug',
    		//	'to_type'         => 'forum',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Forum description.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumdescription',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_null'
    		);
    
    		// Forum display order (Starts from 1)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumorder',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'menu_order'
    		);
    
    		// 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'
    		//);
    
    		/** Topic Section *****************************************************/
    
    		// Setup table joins for the topic section at the base of this section
    
    		// Topic id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'messageid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_topic_id'
    		);
    
    		// Topic reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'replycount',
    			'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'  => 'topics_table',
    		//	'from_fieldname'  => 'the_total_topic_reply_count',
    		//	'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'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Topic author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'memberid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Topic author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'ipaddress',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Topic content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forummessage',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumsubject',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Topic slug (Clean name to avoid conflicts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_slug',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Topic parent forum id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Sticky status (Stored in postmeta))
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_sticky_status',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => '_bbp_old_sticky_status',
    		//	'callback_method' => 'callback_sticky_status'
    		//);
    
    		// Topic dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_modified_date',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => '_bbp_last_active_time',
    		//	'callback_method' => 'callback_datetime'
    		//);
    
    		// Setup any table joins needed for the topic section
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'threadid',
    			'join_tablename'  => 'topics_table',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING replies_table.the_topic_id = topics_table.the_topic_id',
    			'from_expression' => 'WHERE ECOFORUMS_MESSAGES.threadid = 0',
    			'to_type'         => 'topic'
    		);
    
    		
    		/** Reply Section *****************************************************/
    
    		// Setup table joins for the reply section at the base of this section
    
    		// Reply id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'threadid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_post_id'
    		);
    
    		// Reply parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_topicid_to_forumid'
    		);
    
    		// Reply parent topic id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'replyto',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_topic_id',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'ipaddress',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Reply author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'memberid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Reply title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumsubject',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Reply slug (Clean name to avoid conflicts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'the_reply_slug',
    		//	'to_type'         => 'reply',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Reply content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forummessage',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Reply order.
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'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'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'threadid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'dateupdate',
    		//	'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'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'threadid',
    			'join_tablename'  => 'replies_table',
    			'join_type'       => 'INNER',
    			'join_expression' => 'USING topics_table.the_topic_id = replies_table.the_topic_id',
    			'from_expression' => 'WHERE ECOFORUMS_MESSAGES.replyto != 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'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'member_id',
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_user_id'
    		);
    
    		// Store old User password (Stored in usermeta serialized with salt)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'userpassword',
    			'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'  => 'users_table',
    		//	'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'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'login_id',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_login'
    		);
    
    		// User nice name.
    		$this->field_map[] = array(
    			'from_tablename' => 'ECO_MEMBERS',
    			'from_fieldname' => 'login_id',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_nicename'
    		);
    
    		// User email.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'emailaddress',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_email'
    		);
    
    		// User homepage.
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_homepage_url',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'user_url'
    		//);
    
    		// User registered.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'accountcreated',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_registered',
    			'callback_method' => 'callback_datetime'
    		);
    
    		// User status.
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users_table',
    		//	'from_fieldname' => 'the_users_status',
    		//	'to_type'        => 'user',
    		//	'to_fieldname'   => 'user_status'
    		//);
    
    		// User display name.
    		$this->field_map[] = array(
    			'from_tablename' => 'ECO_MEMBERS',
    			'from_fieldname' => 'login_id',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'display_name'
    		);
    
    		// User AIM (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_aim',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'aim'
    		//);
    
    		// User Yahoo (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_yahoo',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'yim'
    		//);
    
    		// User Jabber (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users_table',
    		//	'from_fieldname' => 'the_users_jabber',
    		//	'to_type'        => 'user',
    		//	'to_fieldname'   => 'jabber'
    		//);
    
    		// 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'  => 'users_table',
    		//	'join_type'       => 'INNER',
    		//	'join_expression' => 'USING users_profile_table.the_user_id = users_table.the_user_id',
    		//	'from_expression' => 'WHERE users_table.the_user_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'] ) );
    	}
    }
    
    Benjamin
    Participant

    So I’m converting a forum that was originally written in Coldfusion. I have imported the data into MySQL and thought I had the forum converting correctly (all the threads were imported). However it seems like replies were added as topics and not joined with the topic they were associated with. I’ve banged my head against this problem and now have to ask for help from people who know much more than I do. In exchange I will buy you a coffee or dinner 🙂

    Here’s a screenshot of the database I’m importing from

    DB
    and the result
    Result

    Here is my importing script

    <?php
    
    /**
     * Implementation of ECO Forums converter.
     *
     * @since bbPress (r4689)
     * @link Codex Docs http://codex.bbpress.org/import-forums/custom-import
     */
    class VSI extends BBP_Converter_Base {
    
    	/**
    	 * Main Constructor
    	 *
    	 * @uses Example_Converter::setup_globals()
    	 */
    	function __construct() {
    		parent::__construct();
    		$this->setup_globals();
    	}
    
    	/**
    	 * Sets up the field mappings
    	 */
    	public function setup_globals() {
    
    		/** Forum Section *****************************************************/
    
    		// Setup table joins for the forum section at the base of this section
    
    		// Forum id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'forum',
    			'to_fieldname'    => '_bbp_forum_id'
    		);
    
    		// Forum parent id (If no parent, then 0. Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'forums_table',
    		//	'from_fieldname'  => 'the_parent_id',
    		//	'to_type'         => 'forum',
    		//	'to_fieldname'    => '_bbp_forum_parent_id'
    		//);
    
    		// Forum topic count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'ECOFORUMS_FORUMS',
    			'from_fieldname' => 'numberoftopics',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_topic_count'
    		);
    
    		// Forum reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename' => 'ECOFORUMS_FORUMS',
    			'from_fieldname' => 'numberofreplies',
    			'to_type'        => 'forum',
    			'to_fieldname'   => '_bbp_reply_count'
    		);
    
    		// Forum total topic count (Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'forums_table',
    		//	'from_fieldname' => 'the_total_topic_count',
    		//	'to_type'        => 'forum',
    		//	'to_fieldname'   => '_bbp_total_topic_count'
    		//);
    
    		// Forum total reply count (Stored in postmeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'forums_table',
    		//	'from_fieldname' => 'the_total_reply_count',
    		//	'to_type'        => 'forum',
    		//	'to_fieldname'   => '_bbp_total_reply_count'
    		//);
    
    		// Forum title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumtitle',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Forum slug (Clean name to avoid confilcts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'forums_table',
    		//	'from_fieldname'  => 'the_forum_slug',
    		//	'to_type'         => 'forum',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Forum description.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumdescription',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_null'
    		);
    
    		// Forum display order (Starts from 1)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_FORUMS',
    			'from_fieldname'  => 'forumorder',
    			'to_type'         => 'forum',
    			'to_fieldname'    => 'menu_order'
    		);
    
    		// 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'
    		//);
    
    		/** Topic Section *****************************************************/
    
    		// Setup table joins for the topic section at the base of this section
    
    		// Topic id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'messageid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_topic_id'
    		);
    
    		// Topic reply count (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'replycount',
    			'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'  => 'topics_table',
    		//	'from_fieldname'  => 'the_total_topic_reply_count',
    		//	'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'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Topic author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'memberid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Topic author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'ipaddress',
    			'to_type'         => 'topic',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Topic content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forummessage',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumsubject',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Topic slug (Clean name to avoid conflicts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_slug',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Topic parent forum id (If no parent, then 0)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Sticky status (Stored in postmeta))
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_sticky_status',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => '_bbp_old_sticky_status',
    		//	'callback_method' => 'callback_sticky_status'
    		//);
    
    		// Topic dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_modified_date',
    		//	'to_type'         => 'topic',
    		//	'to_fieldname'    => '_bbp_last_active_time',
    		//	'callback_method' => 'callback_datetime'
    		//);
    
    		// Setup any table joins needed for the topic section
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'the_topic_id',
    		//	'join_tablename'  => 'topics_table',
    		//	'join_type'       => 'INNER',
    		//	'join_expression' => 'USING replies_table.the_topic_id = topics_table.the_topic_id',
    		//	'from_expression' => 'WHERE forums_table.the_topic_id = 0',
    		//	'to_type'         => 'topic'
    		//);
    
    		
    		/** Reply Section *****************************************************/
    
    		// Setup table joins for the reply section at the base of this section
    
    		// Reply id (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'threadid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_post_id'
    		);
    
    		// Reply parent forum id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_forum_id',
    			'callback_method' => 'callback_topicid_to_forumid'
    		);
    
    		// Reply parent topic id (If no parent, then 0. Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'replyto',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_topic_id',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply author ip (Stored in postmeta)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'ipaddress',
    			'to_type'         => 'reply',
    			'to_fieldname'    => '_bbp_author_ip'
    		);
    
    		// Reply author.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'memberid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    
    		// Reply title.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forumsubject',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_title'
    		);
    
    		// Reply slug (Clean name to avoid conflicts)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'the_reply_slug',
    		//	'to_type'         => 'reply',
    		//	'to_fieldname'    => 'post_name',
    		//	'callback_method' => 'callback_slug'
    		//);
    
    		// Reply content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'forummessage',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);
    
    		// Reply order.
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'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'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'replyto',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_parent',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Reply dates.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'datecreated',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'datecreated',
    		//	'to_type'         => 'reply',
    		//	'to_fieldname'    => 'post_date_gmt',
    		//	'callback_method' => 'callback_datetime'
    		//);
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECOFORUMS_MESSAGES',
    			'from_fieldname'  => 'dateupdate',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'replies_table',
    		//	'from_fieldname'  => 'dateupdate',
    		//	'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'  => 'topics_table',
    		//	'from_fieldname'  => 'the_topic_id',
    		//	'join_tablename'  => 'replies_table',
    		//	'join_type'       => 'INNER',
    		//	'join_expression' => 'USING topics_table.the_topic_id = replies_table.the_topic_id',
    		//	'from_expression' => 'WHERE topics_table.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'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'member_id',
    			'to_type'         => 'user',
    			'to_fieldname'    => '_bbp_user_id'
    		);
    
    		// Store old User password (Stored in usermeta serialized with salt)
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'userpassword',
    			'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'  => 'users_table',
    		//	'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'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'login_id',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_login'
    		);
    
    		// User nice name.
    		$this->field_map[] = array(
    			'from_tablename' => 'ECO_MEMBERS',
    			'from_fieldname' => 'login_id',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'user_nicename'
    		);
    
    		// User email.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'emailaddress',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_email'
    		);
    
    		// User homepage.
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_homepage_url',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'user_url'
    		//);
    
    		// User registered.
    		$this->field_map[] = array(
    			'from_tablename'  => 'ECO_MEMBERS',
    			'from_fieldname'  => 'accountcreated',
    			'to_type'         => 'user',
    			'to_fieldname'    => 'user_registered',
    			'callback_method' => 'callback_datetime'
    		);
    
    		// User status.
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users_table',
    		//	'from_fieldname' => 'the_users_status',
    		//	'to_type'        => 'user',
    		//	'to_fieldname'   => 'user_status'
    		//);
    
    		// User display name.
    		$this->field_map[] = array(
    			'from_tablename' => 'ECO_MEMBERS',
    			'from_fieldname' => 'login_id',
    			'to_type'        => 'user',
    			'to_fieldname'   => 'display_name'
    		);
    
    		// User AIM (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_aim',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'aim'
    		//);
    
    		// User Yahoo (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename'  => 'users_table',
    		//	'from_fieldname'  => 'the_users_yahoo',
    		//	'to_type'         => 'user',
    		//	'to_fieldname'    => 'yim'
    		//);
    
    		// User Jabber (Stored in usermeta)
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users_table',
    		//	'from_fieldname' => 'the_users_jabber',
    		//	'to_type'        => 'user',
    		//	'to_fieldname'   => 'jabber'
    		//);
    
    		// 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'  => 'users_table',
    		//	'join_type'       => 'INNER',
    		//	'join_expression' => 'USING users_profile_table.the_user_id = users_table.the_user_id',
    		//	'from_expression' => 'WHERE users_table.the_user_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'] ) );
    	}
    }
    
    privatec2
    Participant

    Hi All,
    I am setting up a site to help me learn, so all this is very new to me so apologies for the silly questions if it seems straight forward to others,
    My Site is: martialartsavenue.com
    I am using AVADA themed WordPress, vers 5.9.1
    I have several plugins installed, including BBpress Version 2.5.14 and BuddyPress Version 4.3.0.

    Steps to Troubleshoot:
    -Spent hours on Google looking for other occurances and found several reports from years ago, and code suggestions, however i do not know how to code and scared it will cause more harm,
    -I tried disabling BuddyPress plugins but still no difference.
    -Tried creating a noreply@martialartsavenue.com email address in case anything was being sent to that, and confirmed nothing recieved.
    -I checked with my host- siteground that they couldn’t see anything being blocked on their Mail systems, nothing appearing to be the cause on their side.
    -Tried finding settings where i can add/modify email addresses or Enable/Disable who gets what and can not find.

    So, I would like to know, is there any fixes for this, or are others getting it as well
    -Any other suggestions I could try to fix it with?
    -Also, is the Site Admin meant to also get a copy of an email to all new Topics, or just the Creators?
    thanks,

    #200358
    Robin W
    Moderator

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Then come back

Viewing 25 results - 51 through 75 (of 58,620 total)
Skip to toolbar