BBpress forums and wordpress plugin development versions

Gentle reminders for forum users

Gentle reminders for forum users


I host a bbpress forum for each of my wordpress plugins, so that people can report bugs and ask for new features. Bbpress has many of the same features as wordpress, and it integrates very well with wordpress. It is also very fast, and as of version 1.0, now has the same admin interface as wordpress.

When people report bugs on the forum, I frequently try to fix them in the development version of the plugin, and ask them to test it, which requires downloading the development version from the wordpress.org site. Unfortunately, the development version is a bit hidden there, and I have gotten very tired of typing out the url in my replies, so I finally modified the topic.php file in my bbpress template to include a link to the development version (and a link to the faq too).

One downside of bbpress is that there is no documentation yet, so you have to search around for different functions in the code. I have done this several times now, so that it only took me about 20 minutes to figure out how to implement what I wanted. Here is the code I added (just before post_form())

 <?php
$thisforum= bb_get_forum(get_forum_id(0));
  $development='http://wordpress.org/extend/plugins/' . $thisforum->forum_slug .
      '/download';
  $faq='http://wordpress.org/extend/plugins/' . $thisforum->forum_slug .
      '/faq';
?>
  <div class='alert'>
  Have you read the <a href='<?php echo $faq; ?>'>FAQ</a>?<br />
  Have you tried the latest <a href='<?php echo $development; ?>'>development version</a> (at the bottom)?
  </div>

I then added the following css to my theme to make it stand out:

.alert {border:1px solid #999;
        background-color: #FBB;
        font-size:1.1.em;
        padding:.2em;
       }
This entry was posted in php, wordpress and tagged . Bookmark the permalink.

2 Responses to BBpress forums and wordpress plugin development versions

  1. Pingback: » robfelty :: Blog :: Archive :: BBpress forums and wordpress … Wordpress Plugins: Just another WordPress weblog

  2. alicafrd says:

    Hi all

    For those, who asked me about [url=http://www.aptdept.com]personal loans[/url] – I’ve obtained useful news about it and have chosen best offer:

    Need cash today? We can help. Fast Approvals – Apply Now
    Very Low Fees. Fast. Secure Cash. Bad Credit is OK
    TRY THIS OFFER TODAY

    Low Cost – Online Payday Loans!
    24/7/365 Customer Support

    Just read that testimonial:
    “One of the cheapest online pay day loans… this site has enabled me to pay debts and remain financial stress free” – Allan T.

    ENTER HERE TO GET [url=http://www.onlinepaydaytoday.net]NO CREDIT CHECK LOAN[/url] TODAY!

    Related topics:
    [url=http://forums.spacebattles.com/member.php?u=43628]Online Payday Today[/url]
    [url=http://www.excelbanter.com/forumdisplay.php?f=6]Online Payday Today[/url]
    [url=http://play-pb.com/forum/viewtopic.php?p=49783#49783]Online Payday Loans[/url]