PDA

View Full Version : Integration with vBulletin - vbWiki Standard - vBulletin+MediaWiki integration


Pages : [1] 2

ElfMage
01-11-2007, 10:00 PM
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 (http://www.nuhit.com/products/vbwiki-pro.html?s=vbw) 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 (http://www.nuhit.com/vbwiki-pro/installation.html) for more information.

MediaWiki and vBulletin must be installed and properly working before installing vbWiki. MediaWiki can be downloaded here (http://www.mediawiki.org/wiki/Download).

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:?>
Add the following code at the end of the file (entering the correct directory path):require_once "/absolute/path/to/your/forums/vbWiki/vbWiki_Init.php";Troubleshooting:


Last installation step: Click Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=136242).. :DIf 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:


$run_vbWikiPro_diag_tools = false;
And change it for this:


$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 UploadRequirements:
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.

ElfMage
01-11-2007, 10:41 PM
Resources:

Installation instructions, what to expect, etc. (http://www.nuhit.com/products/vbwiki-installation.html)
Frequently Asked Questionss (http://www.nuhit.com/faq)
vbWiki Forums (http://www.nuhit.com/forums/vbwiki-pro-forums/)
Demo Wiki (http://www.nuhit.com/wiki/Main_Page)
Software running on demo. (http://www.nuhit.com/products/vbwiki-pro-demo.html)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):


$g_vbWiki_Usergroup_Mapping = array (
6 /*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.

lovelypk
01-11-2007, 10:41 PM
thanks for this cool hack

Snake
01-11-2007, 11:04 PM
Wow thanks for the lite version! :D

TheFrienzNet
01-12-2007, 12:51 AM
Any previews?

ElfMage
01-12-2007, 01:08 AM
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.

Wayne Luke
01-12-2007, 02:25 AM
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:

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.

ElfMage
01-12-2007, 05:21 AM
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.

firstrebel
01-12-2007, 09:32 AM
Excuse my ignorance, but what does this do that vB does not? It seems to be just another forum.

Bob

pipin
01-12-2007, 11:13 AM
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.

sickboy6ths
01-12-2007, 11:52 AM
Heya, Very nice product thanks! I integrated it and it works fine, .. it shows that im logged in etc. etc. but when I want to edit a wiki page, I get: Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Wiki Version: 1.9.0
VB Version: 3.6.3
www.6thsense.eu

toytaco99
01-12-2007, 01:44 PM
Thanks for the RC2 update. I was having the same errors with MW 1.9 and this. Works now. :)

Wayne Luke
01-12-2007, 02:23 PM
I am getting the same session issue as above though I am using 3.6.4. The initial login seems to take though.

ElfMage
01-12-2007, 02:40 PM
If you disable vbWiki does the 'session error' go away?

(To disable vbWiki simply comment the line added to LocalSettings.php)

We used to have the 'session error' back on version 0.7.4 several months ago.

If the error still happens when vbWiki is disabled then refer to this thread: http://www.nuhit.com/forums/vbwiki/210-theme-integration.html.

If the error doesn't happen with vbWiki disabled, then we have to look into it and fix it... :rolleyes:

ElfMage
01-12-2007, 02:54 PM
Excuse my ignorance, but what does this do that vB does not? It seems to be just another forum.

Bob

Bob, forums are great for community building with their high level of interactivity.

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 great medium to centralize this 'collective knowledge'. Enabling you to create an 'ecosystem of information' (quoting pipin :) )

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... :)

I'll add a 'Why you may want a wiki' section to my original post for others.

Deska
01-12-2007, 03:56 PM
I like the idea about this hack :D

sickboy6ths
01-13-2007, 03:23 AM
Thanks for the reply, when we disable vbWiki, then we do not get the session error anymore, so seems to be a prob related to vbWiki :)
If you disable vbWiki does the 'session error' go away?

(To disable vbWiki simply comment the line added to LocalSettings.php)

We used to have the 'session error' back on version 0.7.4 several months ago.

If the error still happens when vbWiki is disabled then refer to this thread: http://www.nuhit.com/forums/vbwiki/210-theme-integration.html.

If the error doesn't happen with vbWiki enabled, then we have to look into it and fix it... :rolleyes:

ElfMage
01-13-2007, 03:25 AM
Could you PM a link to your wiki? Thanks.

Wayne Luke
01-13-2007, 04:10 AM
If the error still happens when vbWiki is disabled then refer to this thread: http://www.nuhit.com/forums/vbwiki/210-theme-integration.html.

If the error doesn't happen with vbWiki enabled, then we have to look into it and fix it... :rolleyes:

The error does not occur when I disable vbWiki.

ElfMage
01-13-2007, 04:18 AM
Interesting. Could you PM a link to your wiki? Thanks.

AyeCapn
01-13-2007, 04:59 AM
After consulting with my rabbit, I still plan to buy the Pro version :)

thincom2000
01-13-2007, 05:55 AM
I've had a good experience with the Pro version so far. I have 1.0.2 RC1 files installed, running off the old 0.9.7 RC1 (just haven't gotten around to running the new product file yet). Using MW 1.6.8 on vB 3.6.4.

No issues right now, we just upgraded to a PHP 5 server, so I'm going to make the move to MW 1.9 shortly. Hopefully this session error gets sorted out by the time I fit the update into the site's schedule.

ElfMage
01-13-2007, 06:01 AM
After consulting with my rabbit

After your debate with cheesegrits, I can now understand this comment... :)

Regarding the session error, we haven't been able to duplicate this error. I need a link to a wiki exhibiting this error... :rolleyes:

sickboy6ths
01-13-2007, 08:25 AM
Regarding the session error, we haven't been able to duplicate this error. I need a link to a wiki exhibiting this error... :rolleyes:


www.6thsense.eu/wiki

I just bought the Pro Edition and have submitted tickets in the Support Area :)

ElfMage
01-13-2007, 12:24 PM
Thanks. We got your tickets and link. Replying now... :)

Dankness
01-13-2007, 01:30 PM
I just wanted to say that my community has been using this Wiki Bridge for afew months now , and it works very well. Its one of the best mods iv installed on my boards and its come along way in updates also :) Good work Elfmage.

ElfMage
01-13-2007, 03:51 PM
Thanks Dankness, glad to hear it is being working for your community.

drupy
01-13-2007, 06:15 PM
I really want to buy the Pro, but I am using VB with Subdreamer with skin integration, so I am worried that it won't work with this great mod. My site is using php 4. I will buy it right away if I know it will work OK, including skin integration of all 3. Basically my VB forum is being skinned by Subdreamer, and membership, posts etc are based on VB.

Is there any trial use?

ElfMage
01-13-2007, 06:25 PM
I would need to take a look at the Subdreamer integration. If it is using vBulletin Template system (just like vbAdvanced, vbPortal, etc, use) then vbWiki Pro will work fine.

Given the complexity of vBulletin, I would guess this to be the case. However, they may have hacked it.

Regarding the trial version it is difficult, since we give away all the PHP source code when you buy a vbWiki Pro license.

Internally, for the trial, we are thinking on either using an encoder like ionCube, or sporting a 15-30 days money back guarantee. But this is still in the works...

Anyways, I just sent you a PM.

Wayne Luke
01-14-2007, 02:09 PM
<a href="http://www.ridersofconquest.org/wiki/" target="_blank">http://www.ridersofconquest.org/wiki/</a>

That is my wiki. Fairly stock implementation. I have the vBulletin integration commented out right now though so I can start adding content to the site today and tomorrow.

ElfMage
01-14-2007, 02:17 PM
Thanks. It seems that this issue happens with MW 1.9.0, which is why our users have not reported it before (MW 1.9.0 was released 4 days ago).

We are in the process of fixing this, and as soon as we have a solution, we'll post an updated version. In the mean time, if you would prefer to test the integration before we post the new version, you could try MW 1.8.3.

westpak
01-14-2007, 06:11 PM
I have vb 3.6.4, wiki 1.6.8 and instaled vbwiki standard and the first time I go to wiki it logs me in automatically from the forum but if I click on Main Page I just get a blank page and any other attempts to try and get to wiki show the blank page.

ElfMage
01-14-2007, 06:45 PM
Hello westpak.

Please follow the instructions outlined in the FAQ labeled 'Blank page when visiting wiki' found in this link (http://www.nuhit.com/faq/). And PM or e-mail me the error you get. Thanks.

You could also enable the vbWiki's diagnostic tools to verify that all paths are properly set. Instructions for this are also found in this FAQ.

redlabour
01-17-2007, 05:06 PM
Great - clicked install and buyed Pro-Version! :D

kontrabass
01-18-2007, 01:44 PM
What does this hack do, when a VBulletin username has a space or underscore? If I remember correctly, MediaWiki allows neither in usernames...

ElfMage
01-18-2007, 01:53 PM
vbWiki solves this issue by doing an internal translation and mapping of names with special characters (with no additional overhead.)

For instance if a user's name is [Elf]Mage, vbWiki internally creates a wiki user name: ElfMage-45, removing all special characters and adding the user id at the end.

Regardless of whether the user is logging in from vBulletin and MediaWiki, he/she always uses [Elf]Mage.

ElfMage
01-21-2007, 08:28 PM
Hello all, I just uploaded vbWiki Std v1.0.2 RC3. This new version fixes the error shown when editing pages on some MW 1.9.0 installations.

This issue only occured when using MediaWiki 1.9.0 on servers that had 'magic_quotes_gpc' enabled.

Let me know if you encounter any issues with this new version. Thanks.

Iseran
01-23-2007, 01:29 AM
I've just installed the latest version on my wiki setup (without fancy short url because I had problem implementing it), and there is an odd problem going on:

Using MediaWiki 1.9.0
Using vBulletin 3.6.4

When I log in from the wiki, I also log in and STAY logged in the forums, but after the "login is successful" message from the wiki, I am no longer logged in. I check the forums and I am still logged in there.

Trying to log in from the forums do not make me log in the wiki automatically.

What could be the problem?

ElfMage
01-23-2007, 01:50 AM
Hello Iseran, this is most likely caused by having your wiki and forums installed in different sub-domains.

You may need to adjust your cookie domain and cookie path settings in both vBulletin and MediaWiki. Refer to the FAQ titled 'Wiki and Forum installed on different subdomains' located at http://www.nuhit.com/faq

If this is not the case please enable vbWiki Diagnostic tools on your wiki (you can limit it to a specific IP), and send me a PM with the results of the diagnostic.

(For information on how to enable Diagnostic Mode, refer to the same link listed above).

Thanks.

Iseran
01-23-2007, 02:26 AM
Hello Iseran, this is most likely caused by having your wiki and forums installed in different sub-domains.

You may need to adjust your cookie domain and cookie path settings in both vBulletin and MediaWiki. Refer to the FAQ titled 'Wiki and Forum installed on different subdomains' located at http://www.nuhit.com/faq

If this is not the case please enable vbWiki Diagnostic tools on your wiki (you can limit it to a specific IP), and send me a PM with the results of the diagnostic.

(For information on how to enable Diagnostic Mode, refer to the same link listed above).

Thanks.

That is odd, wiki and forums are not installed in different sub-domains.

Wiki is installed under local home document root/wiki
Forum is installed under local home document root/forums

I will try running Diagnostic Mode and see what I get.

Thanks for the reply!

Jon_Simmonds
01-27-2007, 11:14 PM
Has anyone else purchased vbwiki pro and not received the download information within the 20mins (as stated on their website)?

ElfMage
01-27-2007, 11:29 PM
Hello Jon, I replied to your e-mail. The download information is sent by an automated process (within 5 minutes of the order being received). Once in a while we see a customer who didn't receive the e-mail because it was stopped by a spam filter or some other similar cause. :confused:

In any event, I resent the access instructions to you. Thanks.

Jon_Simmonds
01-28-2007, 07:21 AM
Thanks :)

mikeylikesitz
02-24-2007, 09:24 PM
i have an error and the wiki doesnt use the forum login

Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time. in /usr/local/apache/htdocs/wiki/includes/User.php on line 622

i ran the tools and it says it cannot find my absolute forum path. I am running php 4.4, MediaWiki 1.6.8, vbulletin 3.6.4, vbWiki standard

any ideas would be appreciated

ElfMage
02-24-2007, 09:55 PM
Hi, make sure that vbWiki is installed as a subdirectory of your forums, and that in vbWiki_Init.php the forum path is using the default value of

dirname(__FILE__) . '/..'

If you'd like PM me a link to your wiki/forum, and I'll take a look.

Thanks.

Necrosaro420
02-28-2007, 10:05 PM
Would I be able to like, have my forums on www.myforums.com and host the wiki on www.mywiki.com and have vb work with it that way?

ElfMage
03-01-2007, 12:16 AM
The trick with different domains is the cookie tunneling to share sessions and login persistence between the two domains..

The standard version doesn't have this feature included. However, you could accomplish the same results with the standard version by using the mod created by thincom2000 found here: https://vborg.vbsupport.ru/showthread.php?t=139272

Necrosaro420
03-06-2007, 12:28 AM
what permission do I give my usergroups to start new pages? I dont understand how all that works.

ElfMage
03-06-2007, 01:46 PM
vbWiki Standard will allow you to map vBulletin's usergroups to wiki usergroups.

But then you need to control the wiki usergroups permissions manually, per MediaWiki's usergroup (roles) functionality. (http://meta.wikimedia.org/wiki/Help:User_rights#Managing_group_rights)

newbe_haselina
03-06-2007, 05:03 PM
Sorry for asking kind of offtopic ... in the requirements it's said, that you can run wikimedia under PHP version 4 ... but this doesn't work for me? the wiki installation routine tells me, that PHP5 is required and it's aborting.

Can somebody please give me a hint, where I can look for a suitable mediawiki version or what else I could do instead?

Need this stuff urgently :D

kontrabass
03-06-2007, 05:22 PM
Sorry for asking kind of offtopic ... in the requirements it's said, that you can run wikimedia under PHP version 4 ... but this doesn't work for me? the wiki installation routine tells me, that PHP5 is required and it's aborting.

Can somebody please give me a hint, where I can look for a suitable mediawiki version or what else I could do instead?

Need this stuff urgently :D

I'd suggest upgrading to php 5.2.x. From what I've read it'll give you a performance boost over php 4 anyway...

Otherwise you can run mediawiki 1.6.8 with php 4

clr_75
03-06-2007, 05:48 PM
Question, which it's probably a dumb question but the only dumb question I know is the one not asked :) ... if we add this hack to our current forums it's not going to make our boards look like a wiki page is it (the article tab and all that at the top) ? Or will our forum stay the same and we will just be adding a link to the wiki stuff?

If someone could give me a link to their site to see an actual working environment, rather than the demo, that would be great! Thanks!

ElfMage
03-06-2007, 06:12 PM
Sorry for asking kind of offtopic ... in the requirements it's said, that you can run wikimedia under PHP version 4 ... but this doesn't work for me? the wiki installation routine tells me, that PHP5 is required and it's aborting.

Can somebody please give me a hint, where I can look for a suitable mediawiki version or what else I could do instead?

Need this stuff urgently :D

:)

As kontrabass mentions, if you want to run the latest version of MediaWiki, you need to upgrade your PHP installation to version 5+.

However, if your host only has PHP 4 available (or you do not want to upgrade to PHP5) then you can install MediaWiki 1.6.9 which does not require PHP5.

Question, which it's probably a dumb question but the only dumb question I know is the one not asked :) ... if we add this hack to our current forums it's not going to make our boards look like a wiki page is it (the article tab and all that at the top) ? Or will our forum stay the same and we will just be adding a link to the wiki stuff?


vbWiki Standard doesn't change the way your forum or wiki looks. It works behind the scenes to implement the single-login functionality.

The Pro version let's you use your forums style/design on your wiki. But, again, it would not change your forums' look or design.

If someone could give me a link to their site to see an actual working environment, rather than the demo, that would be great! Thanks!



In this thread there are links to two sites using vbWiki Standard: http://www.nuhit.com/forums/vbwiki/145-sites-using-vbwiki-vbwiki-pro.html

Necrosaro420
03-06-2007, 06:17 PM
vbWiki Standard will allow you to map vBulletin's usergroups to wiki usergroups.

But then you need to control the wiki usergroups permissions manually, per MediaWiki's usergroup (roles) functionality. (http://meta.wikimedia.org/wiki/Help:User_rights#Managing_group_rights)

You totally lost me with that info there =)

Necrosaro420
03-06-2007, 06:22 PM
Looking at that link, everything should be ready to go during the default install. Yet users, nor myself are able to create a new page?

ElfMage
03-06-2007, 06:24 PM
:) Are you getting an error? Or does it say that you don't have rights to edit?

The default MediaWiki installation lets everybody (registered and unregistered) edit and create pages.

Goatpod
03-06-2007, 06:46 PM
Hi Elfmage,

Thanks for the mod. :) Got it working fine in that the cross log in works but when it comes to mapping VB usergroups to Wiki usergroups I'm not seeing anything under my VB usergroup when editing it to allow me to do this!

I'm using VB 3.6.4
MediaWiki 1.6.9

Thanks in advance for any help you can offer :)

Brandon Sheley
03-06-2007, 07:04 PM
hmm.. this hasn't worked for me

I have a site

wiki.site.com and my forum is forum.site.com

I did as the "instrucrtions" say, and now my wiki.site.com is blank.

Necrosaro420
03-06-2007, 08:07 PM
Myself nor my users have any type of "add new page" button anywhere?

newbe_haselina
03-07-2007, 02:16 AM
Many thanks for your help :) . As my host only runs PHP4, will try this out with a lower wiki-version.

Glad you helped me :)

Goatpod
03-07-2007, 10:21 AM
Myself nor my users have any type of "add new page" button anywhere?

I may have got this wrong, but from what I've found out so far if you search for a topic and it doesn't exist you can click the 'create new page' link on the returned page and create a new topic from there. Like I said, I may be wrong as I'm new to this Wiki thing :)

SirTalksalot
03-07-2007, 02:42 PM
This looks brilliant!

Does mediawiki have it's own SEO for keywords and URL rewrites? Or would I have to try and use VBSEO with it?

Brandon Sheley
03-08-2007, 12:59 AM
This looks brilliant!

Does mediawiki have it's own SEO for keywords and URL rewrites? Or would I have to try and use VBSEO with it?

http://www.mwusers.com here ya go


I'm still looking for a clear ( how to ) set this up..

your instructions only say to make a folder, upload the files and edit the localsettings.php
this did nothing for me..

thanks

ElfMage
03-09-2007, 12:00 PM
Hi Elfmage,

Thanks for the mod. :) Got it working fine in that the cross log in works but when it comes to mapping VB usergroups to Wiki usergroups I'm not seeing anything under my VB usergroup when editing it to allow me to do this!

I'm using VB 3.6.4
MediaWiki 1.6.9

Thanks in advance for any help you can offer :)

Hi Goatpod,

User group mapping in the Standard version is done through vbWiki_Init.php.

For instance, add and customize the following to the 'custom settings' section in vbWiki_Init.php:


$g_vbWiki_Usergroup_Mapping = array (
6 /*Administrators*/ => "sysop,bureaucrat",
2 /*Registered Users */ => "editors"
);


Thanks.

ElfMage
03-09-2007, 12:13 PM
hmm.. this hasn't worked for me

I have a site

wiki.site.com and my forum is forum.site.com

I did as the "instrucrtions" say, and now my wiki.site.com is blank.

Hi Loco.M,

A blank page upon installing vbWiki is often caused by a path not being 100% correct.

Try running vbWiki's Diagnostic Tools, to help identify what's going on. Refer to the 'Troubleshooting' section at the top of this page (I just added the instructions there.. .:rolleyes:)

If the cause is not obvious, send me a PM with the Diagnostic Tools results.

BTW, since your forum and wiki are on two different sub-domains, you may need to adjust the wiki and forum cookie settings so that sessions can be shared between the two systems. Refer to the first entry in this FAQ: http://www.nuhit.com/faq/59/


I'm still looking for a clear ( how to ) set this up..

your instructions only say to make a folder, upload the files and edit the localsettings.php
this did nothing for me..

thanks

Try the steps above, and PM with any questions. You can also PM me a link to your site, and I'll take a look.

Thanks.

ElfMage
03-09-2007, 12:18 PM
Myself nor my users have any type of "add new page" button anywhere?

Hi Necrosaro420,

As Goatpod indicates, MediaWiki doesn't have a 'Add new page' per se.

You can create new pages by one of two ways:
1) Search for a topic, and if it doesn't exist, then the user is given the option to create one with the title for which the search was done.

2) You can add links to non-existing pages in an article, which then are shown on a different color, when a user clicks on one of these links, he/she is taken to that page's editing mode.

For instance, I have seen MediaWiki installations where they have a 'ToDo' list on the home page (or some other page), and then users keep adding 'titles' that they think would be needed for the wiki.

And then other users come in, see where they can/want to contribute, and edit/create the corresponding page.

majorxp
03-20-2007, 06:01 PM
PS...I have the PRO version - and it is great.

BrAinZ
03-20-2007, 07:55 PM
I've just set up my mediawiki / vbWiki integration, but am hitting an odd problem when NOT logged into Vbulletin.

Basically, the page just loads with loads of garbage....

Any ideas what is causing this?

???\kS?H???T??t4?????n?,?0 Nfg+U?,?mY?+?????}???,Y2B?V-$?nu??s?????{|???u??x슋/G?N;¨?j6;??q?X?????'Ѩ?E/4?ȉ?3?Z+???(???Zm:?V?ͪk????j?`??gFV??6޼? ?m'ln?5?aې?z&M}?k,c??????Ĺmߋ?Wz??4??>??X??5??? #?O??+;;????!j4#??̱lC??Ќ}L???=????O4?[? 5???W??7?~??v???tԴ????Z?+?NdM??Z?'P???ť?2?B ' ?f`?FN$????_{]??鯈bs0?@$+ X(??m?":WW?*?we4?2? ?Q??A8M/+??6n?E^S??7?k?? Q? ?g??ݡm??W߱??z?T+??*???{b??????u߷?߼?B?M?f? 999???[h?|????nn?w?e???F=?E?;???䉳?5q+C???5a??鮉?to?2 -??rl?F?[?d? Zkl?C????.???m;ސ?????*???=1 ?U~??????`??%?=CH?U??ϛ????x7k???6??"A?k???=??u????t?1?A Paϴb?V&#?9???dc??g?@??????Q9/??l ?4@??w[?R?j??t??c?:+? p???S?? J?mY???Z?=??jl?q ȝ+ݣ??,߇?i;P8Q-ywMc?Cg?>e???@?r?/FQ?????5???????29?+?dŖ??U?'<ߓ?? ?T 5?R9|D-????j???zr??U?^? ?t?#%,<?v6wbD?d?g ????a},?t~b?Aj?q??.??U???UAZ@?T ??/??HG??n?X?r?j???Vߒ?v)?5?ub}!Hؖ?\"???Gb0?˸O???nJu????}?L??% ???/??8?%?#?v?JU?>??`?Y?ћ?1Gv?m?p{?N9]?????̜|?T??8??9?|7;J_`?H??ʣA{?%???BZx%"??S??㬦]M?#2V??q??^t?hl????"?/?L???P?????R??Eϼ???lג?Rjl? G.?k???ON??Q$?J???Ƶ?????????nvv׳{?[??OT?? ?K?l?o?&$?W:?%?t????W?4H?<??????:ԟ??46 =??l??,????>?|?6` KY+?JlA=c??:~vY??0?o?c?M??? ?2?5?`?%??~????M@???J?OG0?+Q`Z?ݞ? ?@s*???ηgO⇬?

ElfMage
03-20-2007, 09:23 PM
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?

hinch
03-21-2007, 12:01 PM
Ignore previous post before edit :)

Fixed and working fine now

Thanks alot


Can be found at http://www.euro-chimaera.co.uk/wiki/

ElfMage
03-21-2007, 01:35 PM
:) Glad you figured it out.

BrAinZ
03-21-2007, 06:11 PM
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.

ElfMage
03-21-2007, 06:25 PM
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:


} 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:


}


Then vbWiki_Init.php, and find this line:


require_once dirname(__FILE__) . "/vbWiki.php";


And add the following code right after it:


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... :rolleyes:

I'll give it a try in a few...

BrAinZ
03-22-2007, 01:43 PM
That ALMOST works, but seems to mess up the paths to all the graphics used on the login page.

ie: 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?

ElfMage
03-22-2007, 03:31 PM
:) 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:


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.

BrAinZ
03-22-2007, 09:00 PM
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.

antiekeradio
03-22-2007, 10:57 PM
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

antiekeradio
03-22-2007, 11:08 PM
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...)


somewhat more serious, please include a clear link to the MediaWiki in your announcement message (preferably near the top :) )

ElfMage
03-22-2007, 11:37 PM
That works a treat, thanks ElfMage!

Glad it worked.

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.. :rolleyes:). If you want to go this route let me know...

Alternatives include modifying MW core file, or creating a MW extension.

ElfMage
03-22-2007, 11:48 PM
euhw.. wait just a second. does this thing just provide the link-up between mediawiki and your vB? ..

:D

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


somewhat more serious, please include a clear link to the MediaWiki in your announcement message (preferably near the top :) )

Valid point. Just changed the message on top. Added link to MediaWiki's official download site. Thanks.

antiekeradio
03-22-2007, 11:59 PM
ok. installed wikimedia (ahum.) and now everything works!!! thanks a lot.

