返回   CHF站长论坛 > 特色讨论区 > Drupal 讨论专栏

Drupal 讨论专栏 Drupal 是一个高度个性化、模块化的开源内容管理系统。[官方]

双至强仅二千,企商在线,最早租用商 时代冠军主机588元/2年送邮箱域名 亿恩1元帮您升级服务器! 全球最新的创意可以产品
站长轻松日赚500,日结稳定高价,QQ:705491 705492 英雄合击 热血江湖私服 传奇私服 此文字广告位招租 完美世界私服 魔域私服 传奇私服
发表新主题 回复
 
主题工具 主题评分 显示模式
旧 2005-11-08, 00:24   #1 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认 vB Drupal: Community Plumbing (CMS + Blogs)

将 Drupal 和 vBulletin 整合的插件.



代码:
What is it: Drupal is a sophisticated Content Management System (CMS) system (not just a portal), with collaborative authoring tools for books and blogs. I've tried Mambo and Word Press, and they were good, but Drupal is, IMHO, a lot more elegant, powerful and flexible. 

License: vB Drupal is open source, free and licensed under the GPL, just like Drupal.

vB Integration: This is not just a "bridge". vBulletin and Drupal share the same user base, login, sessions, user groups, permissions and custom profile fields, style and theme, without any code changes to vBulletin. You have the option to use Drupal's comment system, or use vBulletin for comments, and announcing new content automatically (with links, teasers, of full content). You can allow user groups to have their own blogs, publish stories, collaborate on handbooks and manuals, and contribnute content, with various levels of permissions and revision control. No special accounts need to be created, all done by usergroups and roles.

You can install it in any directory on your server, above, or below your forum. You can even run it on a different subdomain.

Drupal Features: All of Drupal's features are available. Check the link, as they are quite extensive. Available Drupal modules and themese can be installed, and most will be compatible. Read the next post for some tips on handling add-on modules. Some features have been disabled, since they exist in vB (like custom profile fields), and the forum module [img]images/newsm/cheeky.gif[/img]. Two feature, xmlrpc and blog API have been removed, simply because I have never used them, lack the knowledge and interest in remote logins.

Style/Themes/Templates: Drupal's themes are quite flexible, and can support several template engines (Xtemplate, PHPTemplates, Plain PHP and Smarty). I've include a few themes that are optional, and you wil need to enable them for your users if you want to use them. I have also made one theme that uses vBulletin template system, this one is the default, and it will use your current style, and will change based on the style chooser dropdown. I have also modified one of the default Drupal themes "Pushbutton", and made it use vB's header and footer.

Powered by: Drupal does NOT require you to post any powered by links. It's not even included in the default template. I've added it to the footer, but you are free to remove it, no one will come knocking on your door.

Performance: Busy sites may need to use the cache feature in Drupal. If some of your usergroups do not have any specific Drupal roles, their pages will be cached, as they will be considerd "anonymous". Note that this will not effect the comment system, as they can still comment on content, if they have posting permission in vB. There's an option in the config file sites/default/settings.php to disable the Watchdog module, which can be too agressive.

Search Engine URL's: Drupal has an option to enable SE friendly URL's. You can turn it on from the Drupal admin CP. Some server setups may not work with, in that case, check the .htaccess file and read the comments, to see if you can tweak it to your setup. You will need to enable Apache's mod rewrite.

Installation: 

1. Edit the file forum/drupal/sites/default/settings.php and enter your drupal and forum directory path. then upload the full drupal directory as is (in full) to a directory of your choosing on your server. You may rename the drupal directory to something else if you want.

2. Import the product-drupal.xml file through your product/plugin menu. The steps, in case you have not used the product manager before, are: go to your AdmincCp -> Plugin Systems -> Product Manager -> Manage Products. Clcik on Add/Import Products links, click the "Browse" button, locate the product-drupal.xml file on your local PC drive, select it, and click "yes" to the "Allow Overwrite" option, and click "Import".

