Wp Affiliate Pro - The #1 Plugin For WordPress Blogs 親可濕性粉劑子公司-# 1的插件W ordPress的博客
Powered by MaxBlogPress 本站由MaxBlogPress

WordPress的哈克# 16 :新增一個論壇,以WordPress的| JTPRATT的博客誤區
JTPratt的博客錯誤





Home » Wordpress Hack #16: Adding a Forum to Wordpress » WordPress的哈克# 16 :新增一個論壇,以WordPress的



Posted in: 張貼於:

博客內容類形象博客安裝類形象WordPress的圖像類
2,348 views 2348意見


Please note: This page was originally written in English.請注意:此網頁最初是用英文寫的。

The original post can be viewed原來的文章可被視為 here這裡 .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


Join the forum discussion on this post 參加論壇討論這個職位 - (3) Posts -( 3 )員額

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. 新增一個論壇,以增加WordPress的搜索引擎優化,增加索引的網頁,並改善社會給您的訪客的能力“參與”遠遠超過正常允許評論。 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.這毫不奇怪,這種功能是長期追求的WordPress的,什麼網站所有者最需要的是能夠嵌入和使用從該論壇與WordPress的本身。 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”.有很多辦法“新增了一個論壇,以WordPress的” 。 The first methods is to integrate a popular forum with your Wordpress install like Simple Machines, Vanilla, bbPress, phpBB, or PunBB bulletin boards.第一個方法是把流行的論壇,您的WordPress的安裝一樣簡單的機器,香莢蘭, bbPress , phpBB ,或PunBB佈告欄。 Integrating a forum into Wordpress means a separate directory, a separate install, and a separate database.整合一個論壇,到WordPress的手段一個單獨的目錄,安裝單獨的,和一個單獨的數據庫。 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.這主要是因為,如果你砍了他們,使他們的工作-使他們的工作與未來版本的W ordPress的很可能將是困難的,很難,或者是不可能的。 If you want to try, follow some of the older threads listed on this post:如果你想嘗試,後續的一些老線程列在此帖子: Integrating a Forum with Wordpress集成了一個與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.在未來的方式設置了一個論壇, WordPress的是使用一個主題,展示了類別和職位的論壇式佈局。 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 TDO論壇主題 for Wordpress.為WordPress的。

The final way to setup a forum in Wordpress is by using a plugin.最後的方式設置了一個論壇, WordPress的是使用一個插件。 There are two that seem to be no longer supported, or not updated to be compatible with Wordpress 2.5 and up: both有兩個似乎是不再支持或不更新,以符合2.5和WordPress的行動:兩 XDForum 2 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:在WordPress的插件,我選擇了與可濕性粉劑2.5和似乎是定期更新: Simple:Press Forum Wordpress Plugin很簡單:按論壇WordPress的插件 . It’s currently the only one I see listed on the這是目前唯一一個我看到的上 Wordpress 2.5 Plugin Compatibility list WordPress的2.5插件兼容性列表 .

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+.插件是列出與WordPress的2.04 -2 .51+ ,但除此之外,你的M ySQL服務器需要版本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:第一個網站我嘗試這一點是可濕性粉劑2.3.3 ,但MySQL的是4.1.2 ( Hostgator )和我這個錯誤:

 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.緊接著我的整個WordPress的安裝(儀表板和公眾頁)鎖定,以空白畫面,我不得不刪除插件讓我的博客回來。 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.所以,我決定試試我的(依然存在) godaddy託管帳戶-讓你一個選擇的M ySQL4 .x或5 .x. I just created a new 5.x database and dumped my current (4.x) Wordpress blog db in it.我只是創造了一個新的5.x的數據庫和傾倒我目前( 4.x中) WordPress的博客分貝它。 Then I reuploaded the plugin - and everything seemed to work good, until I created some groups - and lockup central again!然後,我reuploaded插件-一切似乎工作良好,直到我創造了一些團體-中央和鎖死了! 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).我沒有確定,如果您決定使用簡單:按上5.x的MySQL數據庫的godaddy主辦-它已成為主要的網域,它不能成為v irtuall主辦的子網域與映射到它(除非你找出如何修復。 htaccess文件) 。 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.我的建議是給你的備份您的數據庫可濕性粉劑如果您嘗試就現有的網站,並確保你的MySQL服務器版本是4.20 + ,你和WordPress的插件安裝是最新的。

安裝簡單新聞

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:如果一切如預期這是您應該看到:

簡單的新聞管理

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.基本設置選項簡單:新聞論壇像任何其他論壇,您遇到在過去的-唯一的例外是事實,這個論壇是安裝在W ordPress的本身。 Wordpress by default has 2 kinds of accounts “guest” and “administrator”. WordPress的默認了2種賬戶“住客”和“管理員” 。 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:但是,真正的優勢WordPress的'嵌入'很簡單:按能力這樣做“後連接” -這是最好的解釋了幫助文件本身:

後幫助聯繫

This has some very distinct advantages over a normal wordpress blog or standalone forum:這是一些非常明顯的優勢正常WordPress的博客或獨立論壇:

  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!您的博客現在有更多的網頁賺錢-w 00t!

Simple:Press also has an “accounce template tag”.很簡單:出版社也有一個“ accounce模板標記” 。 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:一旦您啟用此選項,您可以顯示最近的論壇活動從您的側欄,首頁,或任何其他職位或網頁在您的博客:

宣布模板標記

As “Add-Ons” in the forum you can enable private messaging, image uploads, or polls support (through the “Democracy” Wordpress plugin).作為“附加”的論壇,您可以使私人信息,圖片上傳,或投票支持(通過“民主” WordPress的插件) 。 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我只能從頭開始的表面很簡單:出版社在這WordPress的博客,但你可以看看新的 JTPratt’s Blogging Mistakes Forum Here JTPratt的博客錯誤論壇 . 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?你管理的一個論壇,或試圖其中包括在您的WordPress的博客嗎? Comment now - or follow the forum link and add to the discussion!評論現在-或後續論壇聯繫,並加入到討論!


Tags:標籤: ,

10 Responses to “Wordpress Hack #16: Adding a Forum to Wordpress” 10個響應“ WordPress的哈克# 16 :新增一個論壇,以WordPress的”

  1. Mark 馬克 Has the following to say...有下列說...

    Hi, I’m the guy who created the wordpresss forum theme, tdo-forum.嗨,我就是那個誰創造了wordpresss論壇的主題, tdo論壇。

    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.想您可能會有興趣知道,原來我是使用XD卡論壇的發展停止,但它使我寫了插件,進口XD卡論壇線程WordPress的職位和評論。 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.然而,使我種我的WordPress的論壇,立竿見影。

    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.其實我也這樣做我的網站上,使用FeedWordpress ,我可以在飼料標籤在我的主博客和它彈出我WordPress的基礎論壇自動。 = 00
    Marks last blog post..馬克斯最後的博客帖子.. Catch release 0.11.1 of TDO Mini Forms today! 0.11.1捕獲釋放的微型形式TDO今天!

  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.至於這個博客帖子擬合思想,它看起來非常的Firefox和IE7的,沒有問題。 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.的博客與500 +的RSS訂戶將是完美的在我的腦海。 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.如果你足夠幸運獲得20個活躍的用戶,你會做的罰款。 What’s less attractive than a blog with a forum containing 5 members?有什麼比缺乏吸引力的博客了一個論壇,載有5名成員組成?

    Trying Hards last blog post..去年試圖Hards博客帖子.. 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.我不得不放棄我的phpbb論壇,因為所有的垃圾郵件和我國缺乏編程知識來解決這個問題。 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.多個用戶同樣重要,我不知道是否500用戶(較早評論)是必要的,它只是取決於你想做的事,但要確保有需求,然後做這項工作。 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. @丹尼爾貝茨-尼斯的事簡單新聞論壇是沒有編程經驗需要,您可以管理這一切從W ordPress的控制台。 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.有沒有人有任何經驗,使用bbPress 。 It’s supposed to be written by the same people who write Wordpress這是應該的書面由同一人誰寫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.也許他們想WordPress的將有助於所有偉大的程序員了那裡,有時間來調整它,並提供其改進,但我決定抹去它和負載簡單的新聞論壇,並發現它是滿載正是我想,似乎在我想發布窗口,使我想沒有必要花時間試圖匹配的主題,我目前的網站上。 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. 1 。 Put the blog on the main domain and BANS in a sub folder will get the best results.把博客的主要領域,並禁止在一個分文件夾將得到最好的結果。
    2. 2 。 Simple Press is the best match for Wordpress at this time.簡單的新聞是最好的WordPress的比賽在這個時候。

    My next new site will be set up this way.我的下一個新的網站將設立這種方式。
    Thanks JT and everyone else who contributed由於日本煙草公司和其他人誰的貢獻

Question or Comment??問題或意見? ? Spill it Now...溢油現在...

跳躍的喜悅以上的評論!

We Reward Comments!我們獎勵的意見!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin!我們dofollow聯繫,並獲得最新的博客帖子的署名下的每一個新的評論從“ CommentLuv ”插件! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL!頂端commenters每個月列出的每個網頁上本網站的聯繫欄部件回到您的網址! 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! 按一下以新增的笑臉到您的帖子! == [ ]^ = (= ( (= ( |= )研究= | 8= 0= ) 〜= 00= (= ; ;= ) ]= ; ; ;