I might want to talk to the board about buying Pro.

BrAinZ
03-23-2007, 08:26 AM
You can hide the 'Discussion' Tab using CSS (this is not an elegant solution, but it is simple and works.. :rolleyes:). If you want to go this route let me know...
That sounds good.. a pointer in the right direction would be much appreciated!

antiekeradio
03-23-2007, 10:47 AM
That sounds good.. a pointer in the right direction would be much appreciated!

dito! my MODs are wildly enthousiastic :D
the built-in discussion feature is quite useless compared to vB itself.

hmmmm you would almost start hoping for an integration which automatically links the discussion tab to a vB discussion thread, and if it doesn't exist for that wiki page, create a new one in the assigned (wiki discussion) forum.


anyways, this sort of stuff is SO much more useful to our board than these social networking or gallery mods.. its super!!

Necrosaro420
03-23-2007, 11:59 PM
how can I change the default color of the text in the vbwiki (wiki)

ElfMage
03-24-2007, 03:57 AM
how can I change the default color of the text in the vbwiki (wiki)

Hi, I replied to your post at nuhit.com, but now I am not sure about which wiki skin your site is using. My suggestion was only for vbWikiSkin.

If you are trying to change the colors for monobook, then the section of main.css you need to change is for '#content'.

ElfMage
03-24-2007, 04:01 AM
That sounds good.. a pointer in the right direction would be much appreciated!

Certainly.

In the Style Manager, edit the headinclude template; and at the end, add the following:


<style>
#p-cactions li#ca-talk { display: none; }
</style>


Try this, and let me know if it doesn't work.

BrAinZ
03-25-2007, 07:57 PM
Hmm... That didn't seem to do anything.. Wonder why not?

ElfMage
03-25-2007, 08:23 PM
PM me a link to your wiki, and I'll take a look.

antiekeradio
03-28-2007, 06:20 PM
OK just another question.

on the "who's online page", the users browsing the Wiki are shown.

however, the locations are messed up a little. The location is displayed as:

Unknown Location
/wiki/index.php/Main Page

being an admin I can see the exact location(path) where the users are.
i guess the regular users only see the 'unknown location' bit.

Is there some setting in vB that I can use to change this 'error-like' location??

ElfMage
03-29-2007, 07:25 PM
Hi, this is a 'bug' of vbWiki Standard.

Who's online integration is implemented in the Pro version. The standard (lite) version doesn't have the functionality required to fully extract the wiki article titles and build the URLs to the corresponding pages on the wiki side.

To keep vbWiki Standard from showing visitors to your wiki on the Who's Online page, open arcane_vbulletin_core.php, and find this line of code:


define('AT_VB_INTEGRATION', 1);



And insert right after:


define( 'LOCATION_BYPASS', 1 );

Rehven
04-15-2007, 06:29 PM
User group mapping in the Standard version is done through vbWiki_Init.php.

For instance, add and customize the following to the 'custom settings' section in vbWiki_Init.php:


$g_vbWiki_Usergroup_Mapping = array (
6 /*Administrators*/ => "sysop,bureaucrat",
2 /*Registered Users */ => "editors"
);


Thanks.

First, great product ElfMage =)

Using Standard version, I've got my vB group mappings going fine. But how do I restrict wiki access to only certain vB groups? During testing and data-population I want only certain groups to have wiki access.

Do I make a group in LocalSettings.php and restrict access there? How will that prevent people seeing the Main Page? Is there actually a way to restrict access to the main page?

Lots of questions =)

Thanks =)


EDIT: OK I've changed my wiki LocalSettings.php to deny everyone except Sysops and Bureaucrats, but ordinary users can still go to the Main Page (they just get a Permission Error page). I'd like to have non-Sysops/Bureaucrats not even load up the wiki Main Page, possibly redirect to a specific error page. Can this be done with vbWiki?

ElfMage
04-17-2007, 09:06 PM
First, great product ElfMage =)

Thanks, appreciate the feedback.

Using Standard version, I've got my vB group mappings going fine. But how do I restrict wiki access to only certain vB groups? During testing and data-population I want only certain groups to have wiki access.

EDIT: Removed Mapping instructions, just realized you had already posted this..:rolleyes:

Once you have the mapping taken care of, then you need to set up per group security, which you did already in the changes to LocalSettings.php that you mention.

Do I make a group in LocalSettings.php and restrict access there? How will that prevent people seeing the Main Page? Is there actually a way to restrict access to the main page?


For instance, if you want to keep all users from viewing any page in your wiki you do use the following:


