![]() |
Patch to vbWikiStandard for vb 3.7 & mediaWiki 1.12
The following is a hack of an existing plugin the author abandoned and which stopped working when vbulletin upgraded to 3.7 and mediaWiki changed to version 1.12 - the two of which happen to be the latest versions of their respective software. The file change below will allow the hack to work with vb 3.7 and Media Wiki 1.12. If you are using older versions of either I would recommend using the elfMage's product in it's original form.
You will need to start by installing MediaWiki seperately and then uploading vbWikiStandard and following its instructions. Here is a link to that product. https://vborg.vbsupport.ru/showthread.php?t=136242 Note the requirements are a bit higher - mediaWiki 1.12 requires PHP 5. This mod has only been tested on vb 3.7 Once you have completed the instructions of that product open file arcane_vbulletin_core.php - its part of the vbWiki package and find this code: PHP Code:
PHP Code:
Do not attempt using this hack with vbWikiPro - for optimization I removed the loading of several libraries pro requires. If there is enough interest in this bridge still I will consider wholly rewriting the bridge to tighten up integration further. In the interim though this seems to work. I will provide what support I can but be warned the original hack has been abandoned and outside the changes I've made in this mod your guess is as good as mine. |
any screenshots? this sounds interesting.
|
Here's ENWorld's wiki
http://www.enworld.org/wiki/index.php That said the original product has screenshots. |
and for the Pro version, any idea ?!... ;)
|
Michael, we require all mods to be in files, could you please do this? You can simply put the instructions into a text file and attach it.
Thanks, Dismounted |
I can this evening. I'm on a work computer at the moment.
|
That will be fine.
|
As requested the instructions file has been uploaded.
|
Quote:
That said, I haven't updated my mediawiki to the latest version since I don't know if it's worth it. |
Quote:
|
i don't have mediawiki install :(
|
<a href="https://www.mediawiki.org" target="_blank">http://www.mediawiki.org</a>
|
I've been running the vbWiki Pro for a while, but didn't realise there was a lite version of the script.
What is the chance of being able to create a backwards compatibility for this script? |
Quote:
BTW - nice Idea - but in fact that vBWiki is dead i believe this "Bridge" is useless. A Importer from vBWiki -> MediaWiki will make more Sense. |
vbWiki *is* mediaWiki. All the bridge does is keep the user names in sync.
|
Thanks Michael. So it should work if I uninstall vbWikiPro? I'll test this over the weekend and let you know my results.
@ redlabour, I'm well aware vbWikiPro is dead, hence my question. |
Instead of replacing the above code try inserting this underneath the above code for pro. I can't test it because I don't have pro - but it might work. Worth a shot.
PHP Code:
|
Quote:
|
It doesn't work. Anyway I'm not really having a lot of problems with vbwiki pro + media wiki 1.12 + vB 3.7.1. The only issue I'm having is that the search and quick links drop down menus wont work. Do you know how to fix them?
|
Quote:
Actually, they work fine for me (vbwikipro + mw 1.12 + vb 3.7.1). Could it be the specific style you're using? |
Quote:
Quote:
Quote:
By the way, I really hope that Michael Morris can make this integration better as he stated up above, Quote:
|
I was referring to Simmonds possible fix for vbwiki pro.
|
Just used this patch with mediawiki 1.12 and vb 3.7.2 forums are working fine, wiki is working fine but any attempts to view the wiki whilst logged in results in me being logged out from both. Any ideas why?
|
Same thing is happening to me on our test install, logged in on the forums, then if I try going to the wiki, it redirects to the forums and logs me out...
|
cookies must be enabled for this patch to work. I haven't been able to get it to work when cookies are disabled.
The underlying problem is vbulletin stores session information in the database whereas wiki stores it in $_SESSION. vbulletin doesn't even use $_SESSION. |
Hi,
Quote:
At the moment I`m using this solution http://www.mediawiki.org/wiki/Extens...rs_Integration which offers no skin support. So vBWiki Pro would be interesting for me but not if I it keeps me from updating MediaWiki and vBulletin because I have to wait ages until they officially support the latest versions. Maybe someone can comment on this. Thanks and all the best, Sacha |
Quote:
|
Hi Smitty,
thanks for the info. best, Sacha |
Quote:
|
Works for me thanks
|
I get the following "Warning: array_merge() [function.array-merge]: Argument #1 is not an array" regarding
Code:
$_SESSION = array_merge( $_SESSION, $db->query_first(.... |
Warning: require_once(mysante2/public_html/atrwiki/SpecialPage.php) [function.require-once]: failed to open stream: No such file or directory in /home/mysante2/public_html/members/forums/vbWiki/vbWiki_Userlogin.php on line 14
Fatal error: require_once() [function.require]: Failed opening required 'mysante2/public_html/atrwiki/SpecialPage.php' (include_path='.:/home/mysante2/public_html/members/include/') in /home/mysante2/public_html/members/forums/vbWiki/vbWiki_Userlogin.php on line 14 I get this error. |
plz for PRO version plzzz
|
Quote:
Eventually I will write a new bridge - the code above is a bit of a kludge to get things to work - passed along in the hopes in might be useful. |
Interesting adding session start before the mege_array function fixed the problem.
I wonder why it's not being called before? |
W00t! This fixed the logout problems everybody on my board was having!
Thanks a lot, Michael! |
Well I have it set up, but now the users will not log off of the wiki when they log out of the forums.
I have vbWikiStandard and the pro fix doesn't seem to work... |
Hmm. I paid for the vbwikipro product and can't get it from their members area. :down:
I might have to use this free version instead. |
Hi Michael,
Would love to be able to use this hack but unfortunately, whenever I go to access my wiki it comes up with the following: Warning: require_once(public_html/forum/vbWiki/vbWiki_Init.php) [function.require-once]: failed to open stream: No such file or directory in /home/domaino/public_html/wiki/LocalSettings.php on line 126 Fatal error: require_once() [function.require]: Failed opening required 'public_html/forum/vbWiki/vbWiki_Init.php' (include_path='/home/domaino/public_html/wiki:/home/domaino /public_html/wiki/includes:/home/domaino/public_html/wiki/languages:.: /usr/lib/php:/usr/local/lib/php') in /home/domaino/public_html/wiki/LocalSettings.php on line 126 Any ideas where I'm going wrong? Thanks in advance, domaino :) |
Quote:
I had the same problem. Double check your paths, you're probably pointing to the wrong one. Does anyone know how to do sysops stuff with this bridge? Is a regular user on the forums a regular user on the wiki, and admin on the forums a sysop on the wiki? |
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|