3. Go to your AdminCP vBulletin Options -> vB Drupal and setup the Drupal URL and site name and the comment options.

4. Browser to your new Drupal URL, and click "adminsiter". Set up your site.

5. If you have a customized style, go to the template manager, and edit drupal_header template. Note that this template also contains the navbar/menu code. You simply apply any CSS/HTML changes you used to customize your style to the drupal_header template. Say you have a background image to your header, or page, apply that to the drupal_header as well, additional nav bar items, etc.

Drupal Admin CP: 
First thing is setup your user "roles". These act like vB usergroups. You can assign multiple vB groups to a single Drupal role, or the other way around, or both. You can do that for primary or secondary group id's. 

Mapping vB usergroups to Drupal Roles:
Go to administer -> access control -> Roles. Create a new role, then click edit, and enter the vB usergroup ids you want to have that role, separated by commas. Each time you create a new role, update Access Control -< Permissions to refine the new role's permissions.

Module, Blocks, Menus and Settings:
Next is activating the modules you want. Here's how the usual module setup works. Clcik "modules" to activate or diactivate a module. Then click "access control" to set who can use that module. Then click "blocks", to set where you want the block (if it has one) should be placed. Then click "menus" to enable any new menu items. Then click "settings", to see if this module has any additional settings. Some module will add one admin menu, some will add another one under settings.

Documentation: Drupal has an extensive online manual, and many hands on examples. Please visit their online handbooks to learn more about Drupal: http://drupal.org/handbooks

The next post will provide some tips, for items particular to vBulletin, but please use the Drupal site and Drupal forums for questions related to Drupal. Most of your questions can be answered by a quick search on the Drupal site.

Change log:

October 9th, '05: v1.0.3: Two changes for those using vBulletin comments: 1) Only show forums selection based on user's permissions, and show last comment time in recent posts. 
To upgrade, just upload comment.module and tracker.module to your drupal module directory.

October 9th, '05: v1.0.2: Minor fix, correct the time of posted entries in the recent posts page. To upgrade, just upload the tracker.module to your drupal module directory.

October 9th, '05: v1.0.1: Minor fix, to save the forum id selection in preview mode. To upgrade, just upload the comment.module to your drupal/module directory.

October 8th, '05: v1.0:
New feature: Allows a selection of a forum from a list to post notifications to.
Bug fix: Occasional crash with taxonomu_dhtml module
Bug fix: Detect vB CSS as files (credit to Paul M)
Bug fix: Clean URL option now works.

October 6th, '05: v0.9b, some bug fixes:
Fixed threads showing up as moderated on some forums (credit to trilljester)
Fixed login problem (credit to cclaerhout)
Fixed logout problem
Fixed display of none Enlish characters (with option to disable uft-8 in settings.php)
Fixed a PHP5 problem (not that PHP5 may still have some problems)
Provided some missing menu images.

October 2nd, '05: v0.8b, added a feature to allow editing which thread is linked to a node.
To upgrade from 0.7 to 0.8:
1. Import the new product-drupal.xml file into vB the product import page. Make sure you click "yes" to overwrite.
2. Upload the new comment.module file into your drupal/modules directory, overwriting the old one.

October 2nd, '05: v0.7b Initial release for vB 3.5 gold, based on Drupal 4.6.3

Sites running vB Drupal:
http://www.trilliummud.com/holos/blogs


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 14:59   #2 (页面定位)
lanmao
 
注册日期: 2005-11-06
帖子: 5
lanmao 是普普通通的会员
默认

是中文的不?!
lanmao 当前离线   回复时引用此帖
旧 2005-11-08, 15:01   #3 (页面定位)
yeshou
 
yeshou 的头像
 
注册日期: 2005-09-06
帖子: 7026
yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀
默认

是拼音


这家伙太懒,什么也没留下
yeshou 当前离线   回复时引用此帖
旧 2005-11-08, 15:20   #4 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

野兽JJ不见了。。


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 15:42   #5 (页面定位)
yeshou
 
