Wp Affiliate Pro - The #1 Plugin For WordPress Blogs
Powered by MaxBlogPress  

 

Wordpress Hack #16: Adding a Forum to Wordpress | JTPRATT's Blogging Mistakes
JTPratt's Blogging Mistakes





Home » Wordpress Hack #16: Adding a Forum to Wordpress


 
 
 

Posted in:

blog-content category image blog-setup category image wordpress category image
2,003 views


Join the forum discussion on this post - (3) Posts

Adding a Forum to Wordpress increases SEO by adding indexed pages and improves community by giving your visitors the ability to “participate” far beyond what normal comments allow. It also gives you a place to write random bits of content without writing lots of short, useless (and annoying) posts.

Web Forums are a very interesting way to build an online community, such as the infamous webmaster forums Digital Point, and Webmaster World. Forums are generally where people ask questions, and hopefully they get answers. A successful web forum can generate exponential pageviews vs. a blog or web site if there is a good community reading and participating.

It’s no surprise that this kind of functionality is long sought after in Wordpress, and what site owners want most is the ability to embed and use that forum from with Wordpress itself. Who wants a separate forum install? I’ve had them, and even from within a sub-directory of a successful site - it’s hard to get them off the ground.

There are lots of ways to “add a forum to wordpress”. The first methods is to integrate a popular forum with your Wordpress install like Simple Machines, Vanilla, bbPress, phpBB, or PunBB bulletin boards. Integrating a forum into Wordpress means a separate directory, a separate install, and a separate database. With some advanced coding and hacks you may be able to share logins, comments, etc. I am not a fan of this, and personally I think these techniques are a setup for failure. Mainly because, if you had to hack them to make them work - making them work with future versions of Wordpress is likely going to be difficult, hard, or impossible. If you want to try, follow some of the older threads listed on this post: Integrating a Forum with Wordpress.

The next way to setup a forum in Wordpress is by using a theme that displays the categories and posts in forum type layout. This is nice because it requires installing nothing and only changes the way your content is displayed. It could also be bad because then you’re limited to that kind of layout. To check it out try the TDO Forum Theme for Wordpress.

The final way to setup a forum in Wordpress is by using a plugin. There are two that seem to be no longer supported, or not updated to be compatible with Wordpress 2.5 and up: both XDForum 2, and WP-Forum.

The Wordpress plugin that I chose works with WP 2.5 and seems to be updated on a regular basis: Simple:Press Forum Wordpress Plugin. It’s currently the only one I see listed on the Wordpress 2.5 Plugin Compatibility list.

There are some things you need to know about using Simple:Press. The plugin is listed to work with Wordpress 2.04 - 2.51+, but in addition to that your MySQL server needs to be version 4.20+. The first site I tried this on was WP 2.3.3, but the mySQL was 4.1.2 (Hostgator) and I got this error:

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT display_name FROM wp_sfmembers WHERE user_id=

Immediately following this my entire Wordpress install (dashboard and public pages) locked to a blank screen, and I had to delete the plugin to get my blog back. So I opted to try it on my (still existing) godaddy hosting account - which gives you an option of MySQL 4.x or 5.x. I just created a new 5.x database and dumped my current (4.x) Wordpress blog db in it. Then I reuploaded the plugin - and everything seemed to work good, until I created some groups - and lockup central again! I deleted the plugin and all was well again. I did determine that if you decide to use Simple:Press on 5.x MySQL database on godaddy hosting - it has to be the main domain, it can’t be a virtuall hosted subfolder with a domain mapped to it (unless you figure out how to fix the .htaccess file). Finally I moved it to my dedicated box and it worked fine. My advice to you is backup your WP database if you try it on an existing site, and make sure your MySQL server version is 4.20+ and you’re plugins and Wordpress install are current.

simple press install

Once you enable the Simple:Press plugin, just to go “forum” in your main WP dashboard and (if you did everything right) you should see the install button as in the pic above. Unlike other plugins (that install database tables when you enable them) this plugin requires you to manually “install” the first time.

If everything goes as expected this is what you should see:

simple press admin

The basic setup options of the Simple:Press forum are like any other forum you’ve encountered in the past - with the exception of the fact that this forum is setup within Wordpress itself. Wordpress by default has 2 kinds of accounts “guest” and “administrator”. Simple:Press adds a new type “member”. But the real advantage of Wordpress ‘embedding’ is Simple:Press’ ability to do “post-linking” - which is best explained by the help file itself:

post linking help

This has some very distinct advantages over a normal wordpress blog or standalone forum:

  1. As a blog owner this gives you a TON of more search engine indexable pages
  2. It keeps blog posts from getting clogged with hundreds of comments (just close them after a few and force everybody to the forum after that)
  3. It makes your blog uber-interactive, much more than a blog with comments alone
  4. You now have a place to post random tidbits of info without having to create tons of useless blog posts
  5. If your blog gets comments now, that’s pretty much a guarantee that your forum will get posts. The worst thing about a new forum is getting people to post, by seeding it with blog posts you get an instantly active forum
  6. Your blog now has more pages to monetize - w00t!

