# birdbbs **Repository Path**: ThinkYii/birdbbs ## Basic Information - **Project Name**: birdbbs - **Description**: PHP Simple BBS V2EX(like), based on YII framework 1.1.14 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: http://bbs.buxiangshuo.cn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 22 - **Created**: 2014-09-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #BirdBBS > PHP Simple BBS V2EX(like), based on [YII framework 1.1.14](http://www.yiiframework.com). ##Requirements - MySQL 5.5 - PHP 5.3 (with fileinfo module default) - YII Framework1.1.14's requirements ##Install > auto install 1. git clone project to your system 2. config your web server , web root dir is `birdbbs/www/` 3. type `http://www.yourname.com/install.php` in browser to install 4. login to ADMIN panel http://www.yourname.com/index.php?r=admin/default config your system > manually 1. git clone project to your system 2. config your web server , web root dir is `birdbbs/www/` 3. load all *.sql (`birdbbs/www/protected/data/`) file to mysql server. (notice table prefix) 4. make file config.php to dir `birdbbs/www/protected/config/config.php` 5. login to ADMIN panel http://www.yourname.com/index.php?r=admin/default config your system config.php example ``` $CONF = array(); $CONF['db'] = array( 'connectionString' => 'mysql:host=127.0.0.1;dbname=birdbbs;port=3306', 'emulatePrepare' => true, 'username' => 'root', 'password' => 'admin', 'charset' => 'utf8', 'tablePrefix' => 'bbs_', 'schemaCachingDuration' => 3600 ); $CONF['params'] = array( 'adminEmail'=>'xbugs@qq.com', 'mail' => array( 'noreply' => 'noreply@buxiangshuo.cn', 'smtp' => 'smtp.exmail.qq.com', 'password' => 'test', ), // third part login bind // sina weibo.com, remove comment // 'sina' => array( // 'appKey' => 'xxxxxxx', // 'appSecrectKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx', // 'callbackUrl' => 'http://yourhoust.com/index.php?r=callback/sina', //), ); ``` nginx example ``` server { set $htdocs /Users/outman/Repositories/birdbbs/www; listen 80; server_name dev.birdbbs.com; location / { root $htdocs; autoindex on; index index.php index.html; if (!-e $request_filename){ rewrite (.*) /index.php?r=$1; } } location ~ \.php$ { include fastcgi_params; fastcgi_index index.php; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $htdocs$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name; } } ``` ##Online demo > [http://bbs.buxiangshuo.cn](http://bbs.buxiangshuo.cn) ##Contact Us & Commercial Service >pochonlee@gmail.com ##Github >[https://github.com/outman/birdbbs](https://github.com/outman/birdbbs) ##GitOschina >[http://git.oschina.net/outman/birdbbs](http://git.oschina.net/outman/birdbbs) ##Screen Snapshot ![系统安装](doc/images/8.png) ![系统前台](doc/images/3.png) ![系统后台](doc/images/7.png) ##License >MIT