1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

vB Drupal: Community Plumbing (CMS + Blogs)

本帖由 小叶2005-11-08 发布。版面名称:源码讨论

  1. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    将 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]. 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
     
  2. lanmao

    lanmao New Member

    注册:
    2005-11-06
    帖子:
    5
    赞:
    0
    是中文的不?!
     
  3. yeshou

    yeshou New Member

    注册:
    2005-09-06
    帖子:
    7,067
    赞:
    34
    是拼音
     
  4. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    野兽JJ不见了。。
     
  5. yeshou

    yeshou New Member

    注册:
    2005-09-06
    帖子:
    7,067
    赞:
    34
    欢迎光临木蛋蛋俱乐部
     
  6. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    野兽,我问你,我不发VBB的论坛程序,发他们的那些第三方的整合东西,
    会不回触犯他们的版权。。XXX之类的。
     
  7. yeshou

    yeshou New Member

    注册:
    2005-09-06
    帖子:
    7,067
    赞:
    34
    很严肃的告诉你 不会
     
  8. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    哦也,,那我晚上开始,全发VBB的第三方插件。。让老鬼也装几个看看。。嘎嘎。
     
  9. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
  10. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    整合代码:
     
  11. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    都是转载的。。。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
     
  12. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    最新的 vbDrupal1.1.0.
     
  13. yeshou

    yeshou New Member

    注册:
    2005-09-06
    帖子:
    7,067
    赞:
    34
    看好匹配版本号啊 哈哈
     
  14. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    增加一个VBDrupal的实用Module:
     
  15. 小叶

    小叶 New Member

    注册:
    2005-09-04
    帖子:
    17,941
    赞:
    33
    靠,还不都是 3.5.0的
     
  16. yeshou

    yeshou New Member

    注册:
    2005-09-06
    帖子:
    7,067
    赞:
    34
    3.5.0的装到3.5.1可能会有效问题 虽然问题不大