Simple:Press also has an “accounce template tag”. Once you enable this option you can display most recent forum activity from either your sidebar, home page, or any other post or page in your blog:

announce template tag

As “Add-Ons” in the forum you can enable private messaging, image uploads, or polls support (through the “Democracy” Wordpress plugin). There are many, many other options - such as graphics, style, icons, and more that you can use to customize Simple:Press look and feel to be more like your site design.

I’m only beginning to scratch the surface of Simple:Press in this Wordpress blog, but you can check out the new JTPratt’s Blogging Mistakes Forum Here. This is only the beginning of dramatically changing the methods of interactivity and community in this web site.

Have you managed a forum or tried to include one in your Wordpress blog before? Comment now - or follow the forum link and add to the discussion!


Tags: ,

10 Responses to “Wordpress Hack #16: Adding a Forum to Wordpress”

  1. Mark Has the following to say...

    Hi, I’m the guy who created the wordpresss forum theme, tdo-forum.

    Thought you might be interested to know that originally I was using XD-Forum but development stopped on it so I wrote a plugin that imports XD-Forum threads as Wordpress posts and comments. I haven’t made this plugin available publicly, because I haven’t seen any calls for it. However that enabled me to seed my Wordpress based forum straight away.

    FYI: Also, you talk about seeding your blog posts on the forum. I actually do the same on my site, using FeedWordpress, I can take a feed from a tag on my main blog and have it popup in my Wordpress-based forum automagically. =00
    Marks last blog post..Catch release 0.11.1 of TDO Mini Forms today!

  2. Paul Has the following to say...

    I had just put “install blog on http://www.domain” on my todo list. This looks like a much better way to integrate the two together. I would be very interested if you would document the “challenges” of getting this blog/forum up and running.

    For example this latest blog post doesn’t fit into the template and is running over into the right side.

  3. admin Has the following to say...

    @Paul - I’m sure I’ll post more about my forum in the future. As far as this blog post fitting thought, it looks great in Firefox and IE7 with no problems at all. What browser are you using?

  4. Erika Has the following to say...

    This is an interesting concept. I’ve never been able to explore forums as an SEO option because I’ve never had a client who was interested in the amount of work it took to build and keep up that kind of community (nor were they interested in paying for someone to do it for them.) I’ll have to keep this post in my back pocket. :)

  5. Trying Hard Has the following to say...

    I agree, forums can be a very beneficial thing to add to a forum, however if you don’t have much traffic, they don’t do much but waste time setting up.

    A blog with 500+ RSS subscribers would be perfect in my mind. You shouldn’t have troubles getting a pretty good sized number of them to join your blog. If you’re lucky enough to get 20 actives users, you’ll do fine. What’s less attractive than a blog with a forum containing 5 members?

    Trying Hards last blog post..Preparing Safety Posts

  6. Daniel Bates Has the following to say...

    I’d also be interested in hearing your progress in overcoming adversity with the new forum. I had to give up my phpbb forum because of all the spam and my lack of programming knowledge to address it. How have you been able to deal with this? Multiple users are important too, I don’t know if 500 subscribers (earlier comment) are necessary, it just depends on what you want to do, but make sure there is a demand before you do the work. If you don’t have the time to devote to it make sure you have some trust worthy moderators to keep rule.

  7. admin Has the following to say...

    @Daniel Bates - The nice thing about Simple Press forum is that no programming experience is required, you can admin it all from within the Wordpress Dashboard. Also, the security so fine grained, I’ve not received a single spam post (yet). Maybe my attitude will change over time, but for now I think it’s better than a standalone forum (which I’ve had many of in the past)

  8. Paul Has the following to say...

    Has anyone had any experience using bbPress. It’s supposed to be written by the same people who write Wordpress

  9. Daniel Bates Has the following to say...

    Paul - I loaded it on my server and took a look at it and it seemed very short on extras not many plugins and themes available. Perhaps like wordpress they will be aided by all the great programmers out there that have time to tweak it and offer their improvements but I decided to erase it and load simple press forum and found it to be loaded with exactly what I wanted and appear with in my posting window like I wanted so no need to spend days trying to match the theme to my current website. I haven’t gone live with it yet but you’re welcome to check it out at http://www.mymcclellanville.net/forum

  10. Paul Has the following to say...

    Daniel, I like your new site. It has a lot of potential.
    Two things I learned from this post.
    1. Put the blog on the main domain and BANS in a sub folder will get the best results.
    2. Simple Press is the best match for Wordpress at this time.

    My next new site will be set up this way.
    Thanks JT and everyone else who contributed

Question or Comment?? Spill it Now...

Jumping for Joy over comments!

We Reward Comments!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! We would like to reward you for becoming part of our community! Your comment is valuable not only to us, but also all the other readers of this blog!
 

 


Click to add smilies to your post! = =[] ^=( =(( =(| =)r =|8 =0 =)~ =00 =( =;; =)] =;;;