$wgGroupPermissions['*' ]['createaccount'] = true;
$wgGroupPermissions['*' ]['read'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createpage'] = false;
$wgGroupPermissions['*' ]['createtalk'] = false;

'*' means unregistered/not-logged in.

But you could easily create custom groups as well.


EDIT: OK I've changed my wiki LocalSettings.php to deny everyone except Sysops and Bureaucrats, but ordinary users can still go to the Main Page (they just get a Permission Error page). I'd like to have non-Sysops/Bureaucrats not even load up the wiki Main Page, possibly redirect to a specific error page. Can this be done with vbWiki?


To accomplish this you would need to write a bit of code. In vbWiki_Init.php, at the very end of the file, add the following:



if (!$wgUser->getID())
exec_header_redirect("http://url/to/page/where/unregs/should/go");

Similarly, you could check for regular vBulletin usergroups:


if ($vbulletin->userinfo['membergroupid'] != 6)
exec_header_redirect("http://url/to/page/where/non-admins/should/go");

Not sure if this answer your questions (or if these work.. :rolleyes:). Let me know in either case.

Thanks.

rfikki
05-14-2007, 10:11 PM
Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/
http://ontoworld.org/wiki/Help:Installation

CHIPIT195
05-15-2007, 03:02 AM
Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...

ElfMage
05-15-2007, 03:37 PM
Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/
http://ontoworld.org/wiki/Help:Installation

We haven't tested this extension. However from briefly looking at its description, it seems that it is more involved in the parsing and searching of wiki articles. If this is the case vbWiki will work fine with it (user logins, etc).

ElfMage
05-15-2007, 03:38 PM
Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...

Support for MW 1.10.0 was added to vbWiki Pro version 1.3 RC3. We will be releasing the corresponding vbWiki Standard version soon.

rfikki
05-16-2007, 04:57 PM
Warning: Cannot modify header information

I get a bunch of these errors when I try to visit the wiki after I place this line(modified to include the proper path):

require_once "/path/to/wiki/vbWiki/vbWikiPro_Init.php";

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.

Any help appreciated....

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1943

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1944

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1947

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1920

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1923

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1929

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1920

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1923

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1929

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

siriuxs
05-16-2007, 08:47 PM
I have an error: http://www.pchs.it/wiki-pchs/

Why?

My forum: www.pchs.it/forums
MyMediaWiki: www.pchs.it/wiki-pchs/
MyvbWiki: www.pchs.it/forums/vbWiki

Please help me :(

ElfMage
05-17-2007, 03:13 AM
Warning: Cannot modify header information

I get a bunch of these errors when I try to visit the wiki after I place this line(modified to include the proper path):

require_once "/path/to/wiki/vbWiki/vbWikiPro_Init.php";

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.


Hi, did you add the require_once at the end of LocalSettings.php? Could you PM me a link to your site?

Thanks.

(P.S. you can access our support forum over here: vbWiki Pro Installation & Support (http://www.nuhit.com/forums/vbwiki-pro-installation-support/), or the ticket system at: Premium Support Portal (http://www.nuhit.com/members))

ElfMage
05-17-2007, 03:14 AM
I have an error: http://www.pchs.it/wiki-pchs/

Why?

My forum: www.pchs.it/forums (http://www.pchs.it/forums)
MyMediaWiki: www.pchs.it/wiki-pchs/ (http://www.pchs.it/wiki-pchs/)
MyvbWiki: www.pchs.it/forums/vbWiki (http://www.pchs.it/forums/vbWiki)

Please help me :(


Hi I just went to your site and I don't see vbWiki Std or vbWiki Pro installed. What kind of error are you getting?

Thanks.

siriuxs
05-17-2007, 08:32 AM
Hi I just went to your site and I don't see vbWiki Std or vbWiki Pro installed. What kind of error are you getting?

Thanks.

I reinstall all, but there is the problem... http://www.pchs.it/wiki-pchs/

Please help me :(

ElfMage
05-17-2007, 12:33 PM
Thanks. Could you PM me the content of vbWiki_Init.php?

What version of MW are you using?

Thanks.

siriuxs
05-17-2007, 12:54 PM
PM Sent ;) I run the last versione of mediawiki

ElfMage
05-17-2007, 01:42 PM
Warning: Cannot modify header information

I get a bunch of these errors when I try to visit the wiki after I place this line(modified to include the proper path):

require_once "/path/to/wiki/vbWiki/vbWikiPro_Init.php";

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.

Any help appreciated....


Thanks for the PMs.

We found that Jelsoft introduced a change in vBulletin 3.6.6 which was producing an error. Please download the latest vbWiki Pro from the Premium Members Area, and let me know how it goes.

Thanks.

siriuxs
05-17-2007, 01:50 PM
Thanks for the PMs.

We found that Jelsoft introduced a change in vBulletin 3.6.6 which was producing an error. Please download the latest vbWiki Pro from the Premium Members Area, and let me know how it goes.

Thanks.

Please help me...? :(

ElfMage
05-17-2007, 01:57 PM
Please help me...? :(

Hi, I was in the process to do that... :)

Please download and install vbWiki Std 1.3 RC4. This version adds compatibility with MW 1.10.0 and vBulletin 3.6.6.

Try this and let me know if the error persists.

Thanks.

siriuxs
05-17-2007, 02:06 PM
Tanks, but the error there is.
http://www.pchs.it/forums/vbWiki/
www.pchs.it/wiki-pchs

:(

ElfMage
05-17-2007, 02:15 PM
This is a different error. Did you get an e-mail from your forum with the DB error details? (You may need to turn the option on in vBulletin's Admin CP).

Thanks.

siriuxs
05-17-2007, 02:34 PM
This is a report:
Database error in vBulletin 3.6.7:

Invalid SQL:

SELECT languageid,
phrasegroup_vbwiki AS phrasegroup_vbwiki,
phrasegroup_global AS phrasegroup_global,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM vb_language
WHERE languageid = 2;

MySQL Error : Unknown column 'phrasegroup_vbwiki' in 'field list'
Error Number : 1054
Date : Thursday, May 17th 2007 @ 05:20:18 PM
Script : http://www.pchs.it/forums/vbWiki/vbWiki_Init.php
Referrer :
IP Address : 194.177.98.211
Username :
Classname : vB_Database

ElfMage
05-17-2007, 03:18 PM
Thanks, indeed that is a bug in vbWiki Std. It is something that was left from vbWiki Pro.

Please open arcane_vbulletin_core.php and find this line:


$phrasegroups = array( 'vbwiki' );
And replace it for this:


$phrasegroups = array();
Since vbWiki Pro reuses most of the code from vbWiki Std, the piece of code mentioned above was left in vbWiki Std, while it shouldn't have.

I have updated the download on the first post.

Thanks.

siriuxs
05-17-2007, 03:32 PM
Hi... I replace $phrasegroups = array( 'vbwiki' ); with $phrasegroups = array(); but continue to not functionally...

Tanks, and excuse me :(

ElfMage
05-17-2007, 05:52 PM
It seems that the require_once added to LocalSettings.php was not added at the _end_ of the file. Could you verify this?

The require_once line (mentioned in the installation instructions) is to be added at the very end of the file, replacing the line that had this: ?>

Thanks.

rfikki
05-17-2007, 05:57 PM
Thanks for the PMs.

We found that Jelsoft introduced a change in vBulletin 3.6.6 which was producing an error. Please download the latest vbWiki Pro from the Premium Members Area, and let me know how it goes.

Thanks.

Thank you, now I got to play with it a bit and maybe purchase the nulook.:-)

Later.....

siriuxs
05-17-2007, 06:19 PM
It seems that the require_once added to LocalSettings.php was not added at the _end_ of the file. Could you verify this?

The require_once line (mentioned in the installation instructions) is to be added at the very end of the file, replacing the line that had this: ?>

Thanks.

I have added it... This is my file:
<?php

# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.

# If you customize your file layout, set $IP to the directory that contains
# the other MediaWiki files. It will be used as a base to locate files.
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;
} else {
$IP = dirname( __FILE__ );
}

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

require_once( "includes/DefaultSettings.php" );

# If PHP's memory limit is very low, some operations may fail.
# ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) {
if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
die( "This script must be run from the command line\n" );
}
}
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;

$wgSitename = "Wiki-PcHS";

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
$wgScriptPath = "/wiki-pchs";
$wgLogo = "http://www.pchs.it/wiki-pchs/images/wiki-pchs.jpg";

## For more information on customizing the URLs please see:
## http://www.mediawiki.org/wiki/Manual:Short_URL

$wgEnableEmail = true;
$wgEnableUserEmail = true;

$wgEmergencyContact = "xxxxxx@pchs.it";
$wgPasswordSender = "xxxxxx@pchs.it";

## For a detailed description of the following switches see
## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;

$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "xxxxxxxx";
$wgDBuser = "xxxxxxxx";
$wgDBpassword = "xxxxxxxx";
$wgDBport = "5432";
$wgDBprefix = "wiki_";

# MySQL table options to use during installation or update
$wgDBTableOptions = "TYPE=InnoDB";

# Schemas for Postgres
$wgDBmwschema = "mediawiki";
$wgDBts2schema = "public";

# Experimental charset support for MySQL 4.1/5.0.
$wgDBmysql5 = false;

## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = false;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
# $wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX = false;

$wgLocalInterwiki = $wgSitename;

$wgLanguageCode = "it";

$wgProxyKey = "eaddcd444b2be0358905dcbf8c3d23de7973d247057b8d186e c5cdfb20950fe7";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'monobook';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
$wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "http://www.gnu.org/copyleft/fdl.html";
$wgRightsText = "GNU Free Documentation License 1.2";
$wgRightsIcon = "${wgScriptPath}/skins/common/images/gnu-fdl.png";
# $wgRightsCode = "gfdl"; # Not yet used

$wgDiff3 = "/usr/bin/diff3";

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) );
$wgCacheEpoch = max( $wgCacheEpoch, $configdate );
require_once "http://www.pchs.it/forums/vbWiki/vbWiki_Init.php";

ElfMage
05-17-2007, 09:06 PM
Thanks. Please change this line:


require_once "http://www.pchs.it/forums/vbWiki/vbWiki_Init.php";


for something like this:


require_once "/home/path/to/your/public_html/forums/vbWiki/vbWiki_Init.php";


The idea is that what is required is a an absolute local path to the file, it can not be a URL.

Try this and let me know.

Thanks.

siriuxs
05-17-2007, 09:17 PM
Tanks. Now I have a new error :)

http://www.pchs.it/wiki-pchs/

:(

rfikki
05-17-2007, 10:44 PM
The XML file that comes with the download is corrupt somehow.
Can you please check it and let me know?

When viewing I get this:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

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

Invalid at the top level of the document. Error processing resource 'file:///F:/downloads2/mediawiki/nulook/product-nuhit_n...

<?xml version="1.0" encoding="utf-16"?>ഀ

Iseran
05-18-2007, 02:45 AM
Tanks. Now I have a new error :)

http://www.pchs.it/wiki-pchs/

:(

That's exactly same error I am getting. ;/

MediaWiki 1.10 is running successfully (if I comment out vBwiki in localsettings), but the new vBwiki doesn't work with exact same error, which says "Fatal error: Call to undefined function vbwiki_get_talk_page() in /address/vbwiki/vbWiki_Hooks.php on line 109".

antiekeradio
05-18-2007, 01:44 PM
can anyone confirm the newest version is working correctly with vB 3.6.7PL1 and mediawiki 1.9.X ??

i'm waiting to update vb until all my installed addons should work ;)

Iseran
05-18-2007, 03:24 PM
Found a temporary solution for error that siriuxs has:

In vBWiki-Settings.php, find:

$g_vbWiki_Redirect_Talk_Pages = true;
$g_vbWiki_Redirect_UserTalk_Pages = true;

and turn them to be false. That will fix the issue siriuxs and I had.

ElfMage
05-18-2007, 04:26 PM
Tanks. Now I have a new error :)

http://www.pchs.it/wiki-pchs/

:(


That's another piece left from vbWiki Pro.... :rolleyes:, I re-uploaded 1.3 RC4 with the correct code for vbWiki.

Found a temporary solution for error that siriuxs has:

In vBWiki-Settings.php, find:

$g_vbWiki_Redirect_Talk_Pages = true;
$g_vbWiki_Redirect_UserTalk_Pages = true;

and turn them to be false. That will fix the issue siriuxs and I had.

Indeed this will disable this code.

Thanks.

ElfMage
05-18-2007, 04:28 PM
The XML file that comes with the download is corrupt somehow.
Can you please check it and let me know?


Hi rfikki, I replied to your thread over at nuhit.com, the issue was that the product XML was saved in utf-16, and this was conflicting with your system's default encoding... a new utf-8 version is available from the Premium Members Area. Thanks.

(P.S., I am sure vb.org will not approve of using this forum/thread to support a commercial product... :rolleyes:)

slappy
05-18-2007, 06:26 PM
Thanks for the updated version!

I might have found a possible bug with it though, after I just installed it on our vBulletin 3.6.7.

After I install it in the same way as the old version (which worked perfectly for me), the authentication still works as usual etc, and the diag tools says everything is fine too.

BUT, when I create a new wiki page, after submitting the content, the browser screen just turns blank (the content is still received in the wiki though). I tried this several times with the same result, and as soon as I disable the vbWiki extension it works again.

This was working in the old version, with vBulletin 3.6.5, but not now in this new one. :(

Could you please take a look and see if you can fix it?

Thanks a lot!

siriuxs
05-18-2007, 07:15 PM
Hi,

now mediawiki functionally correct www.pchs.it/wiki-pchs, but vbWiki no. www.pchs.it/forums/vbWiki

Why?

Iseran
05-19-2007, 12:04 AM
Er, the vBWiki folder does not need to be accessed. Is user db not being shared correctly?

Please note all configuration of this is done within the vbWiki_Init.php and vbWiki_Settings.php, and the folder itself does not affect vB.

ElfMage
05-19-2007, 12:30 AM
BUT, when I create a new wiki page, after submitting the content, the browser screen just turns blank (the content is still received in the wiki though). I tried this several times with the same result, and as soon as I disable the vbWiki extension it works again.

Hi Slappy,

What version of MediaWiki and vbWiki are you using? Could you PM me a link to your site?

Thanks.

ElfMage
05-19-2007, 12:31 AM
Hi,

now mediawiki functionally correct www.pchs.it/wiki-pchs (http://www.pchs.it/wiki-pchs), but vbWiki no. www.pchs.it/forums/vbWiki (http://www.pchs.it/forums/vbWiki)

Why?

As Iseran describes, you are not supposed to go to the /vbWiki folder. If vbWiki is working when you are logged in into your forum you should be logged in your wiki, and vice-versa. Is this not working in your site?

Thanks.

slappy
05-19-2007, 06:02 AM
I'm using the just-released vbWiki Std v1.3 RC4, on a server with MediaWiki: 1.9.3, PHP: 5.2.2 (apache2handler) and MySQL: 5.0.27

PM sent with more details, thanks!

slappy
05-21-2007, 08:41 AM
ElfMage, were you able to trace this bug any further? Any ideas for a solution?

Cooleyvol
05-21-2007, 08:16 PM
I'm getting a page that looks like this:
http://www.gridiron-glory.net/wiki/

after editing my Local Settings.php file.

You can plainly see my absolute path my vbWiki-Init.php file

My vbWiki directory is under the forums directory.
My MediaWiki directory ("wiki") is outside my forums directory.

Can anyone help me out here?

ElfMage
05-21-2007, 09:11 PM
I'm getting a page that looks like this:
http://www.gridiron-glory.net/wiki/

after editing my Local Settings.php file.

You can plainly see my absolute path my vbWiki-Init.php file

My vbWiki directory is under the forums directory.
My MediaWiki directory ("wiki") is outside my forums directory.

Can anyone help me out here?

Hi, the first line of your LocalSettings.php should be this:


<?php


And you last lines of the file should be these:


require_once "/home/wwwgri/public_html/forums/vbWiki/vbWiki_Init.php"
?>



Make these changes and it should work...

Tearstone
05-21-2007, 09:15 PM
Why is it that in order to make a new article I have to include "index.php?title=" in the URL (i.e.
"http://url.com/wiki/index.php?title=article"? Why does it not assume that if I just did "http://url.com/wiki/article"

ElfMage
05-21-2007, 09:15 PM
ElfMage, were you able to trace this bug any further? Any ideas for a solution?

Hi Slappy, sorry for the delay.. :rolleyes:

I just tried editing your main page, and I was successful (edited it, and got no error).

Are you still getting this error? Does it happen only when you are logged in?

Thanks.

ElfMage
05-21-2007, 09:18 PM
Why is it that in order to make a new article I have to include "index.php?title=" in the URL (i.e.
"http://url.com/wiki/index.php?title=article"? Why does it not assume that if I just did "http://url.com/wiki/article"

Hi, that's MediaWiki's default behavior. With some changes you can make MediaWiki use Search Engine Friendly URLs. There are a couple of articles at mediawiki.org, and there is also one at nuhit.com: http://www.nuhit.com/wiki/MediaWiki_SEF_URLs

Tearstone
05-21-2007, 10:38 PM
Hi, that's MediaWiki's default behavior. With some changes you can make MediaWiki use Search Engine Friendly URLs. There are a couple of articles at mediawiki.org, and there is also one at nuhit.com: http://www.nuhit.com/wiki/MediaWiki_SEF_URLs

Really? I'm working on various techniques to make it easier for users to develop their own articles, I tried the create.php and inputbox.php but they kept giving me way too many problems. Most likely it is due to my n00bness with the Wiki application, but thank you very much for the link.

Tearstone
05-21-2007, 11:03 PM
BTW ElfMage, that worked great! Thank you sir :)

ElfMage
05-22-2007, 04:10 AM
:) Cool. Glad you got it working!

slappy
05-23-2007, 06:43 AM
I just tried editing your main page, and I was successful (edited it, and got no error).

Are you still getting this error? Does it happen only when you are logged in?


Thanks for your test, but yes, the error is still there. :(

After I read your post, I made some further tests, and here are some interesting results, and a test that will let you reproduce the problem:

1.
The problem only seems to occur when I'm logged into vBulletin (and thus, into MediaWiki with your extension), yes. I cannot reproduce it in any way when not being logged in. This does of course even more support that this problem is due to some bug in the vbWiki extension though.

2.
It seems like some wiki pages can be edited even when I'm logged in, e.g. the main page and also some small test page I made.

3.
Some pages cannot be edited though, as described in my original bug report in this thread. One of these pages is the one with the name "Test Tool 2", please test this yourself (while being logged in, you can easily create an account at /forum).

4.
The problem always (when logged in) seems to occur when creating new pages though, please test this yourself too.

If it would make any difference, I'm using the "Remember me" checkbox in vBulletin when logging in.


Eagerly awaiting your results! Thanks!

ElfMage
05-23-2007, 12:45 PM
:) Thanks for the thorough troubleshooting..

Please download and extract the attached file to your vbWiki directory, and let me know. This file will let me test sessions on your server as seen by vbWiki.

slappy
05-26-2007, 02:46 PM
I'm sorry for the delay, I have now uploaded the file (in the same dir as all the other vBWiki files).

Please let me know if there is anything else I can do to make your debugging easier.

Looking forward to having this problem fixed!

Thanks!

Jim McAnally
05-27-2007, 05:21 PM
If I have media wiki on a seperate domain and box than Vbulletin is there a way to get this to work or should I move this to the same server?

If so it would still be to seperate domains.

slappy
05-29-2007, 08:37 AM
Any progress on locating the bug yet ElfMage? Did the uploaded file help, or do you want me to upload anything else too?

AScherff
05-29-2007, 11:23 AM
Hi folks,

i've installed vbBuletin 3.6.7 PL1 and MediaWiki 1.10.0.

Both work fine.

I try to install vbWiki. But the VB User is not logged in in MW.

Set the :

$run_vbWikiPro_diag_tools = true;

and getting error:

Testing forum integration

Die Cookies konnten nicht gesetzt werden, da der Header schon an den Browser geschickt wurde.

Datei: /www/htdocs/blauwi/knx/vbWiki/vbWiki_Tools.php

Zeile: 455

i'm stuck. Please help.

Alfred

ElfMage
05-29-2007, 02:30 PM
Any progress on locating the bug yet ElfMage? Did the uploaded file help, or do you want me to upload anything else too?


Hi, yes I managed to run the tests. Thanks for uploading the files.

It seems that your site's sessions are working properly. It also seems that vbWiki Std is working as well.

The blank page you describe is caused by a PHP error, most likely caused by some other extension.

I am able to edit any page, except those containing the template named MainObjTemplate, which is not implemented by vbWiki.

Could you confirm this to be the case?

Thanks.

ElfMage
05-29-2007, 02:31 PM
Hi folks,

i've installed vbBuletin 3.6.7 PL1 and MediaWiki 1.10.0.

Both work fine.

I try to install vbWiki. But the VB User is not logged in in MW.


Hi Alfred, could you disable vbWiki Diagnostic Tools, and PM me a link to your Wiki?

Thanks.

slappy
05-29-2007, 04:25 PM
The blank page you describe is caused by a PHP error, most likely caused by some other extension.

I am able to edit any page, except those containing the template named MainObjTemplate, which is not implemented by vbWiki.

Could you confirm this to be the case?

It's not only for pages containing the MainObjTemplate, try to create a arbitrary new page, containing only the text "This is a test" or whatever, and it will happen too (it happens when you save the page, as usual, you can still load the page later).

Also, as soon as I disable the vbWiki extension, the errors are completely gone, so it sounds strange that the errors would be in another extension too, don't you think? :(

Are there perhaps some error logs or something that would help you?

ElfMage
05-29-2007, 06:22 PM
It's not only for pages containing the MainObjTemplate, try to create a arbitrary new page, containing only the text "This is a test" or whatever, and it will happen too (it happens when you save the page, as usual, you can still load the page later).

Also, as soon as I disable the vbWiki extension, the errors are completely gone, so it sounds strange that the errors would be in another extension too, don't you think? :(


Well, I created some articles earlier today (Test Page, and Test Tool 3 or 4, can't remember), and I didn't get those errors. As soon as I copied the page containing that template, I got the PHP error (blank page), and vbWiki was active in all these tests. Quite puzzling.

Are there perhaps some error logs or something that would help you?

Yes, indeed. If your site has a php error log, any php errors will appear there.

It is possible that this issue is caused by vbWiki Std, or it may not. More information would be required.

efil
06-01-2007, 06:10 PM
Hi,
Can't find the file LocalSettings.php.

pete_brady
06-01-2007, 06:57 PM
Hi,
Can't find the file LocalSettings.php.

very last line of the installation says

Installation successful! Move the config/LocalSettings.php file into the parent directory

Quantnet
06-06-2007, 12:37 PM
I'm a bit confused. I'd like to installed Standard and by reading here on your site, I don't have to download and install Wikipedia prior to install this hack ?

Only the Pro version needs prior wikipedia installation ?

ElfMage
06-06-2007, 12:48 PM
Hi, my apologies for the confusion.

However, both vbWiki Std and vbWiki Pro are 'bridges' between vBulletin and MediaWiki. In the installation instructions above it is stated:


MediaWiki and vBulletin must be installed and properly working before installing vbWiki. MediaWiki can be downloaded here (http://www.mediawiki.org/wiki/Download).


Thanks.

Quantnet
06-07-2007, 12:21 PM
Thanks for the clarification.
Please correct me if I'm wrong but from reading the side-by-side comparison between Standard and Prof version, it seems the Standard is much better and easier to work with ?

instead of put them in /vbwiki/ folder, can i put them under /wiki/ folder ?

ElfMage
06-08-2007, 04:30 AM
:) It depends. vbWiki Standard is easier to install, but on the other hand, vbWiki Pro has quite a number of features missing from vbWiki Standard. For instance with vbWiki Pro you get skin integration, usergroup management, Admin CP to control vbWiki and MediaWiki's operation, etc. A more thorough comparison can be found over at our site.

If you are installing vbWiki Standard, you can rename the /vbWiki folder to something else, although this is not advisable.

Please notice that this folder (e.g. /forums/vbWiki) is never seen by your visitors. Instead your visitors will go to the folder where you installed MediaWiki (e.g. /wiki).

The folder where vbWiki is installed does not affect your forum or wiki URLs.

slappy
06-09-2007, 10:12 AM
Yes, indeed. If your site has a php error log, any php errors will appear there.

It is possible that this issue is caused by vbWiki Std, or it may not. More information would be required.

Ok, I have found the source of the error by looking in the error log:

PHP Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 75 bytes) in /xxx/xxx/xxx/languages/Language.php on line 1775

This is what made the crash semi-random. I changed the memory limit in the LocalSettings.php, and the problem went away.

What I still don't know is what is taking so much memory. The problem only occurred when having the vbWiki extension active, but this could of course either mean that this extension takes up a lot of memory itself, or that it was just the last drop, but the real culprit was some other extension.

Oh, and one more tip, which I found when looking through the error logs. The following (non-critical) error in your code appears a lot in the error-log, so you might want to fix it:

PHP Notice: Undefined index: vbwiki_preferencestitle in /xxx/xxx/forum/vbWiki/vbWiki_Hooks.php on line 45

ElfMage
06-09-2007, 06:30 PM
Ok, I have found the source of the error by looking in the error log:

PHP Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 75 bytes) in /xxx/xxx/xxx/languages/Language.php on line 1775This is what made the crash semi-random. I changed the memory limit in the LocalSettings.php, and the problem went away.

What I still don't know is what is taking so much memory. The problem only occurred when having the vbWiki extension active, but this could of course either mean that this extension takes up a lot of memory itself, or that it was just the last drop, but the real culprit was some other extension.


vbWiki will need to load the vBulletin bridge to access vBulletin's users and DB. This requires extra memory. Now, 20MB seems a bit excessive. I have seen vBulletin use around 6-8 MB, but I don't know how much MediaWiki usually uses. Also, as you mention it would depend on MW extensions or vBulletin mods installed.


Oh, and one more tip, which I found when looking through the error logs. The following (non-critical) error in your code appears a lot in the error-log, so you might want to fix it:

PHP Notice: Undefined index: vbwiki_preferencestitle in /xxx/xxx/forum/vbWiki/vbWiki_Hooks.php on line 45

Thanks for the heads up.

You can edit that line vbWiki_Hooks.php and change it from:

if (array_key_exists('preferences', $personal_urls))


to


if (array_key_exists('preferences', $personal_urls) && isset($vbphrase['vbwiki_preferencestitle']) )



Thanks.

Quantnet
06-10-2007, 05:22 PM
If i install Standard version now and decide to upgrade to the Pro version later, do I have to reinstall everything again ?

Quantnet
06-10-2007, 06:37 PM
I assume the Standard version here is exactly the same as the nuWiki version released on your site ?

ElfMage
06-10-2007, 07:09 PM
If i install Standard version now and decide to upgrade to the Pro version later, do I have to reinstall everything again ?

To upgrade to vbWiki Pro you only need to follow the vbWiki Pro installation instructions, you do not need to reinstall MediaWiki.

I assume the Standard version here is exactly the same as the nuWiki version released on your site ?

No, NuWiki is a different product.

NuWiki does not use MediaWiki. Instead NuWiki is implemented from zero on top of vBulletin (e.g. you can use vBulletin's WYSIWYG BBCode editor to create and modify articles, or you can take an existing thread (e.g. sticky) and convert it into a NuWiki article, etc).

A comparison between NuWiki and vbWiki Pro can be found in this page: http://www.nuhit.com/nuwiki/comparison.html

Quantnet
06-11-2007, 02:00 AM
Ah, I see where i got confused.
Look like nuwiki is what i need.

ElfMage
06-11-2007, 02:29 AM
:) We will be releasing free trial download for NuWiki in our site within the next week or two.

Quantnet
06-17-2007, 01:52 AM
I have installed the Pro version with MW 1.10.0 but the log in doesn't seem to take it

Turn the Diagnosis tool on, everything seems ok, it found everything...

When I log in from the forum site, go the wiki site, it logs me out, i log in from the wiki site again and it doesn't take it...if i move to the forum side, it shows i'm logged in again.

I have the 1.6.10 version before and everything seems to work perfectly. I just upgraded it to 1.10.0 version and this happens.

Appreciate your help, ElfMage

ElfMage
06-17-2007, 02:20 AM
Hi. Could you enable URL Commands from vbWiki Pro's Admin CP Settings, if you'd like you can set the IP filter to 67.191.58.190. Thanks.

Quantnet
06-17-2007, 02:59 AM
Hi. Could you enable URL Commands from vbWiki Pro's Admin CP Settings, if you'd like you can set the IP filter to 67.191.58.190. Thanks.
I did.
Thanks for your support. Look forward to your help.

gforce75
06-17-2007, 03:05 AM
Elfmage, I agree with you. It's good for knowledge as you stated.

Quantnet
06-17-2007, 05:00 AM
Hi. Could you enable URL Commands from vbWiki Pro's Admin CP Settings, if you'd like you can set the IP filter to 67.191.58.190. Thanks.

I found the solution from your site http://www.nuhit.com/forums/4465-post7.html

I need to set the domain to .website.com and path to /

Now it works perfectly...weird...I didn't have to do it in earlier version.

Now that this issue solved, may I have your attention and help in another one.

I have a customized header template that has navigation bar in a similar fashion as vb.org in that the bar will be highlighted depends on the location of the page you visit. If you at forum home, the FORUM button will be highlighted, if you at the VBA home, the HOME will be highlighted and so on. I'd like to have it so that the Wiki will be highlighted when i'm on any page of wiki.

Here is my current code
<a href="#" onclick="window.open('/forum/javachat.php?$session[sessionurl]do=lite','javachat','statusbar=no,menubar=no,toolb ar=no,scrollbars=no,resizable=yes,directories=no,w idth=750,height=550,left=50,top=100,screenX=50,scr eenY=100'); return false;" class="tab">Chat</a>

<a href="http://www.quantnet.org/wiki/" class="<if condition="THIS_SCRIPT == 'vbwiki'">tab<else />tabpage</if>">Wiki</a>

<a href="http://www.quantnet.org/forum/" class="<if condition="THIS_SCRIPT == 'adv_index'">tab<else />tabpage</if>">Forum</a>


<a href="http://www.quantnet.org/" class="<if condition="THIS_SCRIPT != 'adv_index'">tab<else />tabpage</if>">Home</a>

This does not work at the moment.

When i'm at VBA home, both HOME and WIKI are highlighted
When I'm at forum, both FORUM and WIKI highlighted
When i'm on wiki page, the FORUM highlight

You can visit www.quantnet.org and see for yourself.

Do you know any page location I can use ?

ElfMage
06-17-2007, 01:00 PM
I found the solution from your site http://www.nuhit.com/forums/4465-post7.html

I need to set the domain to .website.com and path to /

Cool. Glad you got it working.:cool:


I have a customized header template that has navigation bar in a similar fashion as vb.org in that the bar will be highlighted depends on the location of the page you visit. If you at forum home, the FORUM button will be highlighted, if you at the VBA home, the HOME will be highlighted and so on. I'd like to have it so that the Wiki will be highlighted when i'm on any page of wiki.


Try the following. I am assuming that tabpage is the class for the active tab. What it does is to highlight the Forums tab only if you are not in the wiki nor in the vbAdvanced Home.


<a href="#" onclick="window.open('/forum/javachat.php?$session[sessionurl]do=lite','javachat','statusbar=no,menubar=no,toolb ar=no,scrollbars=no,resizable=yes,directories=no,w idth=750,height=550,left=50,top=100,screenX=50,scr eenY=100'); return false;" class="tab">Chat</a>

<a href="http://www.quantnet.org/wiki/" class="<if condition="THIS_SCRIPT == 'vbwiki'">tabpage<else />tab</if>">Wiki</a>

<a href="http://www.quantnet.org/forum/" class="<if condition="(THIS_SCRIPT != 'vbwiki') && (THIS_SCRIPT != 'adv_index')">tabpage<else />tab</if>">Forum</a>

<a href="http://www.quantnet.org/" class="<if condition="THIS_SCRIPT == 'adv_index'">tabpage<else />tab</if>">Home</a>

ElfMage
06-17-2007, 01:06 PM
FYI, I also replied to your other support thread (http://www.nuhit.com/forums/vbwiki-pro-installation-support/881-populate-forums-discussion-page-links.html). Thanks.

Quantnet
06-17-2007, 07:15 PM
Try the following. I am assuming that tabpage is the class for the active tab. What it does is to highlight the Forums tab only if you are not in the wiki nor in the vbAdvanced Home.

YESSSSSSSSSSSSSSSSSSSSSS

It works perfectly....I tested it quickly but everything seems to work as expected. You are the man ;)

Thanks very much.

Quantnet
06-17-2007, 10:30 PM
Cool. Glad you got it working.:cool:
I sent you a PM with an id
Can you test it with some different browsers to see if it work properly now.

Thanks

RVSmarter
06-23-2007, 03:30 AM
Hi I am trying to install vbwiki standard at the moment and I went through the instructions and I get the following error on the wiki mainpage:

Warning: require_once(/includes/AuthPlugin.php) [function.require-once]: failed to open stream: No such file or directory in /home/mathhelp/public_html/math-help/vbWiki/vbWiki_Auth.php on line 14

Fatal error: require_once() [function.require]: Failed opening required '/includes/AuthPlugin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mathhelp/public_html/math-help/vbWiki/vbWiki_Auth.php on line 14

Line 14 reads: require_once( "$IP/includes/AuthPlugin.php");


What shall I do????

You can see for yourself here: www.mathhelpforum.com/wiki

Quantnet
06-23-2007, 12:33 PM
What shall I do????

You can see for yourself here: www.mathhelpforum.com/wiki
You also have a double welcomeheader on your forum home :D

Jim McAnally
06-24-2007, 07:58 AM
Guess my question doesnt warrant an answer.

ElfMage
06-24-2007, 01:28 PM
Guess my question doesnt warrant an answer.

Hi Jim,

My apologies for that. Somehow I missed your post, definitely not intentional.

If I have media wiki on a seperate domain and box than Vbulletin is there a way to get this to work or should I move this to the same server?

If so it would still be to seperate domains.

(Notice that the rest of this post does not refer to installing vbWiki using different sub-domains).

It is always easier and much less complex to have both systems on the same server and domain, this is recommended, but not mandatory.

We have a couple of customers that are using a setup similar to what you describe. We even saw a setup where vB and MW were installed on servers located on different hosting networks.

There are three components that need to be taken care of:
1) Access to vBulletin's DB
2) Access to vBulletin's installation
3) Cookie Tunneling for synchronized session

#3 is a feature that is only available in vbWiki Pro. However if you are interested in vbWiki Std, there is a free mod here at vb.org that let's you do the same thing (CES Cookie Cutter).

#1 depends on your installation.

For instance in these setups it is recommended to duplicate vB installation folder over in your MW server. The alternative is to access the files over the network, which has lower performance.

#2 is simple, all that is needed is to let your MW server talk to vB's MySQL server. However depending on how #2 is implemente, it may be required to change vBulletin's server name from 'localhost' to the actual IP or host name where MySQL is hosted.

All in all, it is doable, but 10-20 times more complex than a regular installation. For more information refer to this article over at our site:Installing vbWiki Pro in a multiple domain setup (http://www.nuhit.com/forums/vbwiki-pro-documentation/800-installing-vbwiki-pro-multiple-domain-setup.html)

Anyways, read through this, and if you have any questions, let me know. Thanks.

ElfMage
06-24-2007, 01:32 PM
Hi I am trying to install vbwiki standard at the moment and I went through the instructions and I get the following error on the wiki mainpage:

Warning: require_once(/includes/AuthPlugin.php) [function.require-once]: failed to open stream: No such file or directory in /home/mathhelp/public_html/math-help/vbWiki/vbWiki_Auth.php on line 14

Fatal error: require_once() [function.require]: Failed opening required '/includes/AuthPlugin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mathhelp/public_html/math-help/vbWiki/vbWiki_Auth.php on line 14
Line 14 reads: require_once( "$IP/includes/AuthPlugin.php");


What shall I do????

You can see for yourself here: www.mathhelpforum.com/wiki (http://www.mathhelpforum.com/wiki)

Hi,

This is usually caused by entering the incorrect path on the 'require_once' line added to MW's LocalSettings.php.

Verify that the path entered in LocalSettings is an absolute local directory path.

For instance, this is wrong:

require_once "http://www.mydomain.com/forums/vbWiki/......php"; // THIS IS WRONG

The right way is as follows:

require_once "/local/path/to/your/forum/installation/vbWiki/vbWiki_Init.php";


Entering the correct path for your server.


Could you verify if this is the issue in your installation?

Thanks.

RVSmarter
06-24-2007, 06:16 PM
Hi,

This is usually caused by entering the incorrect path on the 'require_once' line added to MW's LocalSettings.php.

Verify that the path entered in LocalSettings is an absolute local directory path.

For instance, this is wrong:

require_once "http://www.mydomain.com/forums/vbWiki/......php"; // THIS IS WRONG

The right way is as follows:

require_once "/local/path/to/your/forum/installation/vbWiki/vbWiki_Init.php";


Entering the correct path for your server.


Could you verify if this is the issue in your installation?

Thanks.

Yes I believe this is it. Thank you.

subnet_rx
06-29-2007, 03:07 PM
I just read that MediaWiki 1.7 and above is not just compatible with, but requires PHP5. That's kind of weird to me. I'm having to use a much older version because my server is running 4.4.4

subnet_rx
06-29-2007, 07:59 PM
I'm having problems with the install now. I'm getting this error:


Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myhattie/public_html//forums/vbWiki/arcane_vbulletin_core.php on line 79


I believe I have LocalSettings.php set correctly. What else should I check?

Quantnet
06-30-2007, 01:23 AM
look at this
/home/myhattie/public_html//forums/vbWiki/arcane_vbulletin_core.php on line 79

You have double // in front of forums/vbWiki

Remove one of them.

ElfMage
06-30-2007, 02:07 AM
I just read that MediaWiki 1.7 and above is not just compatible with, but requires PHP5. That's kind of weird to me. I'm having to use a much older version because my server is running 4.4.4

:) That's a system requirement for MediaWiki. We have a lot of users in the same situation using MW 1.6.x with no trouble.

ElfMage
06-30-2007, 02:08 AM
I'm having problems with the install now. I'm getting this error:


Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myhattie/public_html//forums/vbWiki/arcane_vbulletin_core.php on line 79
I believe I have LocalSettings.php set correctly. What else should I check?


In addition to what Quantnet.org mentions, it always helps to turn on vbWiki's diagnostics mode. Try it, and usually it will identify what needs to be corrected.

quiklink
07-02-2007, 01:38 AM
:) That's a system requirement for MediaWiki. We have a lot of users in the same situation using MW 1.6.x with no trouble.

Yup using MW 1.6.1 and vbWiki (pro). Works great! Started with this lite version and liked it so much I upgraded. I highly recommend it.

ElfMage
07-02-2007, 11:21 PM
:) Thanks.

SirTalksalot
07-18-2007, 07:05 PM
Hi,

Thank you for this great MOD, I've already get it working on one site. But when I tried it here : http://www.warwickshireonline.com/wiki/

I just get a blank page. I've turned on the Diagnostics tool, but it's not telling me anything I can understand. Is there anything I can try to fix this?

Thank you in advance, I really appreciate your help. :)

ElfMage
07-19-2007, 03:47 AM
Hi,

What version of PHP is your site running?

I see in the diagnostic tools output that MW is running on 5.2, however, there is another place where it mentioned PHP 4.4.7

Is it possible that your site has both 5.2 and 4.4.7 and both packages are running different versions of PHP?

Thanks.

SirTalksalot
07-19-2007, 04:41 PM
Hi,

What version of PHP is your site running?

I see in the diagnostic tools output that MW is running on 5.2, however, there is another place where it mentioned PHP 4.4.7

Is it possible that your site has both 5.2 and 4.4.7 and both packages are running different versions of PHP?

Thanks.

That would make a lot of sense. PHP 5 is only activated in the folder and all it's subfolers, if I ask it to in the htaccess. The thing is, I already have vbwiki successfully running here http://mediabase.productionforum.co.uk

The only difference is that the wiki is in a sub-domain while VBulletin is in the main domain. Do you think it's worth activation PHP 5 for VBulletin too? Will I need to change any setting in VB if I do that?

Thank you for your help Elfmage, it's very much appreciated. :)

ElfMage
07-20-2007, 04:36 AM
That would make a lot of sense. PHP 5 is only activated in the folder and all it's subfolers, if I ask it to in the htaccess. The thing is, I already have vbwiki successfully running here http://mediabase.productionforum.co.uk

The only difference is that the wiki is in a sub-domain while VBulletin is in the main domain. Do you think it's worth activation PHP 5 for VBulletin too? Will I need to change any setting in VB if I do that?

I think I have seen a couple of cases before where they had this setup (one system running PHP4 and the other one PHP5) and it got fixed when both were set to the same version.

Now, I haven't tested this scenario, but at first glance it makes sense as to why it would through PHP in for a loop... :rolleyes:

My suggestion is to try this in a test environment before making any changes on your live site.

Thank you for your help Elfmage, it's very much appreciated. :)

Glad to be of service.

Dontom
07-20-2007, 07:28 AM
Thanks for the great mod - installation was easy (even thouzgh we run it from a different server than our vb) - mapping of rules also was ok, perhaps you just paste the information how to map usergroups from vb to MW into the first post...

Thanks again
Tom

Taios
07-21-2007, 06:34 PM
...So you're supposed to replace the closing tag in LocalSettings.php with requireonce.
Well, the ?> doesn't seem to exist in my LocalSettings :P I just get an error


Warning: require_once(<FULL PATH>) [function.require-once]: failed to open stream: No such file or directory in <FULL PATH> on line 123

Fatal error: require_once() [function.require]: Failed opening required '<FULL PATH>' (include_path='<PATH>') in <FULL PATH> on line 123

:/

quiklink
07-21-2007, 06:39 PM
...So you're supposed to replace the closing tag in LocalSettings.php with requireonce.
Well, the ?> doesn't seem to exist in my LocalSettings :P I just get an error


Warning: require_once(<FULL PATH>) [function.require-once]: failed to open stream: No such file or directory in <FULL PATH> on line 123

Fatal error: require_once() [function.require]: Failed opening required '<FULL PATH>' (include_path='<PATH>') in <FULL PATH> on line 123

:/

No you place it just above the closing tag. If you replace the closing tag, yeah you are going to get an error.

ElfMage
07-21-2007, 07:07 PM
Thanks for the great mod - installation was easy (even thouzgh we run it from a different server than our vb) - mapping of rules also was ok, perhaps you just paste the information how to map usergroups from vb to MW into the first post...

Thanks again
Tom


Hi Tom, thanks for the feedback. I'll do that. There is a sample in the vbWiki_Settings.php, but I'll paste it here, for clarity's sake..

Thanks.

ElfMage
07-21-2007, 07:10 PM
...So you're supposed to replace the closing tag in LocalSettings.php with requireonce.
Well, the ?> doesn't seem to exist in my LocalSettings :P I just get an error


Warning: require_once(<FULL PATH>) [function.require-once]: failed to open stream: No such file or directory in <FULL PATH> on line 123

Fatal error: require_once() [function.require]: Failed opening required '<FULL PATH>' (include_path='<PATH>') in <FULL PATH> on line 123:/

Hi,

Some versions of Mediawiki used to have the closing ?>

I will add a note that if the closing ?> is not found, to simply add the require_once at the end of the file.

In this case the error seems to be caused by the path not pointing to where vbWiki is installed. Please verify the install location and the path+filename in the require_once.

Thanks.

ElfMage
07-21-2007, 07:12 PM
No you place it just above the closing tag. If you replace the closing tag, yeah you are going to get an error.

In newer versions of PHP (PHP4+) the closing tag is optional.

I prefer to not end any file with the closing tag because it is easy to leave empty lines at the end of the file, which then causes trouble with HTTP headers, cookies etc.

Taios
07-21-2007, 08:50 PM
Hi,

Some versions of Mediawiki used to have the closing ?>

I will add a note that if the closing ?> is not found, to simply add the require_once at the end of the file.

In this case the error seems to be caused by the path not pointing to where vbWiki is installed. Please verify the install location and the path+filename in the require_once.

Thanks.

Thanks, but yes, I have tried it at the end of the file.
The location seems to be correct, but I'll check again.
Edit: Fixed it, thanks.

ElfMage
07-22-2007, 12:35 AM
Cool. Glad to hear that.

NewAyenee
07-27-2007, 12:54 PM
Heya, Very nice product thanks! I integrated it and it works fine, .. it shows that im logged in etc. etc. but when I want to edit a wiki page, I get: Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Wiki Version: 1.9.0
VB Version: 3.6.3
www.6thsense.eu

Getting the same session error on my site. I didn't see a fix ever posted for this. Any help available?

ElfMage
07-27-2007, 07:27 PM
Hi, this session error is usually caused by the PHP sessions not working properly.

Could you verify that the session.save_path is properly set in the php.ini and that it points to a directory where the web server has write permissions?

You can also run vbWiki's Diagnostic Tools where more information can be found. If you'd like PM a link to your site and enable URL commands in vbWiki's settings file.

Thanks.

NewAyenee
07-28-2007, 11:49 AM
I got it, elf. Turns out my host hadn't set the path properly with write permissions. Its working now.

Thanks, and great hack.

Strafe
08-05-2007, 12:59 PM
I've been using Standard on my site for quite some time now.

My Wiki: http://www.luniafan.com/wiki
My Forums: http://www.luniafan.com/forums

The wiki works as a free-for-all edit right now. All registered members are able to edit to their heart's content. Now, I wanted to add sysop members in th Wiki. I went ahead and input all permissions in the LocalSettings.php file in MediaWiki for the sysop group. However, when I try implementing it by putting a member in the sysop group, it seems to be giving him normal permissions - no administrating powers of a sysop. Just like he is on the same usergroup but with a different usergroup name.

I was wondering if the usergroup permissions in vBulletin conflicts with MediaWiki. Because right now, no matter how many people I assign on the sysop usergroups they seem to be getting no special powers.

ElfMage
08-05-2007, 01:08 PM
Hi Strafe,

vbWiki (both Standard and Pro editions) have 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 setting that controls this mapping is named $g_vbWiki_Usergroup_Mapping, here is an example (and the default for this setting):


$g_vbWiki_Usergroup_Mapping = array (
6 /*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.

This assignment overrides MediaWiki's.

Strafe
08-07-2007, 03:39 AM
Hey there ElfMage!

Thanks for taking time in responding. What should I do if I just want to place hand-picked members in the sysop group? How should I edit the lines?

ElfMage
08-07-2007, 07:08 PM
Hi Strafe, The easiest way is to create a new Usergroup in vBulletin, add these members to this new group. And then when configuring vbWiki, map this new usergroup to MediaWiki's sysop group. (You'll need the id for the newly created usergroup, which you can find in the Usergroup Manager in vB).

Strafe
08-07-2007, 08:15 PM
Thanks, that cleared everything up. :)

Strafe
08-09-2007, 08:15 PM
I added these lines to my Init file but it results to a blank wiki page.
$g_vbWiki_Usergroup_Mapping = array (
6 /*Administrators*/ => "sysop,bureaucrat"
5 /*Super Moderators*/ => "sysop,bureaucrat"
);
I made it so that mods and admins can be sysops. Why is it giving me a blank page?

ElfMage
08-10-2007, 04:23 AM
Hi Strafe,

After each entry in the array a comma is needed:


$g_vbWiki_Usergroup_Mapping = array (
6 /*Administrators*/ => "sysop,bureaucrat",
5 /*Super Moderators*/ => "sysop,bureaucrat"
);


The blank page was caused by a PHP error. If you check the PHP error logs you may see the corresponding entry there...

Quantnet
08-10-2007, 10:11 PM
I'm using the Live Search Ajax mod and on the wiki page, the ajax window is blocked by the wiki header where you have My talk My Wiki Preferences My watchlist My contributions Log out

Here is the mod https://vborg.vbsupport.ru/showthread.php?t=154694
Here is the wiki at www.quantnet.org/wiki

I guess the way the custom template is code, it blocks the ajax ? I have it working fine on forum home and front page.

Thanks

ElfMage
08-11-2007, 04:32 AM
Could you PM me a test username/password? (or is this visible to guests, I didn't see it).

My guess is that this is related to the z-index CSS property, it should be simple to correct.

Quantnet
08-11-2007, 06:51 AM
this is visible to guests...i PM you a test account none the less

I hope it's something with the css

ElfMage
08-12-2007, 01:20 AM
:) Sent you a PM.

Quantnet
08-12-2007, 01:43 AM
Your fix worked like a charm. You da man.
Thanks

Kaelon
08-18-2007, 04:06 PM
I recently purchased vbWikiPro (great product - thanks so much!), and ordinarily would ask this question on the NuHit forums, but they seem to have serious rewrite errors (that most forum thread links are posting to 404 errors), so I'm posting this here.

I noticed that after installing vbWikiPro, there was a huge spike to server load. I'm running on a Dedicated Server (P4 3.0 Ghz, 2 Gigs of RAM, RAID-0 150 GB 10,000 RPM HD) and my forum (around 50-60 registered users online at any given time, around 400-500 normal users accessible during peak times) ordinarilly never has a load above 0.20. Installed vbWikiPro, and started getting regular load ranges of 0.80-2.00! Is there any reason for this?

ElfMage
08-18-2007, 05:35 PM
Hi Kaelon,

Thanks for the positive feedback. We upgraded our systems this morning, and some of the URLs changed. If you encounter any link pointing to a 404, please send me a PM. Thanks.

Regarding the server load. Since this is a vbWiki Pro question, I posted it in our support forums, I hope you don't mind. Let's continue the discussion there. Thread: http://www.nuhit.com/forums/vbwiki-pro-installation-and-support/1348-vbwiki-pro-and-server-load--post7283.html

I also replied to the thread.

Regards.

Soonerdude
08-25-2007, 02:25 AM
First of all, thanks, this is an awesome mod.

I'm trying to figure out how to keep anyone but myself from editing the main page on the wiki. I don't care what they do with the rest of the wiki, but I want to set the main page up myself, and I don't want anyone messing with it. Is this possible?

Another question, will banned vbulletin users be banned from editing the wiki as well?

ElfMage
08-25-2007, 03:56 AM
First of all, thanks, this is an awesome mod.

You are welcome. Glad to see people finding this useful. :)

I'm trying to figure out how to keep anyone but myself from editing the main page on the wiki. I don't care what they do with the rest of the wiki, but I want to set the main page up myself, and I don't want anyone messing with it. Is this possible?

Yes, you could protect the main page, and set the permissions so that only you can protect/unprotect pages.

This way anybody with edit rights can modify any other page, but only you can edit the main page.


Another question, will banned vbulletin users be banned from editing the wiki as well?

Not at this time.

This will be implemented in the next release, it has been reported over in our site, and we are working on implementing support for banned groups.

Thanks.

Soonerdude
08-28-2007, 03:09 AM
Another question..

I love the feature where the user cp links to the vbulletin usercp, but is there also a way to have the mediawiki preferences link still at the top? The users need to be able to select their timezones, set up search preferences, etc. I know you can just go to Special:Preferences, but it would be easier if they just had a link at the top.

Thanks!

etechno
08-28-2007, 06:52 AM
Great mod here, will look at installing later on.

ElfMage
08-28-2007, 12:35 PM
Another question..

I love the feature where the user cp links to the vbulletin usercp, but is there also a way to have the mediawiki preferences link still at the top? The users need to be able to select their timezones, set up search preferences, etc. I know you can just go to Special:Preferences, but it would be easier if they just had a link at the top.

Thanks!

Thanks. Are you referring to vbWiki Pro? If so there is an option in vBulletin's Admin CP to enable this.

Quantnet
09-01-2007, 12:41 AM
Cool. Glad you got it working.:cool:



Try the following. I am assuming that tabpage is the class for the active tab. What it does is to highlight the Forums tab only if you are not in the wiki nor in the vbAdvanced Home.


<a href="#" onclick="window.open('/forum/javachat.php?$session[sessionurl]do=lite','javachat','statusbar=no,menubar=no,toolb ar=no,scrollbars=no,resizable=yes,directories=no,w idth=750,height=550,left=50,top=100,screenX=50,scr eenY=100'); return false;" class="tab">Chat</a>

<a href="http://www.quantnet.org/wiki/" class="<if condition="THIS_SCRIPT == 'vbwiki'">tabpage<else />tab</if>">Wiki</a>

<a href="http://www.quantnet.org/forum/" class="<if condition="(THIS_SCRIPT != 'vbwiki') && (THIS_SCRIPT != 'adv_index')">tabpage<else />tab</if>">Forum</a>

<a href="http://www.quantnet.org/" class="<if condition="THIS_SCRIPT == 'adv_index'">tabpage<else />tab</if>">Home</a>


A follow up question on this. I like to add a Tab for Blogs between Wiki and Forum. Can you please help me so that the Blog tab will be highlighted when only on /forum/blog.php page.

Thanks very much

ElfMage
09-01-2007, 03:37 PM
:)

I am assuming that you have vBlog powering your Blog.

Try this and let me know..


<a href="#" onclick="window.open('/forum/javachat.php?$session[sessionurl]do=lite','javachat','statusbar=no,menubar=no,toolb ar=no,scrollbars=no,resizable=yes,directories=no,w idth=750,height=550,left=50,top=100,screenX=50,scr eenY=100'); return false;" class="tab">Chat</a>

<a href="http://www.quantnet.org/wiki/" class="<if condition="THIS_SCRIPT == 'vbwiki'">tabpage<else />tab</if>">Wiki</a>

<a href="http://www.quantnet.org/forum/blog.php" class="<if condition="THIS_SCRIPT == 'blog'">tabpage<else />tab</if>">Blog</a>

<a href="http://www.quantnet.org/forum/" class="<if condition="(THIS_SCRIPT != 'vbwiki') && (THIS_SCRIPT != 'blog') && (THIS_SCRIPT != 'adv_index')">tabpage<else />tab</if>">Forum</a>

<a href="http://www.quantnet.org/" class="<if condition="THIS_SCRIPT == 'adv_index'">tabpage<else />tab</if>">Home</a>

Quantnet
09-01-2007, 03:47 PM
Kaching !

Thanks ;)

ElfMage
09-01-2007, 03:57 PM
:) Glad it worked.

darksoulz
09-08-2007, 04:54 PM
Broken for me on MW 1.11.0rc1

Internal error

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.

Backtrace:

#0 /wiki/includes/Title.php(838): wfRunHooks('GetLocalURL', Array)
#1 /wiki/includes/MediaTransformOutput.php(84): Title->getLocalURL('')
#2 /wiki/includes/MediaTransformOutput.php(142): MediaTransformOutput->getDescLinkAttribs('Image:glogo.jpg')
#3 /wiki/includes/Linker.php(576): ThumbnailImage->toHtml(Array)
#4 /wiki/includes/Parser.php(4627): Linker->makeImageLink2(Object(Title), Object(LocalFile), Array, Array)
#5 /wiki/includes/Parser.php(1774): Parser->makeImage(Object(Title), 'Image:glogo.jpg')
#6 /wiki/includes/Parser.php(1052): Parser->replaceInternalLinks('<span class="pr...')
#7 /wiki/includes/Parser.php(306): Parser->internalParse('<span class='pr...')
#8 /wiki/includes/Article.php(3017): Parser->parse('<protect>?<cent...', Object(Title), Object(ParserOptions), true, true, 2754)
#9 /wiki/includes/Article.php(831): Article->outputWikiText('<protect>?<cent...')
#10 /wiki/includes/Wiki.php(383): Article->view()
#11 /wiki/includes/Wiki.php(48): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#12 /wiki/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#13 {main}

