Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 27,801 through 27,825 (of 64,744 total)
  • Author
    Search Results
  • #125133
    Stephen Edgar
    Keymaster

    If you view the source of the importer browser window, the ‘yellow window’ panel you should see the SQL queries listed in the source…

    There are 4 main queries and they should look like this:

    • SELECT convert(forum_forums.id USING …
    • SELECT convert(forum_threads.id USING …
    • SELECT convert(forum_posts.id USING …
    • SELECT convert(users.ID USING …

    This matches the table structure I listed above and use `wp_` as the table prefix.

    #125132
    srjrol
    Participant

    PHPMyAdmin for the OLD site im importing from:

      wp_forum_forums
      wp_forum_groups
      wp_forum_posts
      wp_forum_reputation_posts
      wp_forum_threads
      wp_forum_usergroup2user
      wp_forum_usergroups

    I hope this is what you were asking, it was not clear to me exactly.
    PHPMyAdmin for the NEW site im importing into:

      wp_bbp_converter_translator
      wp_commentmeta
      wp_comments
      wp_links
      wp_options
      wp_postmeta
      wp_posts
      wp_terms
      wp_term_relationships
      wp_term_taxonomy
      wp_usermeta
      wp_users
    #125131
    Stephen Edgar
    Keymaster

    Ok… What is the table structure showing in phpMyAdmin?
    This would be the old WP/Mingle site (these are based on the DB schema in your first post)

    • wp_commentmeta
    • wp_comments
    • wp_forum_forums
    • wp_forum_groups
    • wp_forum_posts
    • wp_forum_threads
    • wp_forum_usergroup2user
    • wp_forum_usergroups
    • wp_links
    • wp_options
    • wp_postmeta
    • wp_posts
    • wp_terms
    • wp_term_relationships
    • wp_term_taxonomy
    • wp_usermeta
    • wp_users

    The WP site you are importing into

    • wp_commentmeta
    • wp_comments
    • wp_links
    • wp_options
    • wp_postmeta
    • wp_posts
    • wp_terms
    • wp_term_relationships
    • wp_term_taxonomy
    • wp_usermeta
    • wp_users
    #125130
    srjrol
    Participant

    Yes for the newest file but for the import that worked I used the older file and wp_forum_

    #125129
    Stephen Edgar
    Keymaster

    Did you use `wp_` as the table prefix?

    #125128
    srjrol
    Participant

    Using the older version was successful, but the new file gives me this error when importing with or without the users box checked.

    `
    WordPress database error: [Table ‘str1210409063589.wp_forums’ doesn’t exist]
    SELECT convert(forums.id USING “utf8”) AS id,convert(forums.parent_id USING “utf8”) AS parent_id,convert(forums.name USING “utf8”) AS name,convert(forums.description USING “utf8”) AS description,convert(forums.sort USING “utf8”) AS sort FROM wp_forums AS forums LIMIT 0, 100
    `

    Before anything appeared on the site I ran a complete repair with all option checked. After this was done and the wp_users table was exported/imported through phpMyAdmin everything is showing up. Before the users were imported it still worked but all except the admin posts were Anonymous.

    Working:

    • All forums that contained posts are present
    • Forum descriptions
    • The timestamps
    • User account links and info (Forum Role,Topics Started, Replies Created)
    • Topic/Voice counts
    • bbcode is working for text formatting
    • Started By and Freshness authors
    • HTML code was imported and is displaying correctly

    Not working:

    • Parent forums are missing (everything was imported under ‘Forum’)
    • There is a blank post by the original author at the start of each topic causing false count
    • Custom Smileys “
    • Closed Topics are open again.
    • Stick Topics are normal topics
    #125127
    Stephen Edgar
    Keymaster

    What’s next? What works and doesn’t work?

    • Is the imported forum hierarchy and order correct?
    • Sticky topics, eg ‘sticky’ and/or ‘global sticky’ topics?
    • Open or closed topics?
    • Does Mingle use BBCodes eg [b]blod[/b] and do we need to convert them from custom HTML to WordPress/bbPress friendly HTML? If so what BBCodes does Mingle use?

    Are there any other forums, topics or replies behaviour that has not been imported?

    #125126
    Stephen Edgar
    Keymaster

    Ahhh… Yes, if you are importing to the existing install of WordPress that Mingle is using you do not need to import the users as the existing users will have the same mappings.

    If you want to import to a separate WordPress install you will need to import the users.

    That was the reason I originally had each field as `’forum_forums’` and I have switched all the fields back to this so now and you should use the table prefix `wp_` on the import settings. I also updated user mappings, I just copied them in from the bbPress1.php importer as this is in the same boat.

    I also added some extra phpdoc’s to the code and cleaned up some whitespace and changed the code layout style to match the other importers.

    You should be able to use the same links above to download and compare the revisions.

    #125125
    srjrol
    Participant

    Thank you Stephen you are my hero! It appears to have worked flawlessly for the forums, but the users were not included. Here is the error I see when trying the import including users:

    `
    WordPress database error: [Table ‘str1210409063589.wp_forum_user’ doesn’t exist]
    SELECT convert(user.userid USING “utf8”) AS userid,convert(user.password USING “utf8”) AS password,convert(user.salt USING “utf8”) AS salt,convert(user.username USING “utf8”) AS username,convert(user.email USING “utf8”) AS email,convert(user.homepage USING “utf8”) AS homepage,convert(user.joindate USING “utf8”) AS joindate,convert(user.aim USING “utf8”) AS aim,convert(user.yahoo USING “utf8”) AS yahoo FROM wp_forum_user AS user LIMIT 0, 500
    `
    From what I can tell bbpress uses the same registered users as WordPress so I may be able to import those separately.

    On another note, if I import to an existing installation instead of a fresh one would the forums be duplicated or just skipped during the import, so only the topics and replies are added?

    Stephen Edgar
    Keymaster

    Can you create a ticket for this over in trac for this please: https://bbpress.trac.wordpress.org/
    (Adding some ‘numbers’ would also help eg #subscribers & #posts so we can test this ourselves.)

    #125123
    LiveFreeOrDie
    Participant

    I’m having this issue after having the issue in this thread, and following the instructions by mesayre:

    Custom Theme critical fault: Class 'BBP_Theme_Compat' not found…Whut!?

    Did anybody solve this?

    Warning: get_class() called without object from outside a class in /home//public_html/wp-content/themes/theme1/functions.php on line 825

    #125120
    Tippon
    Participant

    I’m setting up a site at http://aberdaremctc.co.uk/forums/ and using BuddyPress and bbPress for the first time. I’ve managed to set everything up ok, but I can’t adjust the colour of the forum.

    I want to either make it the same colour as the rest of my site, or make it transparent, so it fits in a bit better. Can anyone give me some pointers please, even if it’s just the name of the box I want to change so I can search properly 😛

    #125119
    Stephen Edgar
    Keymaster

    Nice… An extremely good first shot at mapping the MySQL database tables…

    I have updated the file with a few things and it should now work…

    If your WordPress database uses the out of the box `wp_` table prefix then for the Mingle.php converter we will use `wp_forum_` as the table prefix on the import setting.

    • The forum slug is the same process as you did for topics & replies
    • A couple of `id` vs `parent_id`
    • Dates, WordPress stores four dates for a post in the `wp_posts` table, ‘post_date’, ‘post_date_gmt’, ‘post_modified’ and ‘post_modified_gmt’.
      • Forums – In this case forum creation dates do not exist, this will default to the current date
      • Topics – We map ‘date’ to ‘post_date’ & ‘post_date_gmt’ and ‘last_post’ to ‘post_modified’ & ‘post_modified_gmt’
      • Replies – We map ‘date’ to all four ‘post_date’, ‘post_date_gmt’, ‘post_modified’ & ‘post_modified_gmt’.

    So as I said, nice first go at it 🙂

    You can view the changes inline I made here and download the full file from here.

    #125118
    latas
    Participant

    For all users who couldn’t fix the issue that basic users can not reply or create a new topic, I found at least where is my problem.

    It is located in the functions.php file in the line 216. This is for the version 2.2.3. I’m using bbpress as plugin in WordPress 3.5.

    File located at bbpress plugin folder -> includes/replies/functions.php

    The code that does not allow me to post as a Participant is this:
    if ( !bbp_check_for_blacklist( $anonymous_data, $reply_author, $reply_title, $reply_content ) )
    bbp_add_error( ‘bbp_reply_blacklist’, __( ‘ERROR: Your reply cannot be created at this time.’, ‘bbpress’ ) );

    So it looks some blacklist check is working on. And the question is, where in the setup of WordPress, is located the blacklisted information, to verify why this is happening.

    By the way, if that function only does what it looks to do by its name, I commented it.
    Everything works now.

    Can you give me further info about this?

    Thanks.

    #125117
    marvelidea
    Participant

    I am having a similar problem….

    Using WP 3.5 BuddyPress 1.6.3 and bbPress 2.2.3

    I have the “Yes. I want this group to have a forum.” CHECKED when creating the group

    but I am NOT seeing the forum tab or the group shown in the forum

    Any suggestions?

    PS.. I followed the latest video tutorial on Labzip.com http://labzip.com/the-definitive-guide-to-buddypress-bbpress-configuration/

    #125116
    srjrol
    Participant

    Mingle.php

    Thanks for taking a look!

    #125114
    Stephen Edgar
    Keymaster

    Can you upload a copy of your Mingle.php https://gist.github.com/ (or pastebin.com)
    (Its much easier for me to look at the code directly)

    #125113
    simplyivy19
    Participant

    I am using the latest version of worspress.org and bbpress I am trying to link the forum page into my navigation bar but when i click new page it does not link both of them together. I am very very new to this and I am doing this for a school project.

    Thank you in advance for your help.

    #125112
    apet083
    Participant

    Hi @johnjamesjacoby, thanks for your reply and for the helpful places to look. I have debugged functions.php in bbpress/includes/replies and it seems that the `redirect_to` is being set to the forum’s URL as in this image:

    http://dl.dropbox.com/u/100066470/replyURL.PNG

    Thus giving the wrong `reply_url` at the end. Where does `redirect_to` get set?

    Thanks

    #125111

    The stack here is:

    • `bbp_get_reply_url()`
    • `bbp_get_topic_permalink()`
    • `get_permalink( $topic_id )`

    The only place this could occur is if `bbp_get_reply_url()` is passed both a `$reply_id`, and a `$redirect_to`, and the `$redirect_to` is the forum permalink, which shouldn’t happen. `bbp_get_redirect_to()` is what gets it in trunk, which is a wrapper for `$_REQUEST[‘redirect_to’]`.

    Which is to say, if you have a `$_REQUEST[‘redirect_to’]` field being submitted with the forum permalink, that’s where it will go. Otherwise, I don’t see any other way this could happen in bbPress core.

    #125109
    jwrbloom
    Participant

    I don’t have the option to choose theme packages under Settings > Forum

    I’m having TinyMCE issues, which is why I’m here. Not using JetPack. Up to date on WP and bbPress.

    #125108
    srjrol
    Participant

    I created a new WordPress installation Version 3.5 and installed bbpress plugin Version 2.2.3. Uploaded the Mingle.php file to /bbpress/includes/admin/converters/ and then ran the Tools > Forums > Import Forums tool using the following settings:

    Select Platform: Mingle
    Database Server: Server IP
    Database Port: 3306
    Database Name: My database name confirmed with host.
    Database User: Same as database name, also confirmed.
    Database Password: Confirmed correct password.
    Table Prefix: I tried two settings here with the same result (‘wp_’ and ‘wp_forums’)
    Rows Limit: 100
    Delay Time: 1
    Convert Users: Yes (checked)
    Start Over: No (unchecked)
    Purge Previous Import: No (unchecked)

    The result is below:
    `
    Repair any missing information: Continue
    Conversion Complete
    No replies to convert
    No tags to convert
    No topics to convert
    No forum parents to convert
    No forums to convert
    No passwords to clear
    No users to convertStarting Conversion
    `

    I checked after importing and nothing was imported successfully. Any ideas what would cause this? I feel like I have one of the basic import settings wrong (maybe the database table prefix) since nothing is being found at all here.

    #125107
    srjrol
    Participant

    Next in the Forum Section for the third database mapping ‘Title’ in Example.php Line#30
    `
    ‘from_tablename’ => ‘forum_forums’
    ‘from_fieldname’ => ‘name’
    `

    I was not sure what matched with the fourth mapping for the ‘Forum Slug’ so I have commented that out for now assuming that there is just nothing to import.

    For the fifth database mapping ‘Description’ in Example.php Line#43
    `
    ‘from_tablename’ => ‘forum_forums’
    ‘from_fieldname’ => ‘description’
    `

    Sixth mapping for ‘Forum display order’ in Example.php Line#50
    `
    ‘from_tablename’ => ‘forum_forums’
    ‘from_fieldname’ => ‘sort’
    `

    I also commented out the ‘Forum date update’ in Example.php Lines #56-72 section as there don’t appear to be any corresponding field names.

    That wraps up the database mapping for the ‘Forums Section’. Moving along to the ‘Topics Section’ the ‘from_tablename’ appears to be ‘forum_threads’.

    The first mapping for the ‘Topic id’ in Example.php Line#76
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘id’,
    `

    Mapping ‘Forum id’ in Example.php Line#82
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘parent_id’
    `

    Mapping ‘Topic author’ in Example.php Line#89
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘starter’
    `

    Mapping ‘Topic Title’ in Example.php Line#96
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘subject’
    `

    Mapping for ‘Topic Slug’ in Example.php Line#102
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘subject’
    `

    Mapping ‘Forum id’ (again?) in Example.php Line#109
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘id’
    `

    For the Topic dates I only found two matching tables instead of four. One is called ‘date’ the other ‘last post’. I assume that bbpress just needs either the GMT time or another format. I confirmed that the format Mingle uses does appear to be GMT based on the database showing “2012-04-29 20:55:59” and checking this. Therefore, I am only editing ‘post_date_gmt’ and ‘post_modified_gmt’ and commenting out the other two as follows.

    Mapping ‘post_date_gmt’ in Example.php line#123
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘date’
    `

    Mapping ‘post_modified_gmt’ in Example.php line#133
    `
    ‘from_tablename’ => ‘forum_threads’
    ‘from_fieldname’ => ‘last_post’
    `

    That completes the ‘Threads’ section, next are the ‘Tags’ which Mingle does not appear to support.

      This section has been commented out entirely.

    Next up the ‘Post’ Section appears to map to the ‘forums_posts’ table from Mingle. There are only two ID fields present (id and parent_id) but both have the same values. I was not sure whether it would be better to only import one of the bbpress ids (post,forum,topic) or all three, so I have done all three below.

    Mapping ‘Post id’ in Example.php Line#156
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘id’
    `

    Mapping ‘Forum id’ in Example.php Line#162
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘parent_id’
    `

    Mapping ‘Topic id’ in Example.php Line#169
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘id’
    `

    No match found for ‘Author IP’ in Example.php Line#176 – Commented out

    Mapping ‘Post author’ in Example.php Line#182
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘author_id’
    `

    Mapping ‘Topic Title’ in Example.php Line#189
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘subject’
    `

    Mapping ‘Topic slug’ in Example.php Line#195
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘subject’
    `

    Mapping ‘Post content’ in Example.php Line#202
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘text’
    `

    Mapping ‘Topic id’ in Example.php Line#209
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘id’
    `

    Mapping ‘Topic Dates’ for ‘post_date_gmt’ and ‘post_modified_gmt’ in Example.php Line#223 and #232 (commented out non-GMT imports)
    `
    ‘from_tablename’ => ‘forum_posts’
    ‘from_fieldname’ => ‘date’
    `

    This ends the ‘Post’ section. I did not make any modifications to the ‘User’ Section. Are changes here required to import normal WordPress users?

    The ‘wp_forum_groups’, ‘wp_forum_usergroups’, ‘wp_forum_usergroup2user’ and ‘wp_forum_reputation_posts’ tables are all empty so those must have been for other plugins that I have integrated with Mingle Forums.

    I don’t see any further changes to make here so if someone would be kind enough to review this for any mistakes before I give it it a try I will let everyone know how it goes. 🙂

    jwrbloom
    Participant

    I’m not getting anything to work to add TinyMCE buttons in my bbPress. I pasted Sunriseweb’s code in my functions.php. Nothing. I have updated WP and bbPress.

    How do I force TinyMCE into “teeny” mode?

    #125103
    Roy
    Participant

    Edit, problem is solved. I had a public forum as introduction, but since there were no thread in that part, I also got a “bugger!” notification when I clicked on it like on the forums with the malfunctioning permalinks.

Viewing 25 results - 27,801 through 27,825 (of 64,744 total)
Skip to toolbar