Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 27,651 through 27,675 (of 64,518 total)
  • Author
    Search Results
  • #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.

    #125102
    Roy
    Participant

    Thank you for your reply. It worked partially (for two of the three malfunctioning forums), but it’s better than nothing.

    #125100
    limitx3m
    Participant

    I know someone is currently working improving the stock convertor for vbulletin, but is it possible to convert the database into a phpBB database and then convert that to bbpress/buddypress?

    Does anyone have any recent experience with this and if everything is retained?

    Also, what are some suggestions on converting the blogs from my members?

    Thanks!

    #125098
    common8308
    Participant

    Thanks for the reply.
    I got it work, but not really nicely.
    I just did a crude hacking to the core to exclude a specific topic replies.

    \wp-content\plugins\bbpress\includes\extend\buddypress\activity.php
    in the reply_create, and reply_update function,
    `if ( bbp_get_topic_id() == ‘XXX’ )
    return;
    `
    it seems I really shouldn’t do this but since I don’t know how to handle this private function in the child theme. πŸ™‚
    Thanks for the support!

    #125097
    jwrbloom
    Participant

    I’m using the bbPress plugin for WordPress, and I’m wondering how to go about changing the theme of the bbPress. Is it mostly dependent upon the WP theme I’m using, aside from CSS changes I make?

    #125096
    bruceleebee
    Participant

    Hello,

    I’m trying to integrate my forum with the s2member plugin so that only ONE of my forums is blocked for private membership access. All other forums should remain free.

    So I want Forum-A to be free, but Forum-B to be premium members only.

    But the problem is that s2member restricts access via URI fragment.

    So I can try and restrict access by telling s2member to block all pages that contain “Forum-B” in the URL. But the problem is that for replies and topics, the “Forum-B” part does not stay in the URL, so everyone will be able to get access to this private forum.

    A topic in Forum-A looks like:
    http://example.com/forums/topic/some-topic-name

    A topic in Forum-B (the private forum I am trying to lock) looks like:
    http://example.com/forums/topic/some-other-topic-in-private-forum

    So as you can see I cannot lock-out all access to Forum-B by including that URI because it does not appear in URL of the topic.

    Is there anyway I can make bbPress ALWAYS have some sort of unique identifier in the URL for a specific forum?

    Or any other genius fixes for this?

    Thanks,
    Ben

    #125095

    If you’d like to completely hide your forum for non-logged in users there is a plugin for that πŸ™‚

    https://wordpress.org/extend/plugins/bbpress-members-only/

    #125094

    In reply to: Where are the Forums?

    @mercime
    Moderator

    If you have the same slug (forums) for your BP Group forums and Sitewide forums then the Group forums will prevail over the forums/ page. Either change the slug by creating a new Page with different name for the BP Group Forums and associate new Page in Setttings > BuddyPress > Pages plus remove the bbPress shortcode from Forums Page or change the slug for the Sitewide Forums and create a new Page with the new slug and add the bbPress shortcode.

    #125092
    Stephen Edgar
    Keymaster

    Hmmmm…. Progress…. That’s good news

    I will try to get some time and have a look through the patches for 2.1 and see if anything stands out.

    The other problem is that as yet I have not been able to duplicate your bug on my IIS install, I will see if I can spin up a Windows 7/IIS 7.5/PHP 5.3/MySQL 5.1 VM this week and take a further look.

    #125091
    Stephen Edgar
    Keymaster

    @limbobski Great news, glad it worked for you.

    #125090
    Martin ( Martin_C )
    Participant

    I’ve recently installed the bbPress plugin on AppGlobe. When testing the different settings, I greated a private forum. Should only be visible to administrators and moderators I thought, but it seems participants can both view and add topics to this forum.

    Maybe I’m doing something wrong. The settings for this forum is:

    Type: Forum

    Status: Open

    Visibility: Private

    #125089
    apet083
    Participant

    Wow. Stephen I just read your post about trying the past versions of bbPress to isolate the issue. I started at 2.0 and the redirects WORKED! I moved up each time my tests were successful. 2.0 – 2.0.3 work perfectly.

    As soon as I upgrade to 2.1 and upwards, the redirects break again!

    I think it is safe to say it is a bbPress issue. Hopefully someone can look into it πŸ™‚ I will try to examine the redirect differences between 2.0.3 and 2.1 and will post if I find anything useful.

    For now I will use bbPress 2.0.3 and hopefully the issue will get sorted πŸ™‚

    Thanks so much for your help!

    Ana

    #125087
    Limbobski
    Participant

    I ended up just installing the new version… This gave me new tables for a brand new forum.

    When the new forum was installed, it included an ‘Import Forum’ tool that I pointed at the old forum tables and everything got moved correctly. So I am running the new forum now πŸ˜€

Viewing 25 results - 27,651 through 27,675 (of 64,518 total)
Skip to toolbar