PDA

View Full Version : Integration with vBulletin - Patch to vbWikiStandard for vb 3.7 & mediaWiki 1.12


Michael Morris
07-09-2008, 10:00 PM
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:

// Include vBulletin Engine
if ($g_vbWiki_StyleId_Override > 0)
{
define('VB_AREA', 'Forum');
require_once('./includes/init.php');
$vbulletin->options['styleid'] = $g_vbWiki_StyleId_Override;
$vbulletin->options['allowchangestyles'] = false; // ignore user styles
$vbulletin->userinfo['styleid'] = 0;
}

require_once('./global.php');
require_once('./includes/functions_login.php');
require_once("./includes/functions.php"); // vbdate
require_once("./includes/functions_forumdisplay.php");
require_once("./includes/functions_newpost.php");
require_once("./includes/adminfunctions.php" );

Replace with this code.


require_once('./global.php');

if ((empty($_SESSION['wsUserID']) || empty($_SESSION['wsUserName']) || empty($_SESSION['wsToken']))
&& !empty($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName']))
{
$_SESSION = array_merge( $_SESSION, $db->query_first("SELECT
user_id AS wsUserID,
user_name AS wsUserName,
user_token AS wsToken
FROM ".$wgDBname.".".$wgDBprefix."user
WHERE user_name = '".addslashes($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName'])."' LIMIT 1"));
}

I have tested this for 2 weeks on EN World, a site that gets about 22,000 hits / day and it appears stable. We've had a few isolated instances of users stating they are getting logged off, but I believe that's because they are running cookie blockers.

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.

jlew24asu
07-10-2008, 12:21 PM
any screenshots? this sounds interesting.

Michael Morris
07-10-2008, 12:22 PM
Here's ENWorld's wiki

http://www.enworld.org/wiki/index.php

That said the original product has screenshots.

nexialys
07-10-2008, 12:47 PM
and for the Pro version, any idea ?!... ;)

Dismounted
07-10-2008, 02:13 PM
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

Michael Morris
07-10-2008, 02:20 PM
I can this evening. I'm on a work computer at the moment.

Dismounted
07-10-2008, 02:31 PM
That will be fine.

Michael Morris
07-10-2008, 07:25 PM
As requested the instructions file has been uploaded.

Quantnet
07-11-2008, 01:02 AM
and for the Pro version, any idea ?!... ;)
I"m running the pro version on Vb 3.7.2 for over a year.
That said, I haven't updated my mediawiki to the latest version since I don't know if it's worth it.

Smitty
07-11-2008, 01:19 AM
I"m running the pro version on Vb 3.7.2 for over a year.
That said, I haven't updated my mediawiki to the latest version since I don't know if it's worth it.
3.7.2 hasn't been out for a year. I'm using the pro version as well, though, and have upgraded to vB 3.7.2 (last weekend). Using Mediawiki 1.11.0

Q-v-n-s-Q
07-11-2008, 01:58 AM
i don't have mediawiki install :(

Michael Morris
07-11-2008, 03:35 AM
<a href="https://www.mediawiki.org" target="_blank">http://www.mediawiki.org</a>

mokonzi
07-11-2008, 04:23 AM
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?

redlabour
07-11-2008, 05:05 AM
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?

vBWiki is dead and will not longer be supported or saled. Search for a Alternative!

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.

Michael Morris
07-11-2008, 05:11 AM
vbWiki *is* mediaWiki. All the bridge does is keep the user names in sync.

mokonzi
07-11-2008, 05:19 AM
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.

Michael Morris
07-11-2008, 12:25 PM
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.


if ((empty($_SESSION['wsUserID']) || empty($_SESSION['wsUserName']) || empty($_SESSION['wsToken']))
&& !empty($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName']))
{
$_SESSION = array_merge( $_SESSION, $db->query_first("SELECT
user_id AS wsUserID,
user_name AS wsUserName,
user_token AS wsToken
FROM ".$wgDBname.".".$wgDBprefix."user
WHERE user_name = '".addslashes($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName'])."' LIMIT 1"));
}

Jon_Simmonds
07-11-2008, 06:41 PM
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.


if ((empty($_SESSION['wsUserID']) || empty($_SESSION['wsUserName']) || empty($_SESSION['wsToken']))
&& !empty($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName']))
{
$_SESSION = array_merge( $_SESSION, $db->query_first("SELECT
user_id AS wsUserID,
user_name AS wsUserName,
user_token AS wsToken
FROM ".$wgDBname.".".$wgDBprefix."user
WHERE user_name = '".addslashes($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName'])."' LIMIT 1"));
}

will let you know how I get on with that over the weekend - thanks :)

Arkidas
07-13-2008, 11:31 AM
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?

tazzarkin
07-13-2008, 11:40 AM
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?

------------------------------

Actually, they work fine for me (vbwikipro + mw 1.12 + vb 3.7.1). Could it be the specific style you're using?

tazzarkin
07-13-2008, 11:53 AM
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.

mediawiki 1.12 is still alive. And this is a bridge to vbulletin. I think redlabour is a little confused.

@ redlabour, I'm well aware vbWikiPro is dead, hence my question.

Actually, vbWikiPro is working quite well for me with mw 1.12 + vb 3.7.1 My only problem was with a cookies/login issue, but there is an easy fix on nuhit.com (FIX FOR vbWikiPRO ONLY):

Originally Posted by kremer4
Think I got it, edit the file "/vbWiki/vbWiki_Auth.php"

Put // infront of the following lines

$user->logout();
global $wgEnableParserCache, $wgParser, $wgOut, $wgCachePages;

So it should be

//$user->logout();
//global $wgEnableParserCache, $wgParser, $wgOut, $wgCachePages;

Let me know if this works for you. I also made one other change but I don't think it's related. If this does not work then I'll post the other change I made.

However, after using this fix, it doesn't clear the cookies completely and it makes it look like the user is still logged in when he's really not. But it does seem to work other than that.

By the way, I really hope that Michael Morris can make this integration better as he stated up above, If there is enough interest in this bridge still I will consider wholly rewriting the bridge to tighten up integration further.

I really hope that you can keep improving this. Thank you again for keeping this alive!! I'm still using vbWikiPro, but I would love to have this as an alternative.

Arkidas
07-13-2008, 09:11 PM
I was referring to Simmonds possible fix for vbwiki pro.

MikeH2911
07-14-2008, 10:08 PM
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?

iRO Wiki
07-15-2008, 08:37 PM
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...

Michael Morris
07-16-2008, 06:37 AM
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.

sinucello
07-17-2008, 05:27 AM
Hi,
By the way, I really hope that Michael Morris can make this integration better as he stated up above,
you`re using a commercial add-on for vBulletin that costs $60 USD and are hoping for an indipendant programmer here on vb.org to fix this product? That doesn`t sound like NuHIT offers a reliable, well supported solution.

At the moment I`m using this solution
http://www.mediawiki.org/wiki/Extension:VBulletin/Users_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

Smitty
07-17-2008, 06:03 AM
That doesn`t sound like NuHIT offers a reliable, well supported solution.NuHIT is for all intents and purposes gone. There's still a web site and I *think* they'll still take someones money, but essentially the products have been abandoned. This is no secret and has been discussed in other threads. I bought the pro package quite a while back. It's still working for me.

sinucello
07-17-2008, 07:03 AM
Hi Smitty,

thanks for the info.

best,
Sacha

iRO Wiki
07-22-2008, 05:38 PM
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.

As far as I know, cookies are enabled. The issue is, when we log into the forum, then browse to the wiki, it redirects back to the forum logout page...

rinkrat
07-29-2008, 12:47 AM
Works for me thanks

GoodOmens
07-29-2008, 12:59 PM
I get the following "Warning: array_merge() [function.array-merge]: Argument #1 is not an array" regarding

