Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 28,951 through 28,975 (of 64,734 total)
  • Author
    Search Results
  • #120438
    kannued
    Participant

    But the deleted posts/topics can’t be the problem because the deleted topics in bbpress show up in the trash of wp. The exact number transfers. The exact number of users transfer correctly. So those are clear migrations with no problems.

    The exact number of topics transfer correctly. But it is that link between the topics and the users that transfer incorrectly.

    #120437
    Olivier Lettinga
    Participant

    The new version of bbpress has lists instead of tables and looks allot more like this theme now! YAY!

    Olivier Lettinga
    Participant

    Thnx!

    I just saw this post a bit too late and was already half way rewriting the original twentyten theme files.

    Now this page: https://codex.bbpress.org/theme-compatibility/ is also outdated then.

    What is the proper way to make a child theme now?

    #120435
    Pippin Williamson
    Participant

    Stickies are pretty difficult to include with custom post types as WordPress doesn’t have native support for them. I’d suggest you look at how the bbp_has_topics() function works: https://bbpress.svn.wordpress.org/trunk/includes/topics/template-tags.php

    If you look through that function you’ll see that bbPress manually pulls in all of the sticky posts and then passes the array of IDs to the “include” parameter in a second query.

    #120430
    Pippin Williamson
    Participant

    All user data is stored in the WordPress users and usermeta table in the core database. It is secure and will remain even if you deactivate bbPress.

    fuzzybee
    Participant

    I’m trying to create a custom forum index page which should look exactly like the default forum index page with forum names, number of topics, number of posts, last active topic etc. but sorted alphabetically based on forum names.

    I’m looking at at bbp_has_forums, bbp_forums and bbp_list_forums inside /wp-content/plugins/bbpress/bbp-includes/bbp-forum-template.php.

    However, I’m puzzled which function to use and
    What arguments/ parameters I should pass?
    the comments in bbp-forum-template.php itself says the same parameters as WP_Query() but would it make sense at all to have something like “post_type” => “forum”
    I’m sure one can be clearer/ more explicit about the parameters here in some form of documentation

    I gave it wild tries as follows
    1) The following gives me fatal error:

    $args = array(

    'orderby' => 'title',
    'order' => 'ASC',

    );

    while (bbp_forums($args)){
    bbp_the_forum();

    echo bbp_get_template_part( 'content', 'archive-forum' );

    }

    The error:
    Fatal error: Call to undefined method stdClass::have_posts() in C:\www\forums.local\wp-content\plugins\bbpress\bbp-includes\bbp-forum-template.php on line 109 Call Stack: 0.0004 333592 1. {main}() C:\www\forums.local\index.php:0 0.0006 337280 2. require(‘C:\www\forums.local\wp-blog-header.php’) C:\www\forums.local\index.php:17 0.3864 38499368 3. require_once(‘C:\www\forums.local\wp-includes\template-loader.php’) C:\www\forums.local\wp-blog-header.php:16 0.3920 38515824 4. include(‘C:\www\forums.local\wp-content\themes\bp-tap\custom-index.php’) C:\www\forums.local\wp-includes\template-loader.php:43 0.4732 38674368 5. bbp_forums() C:\www\forums.local\wp-content\themes\bp-tap\custom-index.php:42

    2) While the following just takes forever to load:

    $args = array(

    'orderby' => 'title',
    'order' => 'ASC',

    );

    while (bbp_has_forums($args)){
    bbp_the_forum();

    echo bbp_get_template_part( 'content', 'archive-forum' );

    }

    I’m using WordPress 3.4.2 and bbPress 2.1.2.
    I’ve copied all files and directories from /wp-content/plugins/bbPress/bbp-themes/bbp-twentyten/ to my theme directory.

    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    • This topic was modified 13 years, 11 months ago by fuzzybee.
    #120427

    In reply to: bbPress 2.2.1

    rossagrant
    Participant

    Well at the moment, everyone except admin seems to be receiving the lable of ‘Member’ under there avatar in the forums.

    That isn’t an option in the backend role drop down under settings—>forums so I could set every NEW signup member to ‘Participant’ from now on, although the difference in label may confuse the odd one or two.

    I’m quite happy for BBPress to just assign the dynamic role of ‘member’ to everyone unless I select something else like ‘Moderator’ from the backend.

    As long as all NEW members will still be given that ‘Member’ label and still allowed to post, then I wouldn’t need to tick that box.

    Is that what would happen?

    Sorry for sounding dense, I just want to understand it properly. 🙂

    #120426

    bbPress 2.2.1 takes another step towards automating this for installations with custom roles. If you have custom roles, bbPress will now fallback to the default role for those users.

    #120425

    Could it be that since the deleted posts in bbpress 1.1 are still in the database as there is no way to empty the deleted creating problems during integration?

    Correct. The migration doesn’t *fix* anything, it migrates exactly what you already have.

    #120424

    In reply to: bbPress 2.2.1

    Up to you and your needs. Personally, I’d tick the box, and I suspect you’ll want to too. The reason it’s there is more for installations like WordPress.com, where the process of adding a user to a blog actually means something completely different than it does under normal circumstances.

    Also, if the box isn’t ticket, bbPress doesn’t create a profile for that user, because they won’t have a *real* role on the site. They’ll be registered, but have to assigned role; bbPress will just dynamically assign the default to them on the fly when they’re using the site.

    #120421
    kannued
    Participant

    For the problems with the original poster and post no longer linked together but attributed to anonymous for the most part:

    Could it be that since the deleted posts in bbpress 1.1 are still in the database as there is no way to empty the deleted creating problems during integration?

    #120420
    fuzzybee
    Participant

    Thank you, John!

    #120419
    andymacleod
    Participant

    Thanks for the explanation. I think this is definitely the right step forward!

    The next step forward? If bbpress could add/delete and edit existing forum roles without the need for a third-party plugin.

    Thanks,

    Andy

    fuzzybee
    Participant

    Thanks, John, those are very helpful.

    I managed to insert all the postmeta and I had a successful migration with plain PHP and MySQL a while back.

    I suppose there is not off documentation in place yet and I’m just need to read codes, I think.

    1 thing comes across as odd though: I’m using 2.1.2 and I seem to find the _insert_function‘s inside ...wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php and so on instead of what you mentioned?

    Are you speaking in terms of some older version bbPress?

    #120417
    Haboukra
    Participant

    Ok, I tried again and the user can see the reply, but not the lead topic. Hope that helps. Thank you for your work!

    #120416
    Haboukra
    Participant

    No, unfortunately it doesn’t. I wonder whether I messed sth up, because I tried to downgrade the plugin once. Although I have tried deinstalling and reinstalling and it didn’t change anything.

    #120415

    In reply to: bbPress 2.2.1

    rossagrant
    Participant

    MASSIVE thanks go out to nerrad and JJJ for this fix!

    Seems to work just perfectly.

    So JJ, do you think I now need to tick the box in the back end to assign a default level to new sign-ups, or does this patch dynamically assign the ‘member’ role to all new sign-ups too?

    #120414
    Sami Keijonen
    Participant

    I finally started playing with bbPress. There are lot to learn because I want to display topics totally differently what is the default output.

    First I want to display latest topics by latest activity like usual. I’ve created archive-topic.php in my theme so I can decide output.

    After that I can filter topic post type so that topics are ordered by latest activity.

    add_action( 'pre_get_posts', 'my_filter_topic' );

    function my_filter_topic( $query ) {

    if( $query->is_main_query() && is_post_type_archive( 'topic' ) ) {

    $query->set( 'meta_key', '_bbp_last_active_id' );
    $query->set( 'orderby', 'meta_value_num' );
    $query->set( 'order', 'DESC' );

    }

    }

    But this doesn’t display sticky posts first. They are more like last. Does someone have an idea how I get sticky posts to show first?

    #120412
    kannued
    Participant

    Topic tags don’t show up when I visit the site. That was a problem before too in previous converstions.

    When I view the topic tags in admin, the tags show up including a bunch of spam tags that I had deleted in bbpress 1.1

    phoenixolivia
    Participant

    Thanks a bunch. Hiding right under my nose.

    #120409
    kannued
    Participant

    So I updated to the new 2.2.1 bbpress plugin. Thought I would start fresh conversion. It had to finish deleting the previously converted data went to 482842099 lines. Then started the fresh conversion.

    I still have anonymous posters with the occasional real poster. A thread started by an occasional real poster is the wrong poster using bbpress 1.1 reference.

    #120407
    kannued
    Participant

    ImportForums is/was bbpress 2.1.2 You go to Tools, Forums, and tab ImportForums to do the migration. The original conversion was completed using bbpress 2.1.2 and the previous just prior to WP 3.4.2. But I have upgraded to bbpress 2.2 and wp 3.4.2 (see there is now bbpress 2.2.1 plugin available)

    If something went wrong in the migration as you said John, I thought I would purge previous attempted import. I have just over 90 subscribers and 90 posts. Yesterday, the purge went on for hours, and I mean hours. I finally stopped it at 482,841,799 lines!!! This purge should have taken only 30 seconds for 90 posts/subscribers.

    Would this purge be the bbpress plugin problem or WP?

    #120406
    furlongdesign
    Participant

    Latest Wp, latest bbpress, on a VPS.

    #120405
    smiga
    Participant

    Trying to move my forum from 1.0.2 to 2.2. So far managed to move users/forums/topics.

    I`m stuck with attachment migration. On 1.0.2 I`m using bbPress Attachments written by _ck_, where files are located in folder, but on 2.2. version they should be in WP media library. Any good ideas how to migrate ~1100 files (jpg/png/pdf) so that they still keep linked to old posts?

    #120402
    Stephen Edgar
    Keymaster

    How about giving our ‘Get Started with bbPress’ document a go?

    https://codex.bbpress.org/getting-started-with-bbpress/

    If you have any problems following this let us know and we will try to improve it.

Viewing 25 results - 28,951 through 28,975 (of 64,734 total)
Skip to toolbar