Search Results for ' . default . '
-
Search Results
-
Forum Index (does same thing when using shortcodes), Child Forum, and Topics:

After upgrading to 2.6 RC 7, and doing forum repairs, I lost the header, categories and formatting for my forum index and child forums. The topics work just fine still.
To troubleshoot, I deactivated all plugins, removed bbPress, activated the default 17 theme, and removed my primary theme. If I re-install/activate bbpress, the index and children headers then show up, albeit without the default styling.
So I reinstalled my theme (which has native bbpress/buddypress support built in), re-activated bbpress, and the headers/categories/formatting disappeared again.
I wanted to think it was a css issue, but I had re-installed everything fresh. So it appears something corrupted my database, tied specifically to my theme. Any recommendations for how to “fix” the repairs and undo the damage?
For the life of me I cannot figure out how to fix this without a wholesale home home directory and sql db restoral. But I’d lose WEEKS of edits and css customization. Ughh
Thank you in advance!!
Hello All,
I hope all is well.I am pretty new to this and maybe there is already a way to do or a plugin I missing. May have been discussed before but I don’t even know what to call it.
Is there a way to display a custom field from the buddypress profile under the username in the forum comments just like the default bbpress user roles (i.e. like a box containing a specified field from buddypress profile). For my purpose there is an important peice of profile information I’d like to have follow the user around whenever they make posts. Thanks!
I have a WordPress site with 4 languages english (default), french, italian and spanish :
WP v5.2.1, bbPress v2.5.14, Polylang v2.5.4
I set up the custom content types in the polylang settings : Forums, Topics, RepliesThere is no problem for the english forum but I got two problems :
– for the french forum : the english words are not translated (it is fine with italian and spanish). The two bbPress-fr_FR.po and bbPress-fr_FR.mo were missing. I added them but without success.
– for the french, italian and spanish forum : I can add a topic (then it redirects to home page). When I click on it the topic link, it redirects to home page. When I try to view the topic in the back office, it redirects to home page
Thanks in advance for your help
Hello,
how can I change the forum email set in bbpress?
My intention would be to assign an email for all notifications of any kind.I noticed that in the bbpress settings there is no setting, can you help me?
Thanks
Topic: bbpress Forum width
How can I make the BBP forum fit the default page size with sidebar on the right as opposed to being full width?
Thanks.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.cssis 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.
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

and the 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'] ) ); } }I need to change the default text like “Create New Topic” to something more engaging like “Ask”. Does anyone know of any plugin that can do this?
Is there a simple solution to force the site to ignore bbpress fonts and sizes?
I want bbpress to respect and use the default font and size of the theme.
Preferably in a form of few lines to be added to custom css of the active theme? I would prefer no to create child-theme (I’m using Neve) and definitely do not want to install additional plugins.
My forum: ibf.lv
I have made my forum as light as possible + made it full width and the 1st thing that can’t be ignored are different sizes and font of the forum ๐
Thank you ๐
Helmuts
