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
  #72  
Old 03-21-2007, 01:35 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you figured it out.
Reply With Quote
  #73  
Old 03-21-2007, 06:11 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElfMage View Post
Hi, this usually happens when your board is set to not allow guests to access it.

vbWiki requires that guests be allowed to at least visit your forum's home page (FORUMHOME), so that the MediaWiki - vBulletin bridge can be established.

Is this the case in your site?
Yes.. Well spotted.. Guests are not allowed any access into the site.

Is there any way around this?, as I'm not going to be able to grant any guest access without registering.
Reply With Quote
  #74  
Old 03-21-2007, 06:25 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think we implemented a workaround in the latest version, but we haven't gotten a chance to upload it yet.

Try doing the following:

Open LocalSettings.php in your MediaWiki directory, and find these lines of code:

PHP Code:
} elseif ( empty( $wgNoOutputBuffer ) ) {
    
## Compress output if the browser supports it
    
if( !ini_get'zlib.output_compression' ) ) @ob_start'ob_gzhandler' );

And replace them for this:

PHP Code:

Then vbWiki_Init.php, and find this line:

PHP Code:
require_once dirname(__FILE__) . "/vbWiki.php"
And add the following code right after it:

PHP Code:
if ( empty( $wgNoOutputBuffer ) ) {
    
## Compress output if the browser supports it
    
if( !ini_get'zlib.output_compression' ) ) @ob_start'ob_gzhandler' );

I haven't tested this, but it should work...

I'll give it a try in a few...
Reply With Quote
  #75  
Old 03-22-2007, 01:43 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That ALMOST works, but seems to mess up the paths to all the graphics used on the login page.

ie:
Code:
http://www.mydomain.com/mediawiki/index.php/images/misc/mainlogo.gif
Perhaps it would just be better to redirect to the normal forum login page if the user is not registered?
Reply With Quote
  #76  
Old 03-22-2007, 03:31 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, what happens is that the no permission message is shown from the wiki's path, so all relative images/links would point to the incorrect location.

An alternate solution is to add a plugin (Admin CP > Plugins & Products > Plugin Manager > Add New Plugin) for the hook named error_nopermission.

In this plugin, add the following PHP code:

PHP Code:
if (THIS_SCRIPT == 'vbwiki')
{
   global 
$vbulletin;
   
exec_header_redirect$vbulletin->options['bburl'] );

What this does is that whenever a no permission error will be shown to the user from the wiki, the user gets redirected to the forums' home page.

This will only happen in the case you describe where guests are not given view access to the forum.
Reply With Quote
  #77  
Old 03-22-2007, 09:00 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That works a treat, thanks ElfMage!

I'm getting really frustrated trying to remove the "Discussion" tab from each page though.... Doesn't seem logical having that there, as this would distract from the forum discussions themselves.
Reply With Quote
  #78  
Old 03-22-2007, 10:57 PM
antiekeradio's Avatar
antiekeradio antiekeradio is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

errrr I feel enormously stupid having to ask this.. however.. It doesn't figure for me.

in the file "vbWiki-1.0.2 RC3.zip" there is NO such thing as a "LocalSettings.php" file.

so; I cannot find the place where to put the absolute dir into.

is this changed or was my zip corrupt ? (or something else?)

greetings, Wouter
Reply With Quote
  #79  
Old 03-22-2007, 11:08 PM
antiekeradio's Avatar
antiekeradio antiekeradio is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

euhw.. wait just a second. does this thing just provide the link-up between mediawiki and your vB? ..

(in that case: d?h. i'll get my coat...)


[edit]somewhat more serious, please include a clear link to the MediaWiki in your announcement message (preferably near the top ) [/edit]
Reply With Quote
  #80  
Old 03-22-2007, 11:37 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrAinZ View Post
That works a treat, thanks ElfMage!
Glad it worked.

Quote:
Originally Posted by BrAinZ View Post
I'm getting really frustrated trying to remove the "Discussion" tab from each page though.... Doesn't seem logical having that there, as this would distract from the forum discussions themselves.
You can hide the 'Discussion' Tab using CSS (this is not an elegant solution, but it is simple and works.. ). If you want to go this route let me know...

Alternatives include modifying MW core file, or creating a MW extension.
Reply With Quote
  #81  
Old 03-22-2007, 11:48 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by antiekeradio View Post
euhw.. wait just a second. does this thing just provide the link-up between mediawiki and your vB? ..


Yes, indeed, the LocalSettings.php refers to MediaWiki's configuration file.


Quote:
Originally Posted by antiekeradio View Post
[edit]somewhat more serious, please include a clear link to the MediaWiki in your announcement message (preferably near the top ) [/edit]
Valid point. Just changed the message on top. Added link to MediaWiki's official download site. Thanks.
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 07:56 AM.


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.05291 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
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
  • (9)bbcode_php
  • (5)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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