$_SESSION = array_merge( $_SESSION, $db->query_first(....

RRicart
07-30-2008, 01:04 AM
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.

cosy
07-31-2008, 10:35 PM
plz for PRO version plzzz

Michael Morris
08-01-2008, 04:42 PM
I get the following "Warning: array_merge() [function.array-merge]: Argument #1 is not an array" regarding

$_SESSION = array_merge( $_SESSION, $db->query_first(....
My guess without looking into it deeply is that sessions are disabled. $_SESSION is a superglobal and should be present after session_start(); is called (which mediaWiki does). If it isn't present then PHP was unable to start a session. In the absense of sessions I'm unsure how to go about bridging this.

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.

GoodOmens
08-03-2008, 11:20 PM
Interesting adding session start before the mege_array function fixed the problem.

I wonder why it's not being called before?

TheGreatTK
08-06-2008, 02:55 PM
W00t! This fixed the logout problems everybody on my board was having!

Thanks a lot, Michael!

Rein Masamuri
08-08-2008, 12:22 PM
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...

chris1979
08-09-2008, 06:23 PM
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.

domaino
08-12-2008, 11:05 PM
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 :)

Rein Masamuri
08-13-2008, 01:19 AM
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 :)


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?

domaino
08-13-2008, 10:14 AM
Thanks Rein, but problem unresolved.

Here is everything I have done that may I feel have caused a problem:

vbWiki was installed inside the forum directory e.g. forum/vbWiki/vbWiki_Init.php - is this correct?

I moved localsettings.php to the parent directory (as requested) but then I crossed back over my steps and found this wasn't the problem.

I have changed my paths again and again, they must be correct. Currently it is set as: /public_html/forum/vbWiki/vbWiki_Init.php - I have even tried directing the path straight to the root e.g. home/domaino/public_html/vbWiki/vbWiki_Init.php and still no luck

I tried changing the require once to be included between php blocks:
<?php require_once "/public_html/forum/vbWiki/vbWiki_Init.php"; ?>
and instead of being presented with the aforementioned message, I was provided with this: Parse error: syntax error, unexpected '<' in /home/domaino/public_html/wiki/LocalSettings.php on line 126

I'm running vb 3.7.2 and the latest release of MediaWiki, would this cause compatibility issues?

Also, I downloaded the RC5 version of the previous release for 3.6.

I have been tinkering with this all last night and this morning and still no success. Does anyone have any ideas?

Thanks,
Gareth

domaino
08-13-2008, 02:43 PM
Anyone have any ideas on this one?

I really NEED this fixed up, so any help greatly appreciated.

Cheers.

GoodOmens
08-14-2008, 01:29 PM
Thanks Rein, but problem unresolved.

Here is everything I have done that may I feel have caused a problem:

vbWiki was installed inside the forum directory e.g. forum/vbWiki/vbWiki_Init.php - is this correct?

I moved localsettings.php to the parent directory (as requested) but then I crossed back over my steps and found this wasn't the problem.

I have changed my paths again and again, they must be correct. Currently it is set as: /public_html/forum/vbWiki/vbWiki_Init.php - I have even tried directing the path straight to the root e.g. home/domaino/public_html/vbWiki/vbWiki_Init.php and still no luck

Thanks,
Gareth

That should be /home/domaino/public_html/forum/vbWiki/vbWiki_Init.php you need the "/" in front of home and it seems your vbWiki folder is in your forum folder (And yes this is the correct location of vbWiki). You also don't need the php blocks so it should just be :

require_once "/home/domaino/public_html/forum/vbWiki/vbWiki_Init.php";

Jaxel
08-15-2008, 01:05 AM
Does not work with WikiMedia 1.13... required files are missing.

Jaxel
08-15-2008, 03:04 AM
Okay... I am having a few problems with this and WM 1.12...

1) if I am not logged into vBulletin and I go to the Wiki... I dont see a link to login...
2) often when I am logged into VB and go to the Wiki... it logs me out...

And how do I set it up so that people cant edit pages unless they are logged in?
Can I turn off personal talk pages? Since we have VB, we wont be needing them.
Would there be a way to rap the Wiki in the VB templates?

Also... would anyone mind helping me configure this Wiki of mine? I am brand new to Wikis and this thing is CONFUSING!

Jaxel
08-16-2008, 12:55 PM
Has anyone found a solution to this "Cookies Cleared" problem?

g00gl3r
08-18-2008, 10:19 AM
Anymore solutions?

