![]() |
| | #1 |
| 論壇站長 註冊日期: 2004-10-06 住址: http://www.twvbb.com
文章: 1,583
|
總站連結: http://www.vbulletin.org/forum/showthread.php?t=144166 簡體中文翻譯: http://phpforce.cn/bbs/showthread.php?t=5669 有沒有要玩玩看順便整理成正體 ?1.- Product Highlights
Step 1 Open vbnews.php and configure the 4 variables: ...................................................... $vbpath = '/home/mademary/public_html/forums/'; (// Path to your vB installation with slash at the end) ...................................................... $vbnewspath = '/home/mademary/public_html/'; (Path to vbnews.php file with slash at the end) ...................................................... $vbnewsurl = 'http://www.madebymary.com/'; (URL to vbnews.php file with slash at the end) ...................................................... $vbnewsname = 'vbnews.php'; // vbNews file name in case that you changed it ...................................................... Also but ONLY if you place vbnews.php in the root directory (with any name) open the files: a.- vbnews/includes/editor_new.inc.php Find: PHP 代碼: PHP 代碼: PHP 代碼: PHP 代碼: Please note that if in your navbar you use links (menu options) other than standard VB you must change all relative links to absolutes. eg (/testme.php must be change to http://www.mydomain.com/forums/testme.php) Step 2: - Upload the contents of /forums directory where your vBulletin installation exists - Upload the contents of vbnews directory to that place that you've setup before - If you've setup different name to vbnews.php don't forget to rename it !!! Step 3: CMOD following directories to 777 /photos (inside vbnews directory) /tmp (inside vbnews directory) /thumbs (inside vbnews/photos directory) /assets (inside vbnews/editor directory) /audio (inside vbnews/editor/assets directory) /flash (inside vbnews/editor/assets directory) /photos (inside vbnews/editor/assets directory) /video (inside vbnews/editor/assets directory) Step 4: For security reasons backup your database AND turn your board off Step 5: Check at your AdminCP->vBulletin Options->Plugin/Hook System that Plugin system is enabled. Step 6: From your AdminCP->Plugin System->Manage Products choose Add/Import Product and import the product: product_news.xml Step 7: If you want to add a link to your nav bar then you must edit the NAVBAR template: Search For: Code: <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]"> $vbphrase[calendar]</a></td> Add Below: Code: <td class="vbmenu_control"><a href="vbarticles.php$session[sessionurl_q]"> News</a></td> ....or use any other word you want Step 8: By default none usergroup has permissions to use vbarticles, so you need to give permissions to any group. Goto AdminCP->Usergroups->Usergroup Manager and edit any usergroup you like to give permissions. *** IMPORTANT *** vbNews supports the feature that a specific usergroup can only post in a specific category. That's why setup any usegroup you want for this case. Step 9: In your adminCP, under vbNews, choose vbNews options and configure it depending on your needs. If you can't see vbNew's menu, then logout and login again to your admincp or press F5 to refresh the page. 4.- Copyright This script cannot be redistributed, reproduced, or published in any way. Modifying this script and sharing or publishing your modification A-N-Y-W-H-E-R-E (including here) without the author's written permission is strictly prohibited. The sane applies for writting addons or integrading it with any other software or module (eg vbAdvanced). Copyright removal, editing or replacement PROHIBITED !! My copyright text and link must remain visible. If your template has colors that makes my copyright invisible you're responsible to change the color of my copyright to be straight visible.
__________________ vBulletin 問題請在論壇討論,請勿私下詢問我,以利後人參考 |
| | |
| | #2 | |
| Senior Member 註冊日期: 2005-05-13 住址: 無
文章: 156
| 引用:
我已將它中文化了..翻的怪怪就是... vbnews 資料夾 forums 資料夾 index.php vbnews.php 把這4個檔案放到論壇跟目錄裡 . 產品管理 ..導入. product-vbnews.xml ok... 再到 用戶群組管理 設定 新聞快報權限 放在論壇跟目錄裡的 vbnews.php 可多放一個vbnews.php 改名為 index.php 既可為你的網址\就能顯示網頁 安裝不用2分鐘...設定就要摸一下. 展示點 http://www.a8car.com/vbnews.php 剛深入稍做了解.. 這個東西不是很好玩.功能比不上 vbPortal 要命的是整體版面不好排列.要做到如官網那麼漂亮沒那麼簡單... 它的小特色是集有..像簿.影音文件分類儲存管理.但一般這些資料都放到免費空間.除非你主機空間夠大 不好玩...我不玩了. 此篇文章於 2007-05-04 08:03 PM 被 a6859 編輯. | |
| | |