yeshou 的头像
 
注册日期: 2005-09-06
帖子: 7026
yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀
默认

欢迎光临木蛋蛋俱乐部


这家伙太懒,什么也没留下
yeshou 当前离线   回复时引用此帖
旧 2005-11-08, 15:50   #6 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

引用:
作者: yeshou
欢迎光临木蛋蛋俱乐部
野兽,我问你,我不发VBB的论坛程序,发他们的那些第三方的整合东西,
会不回触犯他们的版权。。XXX之类的。


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 15:50   #7 (页面定位)
yeshou
 
yeshou 的头像
 
注册日期: 2005-09-06
帖子: 7026
yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀
默认

很严肃的告诉你 不会


这家伙太懒,什么也没留下
yeshou 当前离线   回复时引用此帖
旧 2005-11-08, 15:51   #8 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

引用:
作者: yeshou
很严肃的告诉你 不会
哦也,,那我晚上开始,全发VBB的第三方插件。。让老鬼也装几个看看。。嘎嘎。


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 16:58   #9 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

vb官方相关主题:http://www.vbulletin.org/forum/showthread.php?t=97341

附上两个Drupal的简体和繁体中文语言包。


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 16:59   #10 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

整合代码:
引用:

$vb_dir = '/path/to/forum'; (以NT主机为例)论坛目录在主机硬盘上的绝对路径 例如 c:/www/user/forum

$drupal_dir = '/path/to/drupal'; (以NT主机为例)Drupal目录在主机硬盘上的绝对路径 例如 c:/www/user/forum/drupal


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 17:00   #11 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

都是转载的。。。52popx的bitbobo。。
几个其他有用的Drupal和VB整合必须的插件。


vB Drupal Community Plumbing: Workflow module
Blog API: Publish to vB Drupal from your Desktop
vB Drupal CMS, Search Engine Optimization (SEO)
vB Drupal CMS addon - Drupal develment debugger


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 17:02   #12 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

最新的 vbDrupal1.1.0.

这个附件是第一个帖子的:ftp。。。/----代码----/2005-1108/VBB/vBDruapal-1-0-3.rar

下面是最新的。FTP.../----代码----/2005-1108/VBB/vBDruapal-1-1.zip


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 17:03   #13 (页面定位)
yeshou
 
yeshou 的头像
 
注册日期: 2005-09-06
帖子: 7026
yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀yeshou 有着人尽皆知的贡献和荣耀
默认

看好匹配版本号啊 哈哈


这家伙太懒,什么也没留下
yeshou 当前离线   回复时引用此帖
旧 2005-11-08, 17:03   #14 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

增加一个VBDrupal的实用Module:
vB Drupal: vBlocks Addon

Attached to this post is the promised vBlocks module. Not worth releasing as a separate module, so I'll just include it in the next update (not yet in the zip file for v1.1).

It has two new blocks "hot forum topics" and "new forum topics". They have the standard block options, so you can enable/disable, place on the right or left sidebars, or selective page locations. It also allows you to choose based on reply count, or by views for "hot topics", or select by start time or last reply time for the "new forum topics". And settings for how many threads to display, or how far back you want to count as "hot". It is aware of forum permissions, and it will also allow you to exclude specific forums, even if the user has permission to those forums. It's away to filter out off-topic forums.

Save the file as vblocks.module (remove the .txt) and upload it to the drupal modules directory, activate the module, then configure the blocks.


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
旧 2005-11-08, 17:05   #15 (页面定位)
小叶
 
注册日期: 2005-09-04
住址: 火星人
帖子: 17753
小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星小叶 是一位成功的新星
默认

引用:
作者: yeshou
看好匹配版本号啊 哈哈
靠,还不都是 3.5.0的


匆匆人生中,你做了几件令自己骄傲的事呢?
小叶 当前离线   回复时引用此帖
回复

书签

标签

主题工具
显示模式 对此主题评分
对此主题评分:



所有时间均为北京时间。现在的时间是 17:05