Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbWiki Standard - vBulletin+MediaWiki integration Details »»
vbWiki Standard - vBulletin+MediaWiki integration
Version: 1.3 RC5, by ElfMage ElfMage is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.4 Rating:
Released: 01-11-2007 Last Update: 09-27-2007 Installs: 226
Additional Files  
No support by the author.

Update:

9/28/2007: vbWiki Std v1.3 RC5 is now available for download. This version adds compatibility with MW 1.11.0+

5/17/2007: vbWiki Std v1.3 RC4 is now available for download. This version is compatible with MW 1.10.0+ and vBulletin 3.6.6+

1/21/2007: vbWiki Std v1.0.2 RC3 is now available for download. This version fixes the 'session error' that used to happen on some installations of MediaWiki 1.9.x.

Description:

vbWiki Standard is the lite version of vbWiki Pro. vbWiki Standard allows the integration of vBulletin and MediaWiki user authentication.

(vbWiki Pro is a commercial product that, in addition to the functionality found in vbWiki Standard, provides full skin integration, enhanced user management, Admin CP, editing of wiki skin in vBulletin's Style Manager, among other features.)

Why should you add a wiki to your forums?

Forums are great for community building with their high level of interactivity. Successful forums have hundreds or thousand of concurrent users creating and replying to threads.

However due to this very reason the more your forums grow the more "collective knowledge" is scattered throughout the thousands (or hundreds or millions) of threads in your forums. Making it difficult for users to find and use.

A wiki is not that good at community building, but it is a great medium to centralize this 'collective knowledge'. Enabling you to create an 'ecosystem of information' (quoting pipin ) maintained and contributed by your users.

The idea behind vbWiki (both Standard and Pro) is to enable the seamless integration between these two packages (vBulletin and MediaWiki) side-by-side in your community. You (and your users and community) get the best of both worlds.

Or so the theory goes...

Features:
  • Single sign-on for vBulletin and MediaWiki (users log in only once)
  • Supports mapping of vBulletin usergroups to MediaWiki user roles
  • Users viewing wiki pages are shown in vBulletin's "What's going on?" section (both guests and registered users)
  • Supports auto-authentication, users who choose to be "remembered" are logged in upon visiting the site to both vBulletin and MediaWiki.
Installation:

These installation instructions do not apply to vbWiki Pro. Refer to vbWiki Pro installation instructions for more information.

MediaWiki and vBulletin must be installed and properly working before installing vbWiki. MediaWiki can be downloaded here.
  • Create a new directory in your forums directory named vbWiki.
  • Upload the content of the installation package to this new directory.
  • Rename the file vbWiki_Init.php-dist to vbWiki_Init.php
  • Open the file LocalSettings.php found in your MediaWiki directory in a text editor and at the very end find the following line and remove it if present:
PHP Code:
?> 
  • Add the following code at the end of the file (entering the correct directory path):
PHP Code:
require_once "/absolute/path/to/your/forums/vbWiki/vbWiki_Init.php"
Troubleshooting:

If you run into any trouble installing vbWiki (blank page, logins not working, etc.), follow these instructions to temporarily turn on vbWiki's Diagnostic Tools.

Open vbWiki_Init.php (or vbWikiPro_Init.php) and find this line:

PHP Code:
$run_vbWikiPro_diag_tools false
And change it for this:

PHP Code:
$run_vbWikiPro_diag_tools true
Navigate to the wiki home page, and see the results.

Changes:
  • 0 vBulletin files to Edit
  • 1 MediaWiki file to Edit
  • 10 vbWiki Files to Upload
Requirements:
  • vBulletin v3.5.4 (version 3.6.x recommended)
  • MediaWiki 1.6.8+ (recommended 1.7.x+).
  • PHP4+
Uninstalling...
  • To uninstall vbWiki Standard simply remove (or comment) the line added to LocalSettings.php.
  • Optionally remove the directory vbWiki from your forums directory.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-11-2007, 10:41 PM
lovelypk lovelypk is offline
 
Join Date: Oct 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this cool hack
Reply With Quote
  #3  
Old 01-11-2007, 10:41 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Resources:
I provided a link to our site's wiki. This wiki is running vbWiki Pro, but since vbWiki Pro reuses all of the code of vbWiki Standard, you can see the user authentication integration working there.. Feel free to register on the forums, and log in and out of the forums/wiki.

vbWiki's Usergroup Mapping
vbWiki (both Standard and Pro editions) has an option to synchronize vBulletin's usergroups into MediaWiki usergroups.

If group synchronization is on (it is on by default), then whenever a user logs on, his/her MW groups are synchronized with whatever groups he/she is in vBulletin.

(The following only applies to vbWiki Standard. In vbWiki Pro, this is configured through vBulletin's Admin CP > Usergroup Manager)

The setting that controls this mapping is named $g_vbWiki_Usergroup_Mapping, here is an example (and the default for this setting):

PHP Code:
$g_vbWiki_Usergroup_Mapping            = array (       
            
/*Administrators*/    => "sysop,bureaucrat"
    
); 
If you want to change this mapping, add these lines of code in vbWiki_Init.php, after the line that says 'CUSTOM SETTINGS START'.

In the example above all vBulletin users who are part of vBulletin's usergroup with id 6 (Administrators), will be added to the MW usergroups sysop and bureaucrat.
Reply With Quote
  #4  
Old 01-11-2007, 11:04 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks for the lite version!
Reply With Quote
  #5  
Old 01-12-2007, 12:51 AM
TheFrienzNet's Avatar
TheFrienzNet TheFrienzNet is offline
 
Join Date: Jan 2007
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any previews?
Reply With Quote
  #6  
Old 01-12-2007, 01:08 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I posted a link to our wiki in the first post.

There are no screenshots, etc. since vbWiki Standard only integrates the user authentication (user DBs). But you can see it in action, by following that link.
Reply With Quote
  #7  
Old 01-12-2007, 02:25 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I downloaded this to evaluate towards purchasing the full product for a website. However after following your instructions my Wiki doesn't work at all. I am using MediaWiki 1.9.0. The error I get is:
Code:
Warning: strpos() [function.strpos]: Empty delimiter. in /home/riders/public_html/forum/vbwiki/arcane_vbulletin_core.php on line 40

Fatal error: Using $this when not in object context in /home/riders/public_html/wiki/includes/User.php on line 642
Please let me know what the issue is.
Reply With Quote
  #8  
Old 01-12-2007, 05:21 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Wayne,

Those errors are caused by some key changes introduced in MW 1.9.0.

I just uploaded a new version (RC2) that adds compatibility with MW 1.9.0.

Let me know if you have any other issues with this new version.

Thanks.
Reply With Quote
  #9  
Old 01-12-2007, 09:32 AM
firstrebel's Avatar
firstrebel firstrebel is offline
 
Join Date: Dec 2005
Location: West London
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excuse my ignorance, but what does this do that vB does not? It seems to be just another forum.

Bob
Reply With Quote
  #10  
Old 01-12-2007, 11:13 AM
pipin's Avatar
pipin pipin is offline
 
Join Date: Jan 2005
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by firstrebel View Post
Excuse my ignorance, but what does this do that vB does not? It seems to be just another forum.

Bob
No excuse. You know Wikipedia which builds on Mediawiki?

This fine hack now bridges the login from your own wiki with vbulletin.

Thats one of the best and useful hacks if you have a community which is willing to build its own ecosystem of information.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04717 seconds
  • Memory Usage 2,312KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete