tipask

tipask

tipask,即Tipask問答系統,是一款開放源碼的PHP仿百度知道程式。

簡介

以國人的使用習慣為設計理念,採用MVC構架,系統具有速度快,SEO友好,界面操作簡潔明快等特點。

對穩定性與負載能力要求較高的即問即答網站,大中型企業的客戶線上技術、產品與服務的業務諮詢問答,企業事業單位內部辦公協作、無障礙交流與溝通,大中專院校及專業網校的學生、教工與校友的知識交流,已經發展到一定規模,具有相當訪問量的個人網站工商、醫療、旅遊、軍事、藝術、科技、交通等等領域的專業網站,地方政府、電信、科研機構或愛好者建立的地域性的問答區 。

運行環境

軟體環境

httpd伺服器(如Apache、IIS、Nginx)

PHP 4.3.0及以上

MySQL 4.0.22及以上

推薦環境

Apache 2.0以上

PHP 5.0以上

MySQL 5.0以上

說明

api : 存放和外部系統互動的api

control:存放系統的所有控制器類

css:存放頁面樣式和相關圖片等,logo也在這裡,是站長比較喜歡瀏覽的目錄

data:存放數據快取、模板快取以及上傳的檔案等

install:安裝程式,安裝成功後可以刪除

js:所有頁面用到的js,前台和後台的都在這

lib:系統用到的工具類和函式

model:系統所有的模型類,是系統核心代碼區域

uc_client:uc的客服端

view:模板html檔案,站長最愛修改的目錄

index.php:系統唯一入口,請勿擅自修改本檔案

passport_client.php:通行證接口檔案

整合

tipask 與 ucenter可以做到很好的整合,對站長來說是很方便的。

這個說一下整合的時候本人遇到的一些問題。

一:安裝時設定的管理員帳號登錄 → 進入系統設定 → 系統整合 → ucenter 簡單的設定就可以與ucenter進行通信啦。這樣會在data資料夾下生成一個檔案,裡面包括了一些配置參數。

二:以上操作基本上是沒有問題,OK的,但是本人發現在ucenter後台,會突然變的很慢,但是刪除掉裡面的tipask套用後就很流暢,這就很奇怪了。 但是刪除掉tipask套用後,tipask就不能跟其他套用進行同步的登錄等操作,於是我手動在ucenter裡面添加套用,但是不知道通信密鑰,導致了通信失敗,找到在data資料夾下生成的檔案,打開 找到UC_KEY這個常量,就是對應的密鑰,還有UC_APPID這個常量的值,要與ucenter後台套用對應的tipask套用ID相同,否則也會導致通信失敗。

幫助

1 Apache下偽靜態如何設定

2 Nginx下偽靜態如何設定

3 安裝後出現

4 怎么把下級問題取消

5 關於用戶許可權的疑問

6 請問如何設定允許遊客提問和回答

7 首頁的精彩推薦要怎么讓他出現

8在首頁上顯示已解決問題的代碼

9 資料庫還原 備份問題

tipask windows2003 iis6.0 偽靜態規則

[ISAPI_Rewrite]

# 3600 = 1 hour

CacheClockRate 3600RepeatLimit 32

RewriteRule ^(.*)/category/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2.html

RewriteRule ^(.*)/category/list/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/$2.html

RewriteRule ^(.*)/category/list/-1\.html\?*(.*)$ $1/index\.php\?category/list/-1/.html

RewriteRule ^(.*)/category/list/-1/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/-1/$2.html

RewriteRule ^(.*)/category/list/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/list/$2/$3/.html

RewriteRule ^(.*)/category/view/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/$3/.html

RewriteRule ^(.*)/category/view/([0-9]+)/-1/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/-1/$3/.html

RewriteRule ^(.*)/category/view/([0-9]+)/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?category/view/$2/$3/$4/.html

RewriteRule ^(.*)/category/view/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?category/view/$2/-1/.html

RewriteRule ^(.*)/category/list/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?category/list/$2/-1/.html

RewriteRule ^(.*)/user/scorelist/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/scorelist/$2.html

RewriteRule ^(.*)/user/code\.html\?*(.*)$ $1/index\.php\?user/code.html

RewriteRule ^(.*)/user/getpass\.html\?*(.*)$ $1/index\.php\?user/getpass.html

RewriteRule ^(.*)/user/register\.html\?*(.*)$ $1/index\.php\?user/register.html

RewriteRule ^(.*)/user/login\.html\?*(.*)$ $1/index\.php\?user/login.html

RewriteRule ^(.*)/user/logout\.html\?*(.*)$ $1/index\.php\?user/logout.html

RewriteRule ^(.*)/question/add\.html\?*(.*)$ $1/index\.php\?question/add.html

RewriteRule ^(.*)/question/search/1\.html\?*(.*)$ $1/index\.php\?question/search/1.html

RewriteRule ^(.*)/user/default\.html\?*(.*)$ $1/index\.php\?user/default.html

RewriteRule ^(.*)/user/profile\.html\?*(.*)$ $1/index\.php\?user/profile.html

RewriteRule ^(.*)/user/ask\.html\?*(.*)$ $1/index\.php\?user/ask.html

RewriteRule ^(.*)/user/uppass\.html\?*(.*)$ $1/index\.php\?user/uppass.html

RewriteRule ^(.*)/note/list\.html\?*(.*)$ $1/index\.php\?note/list.html

RewriteRule ^(.*)/note/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?note/view/$2.html

RewriteRule ^(.*)/user/score\.html\?*(.*)$ $1/index\.php\?user/score.html

RewriteRule ^(.*)/user/space/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/$2.html

RewriteRule ^(.*)/user/space/3/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/3/$2.html

RewriteRule ^(.*)/rss/list/([0-9]+)\.html\?*(.*)$ $1/index\.php\?rss/list/$2.html

RewriteRule ^(.*)/rss/category/([0-9]+)/-1\.html\?*(.*)$ $1/index\.php\?rss/category/$2/-1.html

RewriteRule ^(.*)/rss/question/([0-9]+)\.html\?*(.*)$ $1/index\.php\?rss/question/$2.html

RewriteRule ^(.*)/question/search/2\.html\?*(.*)$ $1/index\.php\?question/search/2.html

RewriteRule ^(.*)/index/help\.html\?*(.*)$ $1/index\.php\?index/help.html

RewriteRule ^(.*)/user/space/([0-9]+)/([0-9]+)\.html\?*(.*)$ $1/index\.php\?user/space/$2/$3.html

RewriteRule ^(.*)/user/answer\.html\?*(.*)$ $1/index\.php\?user/answer.html

RewriteRule ^(.*)/message/send\.html\?*(.*)$ $1/index\.php\?message/send.html

RewriteRule ^(.*)/message/personal\.html\?*(.*)$ $1/index\.php\?message/personal.html

RewriteRule ^(.*)/message/system\.html\?*(.*)$ $1/index\.php\?message/system.html

RewriteRule ^(.*)/message/outbox\.html\?*(.*)$ $1/index\.php\?message/outbox.html

RewriteRule ^(.*)/message/new\.html\?*(.*)$ $1/index\.php\?message/new.html

RewriteRule ^(.*)/question/add/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/add/$2.html

RewriteRule ^(.*)/question/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/view/$2.html

RewriteRule ^(.*)/question/adopt\.html\?*(.*)$ $1/index\.php\?question/adopt.html

RewriteRule ^(.*)/message/view/([0-9]+)\.html\?*(.*)$ $1/index\.php\?message/view/$2.html

RewriteRule ^(.*)/message/remove/([0-9]+)\.html\?*(.*)$ $1/index\.php\?message/remove/$2.html

RewriteRule ^(.*)/question/supply/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/supply/$2.html

RewriteRule ^(.*)/question/addscore/([0-9]+)\.html\?*(.*)$ $1/index\.php\?question/addscore/$2.html

RewriteRule ^(.*)/question/close\.html\?*(.*)$ $1/index\.php\?question/close.html

RewriteRule ^(.*)/question/answer\.html\?*(.*)$ $1/index\.php\?question/answer.html

RewriteRule ^(.*)/question/govote\.html\?*(.*)$ $1/index\.php\?question/govote.html

RewriteRule ^(.*)/c-([0-9]+)\.html$ $1/index\.php\?category/view/$2.html

RewriteRule ^(.*)/l-([0-9]+)\.html$ $1/index\.php\?category/list/$2.html

RewriteRule ^(.*)/r-([0-9]+)\.html$ $1/index\.php\?category/recommend/$2.html

RewriteRule ^(.*)/q-([0-9]+)\.html$ $1/index\.php\?question/view/$2.html

RewriteRule ^(.*)/u-([0-9]+)\.html$ $1/index\.php\?user/space/$2.html

RewriteRule ^(.*)/us-([0-9]+)\.html$ $1/index\.php\?user/scorelist/$2.html

RewriteRule ^(.*)/c-([0-9]+)/([0-9]+)\.html$ $1/index\.php\?c-$2/$3.html

RewriteRule ^(.*)/c-([0-9]+)/all/([0-9]+)\.html$ $1/index\.php\?c-$2/all/$3.html

RewriteRule ^(.*)/c-([0-9]+)/all\.html$ $1/index\.php\?c-$2/all\.html

RewriteRule ^(.*)/c-([0-9]+)/([0-9]+)/([0-9]+)\.html$ $1/index\.php\?c-$2/$3/$4.html

RewriteRule ^(.*)/l-([0-9]+)/([0-9]+)\.html$ $1/index\.php\?l-$2/$3.html

RewriteRule ^(.*)/u-([0-9]+)\.html$ $1/index\.php\?u-$2.html

RewriteRule ^(.*)/r-([0-9]+)\.html$ $1/index\.php\?r-$2.htmlRewriteRule ^(.*) \.html$ $1/index\.php\?gift.html

RewriteRule ^(.*)/user/favorite\.html$ $1/index\.php\?user/favorite.htmlRewriteRule ^(.*)/user/logout\.html\?*(.*)$ $1/index\.php\?user/logout.html

相關詞條

相關搜尋

熱門詞條

聯絡我們