Skip to:
Content
Pages
Categories
Search
Top
Bottom

BBpress Forums Installation

  • I installed WordPress 3.1.1. First with the Fantastico at the hosting site,
    then Buddypress 1.2.8 automatically.
    At the Dashboad under Buddypress, in Forums Setup it asked if I wanted a new bbPress install or use an Existing Install. On the site there was a nice tab for Forums with nothing in it, so I figured that the Forums did indeed need to be set up.
    I chose new bbPress install and I still have the Tab for Forums, with nothing in them. I can not seem to find anywhere were I can interact with the Forums and set these up. Any help would be appreciated.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You need to create a group, then it will create a forum for that group

    Thanks, but can I do this Globally as well. Set up Forums for the whole site? Or do I set up a global group that everyone is automatically part of?

    I have the same issue…I cannot post topics. I managed to get one to show up in the admin profile’s activity thread, but it does not show under the “forum” tab for that group or any other. Under any other login, it does not show up at all.

    Thoughts?

    I also was wondering about creating a ‘global board/forum’ – I was thinking of possibly trying to integrate the Mingle Forum to use as a ‘Global board’ while the groups had their own forums.

    But right now I’m unable to even successfully create new topics in the group forums.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    But right now I’m unable to even successfully create new topics in the group forums
    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/troubleshooting-posting-in-group-forums/#post-97513

    I was thinking of possibly trying to integrate the Mingle Forum to use as a ‘Global board’ while the groups had their own forums.
    You can install and use a WP forum plugin like Mingle Forum, SimplePress, etc. The tricky part is integrating the plugin with BuddyPress i.e. forum posts in Mingle Forum or SimplePress won’t appear in sitewide activity if you do not create a “bridge” script or plugin nor will forum topics posted in BP group forums appear in Mingle or SimplePress forum topc list. If that’s acceptable to you, then using one of WP forum plugins is the way to go for your “global board”

    creating a ‘global board/forum’
    There is a premium BP-compatible Global Forum plugin working on top of the internal bbPress forum installation http://buddydev.com/plugins/global-forums/

    P.S. If you’re not in a rush, bbPress is being converted to a WP plugin. See roadmap > Milestone: Plugin

    http://bbpress.trac.wordpress.org/roadmap

    Avatar of LPH2005
    LPH2005
    Participant

    @lph2005

    In wp_config.php

    `define ( ‘BP_FORUMS_PARENT_FORUM_ID’, $forum_id );`

    OR

    Modify the /forum/index.php and loop so that the forums show on one page.

    `

    <form action="” method=”post” id=”forum-topic-form” class=”standard-form” enctype=”multipart/form-data”>


    <option value="”>

    <input class="submit" type="submit" name="submit_topic" id="submit" value="” />
    <input class="submit" type="button" name="submit_topic_cancel" id="submit_topic_cancel" value="” />

    <?php printf( __( "You are not a member of any groups so you don't have any group forums you can post in. To start posting, first find a group that matches the topic subject you'd like to start. If this group does not exist, why not create a new group? Once you have joined or created the group you can post your topic in that group’s forum.”, ‘buddypress’ ), site_url( BP_GROUPS_SLUG . ‘/create/’ ) ) ?>


    <tr class="”>

    <a class="topic-title" href="” title=” – “>

    <a href="”>

    <a class="button" href="forum/#post-new” title=””>Start New Topic <a class="button" href="forum” title=””>More Topics

    `

    You’ll end up with something like this: http://www.thechembook.com/tutoring/

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Nice share @LPH2005 :-)

    That is a pretty cool bit of template to share. Maybe we could add it to codex.buddypress.org — perhaps add a new page or section about forums so we can link to it rather than having to re-type all the options available each time

    Avatar of LPH2005
    LPH2005
    Participant

    @lph2005

    I’m willing to have it added to the codex. Others on here helped develop it last summer (I believe). Unfortunately I cannot get the Ask a question button to work in a sidebar (I posted this in another thread the other day)….

    Avatar of tanvir
    tanvir
    Participant

    @tanvir

    I also had the same problem as @dwwilkin.

    I enable the Wp_debug and found that when buddypress installing the forum it’s unable to create a table name wp_bb_post. So whenever someone try to open the open the post’s under topic it returns WPDB error that $bbdb->posts table not found.

    I looked at bb-adminincludesdefaults.bb-schema.php for the crate table command. I found at line 40, the post table use ‘FULLTEXT KEY’ which is only supported by ‘MYISAM’.

    This is the original query:

    $bb_queries = “CREATE TABLE IF NOT EXISTS `$bbdb->posts` (
    `post_id` bigint(20) NOT NULL auto_increment,
    `forum_id` int(10) NOT NULL default 1,
    `topic_id` bigint(20) NOT NULL default 1,
    `poster_id` int(10) NOT NULL default 0,
    `post_text` text NOT NULL,
    `post_time` datetime NOT NULL default ‘0000-00-00 00:00:00′,
    `poster_ip` varchar(15) NOT NULL default ”,
    `post_status` tinyint(1) NOT NULL default 0,
    `post_position` bigint(20) NOT NULL default 0,
    PRIMARY KEY (`post_id`),
    KEY `topic_time` (`topic_id`, `post_time`),
    KEY `poster_time` (`poster_id`, `post_time`),
    KEY `post_time` (`post_time`),
    FULLTEXT KEY `post_text` (`post_text`)
    ) TYPE = MYISAM;”;

    This query is returning error ion MySQL 5. So, I change the last line of the query to;

    ‘) ENGINE = MYISAM’

    And it works. Now I’m able to create post under any topic.

    So in summary simplest fix for the issue is:

    1. Create a table on your wordpress database using following query

    CREATE TABLE IF NOT EXISTS `wp_bb_posts` (
    `post_id` bigint(20) NOT NULL auto_increment,
    `forum_id` int(10) NOT NULL default 1,
    `topic_id` bigint(20) NOT NULL default 1,
    `poster_id` int(10) NOT NULL default 0,
    `post_text` text NOT NULL,
    `post_time` datetime NOT NULL default ‘0000-00-00 00:00:00′,
    `poster_ip` varchar(15) NOT NULL default ”,
    `post_status` tinyint(1) NOT NULL default 0,
    `post_position` bigint(20) NOT NULL default 0,
    PRIMARY KEY (`post_id`),
    KEY `topic_time` (`topic_id`, `post_time`),
    KEY `poster_time` (`poster_id`, `post_time`),
    KEY `post_time` (`post_time`),
    FULLTEXT KEY `post_text` (`post_text`)
    ) ENGINE = MYISAM;

    2. Refresh the forum topic page in front-end.

    Yes, it’s a known bbPress bug; https://bbpress.trac.wordpress.org/ticket/1486

    @LPH2005 in a post of yours, you seemed to suggest that it is possible to create a universal forum by making changes to a couple of files: loop and forums/index… could you please put out the code once again what needs to be done… would be very very much appreicated.

Viewing 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.