Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vimma

    (@vimma)

    You might already have managed to create your ideas forum since you replied two weeks ago, but here is briefly what I did:

    I had WP already installed, so I then installed bbpress, and integrated with WP using this documentation.

    Then, when everything worked, I installed the bbRatings plugins for bbpress, which allows users to rate topics on a star scale. The “read me” text file contained instructions how use it. You need to do some PHP coding, but it is basically just adding few tags to bb templates.

    That was it. And of course, I modified the template for my needs and edited styles and stuff to make it look good.

    Thread Starter vimma

    (@vimma)

    Thanks for the hint! It was really easy to integrate it with wordpress and configure bbpress to a brainstorming forum.

    I got it working using the code snippet below. Now I can still use the categories, but when a user clicks a category, she actually clicks a tag with the same name.

    <?php //get list of categories
    $cats = @$wpdb->get_results("
    SELECT DISTINCT wp_categories.cat_ID, wp_categories.cat_name, wp_categories.category_nicename
    FROM wp_post2cat
    LEFT JOIN wp_categories
    ON wp_post2cat.category_id = wp_categories.cat_ID
    LEFT JOIN wp_posts
    ON wp_post2cat.post_id = wp_posts.id
    WHERE wp_posts.post_status='publish' AND wp_categories.category_parent=0
    ORDER BY wp_categories.cat_name
    ");
    if($cats) : foreach($cats as $cat) : start_wp();
    ?>
    <li>
    <a>category_nicename?>"><?php echo $cat->category_nicename?></a>
    </li>
    <?php endforeach; endif; ?>

    I have quite similar problem, several different categories, and I’d like to show category specific tags. AndyBeard’s solution would work, but I don’t want to abandon my categories.

    Tag warrior can be configured to automatically add categories as tags, so I wonder, can I somehow hack the wp template tag “list_cats”, so that it would link to a tag instead of category? Or should I code a new plugin that would do it?

    Any help would be appreciated.

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