ElfMage
09-09-2007, 02:00 AM
Interesting. We haven't tested vbWiki with 1.11 RC1. However, the error described here is easy to fix.

Open a file named vbWiki_Hooks.php and at line 122 there is a closing curly brace } insert the following (before the closing brace):

return true;


It is possible that there are other errors. We will be testing this shortly.

Thanks.

darksoulz
09-09-2007, 02:10 PM
Using that idea, I did the same thing to fix the same error in a few other functions. After adding that line to the end of vbWiki_PersonalUrls_Hook, vbWiki_GetLocalURL_Hook, and vbWiki_SpecialPage_initList_Hook, it appears to be working normally.

Thanks for the help and for the great mod.

ElfMage
09-09-2007, 03:06 PM
Using that idea, I did the same thing to fix the same error in a few other functions. After adding that line to the end of vbWiki_PersonalUrls_Hook, vbWiki_GetLocalURL_Hook, and vbWiki_SpecialPage_initList_Hook, it appears to be working normally.

That's good to know, thanks for the update. I just made the changes to the development branch. They will be included in the next release.

Thanks for the help and for the great mod.

:) Thanks for the feedback.

Let me know if anything else comes up.

Cheers.

Quantnet
09-10-2007, 04:13 AM
ElfMage,
Have you tried upgrading to MediaWiki 1.11.0rc1 ? Any problem with WikiPro/3.6.8 ?
Thanks

