The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vbWiki Standard - vBulletin+MediaWiki integration Details »» | |||||||||||||||||||||||||||
vbWiki Standard - vBulletin+MediaWiki integration
Developer Last Online: Aug 2010
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:
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.
PHP Code:
PHP Code:
Open vbWiki_Init.php (or vbWikiPro_Init.php) and find this line: PHP Code:
PHP Code:
Changes:
Show Your Support
|
Comments |
#292
|
||||
|
||||
Has anyone done vB 3.7.2, Wediawiki 12, and the Pro version?
|
#293
|
|||
|
|||
I am ready install wiki but just wanted to make sure that this has no chance of messing up your live forum?
|
#294
|
||||
|
||||
Ran across the session logout bug mentioned in this thread. This is how I killed it - I'm not familiar enough with mediaWiki yet to fully weigh the ramifications of this stunt. Use with caution.
In file vbWiki.php find this line of code PHP Code:
PHP Code:
$_COOKIE['enprod_mw__UserName'] This appears to be databasename + underscore + mediawiki prefix + "UserName". You can discover what the field actually is by calling print_r($_COOKIE); exit; where this code mod occurs to find out what part of the cookie you need to reference to find the username for the wiki. It is during the code that precedes that vbWiki populates the cookie but for some reason the $_SESSION is left empty - this is why the user is logged out when they go to the wiki and has to log in. Keep in mind that vbulletin doesn't use $_SESSION at all. The hack above populates $_SESSION with the values necessary to authenticate mediaWiki. It is called after the bridge has already tested the cookie using vbulletin core - so it should be safe. With the fix above I now have this module running on vBulletin 3.7.2 and MediaWiki 1.12.0 |
#295
|
||||
|
||||
Ok, if they don't click 'remember me' the above fails. Hmm... I'm close....
|
#296
|
|||
|
|||
Thanks for working to get this compatible. Once you do, is there any chance you can upload a complete working/compatible version of the basic files somewhere?
|
#297
|
||||
|
||||
Quote:
HOWEVER... I *might* be able to use a plugin.xml to make the transition easier. We'll see. If I can get a plugin to fix the compat issues I can release that as a separate hack of a hack. |
#298
|
|||
|
|||
Quote:
Quote:
|
#299
|
||||
|
||||
Ok, I've got this down to something reasonably easy to do, but it is still a hack as there seems to be bad code floating about :\
I have managed to narrow down the edits to one file - arcane_vbulletin_core.php In that file find this code PHP Code:
PHP Code:
|
#300
|
|||
|
|||
So all we do is install MW 1.12, vBwiki Standard, and then make the changes in post 298 (the one above this one) and it should work? Sounds too easy! Thanks.
|
#301
|
||||
|
||||
Yes. If you run into problems I will try to help as I find the time.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|