ericdesmontagne
08-19-2008, 03:54 AM
Hello, i'd like to use vbwikiskin skin as defalut skin... but is doesn't work very well :(
In localsetting.php :
I have : $wgDefaultSkin = 'vbwikiskin';
In my file VbWikiSkin.php :
I have : $this->skinname = 'vbwikiskin';
But still the old skin you can see here : http://www.baldursgateworld.com/wiki/
An idee ? Thanks
(media wiki 1.11 and vb 3.7.2 PL3)

GoodOmens
08-21-2008, 04:56 AM
I've found a bug ... seems if a user logs out of the forum visiting the wiki will give him the "cookies cleared" until he logs back into the forum.

Rein Masamuri
08-26-2008, 09:43 PM
Has anyone found a solution to this "Cookies Cleared" problem?

I was wondering this as well :/

EDIT:
Found the solution on the nuhit website:
Think I got it, edit the file "/vbWiki/vbWiki_Auth.php"

Put // infront of the following lines

$user->logout();
global $wgEnableParserCache, $wgParser, $wgOut, $wgCachePages;

So it should be

//$user->logout();
//global $wgEnableParserCache, $wgParser, $wgOut, $wgCachePages;

Let me know if this works for you. I also made one other change but I don't think it's related. If this does not work then I'll post the other change I made.

I have cleared my cookies, restarted my browsers (both IE and Firefox) and it's working for me everytime now.

ericdesmontagne
08-27-2008, 08:41 AM
Hello, i'd like to use vbwikiskin skin as defalut skin... but is doesn't work very well :(
In localsetting.php :
I have : $wgDefaultSkin = 'vbwikiskin';
In my file VbWikiSkin.php :
I have : $this->skinname = 'vbwikiskin';
But still the old skin you can see here : http://www.baldursgateworld.com/wiki/
An idee ? Thanks
(media wiki 1.11 and vb 3.7.2 PL3)
Nobody as any idea or information about this ? Do you know a good forum about mediawiki ? I can't find it :'(
:erm:

chris1979
08-31-2008, 04:55 PM
Does MediaWiki and Vbulletin need to be in the same database for this to work? I am getting a database error message:

MySQL Error : SELECT command denied to user 'nlpc'@'localhost' for table 'wiki_user'

chris1979
09-07-2008, 10:46 AM
Can anyone help?

Lord Doys
11-16-2008, 07:05 PM
Morris

i got it to work with vbWikiPro on vb 3.7.4 vbwiki_pro 1.3 with MW 1.13.2

used your solution replacing the text in arcane_vbulletin_core.php.

When you put $wgShowExceptionDetails = true; at the bottom of your localsettings.php it gives a stacktrace on what is wrong.

example:
MediaWiki internal error.
Original exception: exception 'MWException' with message 'Detected bug in an extension! Hook vbWiki_GetLocalURL_Hook failed to return a value; should return true to continue hook processing or false to abort.' in /srv/www/birthright.net/brwiki/includes/Hooks.php:137

so all i did was give the functions vbWiki_GetLocalURL_Hook and vbWiki_PersonalUrls_Hook which are both in vbwiki_hooks.php

and voila.. that did the job for me

see it working are http://www.birthright.net/brwiki/index.php/Special:Version

cheers
Arjan

hollosch
11-16-2008, 07:19 PM
Morris

i got it to work with vbWikiPro on vb 3.7.4 vbwiki_pro 1.3 with MW 1.13.2

used your solution replacing the text in arcane_vbulletin_core.php.

When you put $wgShowExceptionDetails = true; at the bottom of your localsettings.php it gives a stacktrace on what is wrong.

example:
MediaWiki internal error.
Original exception: exception 'MWException' with message 'Detected bug in an extension! Hook vbWiki_GetLocalURL_Hook failed to return a value; should return true to continue hook processing or false to abort.' in /srv/www/birthright.net/brwiki/includes/Hooks.php:137

so all i did was give the functions vbWiki_GetLocalURL_Hook and vbWiki_PersonalUrls_Hook which are both in vbwiki_hooks.php

and voila.. that did the job for me

see it working are http://www.birthright.net/brwiki/index.php/Special:Version

cheers
Arjan

Can you tell us how you got it to work for non-experts, step-by-step?

Lord Doys
11-16-2008, 07:27 PM
sure

open vbWiki_hooks.php

find


//vbWikiDebug("vbWiki_PersonalUrls_Hook() userinfo['username'] = '" . $userinfo['username'] . "'");
if ($userinfo)
{
if ($userinfo['userid'] != 0) // only for registered users
$personal_urls['userpage']['text'] = $userinfo['username'];
}
}

function vbWiki_GetLocalURL_Hook( &$title, &$url, $query )

and replace by:


//vbWikiDebug("vbWiki_PersonalUrls_Hook() userinfo['username'] = '" . $userinfo['username'] . "'");
if ($userinfo)
{
if ($userinfo['userid'] != 0) // only for registered users
$personal_urls['userpage']['text'] = $userinfo['username'];
}
return true;
}

function vbWiki_GetLocalURL_Hook( &$title, &$url, $query )


and find:

$talkurl = vbWiki_Get_Talk_Page( $title->getText(), 'user' );
if ($talkurl && ($talkurl != ""))
$url = $talkurl;
}
}

