Search Results for 'code'
-
Search Results
-
WP 4.4.2
BBPress 2.5.8I’m creating a custom import module from the Example.php file that comes with the installation. I’ve filled in the table and field for everything that is available from the previous forum software (WebWiz) and have commented out sections that don’t have information to map.
Upon start, the importer trips up at the Join part of the forum section. I need to know what to put in these areas:
// 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' );The “groups_table” and the “forum_id” fields are the ones I don’t know where to find.
On a realted subject, what of these mapping statements are absolutely 100% necessary to get a successful import? I can send anyone the module code if that helps.
Hi All
I’m still new to BBPress and to WordPress if I’m to be honest…
I am using the Woo Storefront Theme.
I have created a new page on my website and called it “forum” and then used the
[bbp-forum-index] shortcode on that page.1. I have installed a plugin that allows me to turn off my page title but for some reason BBPress seems to be overriding this feature which is working fine on all my other pages? How do I turn my page title off within BBPress?
2. I have also set up a few forums, one of them called “School Community Discussion”
Inside this “parent” forum I have created two child forums called “Michael Mount Waldorf School” and “Moore House Academy”When I click on one of the child forums to post a new topic, there is no “new post” window for me to add a new post. This window is only available at the parent forum level!? How do I resolve this?
3. I must say that I’m dumbfounded that BBPress doesn’t have a “Post new Topic” button that will allow you to click and then select whichever forum you want to post into from a dropdown menu. I there any way to create a button like this?
Thx
KbI’m a bit new and trying to get back into wordpress again. I have a wordpress website that needs to use the wordpress database that we first set up, and 2 external databases to obtain information and even at times to edit, and update information. Tried using external database but that is for one external database coming in. Want to use an external database to first set up login meaning when they enter username and password, it will find it through g h the external database. So my question is… What is the best way this situation? If it is coding, is there some tutorials that I can do this?
Did some research, and someone said that I can use this code in the functions.php to help access another database… Is it functions pho in main or themes?
$newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
$newdb->show_errors();So I add this in the functions, but where do I put the second database’s info like host, username, password and etc? Where do I put the query code at?
Will this work to connect to an external databases?
Please Help!!!!
Topic: bbpress ignores custom CSS
I’m using a child theme and I’m trying to make CSS adjustments to the forum list. I need to get rid of float + width because the numbers are not aligned with the titles (topic, voices, replies, last post). Whatever I try, bbpress ignores my changes. I tried adding the new CSS to style.css in my child theme as well as adding it to Jetpack’s custom CSS. I did even add the extra code to functions.php in my child theme so that bbpress style could be overwritten without using !important. Using !important doesn’t work either. I really don’t know what else to try. My theme is not perfect for bbpress, so I need to tweak a few things.