ElfMage
09-10-2007, 04:29 AM
Hi,

vBulletin 3.6.8: There are no problems with the latest vBulletin version. We are running this version over at our site.

MediaWiki 1.11 RC1: There is a slight incompatibility. Take a look at darksoulz's post above. He got it working with a couple of code changes.

Quantnet
09-14-2007, 10:31 PM
the 1.11.0 verson was released...anyone upgraded can share their experience ?

Any code changes we need ?

yoyoyoyo
09-14-2007, 11:48 PM
I installed this and received an error that said:

Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information.but I can't find $wgShowExceptionDetails anywhere in the LocalSettings.php file

ElfMage
09-15-2007, 02:22 PM
Hi, are you the same user who posted a similar issue over at our forums?

Thanks.

yoyoyoyo
09-15-2007, 03:58 PM
Hi, are you the same user who posted a similar issue over at our forums?

Thanks.no I am not - is there a fix?

I just looked at your forum - very nice - I love the cartoon quote balloons

Totti
09-16-2007, 06:46 AM
If you would do, what wiki expects you to do ... you would have seen that this is the same small bug described above.

I just added return true to all functions in vbWiki_Hooks.php and it works perfectly with 11 :)


thanks a lot ;)

yoyoyoyo
09-16-2007, 11:10 AM
If you would do, what wiki expects you to do ... you would have seen that this is the same small bug described above.

I just added return true to all functions in vbWiki_Hooks.php and it works perfectly with 11 :)


thanks a lot ;)I made the changes mentioned earlier in this thread by darksoulz and elfmage and it seems to be working for me, also.

ElfMage
09-17-2007, 02:10 AM
I just looked at your forum - very nice - I love the cartoon quote balloons

:) Thanks.

thanks a lot ;)

Your are welcome.

I made the changes mentioned earlier in this thread by darksoulz and elfmage and it seems to be working for me, also.

Cool. Glad to hear that.

We'll be releasing a new version in 2-3 weeks, that will include these changes.

iRO Wiki
09-23-2007, 07:39 PM
Ah, after some tweaking we got it to work, thanks a bunch!

AScherff
09-28-2007, 05:22 PM
Hi,

i have installed vBulletin 3.6.8 installed and working. MediaWiki 1.11.0 ist installed and running.

I followed the installation instructions here, for these mod (RC4) but nothing happen. I also set

$run_vbWikiPro_diag_tools = true;

but no effect.

I'm stuck. Please help. Thanks

Alfred

slappy
09-28-2007, 06:55 PM
Hey ElfMage, seems like vbWiki Standard isn't compatible with the new MediaWiki version 1.11.0. :(

I only get the following error on my Wiki main page when trying to run it (with $wgShowExceptionDetails = true):

Internal error

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.

Backtrace:

#0 /var/www/html/collaborative/tools/includes/Title.php(838): wfRunHooks('GetLocalURL', Array)
#1 /var/www/html/collaborative/tools/includes/Title.php(739): Title->getLocalURL('', false)
#2 /var/www/html/collaborative/tools/includes/Wiki.php(170): Title->getFullURL()
#3 /var/www/html/collaborative/tools/includes/Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#4 /var/www/html/collaborative/tools/index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest))
#5 {main}


Any new update of vbWiki to fix this anytime soon?

EDIT:
This seems to be your problem (I had to patch 3 or 4 hook functions in your code to make it work again, no biggie, but you'd probably want to do it in the release version anyway):
http://lists.wikimedia.org/pipermail/mediawiki-l/2007-September/023348.html

ElfMage
09-28-2007, 08:26 PM
Hey ElfMage, seems like vbWiki Standard isn't compatible with the new MediaWiki version 1.11.0. :(


:) Yes, some members made the modifications as listed above and got it working.

However, we just released vbWiki Std 1.3 RC5 which is compatible with MW 1.11+

Feel free to download it and let me know if it doesn't fix these errors.

ElfMage
09-28-2007, 08:26 PM
Hi,

i have installed vBulletin 3.6.8 installed and working. MediaWiki 1.11.0 ist installed and running.

I followed the installation instructions here, for these mod (RC4) but nothing happen. I also set

$run_vbWikiPro_diag_tools = true; but no effect.

I'm stuck. Please help. Thanks

Alfred

Hi, please download v1.3 RC5, and verify that the correct line is added to the LocalSettings.php.

Thanks.

AScherff
09-28-2007, 09:36 PM
Hi, please download v1.3 RC5, and verify that the correct line is added to the LocalSettings.php.

Thanks.

Thanks for your reply,

i did what you recommended and installed RC5.

I put

require_once "/absolute/path/to/your/forums/vbWiki/vbWiki_Init.php";
with the right path at the end of the

LocalSettings.php

(there is no ?>)

but still nothing happens. It seems, that the LocalSettings is not called neither the vbWiki_Init.php

Thanks
Alfred

ElfMage
09-28-2007, 11:41 PM
Hi Alfred,

Just to be sure, you replaced the '/absolute/path/to/your/forums' with the correct local path, correct?

Could you send me a PM with a link to your wiki/forum?

Thanks.

AScherff
09-29-2007, 06:21 AM
Hi Alfred,

Just to be sure, you replaced the '/absolute/path/to/your/forums' with the correct local path, correct?

Could you send me a PM with a link to your wiki/forum?

Thanks.

Hi,

yes, i tried out both absolute and relative path...

Nice that i can sent you a PN - Thanks

ConiKost
09-29-2007, 12:46 PM
Hi!
I got a Problem here :(

Installed vbWiki 1.3 RC5 and MediaWiki 1.11.

Installation Works, Plugin ist activ. But nobody can login.

When I do active the $run_vbWikiPro_diag_tools = true; I get this:

Die Cookies konnten nicht gesetzt werden, da der Header schon an den Browser geschickt wurde.
Datei: /var/www/wh-forum.de/htdocs/vBulletin/vbWiki/vbWiki_Tools.php
Zeile: 489

Anybody an Idea?

ElfMage
09-30-2007, 03:33 AM
Hi!
I got a Problem here :(

Installed vbWiki 1.3 RC5 and MediaWiki 1.11.

Installation Works, Plugin ist activ. But nobody can login.

When I do active the $run_vbWikiPro_diag_tools = true; I get this:

Die Cookies konnten nicht gesetzt werden, da der Header schon an den Browser geschickt wurde.
Datei: /var/www/wh-forum.de/htdocs/vBulletin/vbWiki/vbWiki_Tools.php
Zeile: 489

Anybody an Idea?

In some PHP installations the diag tools fail to work.

Could you edit vbWiki_Init.php and in the Custom Settings section, add the following:


$g_vbWiki_URL_Commands_Enabled = true;


And then send me a PM with a link to your wiki and a test username/password?

Thanks.

Cigarcritic
09-30-2007, 07:06 AM
I've tried installing this hack with 3.6.8 and 1.11 several times and end up with a blank page or errors. Can you help beginning with:

Open the file LocalSettings.php found in your MediaWiki directory in a text editor and replace this line:

This is not in LocalSettings.php for 1.11.0
?>

Where do I place the directory path?

If I'm not able to do a simple upgrade when I purchase Pro, please PM me the trial as I'd rather start the install from there. Thanks!

ElfMage
09-30-2007, 03:01 PM
Hi,

I just updated the installation instructions. If the ?> is not found, simply add the require_once at the end of the LocalSettings.php file. Notice that the path for the require_once is a local absolute path (meaning, no http://..).

You can upgrade to vbWiki Pro at any time.

To get a free trial for vbWiki Pro, please register at nuhit.com and send me a PM with your e-mail address, and I'll add your account to the system.

Thanks.

trynksssj2
10-01-2007, 12:13 PM
When I am logged in at my forums, at the wiki it shows just my ip and not my username... I get this error with diag tools on:
Unable to add cookies, header already sent.
File: /home/******/public_html/forums/vbWiki/vbWiki_Tools.php
Line: 19







Why??

ElfMage
10-04-2007, 06:50 PM
Hi, the error in the diagnostics output occurs on some server configurations, we have to look into this. But it doesn't mean that it is not working.

Could you send me a PM with links to your wiki with a test username/password?

Thanks.

iRO Wiki
10-16-2007, 10:14 PM
If our forums are forums.irowiki.org and the wiki is just at irowiki.org/wiki, does the free version support that, or do we need the pro version?

edit: nevermind, found what we needed in one of the config files, is working fine now we think.

ElfMage
10-17-2007, 03:54 PM
:) Yes, indeed, vbWiki Standard supports that setup.

yoyoyoyo
10-17-2007, 04:25 PM
how hard is it to upgrade from the standard to the pro version? or do you have to start over again?