replace by:

$talkurl = vbWiki_Get_Talk_Page( $title->getText(), 'user' );
if ($talkurl && ($talkurl != ""))
$url = $talkurl;
}
return true;
}


so basically i only added return true; at the end of the two functions vbWiki_GetLocalURL_Hook and vbWiki_PersonalUrls_Hook just before their closing tag } (approx line number 54 an 121)

hope this helps

cheers
Arjan

hollosch
11-16-2008, 07:58 PM
Hi,
i will test this. it means, that you don't use the patch ??? (i think the patch is only for vbwiki standard???)

thx
hollosch

Lord Doys
11-16-2008, 09:26 PM
Hi,
i will test this. it means, that you don't use the patch ??? (i think the patch is only for vbwiki standard???)

thx
hollosch

indeed, i didnt use it (thought i did.. but had no effect, do removed it later)

hollosch
11-16-2008, 09:34 PM
What about the cookie problem? It is still alive...
Did you solve the Go To Forum - problem? (Create thread in a forum instead of a discussion page in the wiki) - You use this in your wiki.

Lord Doys
11-16-2008, 10:06 PM
What about the cookie problem? It is still alive...
Did you solve the Go To Forum - problem? (Create thread in a forum instead of a discussion page in the wiki) - You use this in your wiki.


there are still some minor flaws.. but it as workable is it is now.. ill look into it later this week, off to bed now

hollosch
11-16-2008, 10:11 PM
there are still some minor flaws.. but it as workable is it is now.. ill look into it later this week, off to bed now

I tested it, but it seems it doesn't work to me:

vBulletin 3.7.4
MW 1.13.2
vbWikiPro 1.3 RC5

same as you...

Hope you can help me - cu

Lord Doys
11-18-2008, 07:04 PM
i have fixed the vbWiki Pro: Go To Forum issue

open vbWikiPro_GoToForum.php

find:

$wgOut->addHTML("Redirecting to: <a href=\"$url\">$url</a><br/>"); (~line 102)

and replace with

$wgOut->redirect( $url );

cheers
Arjan

hollosch
11-18-2008, 10:02 PM
This is the code i have:

ln101 if (!$g_Arcane_Debug_GoToForum)
ln102 $wgOut->addHTML("Redirecting to: <a href=\"$url\">$url</a><br/>");
ln103 else
ln104 $wgOut->redirect( $url );
ln105 return;


It doesn't work, when I replace the code in line 102.

???

Shamil.
12-11-2008, 08:23 PM
I'm running 3.8 (vB), and 1.13.x (MW) hand MW gives me a blank page :| even if debugging is on in vbWiki-init.php

Blank page occurs in wiki when I add the require_once to the end of the localsettings file.

Skyrider
12-15-2008, 09:21 AM
Getting error:

Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in xxxxxxxxxxxxxxx/LocalSettings.php on line 126

Warning: require_once(xxxxxxxxxxxxxxxxxx/vbWiki_Init.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in xxxxxxxxxxxxxx/LocalSettings.php on line 126

Fatal error: require_once() [function.require]: Failed opening required 'xxxxxxxxxxxxxxxxxx/vbWiki_Init.php' (include_path='/home/ffesf/public_html/wiki:/home/xxxx/public_html/wiki/includes:/home/xxxxx/public_html/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/wiki/LocalSettings.php on line 126

This is when I installed the previous version first before this patch. (the link given in the first post)

ericdesmontagne
01-09-2009, 09:10 AM
And about vbWikiPro ? It does not work with vB 3.8... :'(

Smitty
01-09-2009, 09:44 AM
And about vbWikiPro ? It does not work with vB 3.8... :'(
I can verify the Pro version works on 3.7.x and Mediawiki 1.11.0

Was it working for you on 3.7.x? Are you verifying it breaks when you installed vB 3.8?

ericdesmontagne
02-09-2009, 06:13 AM
Yes it was working with 3.7.X, but on 3.8 i have always white page on the wiki :'(