台灣深藍vBulletin技術論壇  

返回   台灣深藍vBulletin技術論壇 > 深藍官方整理發表區 > vBulletin 外掛深藍統整資源區 > 入口網頁 (Portal Software)

回覆
 
主題工具
舊 2007-05-03, 07:13 PM   #1
論壇站長
 
註冊日期: 2004-10-06
住址: http://www.twvbb.com
文章: 1,583
預設 【外掛】vBNews - 新聞首頁模組

總站連結: http://www.vbulletin.org/forum/showthread.php?t=144166
簡體中文翻譯: http://phpforce.cn/bbs/showthread.php?t=5669

有沒有要玩玩看順便整理成正體?


vbNews
News Publishing & Book Library System
by Mary
http://www.MadeByMary.com


1.- Product Highlights
  • Can be used as News Publishing, Article managment, Book Library
  • Unlimited categories
  • You can restrict posts in a category only to a usergroup
  • Unlimited subcategories
  • Powerful commercial HTML Editor in article body
  • Commenting system
  • You can add links to other parts of your sites
  • Pagination for long articles
  • Chapters (with pagination) for very long posts (Books or Manuals)
  • You can use your own header
  • You can use your own footer
  • You can use vbNews as your site's main page
  • You can turn On/Off navbar display
  • You can use special login box on left column (useful if you've turn navbar off)
  • Lot's of configurations per usergroup, so you can easily turn it in a paid subscription module.
  • Related News
  • Related Forum posts
  • Breaking News
  • Newest News
  • Print Article
  • Email Article
  • Report Article to Admin
  • and many others.... check 'em out
  • No Time Limit - Totally Free
2.- Additions in the Commercial version
  • RSS support
  • Search in news (Categories/Subcategories/Keywords)
  • Banner support. You can setup different banner per category/subcategory. Imagine if you've 50 categories/subcategories, you can use 50 different banners. Great income if you marketing them well.
  • You can transfer one or all news from an editor to someone else
  • Advanced HTML Editor with Media uploads and YouTube code
3.- Installation

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 代碼:
$editor = new rich('''text''''100%''400'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'falsefalse); 
Replace wth:

PHP 代碼:
$editor = new rich('''text''''100%''400''/vbnews/editor/assets/''/vbnews/editor/assets/'falsefalse);
b.- vbnews/includes/editor_edit.inc.php 
PHP 代碼:
$editor = new rich('''text'$article[text], '100%''400'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'falsefalse); 
Replace wth:
PHP 代碼:
$editor = new rich('''text'$article[text], '100%''400''/vbnews/editor/assets/''/vbnews/editor/assets/'falsefalse); 
*** ATTENTION ***
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.
上傳的圖像
檔案類型: jpg vbnews1.jpg (187.9 KB, 104 次查看)
檔案類型: jpg vbnews2.jpg (57.1 KB, 43 次查看)
上傳的附件
檔案類型: rar vbNews.rar (182.8 KB, 35 次查看)
檔案類型: rar product-vbnews-zhs.rar (8.9 KB, 21 次查看)
__________________
vBulletin 問題請在論壇討論,請勿私下詢問我,以利後人參考
ckmarkhsu 目前離線   回覆時引用此篇文章
舊 2007-05-04, 06:46 PM   #2
Senior Member
 
註冊日期: 2005-05-13
住址: 無
文章: 156
預設

引用:
作者: ckmarkhsu 查看文章
總站連結: http://www.vbulletin.org/forum/showthread.php?t=144166
簡體中文翻譯: http://phpforce.cn/bbs/showthread.php?t=5669

有沒有要玩玩看順便整理成正體?


vbNews
News Publishing & Book Library System
by Mary
http://www.MadeByMary.com


1.- Product Highlights
  • Can be used as News Publishing, Article managment, Book Library
  • Unlimited categories
  • You can restrict posts in a category only to a usergroup
  • Unlimited subcategories
  • Powerful commercial HTML Editor in article body
  • Commenting system
  • You can add links to other parts of your sites
  • Pagination for long articles
  • Chapters (with pagination) for very long posts (Books or Manuals)
  • You can use your own header
  • You can use your own footer
  • You can use vbNews as your site's main page
  • You can turn On/Off navbar display
  • You can use special login box on left column (useful if you've turn navbar off)
  • Lot's of configurations per usergroup, so you can easily turn it in a paid subscription module.
  • Related News
  • Related Forum posts
  • Breaking News
  • Newest News
  • Print Article
  • Email Article
  • Report Article to Admin
  • and many others.... check 'em out
  • No Time Limit - Totally Free
2.- Additions in the Commercial version
  • RSS support
  • Search in news (Categories/Subcategories/Keywords)
  • Banner support. You can setup different banner per category/subcategory. Imagine if you've 50 categories/subcategories, you can use 50 different banners. Great income if you marketing them well.
  • You can transfer one or all news from an editor to someone else
  • Advanced HTML Editor with Media uploads and YouTube code
3.- Installation

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 代碼:
$editor = new rich('''text''''100%''400'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'falsefalse); 
Replace wth:

PHP 代碼:
$editor = new rich('''text''''100%''400''/vbnews/editor/assets/''/vbnews/editor/assets/'falsefalse);
b.- vbnews/includes/editor_edit.inc.php 
PHP 代碼:
$editor = new rich('''text'$article[text], '100%''400'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'dirname($_SERVER['PHP_SELF']).'/vbnews/editor/assets/'falsefalse); 
Replace wth:
PHP 代碼:
$editor = new rich('''text'$article[text], '100%''400''/vbnews/editor/assets/''/vbnews/editor/assets/'falsefalse); 
*** ATTENTION ***
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.
沒人要嗎...
我已將它中文化了..翻的怪怪就是...

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
要命的是整體版面不好排列.要做到如官網那麼漂亮沒那麼簡單...
它的小特色是集有..像簿.影音文件分類儲存管理.但一般這些資料都放到免費空間.除非你主機空間夠大
不好玩...我不玩了.
上傳的附件
檔案類型: rar vbNews.rar (289.0 KB, 22 次查看)

此篇文章於 2007-05-04 08:03 PM 被 a6859 編輯.
a6859 目前離線   回覆時引用此篇文章
回覆

書籤

主題工具

發文規則
不可以發表新主題
不可以發表回覆
不可以上傳附件
不可以編輯自己的文章

啟用 BB 代碼
論壇啟用 表情符號
論壇啟用 [IMG] 代碼
論壇禁用 HTML 代碼
Trackbacks are 禁用
Pingbacks are 禁用
Refbacks are 禁用


所有時間均為北京時間。現在的時間是 07:23 AM


Powered by vBulletin® 版本 3.7.3
版權所有 ©2000 - 2008,Jelsoft Enterprises Ltd.
Ad Management by RedTyger