Search Results for '\"wordpress\"'
-
Search Results
-
Hi everyone, this is my first time posting, and I really dig BBPress so far.
I’m running WP v3.8.1 with BBPress 2.5.3. I’ve encountered a problem when converting a custom MYSQL database into BBPress. I have successfully exported a Lotus Notes / Domino DB (yes, it still exists…) into a simple MySQL DB containing just 3 tables.
After a “successful” conversion (of over 35K forums, topics and replies) into BBPress, I can see all of the Forums, Topics, and Replies listed in the BBPress Admin panel. However, there seems to be issues with the Foreign Keys being imported/linked, even though I have double and triple checked the
forum_id,topic_idvalues for the Topics->Forums and Replies->Topics relationships within the Example.php converter included with BBPress. All data has been properly formatted into WordPress friendly values (dates, slugs, etc..) before importing into MySQL.In the admin panel, under Forums, it lists all forums in their hierarchical order, as expected. It also lists the topic and reply counts, date, and creator next to each parent / child forum. However, under “Freshness” is says “No Topics”. The Topics Admin page is even more intriguing; it lists all of the Topic Titles, the Forum title which that topic is assigned to (!), reply count, author, creation date, and freshness. Browsing to the Replies Admin page lists all reply titles, author, and creation date, however under Forum it says “No Forum” and under Topic it says “No Topic”.
When you browse to the forums (mysite.local/forums/forum/the-forum), the forum title and child-forums are displayed, along with topic and reply counts for each child. However, under “Freshness”, it says “No Topics”. When I browse to a child forum, it lists the topic and reply counts, however it says “No Topics were found”.
When I browse to a topic (mysite.local/forums/topic/the-topic), I see the date, title, content, and reply count. However, there are no replies listed.
When I browse to a reply (by clicking “View” under the reply listed in the Admin Replies page), it directs me to http://mysite.dev/wp-admin/edit.php?post_type=reply/#post-######, saying “Invalid Post Type”.
I figured this would be rather straightforward, since I am not importing Users or Tags. Eventually I would like all authors to be “Archived Author”, should I try to tackle this now or after a fully successful import?
I can supply screen shots, converter output (which really says nothing unexpected), or the full source code for the converter if needed. I’ve included my table structure and simplified converter code for reference.
I hope that someone with a bit more experience converting forums for BBPress will be able to shed some light on this, my forehead is really starting to hurt from banging my head against the wall. It seems there is very limited information out there on this converter. Any and all help is greatly appreciated!
My tables to import/convert are laid out as follows:
forums table { forum_id PRIMARY KEY INT(11) title slug parent_id (Self referencing FK) last_mod (DATETIME) num_topics num_replies } topics table { topic_id PRIMARY KEY INT(11) parent_id FK (set to 0 for no parent) forum_id FK (matches corresponding <code>forums</code>.forum_id) subject (title) slug (slug of title) body (the post content) from date date_gmt num_replies } replies table { reply_id PRIMARY KEY INT(11) topic_id FK INT(11) (matches corresponding <code>topics</code>.topic_id) forum_id FK INT (11) (matches corresponding <code>forums</code>.forum_id) date date_gmt subject body }And now, here’s the converter I’m using (starting at the Forum section Line#26 of /plugins/bbpress/includes/admin/converters/Example.php). I’ve removed commented lines for brevity.
/** 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' => 'forums', 'from_fieldname' => 'forum_id', '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', 'from_fieldname' => 'parent_id', 'to_type' => 'forum', 'to_fieldname' => '_bbp_forum_parent_id' ); // Forum topic count (Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'forums', 'from_fieldname' => 'num_topics', 'to_type' => 'forum', 'to_fieldname' => '_bbp_topic_count' ); // Forum reply count (Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'forums', 'from_fieldname' => 'num_replies', 'to_type' => 'forum', 'to_fieldname' => '_bbp_reply_count' ); // Forum total topic count (Stored in postmeta) $this->field_map[] = array( ' from_tablename' => 'forums', 'from_fieldname' => 'num_topics', 'to_type' => 'forum', 'to_fieldname' => '_bbp_total_topic_count' ); // Forum total reply count (Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'forums', 'from_fieldname' => 'num_replies', 'to_type' => 'forum', 'to_fieldname' => '_bbp_total_reply_count' ); // Forum title. $this->field_map[] = array( 'from_tablename' => 'forums', 'from_fieldname' => 'title', 'to_type' => 'forum', 'to_fieldname' => 'post_title' ); // Forum slug (Clean name to avoid confilcts) $this->field_map[] = array( 'from_tablename' => 'forums', 'from_fieldname' => 'slug', 'to_type' => 'forum', 'to_fieldname' => 'post_name' ); // 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') );/** 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' => 'topics', 'from_fieldname' => 'topic_id', 'to_type' => 'topic', 'to_fieldname' => '_bbp_topic_id' ); // Topic reply count (Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'num_replies', 'to_type' => 'topic', 'to_fieldname' => '_bbp_reply_count' ); // Topic total reply count (Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'num_replies', 'to_type' => 'topic', 'to_fieldname' => '_bbp_total_reply_count' ); // Topic parent forum id (If no parent, then 0. Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'forum_id', 'to_type' => 'topic', 'to_fieldname' => '_bbp_forum_id' ); // Topic content. $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'body', 'to_type' => 'topic', 'to_fieldname' => 'post_content' ); // Topic title. $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'subject', 'to_type' => 'topic', 'to_fieldname' => 'post_title' ); // Topic slug (Clean name to avoid conflicts) $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'slug', 'to_type' => 'topic', 'to_fieldname' => 'post_name' ); // Topic dates. $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'date', 'to_type' => 'topic', 'to_fieldname' => 'post_date' ); $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'date_gmt', 'to_type' => 'topic', 'to_fieldname' => 'post_date_gmt' ); $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'date', 'to_type' => 'topic', 'to_fieldname' => 'post_modified' ); $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'date_gmt', 'to_type' => 'topic', 'to_fieldname' => 'post_modified_gmt' ); $this->field_map[] = array( 'from_tablename' => 'topics', 'from_fieldname' => 'date', 'to_type' => 'topic', 'to_fieldname' => '_bbp_last_active_time' );And skipping to the Replies section (Tags and Users are not converted)
/** 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' => 'replies', 'from_fieldname' => 'reply_id', 'to_type' => 'reply', 'to_fieldname' => '_bbp_post_id' ); // Reply parent topic id (If no parent, then 0. Stored in postmeta) $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'topic_id', 'to_type' => 'reply', 'to_fieldname' => '_bbp_topic_id' ); // Reply title. $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'subject', 'to_type' => 'reply', 'to_fieldname' => 'post_title' ); // Reply content. $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'body', 'to_type' => 'reply', 'to_fieldname' => 'post_content' ); // Reply dates. $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'date', 'to_type' => 'reply', 'to_fieldname' => 'post_date' ); $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'date', 'to_type' => 'reply', 'to_fieldname' => 'post_date_gmt' ); $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'date', 'to_type' => 'reply', 'to_fieldname' => 'post_modified' ); $this->field_map[] = array( 'from_tablename' => 'replies', 'from_fieldname' => 'date', 'to_type' => 'reply', 'to_fieldname' => 'post_modified_gmt' );Hi All,
I have the weirdest error. I have a WordPress 3.8.1 installation with Akismet 2.6.0, bbPress 2.5.3 and a couple of other plugins.
It has been running fine for a year or so. We recently moved server, and did a “point” version update to latest versions.
Today I found a problem I’ve not seen before: if one posts a forum post whose titles start with the letters “Se”, you get a 404 error when viewing the post. The post itself shows up in the forum listing and is editable with correct text but won’t show up when you click on the link in the forum listing.
Post title variants like “Secretary”, “Secretary Test” “Sec” all generate the error. A post with title “Sacretary” does not, nor do any other posts test titles I’ve tried.
Has anyone got the faintest idea what could be going on here?
Cheers, Hywel Phillips
Topic: Login/Register Widget
I am very excited to start using this for my organization. On my forum page I selected the login widget to show on the sidebar widget area along with a few other widgets. But they only show when Im already logged-in. I’m not sure what setting I’m missing, but I need people to be able to register when they first log-on. WordPress 3.8.1, bbPress 2.5.3, http://northwestleadership.org/forums/
if not threaded, clicking the
bbp-reply-to-linkcan get #new-post form focused.
But, when threaded, theonClickfunction seems not working. Instead of moving or creating the post form, it reload the page and add query vars.
I’m with bbpress2.5.3, and wordpress 3.8.1Topic: theme – front end
I like this bbPress theme – http://bbpress.org/forums/ especially where user/member can’t access to the standard wordpress backend, but a nice and clean ‘front end’ only. How can I get a theme like this? or can I get any theme but use a special plugin to restrict members/users from access to the backend?
Thank youTopic: bbPress theme and plugin
Hi, new to bbPress. Been doing a lot of reading. Can I confirm if bbPress has its own theme and plugin? does it mean I can’t use the standard wordpress theme and plugin on bbPress? Thanks
Topic: main page customize
Hello
I am testing bbPress and WP Symposium.
http://www.virtualolivia.com/forum/
http://www.virtualolivia.com/forums/
My question is how can i set up same template from bbpress in my main site on forum same like.
http://pl.forums.wordpress.org/
I mean on left side some information below tag cloud etc …
I am waiting for quick replay,
Topic: main page customize
Hello
I am testing bbPress and WP Symposium.
http://www.virtualolivia.com/forum/
http://www.virtualolivia.com/forums/
My question is how can i set up same template from bbpress in my main site on forum same like.
http://pl.forums.wordpress.org/
I mean on left side some information below tag cloud etc …
I am waiting for quick replay,
I just installed bbPress on my site. I wanted to change the setting from disallow editing after 5 minutes to 10 minutes but when I click save changes I get a “Cheatin’ uh?” Page. Even if I don’t change anything and click save changes I still get the “Cheatin’ uh?” page. Why is this and how can I get it to save my changes?
I installed bbPress version 2.5.3 and my WordPress version is 3.8.1. I’ve also installed W3 Total Cache Plugin. I have disabled minify of HTML & XML but have JS minify enabled and CSS.
Thanks in advance.