Host Unlimited Web Sites for Only $10 per Month! 東道國無限的網站只有10元,每月!
Powered by MaxBlogPress 由maxblogpress

論壇| jtpratt的博客失誤
jtpratt的博客失誤


JTPratt's Blogging Mistakes Forum jtpratt的錯誤,博客論壇

8,432 views 8432的意見

Current User: Guest當前用戶: 客戶 Login註冊 Register註冊
Please consider registering 請考慮登記

Search搜索
Search Forums:搜索論壇:






Wordpress Hack #16: Adding a Forum to Wordpress在WordPress哈克# 16 :加入一個論壇的WordPress
Read original blog post 讀原來的博客帖子

Add a New Topic添加一個新的話題 Reply to Post答复後
User用戶 Post郵政

3:33 pm下午3時33分
May 27, 2008 2008年5月27日


jtpratt jtpratt

Admin政府當局

MI, USA MI ,美國

posts 21員額21

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商品說明條例論壇主題 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有兩個似乎不再支持,或不更新,以兼容的WordPress 2.5和:兩 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= 在WordPress數據庫錯誤: [你有一個錯誤在您的SQL語法;檢查手冊,對應到你的MySQL服務器版本的權利,使用的語法附近''在1號線]選擇顯示名稱從wp_sfmembers那裡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安裝( Dashboard和公眾的頁面)鎖定到一個空白的畫面,我不得不刪除插件讓我的博客回。 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默認情況下,已二種賬戶“客戶”和“管理員” 。 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!評論現在-或按照論壇的鏈接,並加入到討論!


Read original blog post 讀原來的博客帖子

3:38 pm下午3時38分
May 27, 2008 2008年5月27日


jtpratt jtpratt

Admin政府當局

MI, USA MI ,美國

posts 21員額21

I'm considering removing one or both sidebars for the forum pages (which also means that I might need a custom page template).我考慮刪除的一個或兩個提要欄為論壇的頁面(這也意味著,我可能需要自訂網頁模板) 。 What do you think?您怎麼看?

12:55 am上午12時55分
May 28, 2008 2008年5月28日


jtpratt jtpratt

Admin政府當局

MI, USA MI ,美國

posts 21員額21

alright - I did make a custom page template just for the forum, and I think it looks much better this way.好吧-我並作出自訂網頁模板只為論壇,而且我覺得它看起來好得多這樣。 I just removed the right sidebar only and kept the left.我剛才刪除的權利欄,只有不斷的左側。 I had some permissions issues at first, but I think now everything will work as intended!我有一些權限問題在第一,但我認為現在一切都將工作打算!

Add a New Topic添加一個新的話題 Reply to Post答复後


Reply to Topic: Wordpress Hack #16: Adding a Forum to Wordpress回复話題: 在WordPress哈克# 16 :加入一個論壇的WordPress

NOTE: New Posts are subject to administrator approval before being displayed 注:新職位,受到管理員的批准,才可顯示

Guest Name (Required):客戶名稱(必填) :

Guest EMail (Required):客戶電子郵件(必填) :

Guest URL (required)客戶的URL (必填)

Math Required! 數學所需的!
What is the sum of: 2 + 5什麼是總和: 2 + 5 (Required) (必填)

Topic Reply:話題答复:



About the JTPRATT’s Blogging Mistakes forum關於jtpratt的錯誤,博客論壇

Currently Online: 目前在線:

2 Guests二客人

Maximum Online: 23最高在線: 23

Forums: 論壇:

Groups: 4團體: 4

Forums: 11論壇: 11

Topics: 21主題: 21

Posts: 27職位: 27

Members: 委員:

There are 5 members有5名委員組成,

There are 5 guests有5個客人


jtpratt has made 21 posts jtpratt取得了21個職位

Top Posters: 頂端海報:

AlanLest - 1 alanlest -1

jsinkeywest - 1 jsinkeywest -1

AlanL - 0 alanl -0

sissy - 0 sissy -0

Administrator: jtpratt管理員: jtpratt


© Simple:Press Forum簡單:新聞論壇 - Version 3.1.2 (Build 340) -版本3 .1.2(建立3 40)