Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I use an external version of bbPress with BuddyPress?

Viewing 25 replies - 1 through 25 (of 33 total)

  • dainismichel
    Participant

    @dainismichel

    If there’s a programmer out there willing to share the code and procedure for getting this done, without plaguing the forums here, please get in touch. I work well with programmers and would like some time on Skype to find out what code needs to go where. Please PM me a price and the approximate time you think we would need.


    dainismichel
    Participant

    @dainismichel

    Anyone?


    r-a-y
    Keymaster

    @r-a-y

    There are numerous threads on this.

    The basic steps are:

    1) install an external version of bbPress

    2) integrate it with WP(MU)

    3) setup your forum categories in this external bbPress

    3) theme it to match your site


    dainismichel
    Participant

    @dainismichel

    I’ve done step 1 and 3, and maybe step 4, however, I am stuck on what code to put into the file that displays the forums to make the main themes show up (step 2 most likely, and that forum post is a billion pages long and has lots of out of date stuff).

    My code attempts are here:

    https://buddypress.org/forums/topic/how-to-access-to-bbpress-admin-from-buddypress

    and here:

    https://buddypress.org/forums/topic/whats-the-code-for-the-way-buddypressorg-displays-its-forums

    Basically, my request has come down to: please share the code that can make this work and let me know what files to put it in.


    dainismichel
    Participant

    @dainismichel

    Also, I’m more than willing to write up a procedure or create a video instruction guide to help others do this, as long as I’m shown.

    If I have to pay to find out how to do this, then I don’t think my reciprocating with technical documentation seems fair.


    dainismichel
    Participant

    @dainismichel

    Posted the job here, I’d like to end this year-long saga of trying to configure BuddyPress with success…can you help?

    Maybe someone could just post the code, or reply here:

    http://www.elance.com/php/bid/main/proposalList.php?jobid=19531591


    rich! @ etiviti
    Participant

    @nuprn1

    (can’t see the elance site – login required – so i don’t know what exactly the request is)

    As @r-a-y mentioned – a theme’d “external” bbPress to match BuddyPress is how this current site works.

    FWIW: BuddyPress wraps the “internal” bbPress and is pared-down down for group-only interaction. Even though you may see the fullset bbPress files and such (ie getting to the bb-admin via hacks, etc) many of those features/functions are disabled inside the BuddyPress context. Obviously making any sort of “backdoor” changes to the internal bbPress will not have any impact on the BuddyPress group forums. This includes adding new nongroup forums, categories, parents, bb-admin settings, etc…

    In theory it is possible to display nongroup forums – just a plugin/component/themes files need to be built with that functionality.


    kidrob
    Participant

    @kidrob

    Iam also looking for a solution of this problem as a Categories and “open” forums = no groups would be awesome!

    Also happy to deactivate Groups and “only” use the forum – no solutions for this?

    Its working here: https://buddypress.org/forums/ <- how did they do that? Its exactly what iam searching for :)


    rich! @ etiviti
    Participant

    @nuprn1

    Its working here: https://buddypress.org/forums/ <- how did they do that? Its exactly what iam searching for :)

    Answered twice in this thread already:

    As @r-a-y mentioned – a theme’d “external” bbPress to match BuddyPress is how this current site works.


    dainismichel
    Participant

    @dainismichel

    Hi, I understand that a themed external bbPress is how the current site works.

    Because of that, I installed bbPress externally well over 4 times, in several different locations. I followed the instructions at the “external install” thread, which is very very long and partially outdated. I could point BuddyPress to any of my bbPress installs, I could even log into the backend of bbPress, but what I could not figure out is what code is necessary for the bbPress install to be viewed as configured in the backend within BuddyPress.

    What I mean is that I created “Main Themes” in my bbPress installs, but they did not appear in BuddyPress, and I don’t know the code to make that happen.

    etiviti and others, if you know how to do that and can share the code, a long saga would end in success and others would benefit as well. :-)


    r-a-y
    Keymaster

    @r-a-y

    I still think you’re confusing the internal bbPress version bundled with BP with external bbPress:

    https://bbpress.org/download

    Because you want to use an external version of bbPress, you would not configure bbPress through the BuddyPress admin area.

    You would install an external version of bbPress and then create your forum categories there.

    You also need to theme external bbPress to match your BP install.

    Also, you need to create a nav button somewhere on your BP theme so people know where your external forums reside.

    Btw, I edited the topic title to be more clear.


    rich! @ etiviti
    Participant

    @nuprn1

    but what I could not figure out is what code is necessary for the bbPress install to be viewed as configured in the backend within BuddyPress.

    Nothing to configure on internal bbPress – it does nothing since BuddyPress just wraps it for group forum functionality.


    Xevo
    Participant

    @xevo

    Working on this already, got avatars and some other things inside bbpress already, working on getting bbpress into buddypress’ activity stream.


    @mercime
    Keymaster

    @mercime

    Good one Xevo. For external bbpress in one install, I use https://wordpress.org/extend/plugins/bbpress-latest-discussion/ with template tags you could use for home page and/or sidebar. Works well also with another install with internal bbpress enabled via BuddyPress.


    Xevo
    Participant

    @xevo

    Not planning on doing that, would be useless, I’m just planning to add a function that triggers when placing a post/topic and send that into buddypress’ tables, replacing the standard group forum entries.

    This would mean that you won’t be able to use buddypress group forums anymore, but personally.. I don’t need them.


    dainismichel
    Participant

    @dainismichel

    I’m starting to pay people to help me with this…still haven’t found a coder who can do this right off the bat…

    Can someone step up to the plate in mega-coolness and share the file locations and code that makes https://buddypress.org/forums/ display main themes?

    Installing bbPress is a pretty easy task. Setting bb-config.php to point to a particular install of bbpress is also easy…but where is BuddyPress choosing to display groups and how can that file be modified to show all of what is created in bbPress?

    What I mean is, I already created Main Themes in the bbPress admin area, but they aren’t appearing in BuddyPress…the last issue for me, as I understand this situation is “what code do I need to put in which BuddyPress file to make the Main Themes appear in my forum section.”

    Man, this issue is getting SO SUPER OLD…can someone come step up to the plate?


    Xevo
    Participant

    @xevo

    @ Dainismichel

    I’m not following, what do you mean by “main themes”? Do you mean main categories/subfora?


    Jeff Sayre
    Participant

    @jeffsayre

    I’ve read several of the threads that you have started on this topic–and a few that you did not but have posted within–and I am still not clear what you are after. At the top of this thread, you state that:

    How do I create “Main Themes” for forum discussions the way Buddypress did it here

    You then list the names of the BuddyPress forums: Installing BuddyPress, How-To and Troubleshooting, etcetera. In other threads you refer to these as forums, or boards, or subforums.

    For the record, what you are referring to as “Main Themes” are topics. I realize that the BuddyPress forums uses that phrase as a column heading, but it’s best to refer to them as forum topics or forum categories. Otherwise, it can be confused with the entirely different issue of creating themes for outputting content.

    From all of your various threads and posts, it is not clear to me if you are having issues with:

    1. Getting your external bbPress install to display properly in your site
    2. Whether you are having issues in theming your external bbPress install so that it matches your BuddyPress theme
    3. If you are trying to get the contents of each group forum from your internal bbPress install to display as separate forum topics (categories) within your external bbPress install
    4. Whether you are trying to add forum topics (categories) to each group forum of your internal bbPress install

    I’ve come to this game late, but a read through all of your postings has me confused about your real issue.


    rich! @ etiviti
    Participant

    @nuprn1

    What I mean is, I already created Main Themes in the bbPress admin area, but they aren’t appearing in BuddyPress…the last issue for me, as I understand this situation is “what code do I need to put in which BuddyPress file to make the Main Themes appear in my forum section.”

    Man, this issue is getting SO SUPER OLD…can someone come step up to the plate?

    Members are trying to help and have provided a few explanations on the issue of bbpress <-> buddypress. (in other threads too)


    Xevo
    Participant

    @xevo

    @ etiviti (rich!)

    Explanations aren’t neccesairly solutions. :)


    rich! @ etiviti
    Participant

    @nuprn1

    Ha! Well I’d have to understand the problem clearly first :)

    I’m still confused if his end goal is external bbpress <-> buddypress theme’d (like buddypress.org) or custom plugin to display external bbpress categorization (main themes) within buddypress on the /forums/ component page (similar to what i did with group forums extras and the forum index subplugin – example: http://etivite.com/forums/ )

    BuddyPress restricts its own functions to a parent_id (BP_FORUMS_PARENT_FORUM_ID) so no internal bp functions will pull out external bbpress forums.

    But – you can call some internal bbPress functions if bb_init is invoked. Not all will work (due to various linking issues or meta table stuff) but some will get you the info you need.

    (example: http://etivite.com/groups/buddypress/forum/topic/quick-tip-remove-change-avatar-link-under-profile-if-avatar-upload-is-disabled/ note the “tags” section on the topic – this is actually calling a bbpress function but i had to rework the linking)

    So given that… if we look at the bb-template/front-page.php we see the bb_forums() loop. and if you have an external bbPress hooked up… then just plug this code into buddypress/theme/forums/index.php

    <?php if ( bb_forums() ) : ?>
    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php while ( bb_forum() ) : ?>
    <?php if (bb_get_forum_is_category()) : ?>
    <tr<?php bb_forum_class('bb-category'); ?>>
    <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    </tr>
    <?php continue; endif; ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>

    BUT – the links are borked if it pulls up an internal bbpress group forum (so check is required for BP_FORUMS_PARENT_FORUM_ID and use the buddypress forum link function ) otherwise the links point to the configuration which the internal bbpress is using (which should be the same as an external bbpress install)

    hopefully i confused everyone a bit more :P


    dainismichel
    Participant

    @dainismichel

    oh man! wonderful! ….. CODE !!! :-) ….. since my directory structure is different, I am going to upgrade everything to the latest version and see what happens.

    I may be able to launch my community with this assistance. I started exactly one year ago…whew…what a relief this would be…

    Etiviti, if I can’t get this to work, can we talk via Skype and I can pay you for your time? If you want, I can make an instructional video for others following in our footsteps.

    OK, I’ll see if I can do this and post when I’ve made some progress…

    Best,

    Dainis


    dainismichel
    Participant

    @dainismichel

    geeze, i accidentally moved bb-config.php, then tried to put it back where it was…and forums aren’t showing up at all anymore. Where do I put that thang?

    …my goal is similar to what you have here:

    http://screencast.com/t/ODBiNzliY

    and exactly what buddypress.org has here:

    http://screencast.com/t/ZDkyOTNiYT

    with “groups” under the main themes.


    dainismichel
    Participant

    @dainismichel

    got the forums back by going to forums setup and installing new forums…hope everything got overwritten…now to display and configure them main themes.

    would it be an option for me to disable the whole bb-config.php HTTP/1.0 403 Forbidden thing and get into the back end of that bbpress install?

    Best,

    Dainis


    dainismichel
    Participant

    @dainismichel

    well, almost.

    Fatal error: Call to undefined function bb_forums() in /home/dainis/community.urine-therapy.org/wp-content/plugins/buddypress/bp-themes/bp-default/index.php on line 52

Viewing 25 replies - 1 through 25 (of 33 total)
  • The topic ‘How do I use an external version of bbPress with BuddyPress?’ is closed to new replies.
Skip to toolbar