Log in

View Full Version : Integration with vBulletin - [obsolete!] vbMediaWiki 4.0.2 RC 3


Pages : 1 [2] 3

Rene Kriest
02-25-2010, 05:27 AM
This is huge!

Mod of the year definitely. :)

Thx for the awesome work.

CCux
02-25-2010, 08:05 AM
Hi bepe,
great work so far. There is one problem after upgrading to 4.0.2RC. The wiki edits and pages created in the user profile field are gone. is this correct? Did you remove them?

bepe
02-25-2010, 08:55 AM
Hi bepe,
great work so far. There is one problem after upgrading to 4.0.2RC. The wiki edits and pages created in the user profile field are gone. is this correct? Did you remove them?

Thank you! ... no idea how I missed that one :$

bepe
02-25-2010, 09:02 AM
ok, RC 2 is fixing that stats problem

CCux
02-25-2010, 09:51 AM
Great, installed and the stats are back again.

Honk0815
02-25-2010, 10:10 AM
hmm my stats isn´t back...

Using vb4.0.1 and 4.0.2 all the same

dadams982
02-25-2010, 02:17 PM
hmm my stats isn?t back...

Using vb4.0.1 and 4.0.2 all the same

I believe this is updated for 4.0.2 and it has quite a few code changes from 4.0.1. So that may be your conflict.

daddel80
02-25-2010, 04:25 PM
Hi bepe,

as in the readme i can read that subdomains will be supported. I have tested this but without success. The problem is that the skin will not correctly be loaded.

i added the full path VB_INSTALL_PATH without the trailling slash.

magmf
02-25-2010, 04:31 PM
everything is working for me except search can you take a look bepe ?

http:/under-linux.org/wiki

ShawnV
02-25-2010, 04:38 PM
bepe, also on a center fixed width site, the printable version is loading aligned left side.

Cust0ms
02-25-2010, 05:49 PM
Hello
My skin has not been integrated with Wiki. When I click "Wiki" button in navbar I see a wiki homepage (no vBulletin's header). I've tried on Chrome and Safari.

LuckyNeo
02-25-2010, 05:57 PM
I did not understand that's the item:
"Upload the contents of the" wiki_upload "directory into your wiki root directory.
Add this line to the very end of your LocalSettings.php: "
Where this directory wiki?
I need to do it yourself at the root of the forum or somewhere to get and install?

Please'll show:)

Big-Pete
02-25-2010, 06:17 PM
The directory of the wiki is wherever you installed mediawiki.. Google MediaWiki, download and install if you have not done so already.. :)


@bepe: bepe, everything seems to be working great now with the exception of the width of the skin you included, all the default skins are ok.. For some reason there is a slider at the bottom of the screen now as the forum is way to wide to fit on a page, when I select another skin its fine and the slider goes? any ideas how to limit width of text??

BRotondi
02-25-2010, 07:01 PM
@Cust0ms: In LocalSettings search for $wgDefaultSkin = ... and set it to
$wgDefaultSkin = 'vbmediawiki';And... this one is perhaps the bigger problem: Every user who changed his skin in the MW settings must change manually to vbmediawiki...

@bepe: I think you did not mention this anywhere, had the same problem :).


And another one: If you set your vB-stylevar titleimage e.g. to "/images/logo4.png", you have to change it e.g. to "../images/logo4.png", since the header will create something like src="../forum/../images/logo4.png".

Greetings & 1000 Thanks for this mod! (Now installed on the server and debugging / fine tuning)
Bruno

BRotondi
02-25-2010, 07:08 PM
The top right link "My Profile" links to the non existant "wiki/members/..." when I am in the wiki (and correct to "forum/members/...") when I am in the forum.

bepe
02-25-2010, 07:26 PM
The top right link "My Profile" links to the non existant "wiki/members/..." when I am in the wiki (and correct to "forum/members/...") when I am in the forum.

that is because you have this special link to members pages:
http://xxx.net/forum/members/67-bepe
but it should be:
http://xxx.net/forum/member.php?67-bepe

I'm running the VB header from the wiki location... that means I have to change all links to source files like images, css, php, ...

I'm using this regex for it:
$temp = preg_replace( '/(src|href|action)="([^:"<>]+\\.(php|gif|jpg|png|js|ico|css))/', '\\1="'.$base.'/\\2', $temp );

means that u need to have one of this in the link: ". + php|gif|jpg|png|js|ico|css"
then my code will correct the link

bepe
02-25-2010, 07:28 PM
but u are right... why check for the file extension... every relative link needs to be corrected I think... need to check that

BRotondi
02-25-2010, 07:38 PM
but u are right... why check for the file extension... every relative link needs to be corrected I think... need to check that
These 'members'-Links are default with the default-'Mod Rewrite Friendly URLs' rewrite-.htaccess. If you can change this, its fine. But be aware: Not only the ending changed, there is also the s: /member.php? -> /members/

BRotondi
02-25-2010, 07:41 PM
(deleted)

bepe
02-25-2010, 07:43 PM
These 'members'-Links are default with the default-'Mod Rewrite Friendly URLs' rewrite-.htaccess. If you can change this, its fine. But be aware: Not only the ending changed, there is also the s: /member.php? -> /members/

perhaps u can try if it is working better...
open vbMediaWiki.php with some text editor and change line 379 from:
$temp = preg_replace( '/(src|href|action)="([^:"<>]+\\.(php|gif|jpg|png|js|ico|css))/', '\\1="'.$base.'/\\2', $temp );

to:
$temp = preg_replace( '/(src|href|action)="([^\/:"][^:"]+)"/', '\\1="'.$base.'/\\2"', $temp );

(this both code parts are one line! ... this forum is breaking them, because they are too long)

Max Kwiatkowski
02-25-2010, 08:16 PM
Thanks @bepe, I've sent you $10 to paypal. :)

BRotondi
02-26-2010, 05:25 AM
+ 10$ from here :)

BRotondi
02-26-2010, 05:39 AM
open vbMediaWiki.php with some text editor and change line 379 ...
Thanks! This works for 'Rewrite Friendly URLs'.


@all: Who else is running vbMediaWiki on his server? (Mine: sinnimleben.net/wiki (http://sinnimleben.net/wiki)) More exemples would make it easier to debug / see where the problem is and perhaps report bug and solution all together.

Bruno

BRotondi
02-26-2010, 07:01 PM
O.k. Found another site running vBMediaWiki and this way also the point, breaking the template navbar on my site: vBMediaWiki leads the vB-variable $relpath to "wiki/Article" instead of "../wiki/Article", so {vb:raw relpath} cannot be used in the navbar for wiki pages.

This happens in the function fetch_relpath (class_core.php), since $basepath ist not the forum-base any more, but the wiki-base...

Workaround: Use
<vb:if condition="THIS_SCRIPT == 'mediawiki'">/</vb:if>{vb:raw relpath} (on your site perhaps ../ or even something else).

Bruno

Stubbed
02-26-2010, 09:03 PM
Wow bepe, you've made massive progress in such a short time!

Just prepping my install for vb4 upgrade (Waiting for skin developer to finish) and have a couple of questions.

I changed the 'HTML Character Set' to utf-8 and don't appear to be having any ill effects. I use english however, is this only a problem on non-english languages?

Secondly, I've had my username regular expression as ^[A-Z0-9 ]+$ for the past few years, is allowing a space going to cause any problems?

BRotondi
02-27-2010, 11:27 AM
Hey,

Saw your post, also having a problem with the navbar, what plugin did you find that was causing a problem, perhaps I have the same?

My problem is the navbar doesn't register that your even in wiki nor do the sub menu load.
Hi Shawn

It's self made. I rewrote my posting vbMediaWiki 4.0.2 RC 2 #274 (https://vborg.vbsupport.ru/showthread.php?p=1992232#post1992232) and deleted the old one which was unclear. I think, you have another Problem, but if your modifications also use {vb:raw relpath}, perhaps it helps replacing them with
<vb:if condition="THIS_SCRIPT == 'mediawiki'">/</vb:if>{vb:raw relpath}... But first deactivate each other Add to see which one causes the problem.

Good Luck!
Bruno

ShawnV
02-27-2010, 02:55 PM
Hey Bruno,

I have already tried disabling every mod on my site and still cannot find what is causing this problem, its a fresh 4.0.2 install, not upgrade from the 3.x series. I have checked and reverted every template, checked all file uploads, reinstalled product, maybe there is a issue with the suite, ergo; CMS and blogs.

I will try your solution, I need this MOD.

Thanks much. :)

ShawnV
02-27-2010, 03:00 PM
Quick question: on the database, how many of you are using the new experimental binary option or did you go with the backwards compatible UTF-8?

Also myisam or innob?

BRotondi
02-27-2010, 03:42 PM
Hi Shawn

First your wiki must run even without this mod. Can you post or PM a link? I use MediaWiki with
# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
(... ngh... where can I see further settings??)

Greetings, Bruno

ShawnV
02-27-2010, 04:02 PM
Oh the wiki was fine as stand alone, no link at the moment as I decided to reinstall and changed the engine to MyIsam since my server backup only supports that and not InnoDB. I also went with the binary.

BRotondi
02-27-2010, 06:22 PM
[Try MySqlDumper (http://www.mysqldumper.net), the best SQL-Backup I know (free).]

ShawnV
02-27-2010, 09:52 PM
Server side auto backup, I use shell for local backups. I'll check that out however, thanks.

benjaminlwells
02-28-2010, 01:34 AM
I just realized when going to make a tutorial, that my edit toolbar is gone after installing this!! I checked in my prefferences and "show edit toolbar" is checked. HELP!

BRotondi
02-28-2010, 04:54 AM
Can you post a link to your vB? Or use FireBug / see generated HTML to check whether some paths are beeing brocken like
{vb:raw relpath} above

ndahiya
02-28-2010, 12:16 PM
hi bepe,

i installed this replacing the 3 other mods.. basic stuff works well. but a few issues.

* the maintenance scripts in the wiki stop working!! in the prior mod (_vbSSO), they worked fine. looks like it is a issue of the path and cookies based on the errors.

* i use custom urls for the wiki: ie, /home instead of the physical path of /w/index.php . however, in the settings we do not differentiate between the two so get a bunch of issues. we should pass 2 variables (web path, and physical path).

* because of the existing integration, i have usernames that are already capitalized. so i have to skip replacing User.php to lowercase the usernames. the login works fine. however, the user edit count fails (shows as 0 in vbulletin). my mediawiki edit count mod (https://vborg.vbsupport.ru/showthread.php?t=233959) took care of it in a roundabout way, but you might like to have a look.

* if someone is using a cache (APC, memcache), then unless a cache path is set in vbulletin settings, the integration will fail (looks like a session variable thing?). in forums config.php you have to set this: $config['Datastore']['prefix'] = 'forums'; (can be any other word as well, just unique). you might like to mention it in the install instructions.

* should provide an option to turn off linkage with the talk pages in search results.

* new wiki articles: if a page has fwds (eg: test1, test2, test3 are fwds to test in the wiki, then the recent wiki changes shows ALL of them as separate entries. in the wiki, it would show as one only). Also, the recent changes and the changed list in the forum do not match (maybe coz of time zone issues? we could provide an offset in the settings and check).

* if a wiki page has sub pages (ie, book type format.. like: www.site.com/home/Abc/Def), the style integration fails... it looks like it is coz of the way the paths are interpreted. one example of the way it is trying to pull the path: http://www.site.com/home/forums/images/title.gif (see the /home/forums, instead of /forums). similar problem with some special pages like http://www.site.com/home/Special:Contributions/System

ndahiya

CCux
02-28-2010, 04:34 PM
The same problem for subpages here. Did not find any solution for this yet

bepe
02-28-2010, 07:00 PM
Sorry, have been busy the last days :$


I changed the 'HTML Character Set' to utf-8 and don't appear to be having any ill effects. I use english however, is this only a problem on non-english languages?

Yes, should be a problem only with spechial chars like ????...
Anyway, you should change your charset ... not sure if there is any downside to it...

Secondly, I've had my username regular expression as ^[A-Z0-9 ]+$ for the past few years, is allowing a space going to cause any problems?
space is not that much of a problem... but ':' would be

bepe
02-28-2010, 07:02 PM
Hi Shawn

It's self made. I rewrote my posting vbMediaWiki 4.0.2 RC 2 #274 (https://vborg.vbsupport.ru/showthread.php?p=1992232#post1992232) and deleted the old one which was unclear. I think, you have another Problem, but if your modifications also use {vb:raw relpath}, perhaps it helps replacing them with
<vb:if condition="THIS_SCRIPT == 'mediawiki'">/</vb:if>{vb:raw relpath}... But first deactivate each other Add to see which one causes the problem.

Good Luck!
Bruno

yes, relpath would be broken... but not sure why u would need that in the nav bar...
relpath would always give the path to the actual page, so it should only be good for anchors or something like that...

bepe
02-28-2010, 07:05 PM
I just realized when going to make a tutorial, that my edit toolbar is gone after installing this!! I checked in my prefferences and "show edit toolbar" is checked. HELP!

No idea why it would be gone... it is working fine for me
... I would need a link to check that on your page too

bepe
02-28-2010, 07:34 PM
ok, some interesting stuff in here that I did bnot try yet :)

hi bepe,

i installed this replacing the 3 other mods.. basic stuff works well. but a few issues.

* the maintenance scripts in the wiki stop working!! in the prior mod (_vbSSO), they worked fine. looks like it is a issue of the path and cookies based on the errors.

I did never use them... but it is strange... it should be working
Can u tell me what script is not working and what commandline u used for it?

* i use custom urls for the wiki: ie, /home instead of the physical path of /w/index.php . however, in the settings we do not differentiate between the two so get a bunch of issues. we should pass 2 variables (web path, and physical path).

I don't support this nice URL stuff, because that would break the forums "Who's online"... so you need to disable it...
If you dont need the WOL to work, you can use the next release... it will work now even if you changed the URL thing

* because of the existing integration, i have usernames that are already capitalized. so i have to skip replacing User.php to lowercase the usernames. the login works fine. however, the user edit count fails (shows as 0 in vbulletin). my mediawiki edit count mod (https://vborg.vbsupport.ru/showthread.php?t=233959) took care of it in a roundabout way, but you might like to have a look.

I store the counts with the vb user, every time someone edits or creates a page it will inclement the counter.
Your "existing integration" did not use the same place to store the data...
I understand that this is not a good way for existing wiki's, because all will start with 0 edits... but it's a fast and easy way that does not send a querry to the DB every time I need that data

* if someone is using a cache (APC, memcache), then unless a cache path is set in vbulletin settings, the integration will fail (looks like a session variable thing?). in forums config.php you have to set this: $config['Datastore']['prefix'] = 'forums'; (can be any other word as well, just unique). you might like to mention it in the install instructions.

Hm... need to research that... did not try it yet... and dont usderstand how all that cashing works... might need some time for that

* should provide an option to turn off linkage with the talk pages in search results.

strange, it should not be part of the search results... I just tryed it... I started a talk page with some key word... searching for that key word did not return the new page

* new wiki articles: if a page has fwds (eg: test1, test2, test3 are fwds to test in the wiki, then the recent wiki changes shows ALL of them as separate entries. in the wiki, it would show as one only). Also, the recent changes and the changed list in the forum do not match (maybe coz of time zone issues? we could provide an offset in the settings and check).

no, it's only showing new pages, it's not the same as 'recent changes'

* if a wiki page has sub pages (ie, book type format.. like: www.site.com/home/Abc/Def), the style integration fails... it looks like it is coz of the way the paths are interpreted. one example of the way it is trying to pull the path: http://www.site.com/home/forums/images/title.gif (see the /home/forums, instead of /forums). similar problem with some special pages like http://www.site.com/home/Special:Contributions/System

Can not try thatone now... but it should be fixed with the next release

benjaminlwells
02-28-2010, 08:16 PM
No idea why it would be gone... it is working fine for me
... I would need a link to check that on your page too

http://alphaflight.net/alphanex/

I'll PM you a username and password to log in with if you want

ndahiya
02-28-2010, 08:33 PM
Can u tell me what script is not working and what commandline u used for it?


try this in the wiki maintenance folder: php refreshImageCount.php
same issue with others. i think it might make sense to use full paths instead of relative across the mod? also something abt header already sent in the error message.. suspect the Auth file is doing more than just authenticating.


I don't support this nice URL stuff, because that would break the forums "Who's online"... so you need to disable it...
If you dont need the WOL to work, you can use the next release... it will work now even if you changed the URL thing

wonder if a workaround is to have 2 defined WOL locations: /w/index.php... and /home/ both called Wiki


I store the counts with the vb user, every time someone edits or creates a page it will inclement the counter.
Your "existing integration" did not use the same place to store the data...
I understand that this is not a good way for existing wiki's, because all will start with 0 edits... but it's a fast and easy way that does not send a querry to the DB every time I need that data

then it is a easy fix. do a count at install to set it to a "starting" value. my mod created a starting value at install and then updated it on using a cron job (note that you might need still a index to make sure the count does not fail initially - see the install code of the other mod).


Hm... need to research that... did not try it yet... and dont usderstand how all that cashing works... might need some time for that

neither do i, but i suspect it is caching sessions and both mediawiki and vbulletin may be trying to set the same variable. very easy fix though with the variable definition as i mentioned.
also, i noticed something strange as i moved from memcached to apc cache (at that time, mediawiki was using apc, forums using memcached). the wiki failed (some error about memcached not found), suggesting it is the auto file that is somehow the cause. now i am using apc cache for both, and it works fine (memcached worked fine too when i used it on both forums and mediawiki. but on a single server, i can replace memcached + eaccelerator with apc cache, so its easier)


strange, it should not be part of the search results... I just tryed it... I started a talk page with some key word... searching for that key word did not return the new page

what i meant was... you show a link to "Discussion" which goes to the talk page.. it could be optional.


no, it's only showing new pages, it's not the same as 'recent changes'

yes, but if you have 2 pages that link to a page with a #REDIRECT in the wiki, it is showing them all, even if the #REDIRECT pages are old.
so if i edit Page1, and had a redirect to Page1 on Page2, the what's new will show both Page1 and Page2...

--

its a great mod bepe, just some small issues.. also, you might like to highlight that the user.php edits are optional... i generally do not like to change the core files when making edits. (btw, vbulletin is case insensitive for user names while mediawiki saves them as case sensitive. so the change of default naming scheme can be a problem later)

ndahiya

bepe
03-01-2010, 10:08 AM
try this in the wiki maintenance folder: php refreshImageCount.php
same issue with others. i think it might make sense to use full paths instead of relative across the mod? also something abt header already sent in the error message.. suspect the Auth file is doing more than just authenticating.

Should be working now

wonder if a workaround is to have 2 defined WOL locations: /w/index.php... and /home/ both called Wiki

As you wished ;) ... Therefor u got more settings now, so all kind of alias and pretty urls can be used now

then it is a easy fix. do a count at install to set it to a "starting" value. my mod created a starting value at install and then updated it on using a cron job (note that you might need still a index to make sure the count does not fail initially - see the install code of the other mod).

hm... not that easy for me... might take some time

neither do i, but i suspect it is caching sessions and both mediawiki and vbulletin may be trying to set the same variable. very easy fix though with the variable definition as i mentioned.
also, i noticed something strange as i moved from memcached to apc cache (at that time, mediawiki was using apc, forums using memcached). the wiki failed (some error about memcached not found), suggesting it is the auto file that is somehow the cause. now i am using apc cache for both, and it works fine (memcached worked fine too when i used it on both forums and mediawiki. but on a single server, i can replace memcached + eaccelerator with apc cache, so its easier)

hm... still no idea :$ ... give me some time to check that out

what i meant was... you show a link to "Discussion" which goes to the talk page.. it could be optional.

It looks so empty without that link... I thought everyone would like it :)
... ok, perhaps will be optional some day

yes, but if you have 2 pages that link to a page with a #REDIRECT in the wiki, it is showing them all, even if the #REDIRECT pages are old.
so if i edit Page1, and had a redirect to Page1 on Page2, the what's new will show both Page1 and Page2...

done... redirects are not shown anymore


its a great mod bepe, just some small issues.. also, you might like to highlight that the user.php edits are optional... i generally do not like to change the core files when making edits. (btw, vbulletin is case insensitive for user names while mediawiki saves them as case sensitive. so the change of default naming scheme can be a problem later)

ndahiya
it's a seperated folder now... u will see

ok, thanks for helping... will try to fix the remaining stuff as soon that I find some spare time :$

Big-Pete
03-01-2010, 11:11 AM
bepe, Love this mod bridge, How do I donate??

bepe
03-01-2010, 11:43 AM
bepe, Love this mod bridge, How do I donate??
At the right of the first post is a link: 'The Developer'->'Support Developer'
Only paypal is possible there.

Anyway, the product is for free, even if commercial products cost much and can not do the same as this one :D
... but :D ... donations make it more easy to explain to my girlfriend why I'm spending the time working on the PC

Big-Pete
03-01-2010, 11:49 AM
Cheers bepe.. done :up:

I bought a "commercial" VB wiki and it was awful, This is so much better in every way!!

benjaminlwells
03-01-2010, 12:14 PM
Hey Bepe, regarding my issue with the edit bar, I just resinstalled the wiki and then your script and it's all fine now. Must have been some glitch along the way.

BRotondi
03-01-2010, 12:30 PM
Thanks for you time bepe! We will try to help you not only with $'s (go to cinema with your girlfriend "this is from my vBMediaWiki-fans!") but also debugging, ideas, ... :)
It looks so empty without that link... I thought everyone would like it
... ok, perhaps will be optional some dayNot easy to make everyone happy :) But you don't have add an option for everything. Such personallisation can be made also through personal changes in plugins, templates, files, ... if you tell us where or we find it ourself.

@Big-Pete: Which one did you bought? A friend ist trying Vault Wiki, which seems not bad... till now... But of course a working vB-MW-bridge ist VERY interesting.

Greetings
Bruno

Big-Pete
03-01-2010, 12:50 PM
I think you misquoted me above, I never said what you quoted me as saying... :)

I bought Vaultwiki by mistake, asked for a refund but no joy (even though I hadn't even unpacked the download) eventually Installed it, couldn't get it to work properly, then installed the vb4 version when vb4 came out and still same issues, binned it when i see this, and so happy i did.. :)

benjaminlwells
03-01-2010, 01:09 PM
Hey all,

I'm a little confused about what to put for Aliases for "Who's online" in the options menu. My who's online keeps giving me Unknown Location when people are in the wiki.

BRotondi
03-01-2010, 02:04 PM
@Big-Pete: Oups, made a mistake with the multi quote, sorry!

Big-Pete
03-01-2010, 02:23 PM
pmsl... No worries, You had me going though, I thought i was going mad as couldn't remember typing what was in the quote, i was just about to go for a lie down :D:D

bepe
03-01-2010, 02:23 PM
Hey all,

I'm a little confused about what to put for Aliases for "Who's online" in the options menu. My who's online keeps giving me Unknown Location when people are in the wiki.

tell me the url that u see in "who's online"... there is Unknown Location and below there should an url

dadams982
03-01-2010, 02:57 PM
Just wanted to drop in and say thanks for all the work you are doing bepe.. this is easily mod of the millennium. Maybe time to install bugzilla to keep track of any issues! :D

BRotondi
03-01-2010, 03:45 PM
tell me the url that u see in "who's online"... there is Unknown Location and below there should an url
Well, I have the same issue: sinnimleben.net/forum/online.php (http://sinnimleben.net/forum/online.php) ->
Unknown Location
/wiki/Kategorie:Publikation (http://sinnimleben.net/wiki/Kategorie:Publikation)
(but still RC2, will go to RC3 after eating).

But as you said earlier: You do not support Short URLs..., perhaps an issue of this.

Honk0815
03-01-2010, 04:00 PM
all my Links is broken on RC3....

Kategorie:xxxxx

is /wiki/index.php

Look my wiki and see you self..

all Links in Sidebar or all Links with this format self result [[Category:xxxxxxxx]]


http://eot-clan.net/wiki/index.php?title=Hauptseite

My Englisch is not so good, sorry

bepe
03-01-2010, 04:25 PM
Well, I have the same issue: sinnimleben.net/forum/online.php (http://sinnimleben.net/forum/online.php) ->
(but still RC2, will go to RC3 after eating).

But as you said earlier: You do not support Short URLs..., perhaps an issue of this.

it supports short URLs now, you will see :)

bepe
03-01-2010, 04:31 PM
all my Links is broken on RC3....

Kategorie:xxxxx

is /wiki/index.php

Look my wiki and see you self..

all Links in Sidebar or all Links with this format self result [[Category:xxxxxxxx]]


http://eot-clan.net/wiki/index.php?title=Hauptseite

My Englisch is not so good, sorry
German:
Wirklich komisch, der index.php?xxx=yyy&zzz... teil fehlt
versuche es mit dieser zeile am ende der LocalSettings.php:
$wgUsePathInfo = false;
Aber irgendetwas ist da falsch auf deinem server...

English:
Really strange, the index.php?xxx=yyy&zzz... part is missing
Try to add this line to the end of LocalSettings.php:
$wgUsePathInfo = false;
But anyway, something must be wrong on your server

Honk0815
03-01-2010, 04:56 PM
Siehe da es geht wieder...Vielen vielen Dank...

Dafür geht jetzt halt Who is online nicht mehr aber darauf kann ich notfals auch verzichten..

It works fine thank´s for support

CCux
03-01-2010, 05:46 PM
Great, Subpages are working fine now. Even after switching to Short URLs.

Thank you so much bepe

benjaminlwells
03-01-2010, 06:04 PM
tell me the url that u see in "who's online"... there is Unknown Location and below there should an url

Not using short URLs anyway ;)

As for what it says:

Unknown Location
/alphanex/index.php?title=Main_Page

bepe
03-01-2010, 06:08 PM
Not using short URLs anyway ;)

As for what it says:

Unknown Location
/alphanex/index.php?title=Main_Page

ok, thats easy :) .... set the alias to: /alphanex/index.php

thats all, no unknown locations anymore

benjaminlwells
03-01-2010, 06:19 PM
Thanks so much bepe, I was over thinking it and missing the simplest answer! Awesome work on this whole project!

Now if you could just fix coppermine up the same way ;)

bepe
03-01-2010, 06:26 PM
Thanks so much bepe, I was over thinking it and missing the simplest answer! Awesome work on this whole project!

Now if you could just fix coppermine up the same way ;)

Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP...
Did not know that one, looks interesting :) ... anyway, sorry... I'll not need that for my forum, so I'll not integrating it

benjaminlwells
03-01-2010, 06:36 PM
Did not know that one, looks interesting :) ... anyway, sorry... I'll not need that for my forum, so I'll not integrating it

Oh well, it was worth a try :D

BRotondi
03-01-2010, 07:07 PM
it supports short URLs now, you will see :)
Right! :D. 1000 Thanks!

Noerenberg
03-01-2010, 07:11 PM
In your wiki directory

i found not LocalSettings.php everywhere

BRotondi
03-01-2010, 07:50 PM
<a href="http://www.mwusers.com" target="_blank">www.mwusers.com</a> is best for all wiki problems which have nothing to do with especially this mod, but with every modification, personalisation, ... or the wiki itself.

LocalSettings.php is the file you have to know when working with MediaWiki. MediaWiki would not run, if you did not complete the installation and moved LocalSettings.php manually from /wiki/config to /wiki.

BRotondi
03-01-2010, 08:01 PM
Is there already a german Version? Else I can do it and post the xml.

Good Night! (11 PM here)
Bruno

Noerenberg
03-01-2010, 08:08 PM
Is there already a german Version? Else I can do it and post the xml.

Good Night! (11 PM here)
Bruno

yes please

Noerenberg
03-02-2010, 01:17 AM
no link in the toolbox is working, why?

Noerenberg
03-02-2010, 01:41 AM
German:
Wirklich komisch, der index.php?xxx=yyy&zzz... teil fehlt
versuche es mit dieser zeile am ende der LocalSettings.php:
$wgUsePathInfo = false;
Aber irgendetwas ist da falsch auf deinem server...

English:
Really strange, the index.php?xxx=yyy&zzz... part is missing
Try to add this line to the end of LocalSettings.php:
$wgUsePathInfo = false;
But anyway, something must be wrong on your server

i try this and it worked.

but i cant change the stile. nothing is change

daddel80
03-02-2010, 10:16 AM
Will subdomains supported by the last release or is it a misunderstanding from my side concerning the Readme?

---
tested with subdomain. It's working !:)

Noerenberg
03-02-2010, 08:02 PM
?? i cant change the stile.

BRotondi
03-02-2010, 08:40 PM
O.K. Here the german language pack. Import it both in "Du" and "Sie", ignore Language Version.

New Version: 2010-03-03

InfoNirvana
03-03-2010, 08:48 AM
Looking forward to advances in this script. So far, it's amazing! If anyone wants to see it in action:

http://alphaflight.net/alphanex/

https://vborg.vbsupport.ru/external/2010/03/76.png

Great site.

I made an account there - for testers.
login: vbMediaWiki
pass: vbMediaWiki1

In this Modification ... can you get Forum Posts and Wiki articles to show up in the same "What's new" query ? Maybe call it "New Posts and Wiki Articles" or just "New" ?

daveaite
03-03-2010, 04:26 PM
Mod of the month, eh eh?

I'm going to try and install this right now. wish me luck

I will be donating, no doubt. good job.

karkey
03-04-2010, 12:58 PM
Hello there any reason i get this error

Fatal error: Call to undefined function construct_navbits() in /home/jtfcom/public_html/wiki/skins/vbMediaWiki.php on line 356

which is

/*
* 1. create navbar with place holders
*/
$navbits = construct_navbits( array('{wiki:raw rootlink}' => $vbulletin->options['mediawiki_name'],'' => '{wiki:raw actualtext}') );
$navbar = render_navbar_template($navbits);

BRotondi
03-04-2010, 05:03 PM
Hi

construct_navbits is defined in forum\includes\functions.php. You might set a wrong path or at all forget Install Point 3. in Post 1:
3. Add this two lines to your 'wiki/LocalSettings.php':
Greetings, Bruno

karkey
03-04-2010, 07:59 PM
Hello
all installed

However

* My talk
* My preferences
* My watchlist
* My contributions

all go to my forum index and not the correct page any solution

BRotondi
03-04-2010, 09:17 PM
Set Options correct?

karkey
03-05-2010, 12:45 AM
seems like i have, see image

it located at http://www.jtf-2.com/wiki/ and my CMS is installed at http://www.jtf-2.com/

any more info will be appreciated

BRotondi
03-05-2010, 05:25 AM
Created an account on your site but can't even find the links "My talk" etc. on jtf-2.com/wiki (http://www.jtf-2.com/wiki/) ... Perhaps you should go through your navbar template again... (btw: nice background image! :) )

BRotondi
03-05-2010, 11:59 AM
For german users: Perhaps you preferr to remove 4x
text-transform: lowercase; in w\skins\vbmediawiki\main.css to capitalize the tabs and headers.

Example with some more modifications here (http://sinnimleben.net/wiki).

BRotondi
03-06-2010, 02:52 PM
Interesting News (from Mediawiki Edits in Postbit & Profile (https://vborg.vbsupport.ru/showthread.php?p=1998515#post1998515)): In Template postbit_legacy (or postbit) search for
{vb:raw template_hook.postbit_userinfo_right_after_posts} and add
<vb:if condition="$post['wikiedits'] > 0">
<dt>Wiki Edits</dt> <dd><a title="Wiki Edits" href="/wiki/Special:Contributions/{vb:raw post.username}">{vb:raw post.wikiedits}</a></dd>
</vb:if> below to see you wiki edits ({vb:raw post.wikiedits} is set by vbMediaWiki):
https://vborg.vbsupport.ru/attachment.php?attachmentid=110853&d=1264266631
(Can someane confirm this? Not sure if really correct, since I first installed and later uninstalled Mediawiki Edits in Postbit & Profile (https://vborg.vbsupport.ru/showthread.php?p=1998287#post1998287). Or does anyone know how to put this Templatemodification into a plugin instead? {vb:raw template_hook.postbit_userinfo_right_after_posts} seems to give us this possibility.)

ndahiya
03-06-2010, 04:34 PM
hi bepe,

Regarding setting up a starting value for edits (for existing users):


hm... not that easy for me... might take some time


add the following to the install code section. this will create a column (and index) to get the initial values for wikiedits, and then drop that column. so you start with initial values, and your database looks as it does right now.


$vbulletin->db->query_write("ALTER TABLE mw_user ADD vbusername varchar(255) collate latin1_swedish_ci default NULL");
$vbulletin->db->query_write("ALTER TABLE mw_user ADD INDEX vbusername_idx (vbusername)");

$vbulletin->db->query_write("UPDATE mw_user SET vbusername = user_name WHERE vbusername is null");
$vbulletin->db->query_write("
UPDATE " . TABLE_PREFIX . "user AS user
SET user.wikiedits =
( SELECT sum(user_editcount)
FROM mw_user
WHERE user.username = vbusername );
");
$vbulletin->db->query_write("ALTER TABLE mw_user DROP vbusername");


have to do a roundabout way to get a case insensitive username to compare to the vbulletin username, hence the latin1_swedish_ci for the column...

also, we need to change mw_user to wiki-database-name.mw_user (and mw_ to whatever prefix we are using), in case the wiki database is different. what this will still not populate is pages created (not sure if mediawiki can track that directly?)

a cleaner option might be to provide a link on the config page to update the data (after installing the app). that way no edits required to the xml file. but do not know how to set that up.


thanks.

ndahiya

ndahiya
03-06-2010, 04:38 PM
Interesting News (from Mediawiki Edits in Postbit & Profile (https://vborg.vbsupport.ru/showthread.php?p=1998515#post1998515)): In Template postbit_legacy (or postbit) search for
{vb:raw template_hook.postbit_userinfo_right_after_posts} and add
<vb:if condition="$post['wikiedits'] > 0">
<dt>Wiki Edits</dt> <dd><a title="Wiki Edits" href="/wiki/Special:Contributions/{vb:raw post.username}">{vb:raw post.wikiedits}</a></dd>
</vb:if> below to see you wiki edits ({vb:raw post.wikiedits} is set by vbMediaWiki):
(Can someane confirm this? Not sure if really correct, since I first installed and later uninstalled Mediawiki Edits in Postbit & Profile (https://vborg.vbsupport.ru/showthread.php?p=1998287#post1998287). Or does anyone know how to put this Templatemodification into a plugin instead? {vb:raw template_hook.postbit_userinfo_right_after_posts} seems to give us this possibility.)
since the field name is the same (wikiedits), it will work. so bepe can just add this to the template mods, and this feature can be activated here too. the other mod is really redundant after bepe's awesome work!

karkey
03-06-2010, 06:23 PM
Created an account on your site but can't even find the links "My talk" etc. on jtf-2.com/wiki (http://www.jtf-2.com/wiki/) ... Perhaps you should go through your navbar template again... (btw: nice background image! :) )

Hi probably not a template problem

As non of the wiki links go to the correct place
They all go to
http://www.jtf-2.com/wiki/index.php

BRotondi
03-07-2010, 10:14 AM
Perhaps you don't want any media wiki discussions any more. One solution: Create a Subforum (e.g. "Wiki Articles") and link to this forum instead to the wiki discussion page:
in vbMediaWiki.php search for
echo'><a href="'.htmlspecialchars($tab['href']).'"';
and replace with
if ($key != "talk") {
echo'><a href="'.htmlspecialchars($tab['href']).'"';
} else {
echo'><a href="/forum/forums/69-Wiki-Artikel"';
}
replacing the bold part with the correct link for your forum.

The same way you can remove the user discussion: In vbMediaWiki.php search for
foreach($this->data['personal_urls'] as $key => $item) { ?>
<li><a href="<?php echo htmlspecialchars($item['href']) ?>"><?php echo htmlspecialchars($item['text']) ?></a></li><?php
}
and replace with
foreach($this->data['personal_urls'] as $key => $item) {
if ($key != "anontalk" && $key != "mytalk") { ?>
<li><a href="<?php echo htmlspecialchars($item['href']) ?>"><?php echo htmlspecialchars($item['text']) ?></a></li><?php
}
}

Example (http://sinnimleben.net/wiki/Inhalt_und_Navigation)

Greetings, Bruno

benjaminlwells
03-07-2010, 10:46 AM
I like that Bruno! I already have a sub-forum set up for wiki discussion, and it just never occurred to me to do that, I love the idea, will do it later.

benjaminlwells
03-07-2010, 11:08 AM
sorry for the double post. I just occurred to me, that though I want to do this, I would rather wait 'till the script is not being updated regularly, as I'm lazy and don't want to have to change the vbMediaWik files each time bepe does an update. Maybe Bebe will incorporate this idea, or maybe have an add-on version with a separate set of files if you want it like this... :D

Mukashi
03-07-2010, 12:13 PM
Just to clarify and confirm...with this mod, the username on the forums needs to be identical to the username on the wiki, correct?

We've long had username changes enabled on our forums, and it's a feature a lot of our users would prefer not to lose. Is it possible that as a future extension to this mod, it may be possible for users to link their existing forum and mediawiki accounts together via a password confirm or something similar, so that the link remains permanent between the two no matter what the exact name is on the account currently?

Gargi
03-07-2010, 12:42 PM
Hi! This one is a great heack and I testing it on my testinstallation. Just two problems I noticed for now:

a) No css changes are accepted. I edited the common.css via mediawiki and changed colors for the code and pre tag. These changes are ignored. Also changes of the default skins are ignored. And yes, I cleared my browser cache.

b) The divs are misplaced in Opera (checked it with the latest 10.50, see attachment, seen it on another users page here, cause I thought it has something to do with my own installation first ;) )

Additional question: Isn't it risky for security reasons to turn off the magic quotes?

Very, very good work! Keep on rocking!

cu
Gargi

BRotondi
03-07-2010, 12:46 PM
Thanks benjaminlwells :).

@Mukashi: Yes, they must be identical. Perhaps your Idea could be done through two profile custom fields for wikiName and wikiPW for each user... but needs some research and experiments.

BRotondi
03-07-2010, 12:47 PM
@Gargi: Did you changed the skin to vbMediaWiki? (LocalSettings and personal if changed.) And yes: Opera support not finished yet.

ndahiya
03-07-2010, 01:54 PM
Just to clarify and confirm...with this mod, the username on the forums needs to be identical to the username on the wiki, correct?

We've long had username changes enabled on our forums, and it's a feature a lot of our users would prefer not to lose. Is it possible that as a future extension to this mod, it may be possible for users to link their existing forum and mediawiki accounts together via a password confirm or something similar, so that the link remains permanent between the two no matter what the exact name is on the account currently?

they need to be identical, but capitalization can be different.

Gargi
03-07-2010, 04:16 PM
@Gargi: Did you changed the skin to vbMediaWiki? (LocalSettings and personal if changed.) And yes: Opera support not finished yet.

Hi! Just haven't seen the globalWrapper thing in the css. Seems to be something special compared to the regular mediawiki css. Now I have set it to vbmediawiki and was able to do my changes within the common.css.

I only have two css modifications that works on a pure 1.15.1 installation but not within the integrated one:

#toc,
.toc,
.mw-warning {
border: 1px solid #aaa;
background-color: #d0effb;
padding: 5px;
font-size: 95%;
border-collapse: separate;
}

and

body.page-Hauptseite h1.firstHeading { display:none; }

Having those also working would make the hack quite perfect for me :)

Thanks for any help!

cu
Gargi

Bouncer222
03-07-2010, 06:05 PM
Where is this file located? I cannot find it... and these instructions are too vague and actually kinda incorrect!
It's supposed to be Upload the contents of the "forum_upload" directory into your forum root directory. not wiki root, I suggest you fix that, as your readme.txt in the package states the correct way, and some install instructions are missing in your first post.

Anyway where can I find the file to put in these 2 lines? Instructions dont specify this. And my wiki is located at www.brotherhoodofgamers.com/wiki vbulletin forum is in the root (public_html)

Thanks.

Gargi
03-07-2010, 06:37 PM
I guess you mean the LocalSettings.php ? This file ist created within the config directory after the mediawiki installing procedure. Just copy the LocalSettings.php with the inserted vbmediawiki lines into the the wiki root directory. Dont't forget to chmod the config directory back to 755.

cu
Gargi

bepe
03-07-2010, 06:55 PM
Sorry, I'm just stepping in to tell u all that I'll be busy some more days... when I'm back I'll take care about the problems and make a new updat

Bouncer222
03-07-2010, 06:55 PM
what config directory? yeah I mean that file, but where is it? where to find it? Full directory please? my wiki is contained in www.brotherhoodofgamers.com/wiki and my vbulletin forums is at www.brotherhoodofgamers.com , (the root)

These instructions barely describe how to install this mod.

BRotondi
03-07-2010, 07:56 PM
@bepe: Enjoy your days and thanks for your work here! (and last but not least never let your girl hang!! (if you can say so in English :) )

@Bouncer222: First install wiki and vB independent. If they run properly you will have learned most of the things you need. After that installing this mod will be much easier and clearer.

Greetings to all & good night!
Bruno

Bouncer222
03-07-2010, 08:41 PM
How am I supposed to install wiki properly if the instructions lack instructions?

I did everything it says except I cannot find where the localsettings.php file is ??
I have vb installed, this is pretty much the only mod I have seen that has this type of vague instructions.

my wiki is at www.brotherhoodofgamers.com/wiki but it shows it in directory, I guess because its not done yet, I did everything else except that file editing.

karkey
03-08-2010, 01:23 AM
Forget it i've remove the dam thing

ndahiya
03-08-2010, 02:01 AM
hi bepe,

i had a user complain about his recent edits not showing under what's new (new wiki pages), before i realized that this link only shows new pages and not new edits.

however, the wiki is different from a forum in that a edit is actually the same as a new post... so really we should be capturing it. (wonder if a way to do it is to do a delete and then add to the index to record it as a "new" page in the search index?)

in the interim, i am thinking of adding a link to recent changes (wiki special page) in the submenu under what's new. where do i make that change?

ndahiya

Bouncer222
03-08-2010, 02:11 AM
uninstalled...installation instructions are very bad.

Gargi
03-08-2010, 03:28 AM
Installation instructions are for the modification itself and not for installing the mediawiki. First you have to learn howto install the mediawiki and get your things together ( http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki ) . After that, you are able to install the mod as it is described here.

Just for a hint (that worked for me): Install the wiki within your document path where vbulletin 4 is installed so you can call it by http:// my name of my page/mediawiki . That will make it easier to get the vbulletin integration later.

Don't blame bepe's work for not being able to get the basics to run by yourselves! ;)

cu
Gargi

BRotondi
03-08-2010, 07:42 AM
Installation instructions are for the modification itself and not for installing the mediawiki.
Interesting, that people do not understand this... But since we now had more than one user with this problem, bepe could add this in his installation instructions:
Installation:
Install vBulletin and MediaWiki. They must run independent and properly. (For MediaWiki consult mediawiki.org (http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki) and mwusers.com (http://www.mwusers.com/forums/forum.php)!) After that you can install vbMediaWiki, which is the bridge between them.

starman?
03-08-2010, 09:05 AM
uninstalled...installation instructions are very bad.

You are seriously rude. This is a beta and the developer has put many many hours into this. Just because you are unable to install it due to your own lack of knowledge there is no need to take it out on Bepe.

Interesting, that people do not understand this... But since we now had more than one user with this problem, bepe could add this in his installation instructions:

Good point BRotondi. Perhaps it will stop the kind of posts Bepe and yourself have been receiving.

Bepe. Enjoy your time off. See you soon (very soon ;) ) I hope!

dadams982
03-08-2010, 01:46 PM
uninstalled...installation instructions are very bad.


Ignored, competence is very low.

benjaminlwells
03-08-2010, 03:28 PM
hard to install a hack on software that's not properly installed or configured...If you can't find your LocalSettings.php, then you didn't finish the mediwiki installation process, if you did, you'd know where to find it. Ask for help here when you have a fully operational VB4, and a fully operational MediaWiki running separately; then we'll worry about making them work together :)

P.S. Bepe rules!

BRotondi
03-08-2010, 07:04 PM
One Problem here is also, that we have all issues in this single thread... It would be easier to have a subforum for this mod - and perhaps even one or more wiki pages.

If welcome, I could create a subforum for this AddOn on my page and copy the Instructions to a wiki page, which we can keep up-to-date together... only an idea. Perhaps also BePe has a forum/wiki which he can use for this purpose or even there exists another nice solution...

Bouncer222
03-08-2010, 07:18 PM
Oh well I didn't know you had to install the separate wiki, it wasnt included in the instructions..now I understand why, maybe it should be added.

starman?
03-08-2010, 07:27 PM
One Problem here is also, that we have all issues in this single thread... It would be easier to have a subforum for this mod - and perhaps even one or more wiki pages.

If welcome, I could create a subforum for this AddOn on my page and copy the Instructions to a wiki page, which we can keep up-to-date together... only an idea. Perhaps also BePe has a forum/wiki which he can use for this purpose or even there exists another nice solution...

That's a great idea. Perhaps vB.org can accommodate us, afterall IBproArcade has it's own sub-forum. Wiki's are definitely growing in popularity and its integration with vBulletin is going to be more and more a common request. Let's see what vB.org say before going down the route of you or Bepe hosting it. Thanks for making a great suggestion though.

vB.org are you listening?:rolleyes:

Bouncer222
03-08-2010, 08:23 PM
K got it installed now...except small tiny issue..

http://www.brotherhoodofgamers.com/wiki/index.php?title=Main_Page

the Wiki if you notice is pushed to the side (to the left) a little, the page. Any idea how to fix this?

BRotondi
03-08-2010, 08:35 PM
vB.org are you listening?=> Subforum for "vbMediaWiki 4.0.2 RC 3"? (https://vborg.vbsupport.ru/showthread.php?t=237838) We will see :).


@Bouncer222: It looks fine in Firefox and MSIE, Opera not supportet 100% yet. What exactly is not o.k. for you? Use FireBug for CSS/HTML-customizations. (btw: nice you're back :))

Greetings, Bruno

Mukashi
03-09-2010, 08:46 AM
Thanks benjaminlwells :).

@Mukashi: Yes, they must be identical. Perhaps your Idea could be done through two profile custom fields for wikiName and wikiPW for each user... but needs some research and experiments.
I certainly hope it could be done, it'd make a huge difference for us.

One other question. For those of us who use multiple wikis, with user accounts linked through Extension:CentralAuth (http://www.mediawiki.org/wiki/Extension:CentralAuth), would the mod support that in its current state?

BRotondi
03-09-2010, 10:07 AM
Single login: You should already be able to link as many wikies as you want with one vBulletin. Simply install vbMediaWiki for each wiki. (Not tested with vbMediaWiki, but worked with MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=213102&page=99) (vB 3.8) which uses a similar single-login-approach.)

Search / Tab-Link / Who is online: At the moment will work only with one Wiki.

BRotondi
03-09-2010, 11:20 AM
Or perhaps the guys over at www.mwusers.com (http://www.mwusers.com/) will accommodate us?
=> mwusers.com > MediaWiki - vBulletin Bridge (http://www.mwusers.com/forums/showthread.php?14384-MediaWiki-vBulletin-Bridge&p=47724) :)

starman?
03-09-2010, 02:02 PM
Joined and seconded. Thanks Bruno.

BRotondi
03-09-2010, 02:16 PM
Thanks for the idea!

quantic
03-10-2010, 04:56 PM
I have just installed it and it rocks,... very well done... Some things I found:

- In who is online, there are problems with localization or encoding... I see accents appearing bad.

- links don't seem to work well... In mediawiki, I used to write something like [[content]] and you could acces the page 'Content'. Now it seems 'content' and 'Content' are different pages and that have no sense.

So now all my content is unlinked (because de pages are first uppercase and there are lots of links lowercase all around)... I don't want to be redirecting manually one page to another or writing the links inside text in uppercase :)

Anybody have the same problem?

Thank you!

quantic
03-11-2010, 03:40 AM
I have the same problem when using another skin, for example monobook... I don't know if it was happening before installing this module.

I'm using latest versions, but it's not a fresh install but an upgrade from an older one.

I'm looking for people with the same problem (using this module or not), as I can create now a page 'Content' and another one named 'content', that is not right.

Note: I have $wgCapitalLinks set to true.

Thank you.

BRotondi
03-11-2010, 05:35 AM
Simply disable
// require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );
to see who the bad guy is...

quantic
03-11-2010, 06:03 AM
Thank you BRotondi, it seems a problem in MediaWiki, not in the module.

I have been looking for a solution but I didn't find anybody with the same problem :( maybe I will try to make a new install and try to manually copy all pages if it works...

Argyle
03-11-2010, 11:37 AM
Nice work Bepe. A donation will be coming your way after payday later this month :)

Have you seen these errors before? They appear on my install above the VBulletin header when any wiki pages is loaded.

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 49

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 179

The only other thing I've noticed is that the wiki page being viewed in Who is Online is reporting some file from the Left Column plugin, instead of the name of the wiki page.


VB4.0.2 (+multiple plugins)
Mediawiki 1.15.1
PHP 5.3.1
Centos 5 server.
Magic quotes disabled in .htaccess.

All paths seem to be correct.

BRotondi
03-11-2010, 06:44 PM
Hmm... try to disable all other vB-addons. Haven't seen this on other installs...

Scan Cape Cod
03-11-2010, 08:24 PM
Usually I don't have many problems with these add-ons but this one's giving me some grief. I've followed the instructions to the letter, but when I try to access the Wiki I receive this:


Detected bug in an extension! Hook UserLoadFromSessionHook failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:

#0 /home/scott2/public_html/wiki/includes/User.php(810): wfRunHooks()
#1 /home/scott2/public_html/wiki/includes/User.php(260): User->loadFromSession('UserLoadFromSes...', Array)
#2 /home/scott2/public_html/wiki/includes/User.php(1870): User->load()
#3 /home/scott2/public_html/wiki/includes/StubObject.php(58): User->getOption()
#4 /home/scott2/public_html/wiki/includes/StubObject.php(184): StubObject->_call('nocache')
#5 [internal function]: StubUser->__call(Array, Array)
#6 /home/scott2/public_html/wiki/includes/OutputPage.php(180): StubUser->getOption('getOption', Array)
#7 /home/scott2/public_html/wiki/includes/Article.php(748): OutputPage->checkLastModified('getOption', Array)
#8 /home/scott2/public_html/wiki/includes/Wiki.php(450): Article->view('nocache')
#9 /home/scott2/public_html/wiki/includes/Wiki.php(63): MediaWiki->performAction('20100216214239')
#10 /home/scott2/public_html/wiki/index.php(116): MediaWiki->initialize()
#11 {main}


I tried searching this thread for a solution. All that looked relevant was having CSS Stylesheets saved as files, which I do not. I'm running 4.0.2 PL1 and Mediawiki 1.15.1.

Thanks in advance!

Scan Cape Cod
03-11-2010, 08:55 PM
Addendum to my last. I stand corrected. The problem was not with the install at all. After I logged out it worked fine. I remembered that this mod does not like anything but alphanumeric characters for usernames. Well, wouldn't you know my username has a forward slash in it.

Sorry for the bandwidth waste. I'll test further after I change my username to something a little more comfortable... :D

St0rmNet
03-12-2010, 05:00 AM
Any idea on how to get the logo back?

BRotondi
03-12-2010, 06:01 AM
@Scan Cape Cod (https://vborg.vbsupport.ru/member.php?u=109106): Disable other AddOns and Extensions. This is not caused by vbMediaWiki alone. Finding a solution is easier if you see what caused it.

@St0rmNet (https://vborg.vbsupport.ru/member.php?u=228276): Logo has been cut of in the skin "vbMediaWiki". Search for
<script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
in "vbMediaWiki.php" and paste the following lines (from "MonoBook.php") before:
<div class="portlet" id="p-logo">
<a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
?>href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php
echo $skin->tooltipAndAccesskey('p-logo') ?>></a>
</div>
This is not all the solution, but gives you a first step... Poste the solution when finished!

Greetings and good success!
Bruno

BRotondi
03-12-2010, 06:19 AM
O.K. Another solution with changed <div>: Put
<div id="p-Spezial" class="generated-sidebar portlet">
<a href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"><img src="<?php $this->text('logopath') ?>"></a>
</div>
before <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script> in vbMediaWiki.php and then use FireBug for the customisations. This gives you a better starting point, since the original Code will put the logo over the vB-header.

Spinball
03-12-2010, 08:21 AM
Is it possible to tweak this mod so that it works with 3.8.2? (I'm not going to upgrade to vB4).

BRotondi
03-12-2010, 09:31 AM
Sure somekind... if someone has time and energy to do it... You can use MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=213102&page=99) for single login, but nothing for "singe skin"...

TigerXtrm
03-12-2010, 10:11 PM
I get this error after installing everything:

Notice: Use of undefined constant VB_INSTALL_PATH - assumed 'VB_INSTALL_PATH' in /home/backstag/public_html/media-portal/wiki/LocalSettings.php on line 129

BRotondi
03-13-2010, 06:51 AM
I think you made something wrong with
3. Add this two lines to your 'wiki/LocalSettings.php':

Argyle
03-13-2010, 09:21 AM
Hmm... try to disable all other vB-addons. Haven't seen this on other installs...

Looks like a conflict with SevenSkins Leftcolumn :(
https://vborg.vbsupport.ru/showthread.php?t=230111

Argyle
03-13-2010, 09:36 AM
Scratch that... it doesn't like the way I put two SQL queries into one of the SevenSkins leftcolumn plugins. I'll figure something out. Thanks for your time.

TigerXtrm
03-13-2010, 10:04 AM
I think you made something wrong with

Well I added this:

define( VB_INSTALL_PATH, '..' );
require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );

First I added it all the way on the end, right underneath the last bit of original code. That didn't work so then I added it all the way on the top, right underneath <php?. That seemed to work, but the entire login bridge and integration didn't work (wiki opened on a separate page and wouldn't be logged in).

So now I put it somewhere random in the middle and I get errors again. Someone help! :(

I'm using MediaWiki 1.15.2 btw, could that be the problem? Is this mod only compatible with 1.15.1?

TigerXtrm
03-13-2010, 11:13 AM
Okay, I think the problem here was that there were no quotes around the VB_INSTALL_PATH. I added them but now I just get a blank screen. Gaah!

BRotondi
03-13-2010, 11:29 AM
Hy TigerXtrm

It works with 1.15.1, never tried with .2. The Path must be relative and do not change anything, than the red part, e.g.:
## vbMediaWiki (https://vborg.vbsupport.ru/showthread.php?t=235342)
define( VB_INSTALL_PATH, '../forum' );
require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );

use ../forum if you have //server/.../wiki and //server/.../forum
use .. if you have //server/.../wiki and //server/.../ (means Wiki is installed in a subfolder of the forum
etc.=> The server installation path is needed, not the http://..-Path!

It should work even if you put above lines at the end of LocalSettings.php ... perhaps a conflict with other extensions?

Greetings, Bruno

TigerXtrm
03-13-2010, 11:55 AM
I'm pretty sure the path is correct:

define( VB_INSTALL_PATH, '..' );
require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );

Forum is in the /forum folder and the wiki is in the /forum/wiki folder.

But all I get when try to get on the wiki is a blank screen.

BRotondi
03-13-2010, 12:25 PM
Does your wiki work itself? Could you poste a link to your forum?

TigerXtrm
03-13-2010, 02:11 PM
Yeah, sure.

http://backstagemedia.net/media-portal/forum

If I take out the two lines of PHP code the wiki works just fine, but it's obviously not linked to the forum in any way (log in or style)

BRotondi
03-13-2010, 02:25 PM
If you take out the two lines, wiki is still http://backstagemedia.net/media-portal/forum/wiki/index.php/Hoofdpagina ?

The /index.php/Hoofdpagina seems strange...

TigerXtrm
03-13-2010, 04:46 PM
Well you can go to http://backstagemedia.net/media-portal/forum/wiki but you'll end up on the same page and the adres will just rewritten to that.

Gargi
03-13-2010, 07:13 PM
New Wiki article error: When I click on New Wiki Articles I get this error message:

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/packages/vbmediawiki/search/searchcontroller/newwiki.php (Zeile 34)

Also when I click on the users profile .View all wiki articles by ... I get no result.

Integration itself works fine. Just the search thing is a bit buggy on my installation.

cu
Gargi

Argyle
03-13-2010, 10:03 PM
Simple solution for my problem - if $_SERVER['SCRIPT_FILENAME'] is not equal to the wiki index file, run my queries.

I figure its something to do with something required to run in the main page being swapped out for the wiki content... but this solution works and is as "elegant" as any other of my custom queries :)

rockinaway
03-14-2010, 08:14 AM
Is there any way that when a new wiki article is created, the user can select a forum in which a post will also be submitted. This post would redirect users from the forum to the article.

Is this possible?

McAtze
03-14-2010, 12:16 PM
THX for this great MOD .. but i've tried it like you describe and it doesnt work.

114103

What is wrong ??

BRotondi
03-14-2010, 04:44 PM
Is there any way...
Not yet... would be possible of course, if someone has time and energy to get through the stuff...

BRotondi
03-14-2010, 04:45 PM
What is wrong ??
The file is missing... (path, ...)

McAtze
03-14-2010, 09:33 PM
Yeah, it runs .. great.

THX

BRotondi
03-14-2010, 10:20 PM
Nice to hear! :)

dadams982
03-15-2010, 12:42 PM
Is there any consequence in changing the Char Set on a new instillation?

milaszewski
03-17-2010, 12:58 AM
I have a problem. I use my forums with latin ISO-8852-2.
Everything inside MediaWiki is fine, I can see Polish characters with no problems: ąśćźęół
The problem is the VB search results. All Polish chars are swapped with "?". Please take a look at the attachment. What is the solution to overcome this problem?

mandingo
03-17-2010, 01:00 AM
Getting this error at forum search results page:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/packages/vbmediawiki/search/result/wiki.php on line 15

BRotondi
03-17-2010, 04:12 AM
@milaszewski (https://vborg.vbsupport.ru/member.php?u=261588): As much as I understood, your only solution would be a char-converter wiki to vb... or perhaps to change both to UTF-8 which also can be very difficult / on a large scale...

milaszewski
03-17-2010, 05:07 AM
@milaszewski (https://vborg.vbsupport.ru/member.php?u=261588): As much as I understood, your only solution would be a char-converter wiki to vb... or perhaps to change both to UTF-8 which also can be very difficult / on a large scale...
what about this?
Many of you will not be able to change the forum charset, so this product is checking the charset and will convert the MediaWiki content. You should make sure that you remove all not Latin languages from the MediaWiki.
the above is from the mod description... so it seems to me that the mod is designed to overcome the problem, but somehow it doesn't

BRotondi
03-17-2010, 05:34 AM
@milaszewski (https://vborg.vbsupport.ru/member.php?u=261588): I'm not sure about that, but would say that at the moment only UTF-8 (wiki) -> latin (vB) is suported. You need UTF-8 -> ISO-8852-2.


@all: What exatly means bepe with You should make sure that you remove all not Latin languages from the MediaWiki. MediaWiki is always UTF-8, or not? (My assumtion: UTF-8 supports every language, latin only some of them. So the UTF-8 -> latin will not work for others...)

milaszewski
03-17-2010, 05:54 AM
@milaszewski (https://vborg.vbsupport.ru/member.php?u=261588): I'm not sure about that, but would say that at the moment only UTF-8 (wiki) -> latin (vB) is suported. You need UTF-8 -> ISO-8852-2.
ISO-8852-2 is latin

milaszewski
03-17-2010, 06:41 AM
The problem is even more serious - usernames containing Polish characters are unable to access Wiki. For example Kołtun username is seen as Ko - it doesn't recognize ł letter.

quantic
03-17-2010, 07:19 AM
I have the same problem when using another skin, for example monobook... I don't know if it was happening before installing this module.

I'm using latest versions, but it's not a fresh install but an upgrade from an older one.

I'm looking for people with the same problem (using this module or not), as I can create now a page 'Content' and another one named 'content', that is not right.

Note: I have $wgCapitalLinks set to true.

Thank you.

Ok, more on this... The problem appears when saving a page.

- If I save a page with the module working, links don't work at all and the effect is the same as if set $wgCapitalLinks to false ( [[content]] doesn't link to the page named 'Content' ).

- If I comment "require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );" so the module is not loaded, the links works perfectly after I save the page.

I will appreciate any help on this.
Ty :)

BRotondi
03-17-2010, 07:49 AM
ISO-8852-2 is latin
My fault. To be clear: German and English vBulletins use ISO-8859-1 (Latin alphabet No. 1), but your polish version ISO-8852-2 (Latin alphabet No. 2)...

Have a look at ACP > Language Manger > Edit Settings > HTML Character Set German and English will show ISO-8859-1, but Polish ISO-8859-2

I think, this affects only the Language Pack. vBulletin itself should be the same.


Back to the code: bepe uses
iconv( "UTF-8", $vbulletin->userinfo['lang_charset']which should convert the right way, but obviously doesn't...

Perhaps also a problem with
// Check an additional blacklist of troublemaker characters.
// Should these be merged into the title char list?
$unicodeBlacklist = '/[' .
'\x{0080}-\x{009f}' . # iso-8859-1 control chars
'\x{00a0}' . # non-breaking space
'\x{2000}-\x{200f}' . # various whitespace
'\x{2028}-\x{202f}' . # breaks and control chars
'\x{3000}' . # ideographic space
'\x{e000}-\x{f8ff}' . # private use
']/u';
Well... but we cannot cover bepe with issues and issues as long it is a one man show...

LbR
03-17-2010, 08:47 AM
Is there any option that it replaces up FAQ then it will be great

quantic
03-17-2010, 10:53 AM
Ok, more on this... The problem appears when saving a page.

- If I save a page with the module working, links don't work at all and the effect is the same as if set $wgCapitalLinks to false ( [[content]] doesn't link to the page named 'Content' ).

- If I comment "require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );" so the module is not loaded, the links works perfectly after I save the page.

I will appreciate any help on this.
Ty :)

Ok, I found '$wgCapitalLinks = false;' on the file 'includes/AuthPlugin_vbMediaWiki.php'

I tried to comment this line and now links are working as expected, so I can write 'This is some [[content]] as example' and the link points to the page 'Content'.

Now I have a problem with usernames as they are expected with the first letter uppercase, even after uploading the 'User.php' provided with the module.

Am I the only one with this problem?

Ty in advance.

BRotondi
03-17-2010, 12:14 PM
Ok, I found '$wgCapitalLinks = false;' on the file 'includes/AuthPlugin_vbMediaWiki.php'

I tried to comment this line and now links are working as expected
Thanks for the Info! Seems like things are not perfect for people using $wgCapitalLinks = true; ...

Eruantien
03-17-2010, 12:27 PM
Are those using this Wiki integration for english boards having any major issues? I love this project so much that I want to start using it now ;)

jo8jo
03-17-2010, 01:17 PM
It means that users are registered on the both systems at the same time, and when they log-in, they're logged to both systems at the same time.

I'm using wikimedia version 1.15.2 ? 2010-03-08, it works fine but when i'm clicking on "wiki"-tab i'm always getting logged off.
Is it necessary to install mediawiki into the same database as vbulletin? Or are there any other settings?

Hopefully someone can help me fix this login-problem .... :(

BRotondi
03-17-2010, 01:58 PM
Hello!

It works nice here (http://sinnimleben.net) with

MW1.15.1, UTF-8, ENGINE=InnoDB, DEFAULT CHARSET=binary
VB4.0.2, ISO-8852-1
separate databases but on the same Server, no prefixes
installed on //server/path/forum and //server/path/w
Wiki: short URL, vB: CEO-URL with RewriteGreetings, Bruno

Stifler
03-17-2010, 04:28 PM
installed 1.15.2 but having the same logon error switching between vb and mwiki

Gargi
03-17-2010, 09:25 PM
New Wiki article error: When I click on New Wiki Articles I get this error message:

Warnung: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/packages/vbmediawiki/search/searchcontroller/newwiki.php (Zeile 34)

Also when I click on the users profile .View all wiki articles by ... I get no result.

Integration itself works fine. Just the search thing is a bit buggy on my installation.

cu
Gargi

Okay, problem was sitting infront of the keyboard (again :D ). Had a wrong database name in the admincp and haven't seen it for 1 billion times looking over it :) Search function works almost now. Only thing left is showing all users wiki articles by clicking on the link in the user profile. The link "....search.php?do=finduser&userid=123&contenttype=vBMediaWiki_Wiki" delivers no results. Searching within the extended search selecting WikiArticels and searching for the user delivers the correct articles. It ought to work, but just that link in the profile leads to nothing.

Keep on rocking!

cu
Gargi

Gargi
03-17-2010, 09:28 PM
Getting this error at forum search results page:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/packages/vbmediawiki/search/result/wiki.php on line 15

This seems to be a kind of database error. Are the database login information set correctly in your admincp? Ran into the same problem (see posting above).

cu
Gargi

BRotondi
03-18-2010, 07:35 PM
it works fine but when i'm clicking on "wiki"-tab i'm always getting logged off.Try to set your Cookie Path to "/". This helped in MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=213102&page=99).


Just had - and tested - an idea which perhaps is an interesting extension:
Create a User "Wiki".
Allow everyone to edit his postings by bypassing the permission check. (2 edits in 2 files, more for blog and article)In the history of these postings you will see who edited the post, as you see it in MediaWiki. (Example (http://sinnimleben.net/forum/threads/122-Wiki?p=3029&viewfull=1#post3029), History (http://sinnimleben.net/forum/posthistory.php?p=3029))

mandingo
03-19-2010, 12:39 AM
This seems to be a kind of database error. Are the database login information set correctly in your admincp? Ran into the same problem (see posting above).

cu
Gargi

You nailed it there,thanks,totally put a hyphen where I need an underscore.
*slaps self*

Gargi
03-19-2010, 07:05 PM
Good to hear! :)

cu
Gargi

mattpist
03-21-2010, 01:47 AM
excellent mod!

and had another admin try to install it and he got it.

Toxic2
03-21-2010, 09:29 AM
wiki has updated their software to 1.15.2 thinking maybe it might have some issues resolved to enhance this add on. OR possibly correct a few present bugs. Worth checking??

Tomas J Anderso
03-23-2010, 06:58 PM
I added the 2 lines to the localsettings.php, no error appeared however I'm not quite sure it's actually loading the file.

The wiki (http://www.imperiumrp.com/wiki)

Anyone has any clues or idea's perhaps ?

BRotondi
03-23-2010, 07:09 PM
You have to set the skin to vbMediaWiki! (Localsettings and where changed also in the usersettings, Test: &useskin=vbmediawiki (http://www.imperiumrp.com/wiki/index.php?title=Main_Page&useskin=vbmediawiki))

Tomas J Anderso
03-23-2010, 07:54 PM
Still means though the users of vB aren't taken back as wiki-users seeing as the skin should be autoloaded with the AuthPlugin_vbMediaWiki.php.

BRotondi
03-23-2010, 09:44 PM
This lacks in the install instructions, but I mentioned it allready earlier and right above: You have to change the default skin in LocalSettings.php!
$wgDefaultSkin = 'vbmediawiki';

WeMovie.co.uk
03-24-2010, 09:19 AM
I cannot find localsettings.php.
I've read upto page 7 of this thread and although people seem to be giving the solution... it doesn't make sense to me. I do not have the localsettings.php in ANY of the wiki folders. Please help?!

WeMovie.co.uk
03-24-2010, 09:31 AM
Nevermind. I just realised I need to download and install MediaWiki (http://www.mediawiki.org/wiki/MediaWiki).
Could someone link me to the correct version - 1.15.1?! I'm under the impression that's the version that works with this vB mod. Is that correct?
I can only see a download for version 1.15.2.

BRotondi
03-24-2010, 11:45 AM
1.15.1 works, don't know about 1.15.2...

mediawiki.org (http://www.mediawiki.org/wiki/MediaWiki) > Download (http://download.wikimedia.org/mediawiki/) > 1.15 (http://download.wikimedia.org/mediawiki/1.15/)

Tomas J Anderso
03-24-2010, 03:48 PM
This lacks in the install instructions, but I mentioned it allready earlier and right above: You have to change the default skin in LocalSettings.php!
$wgDefaultSkin = 'vbmediawiki';

As stated that would fix the theme, not the actual fact users from vB are linked to the wiki as stated in my previous part. Yes it did fix the theme, not the underlaying system.

WeMovie.co.uk
03-24-2010, 05:40 PM
1.15.1 works, don't know about 1.15.2...

mediawiki.org (http://www.mediawiki.org/wiki/MediaWiki) > Download (http://download.wikimedia.org/mediawiki/) > 1.15 (http://download.wikimedia.org/mediawiki/1.15/)

Thankyou :)
but which one is it? There are several downloads for 1.15.1 on that page...???

EDIT: OK I still don't get this. I downloaded the last 1.15.1 MediaWiki version on that page... but all it is is 1 file and I don't understand what I'm supposed to do with it.
The installation instructions for this mod need to be clearer, imo.
Also, I still don't have the localsettings.php file... where does this even come from?!

BRotondi
03-24-2010, 06:10 PM
:) You must first learn how to get into a product: If you want to use MediaWiki, then use their forum (mwusers.com (http://www.mwusers.com/forums/forum.php)) for Support. If you install vB ... the same. If you THEN want the bridge - after everything works fine - ask here ;)

WeMovie.co.uk
03-24-2010, 06:44 PM
i don't think i have the patience.
it looks like a nice mod though.
:)

BRotondi
03-25-2010, 11:05 AM
What a pitty you edited your last post. I just found the right answer :):I have neither the time nor the patience to learn how to do SOMETHING else.
Modifications should be easy to install... or atleast as hassle free as possible.
It looks like a nice mod though, but I just don't have the time.

"Are you going to the Apple store to learn driving, only because you installed an iPhone in you car?"

But you are not the first to misunderstand this mod. I really hope, bepe will be back soon, so we can update informations and install instructions.

I'm still rearranging my forum to create a suitable support place for this and other mods or projects. Hope this will do things here easier and clearer!

Regards,
Bruno

WeMovie.co.uk
03-25-2010, 06:01 PM
What a pitty you edited your last post. I just found the right answer :):
"Are you going to the Apple store to learn driving, only because you installed an iPhone in you car?"

But you are not the first to misunderstand this mod. I really hope, bepe will be back soon, so we can update informations and install instructions.

I'm still rearranging my forum to create a suitable support place for this and other mods or projects. Hope this will do things here easier and clearer!

Regards,
Bruno
Thought the original post sounded rude so wanted to edit it so it didn't sound as bad. Thanks for quoting it though(!)
And I have no iphone so no I'm not going to the Apple store to learn to drive.
:)

balkanboy
03-25-2010, 10:17 PM
waiting for full version :D tagged

BRotondi
03-26-2010, 09:32 AM
O.K. Since we did not get a separate Sub-Forum, I created a solution on my own site. But...

GOD! What a work to go through these 30 pages and collect the important informations... I still have to rearrange everything and also go through my forum to make clear this should be a project supporting page ... then translate the most important to English, ...

But for all of you, who are new here, it is better i post the links now, so you don't have to go through these 30 pages here. Also the Install Instructions have been updated.
vbMediaWiki (http://sinnimleben.net/forum/forums/70-vbMediaWiki)
What it does (http://sinnimleben.net/forum/threads/585-What-it-does)
Installation & Maintenance (http://sinnimleben.net/forum/threads/586-Installation-amp-Maintenance)
Modifications (http://sinnimleben.net/forum/threads/589-Modifications)
Further Informations (http://sinnimleben.net/forum/threads/590-Further-Informations)
MediaWiki (http://sinnimleben.net/forum/threads/588-MediaWiki) For you bepe - if you come back before I finish rearranging - Search for "Bepes las Post" in Collected Informations (http://sinnimleben.net/forum/threads/591-Collected-Informations-%28will-be-rearranged%29). The following posts are the important ones after your last visit, till this one. (I will not copy further posts to my forum for a while.)

Don't know when I will have more time for this... hope soon....

Thanks to all for your efforts!
Bruno

P.S.: I will not copy further In

Domy
03-26-2010, 12:15 PM
When I view the wiki, the WOL mean I'm viewing the forumhome.
Why?

N1tr8
03-27-2010, 12:18 AM
Thanks for the mod is fantastic, my problem is that the wiki does not recognize users vb how can fix this?
my wiki (http://www.cannabisgaci.com/wiki/index.php/P%C3%A1gina_Principal)

sorry my English is very bad

BRotondi
03-27-2010, 07:22 AM
No Problem with your English. better than German since everyone can read it. Thanks! :)

Which vB/MW versions do you use?

N1tr8
03-27-2010, 08:49 AM
vb 4.02 and use mediawiki 15.2

BRotondi
03-27-2010, 09:24 AM
Not sure it works with 1.15.2... Also other users had some difficulties... I will test it as soon as possible.

Domy
03-27-2010, 10:20 AM
Can you update the mod for MW 1.15.2?

Sorry my english.

N1tr8
03-27-2010, 10:37 AM
Well I'm reinstalling the OS 15.1 version will tell you how

N1tr8
03-27-2010, 11:32 AM
and install the 15.1 version but nothing works I even user integration What could be?

edit: I realized that the integration is almost throws with some bugs, like when you create a page is not added to the account in the postbit and when I give a news item picho one wiki and redirect me to ..... . / index.php.index.php
greetings and thanks

tehtide
03-27-2010, 04:41 PM
Is there anyway to get wiki to accept non alphanumeric characters as a username? I'm testing this on our beta forum and don't really have an option to not go with alphanumeric characters on our live forum.

Bouncer222
03-27-2010, 10:39 PM
Hey how do I add pages to the navigation??

limbic
03-28-2010, 10:24 AM
This looks amazing, but I am getting a consistent error on the wiki after I add the required lines to LocalSettings.php :

Parse error: syntax error, unexpected T_STRING in /path/to/LocalSettings.php on line 152

Line 152 on my LocaSettings.php is:

define( VB_INSTALL_PATH, '../forum' );

I tried putting my full path in too. No joy.

My set up is http://www.belgradefvc.com/forum and http://www.belgradefvc.com/wiki

Just for reference, I am running vBulletin 4.0.2 ptach level 4, MediaWiki 1.5.2 and PHP version is 5.2.6 .

Any ideas?

limbic
03-28-2010, 11:12 AM
This looks amazing, but I am getting a consistent error on the wiki after I add the required lines to LocalSettings.php :

Parse error: syntax error, unexpected T_STRING in /path/to/LocalSettings.php on line 152

Silly me. The line above it (unrelated to this code) that was unescaped i.e. missing a ; (semi-colon) .

All fine now.

limbic
03-28-2010, 12:04 PM
I have the Magic Quotes problem, getting "Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service. "

I tried to disable Magic Quotes in by adding this line to my .htaccess :

php_flag magic_quotes_gpc Off

This generated Internal Server Errors. I now know that fasthosts does not permit this in .htaccess .

I am thinking my only chance now is to modify the relevant scripts with some PHP to disable magic Quote

ini_set ('magic_quotes_gpc', 0);

I tried to add this to index.php in the wiki, but that did not appear to work.

I also tried this suggestion (http://usphp.com/manual/en/security.magicquotes.disabling.php#82777) of putting a custom php.ini file into the directory that the script runs from, but I cannot figure out where it should go.

Any ideas how I might get around this (short of moving my site)?

mfbmike
03-31-2010, 05:16 AM
http://www.digitalsportscene.com/forum/forum.php

When I click "wiki" link on navbar, I appear logged out. When I click back to forums, I am logged in. Click wiki, I appear logged out again.

:confused:

mfbmike
03-31-2010, 05:38 AM
nvm, figured it out. changed cookie path

BRotondi
03-31-2010, 07:39 AM
nvm, figured it out. changed cookie pathThanks for the confirmation! This also worked in MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=213102&goto=newpost), I will at this to Installation & Maintenance (http://sinnimleben.net/forum/threads/586-Installation-amp-Maintenance).

mfbmike
03-31-2010, 04:25 PM
Don't think I'll be able to use this mod. I can't find my php.ini and trying to disable magic quotes through my htaccess only results in internal (500) errors.

BRotondi
03-31-2010, 07:51 PM
Use the appropriate forum for each problem. Perhaps we cannot help you, but of course the guys of PHP or your Provider ;)

pingelich
04-01-2010, 07:18 AM
Hi!

I use vB4.0.2 and MediaWiki 1.15.1 and have installed the mod. The Problem is now, there is no automatic login in my wiki.

Can someone help me please?

BRotondi
04-01-2010, 07:51 AM
Check Installation & Maintenance #2 for more detailed instructions and the other threads in there.

bepe wasn't here for a longer period. The instructions here are missing some points an this too long thread makes things not easier...

oldlock
04-03-2010, 12:34 PM
Anyone having problems with image uploading ? It works fine when the mediawiki is used as a stand alone option. But when used with VB it does'nt ? It just returns you to the main page ...

oldlock
04-04-2010, 05:44 AM
As the previous post to mine noted, the developer (bepe) has not been around for a while, does anyone know if he intends to support this mod ? I wish I had seen that before donating !

delmarva
04-04-2010, 04:26 PM
looks nice! Thanks

delmarva
04-04-2010, 10:47 PM
I'm having a problem navigating within the wiki now that it has been bridged. It seems all "wiki" internal links are set to index.php (wiki main page). Any suggestions?

I do have vbseo.

my directory structrure: domain.com/forum - domain.com/wiki

any help would be appreciated.

SunrunnerSWG
04-05-2010, 04:04 AM
I was having the error about the "your edit has been rejected error".

To fix it, I created a php.ini file with the following line of text and put it in my ../wiki directory.

magic_quotes_gpc = Off

I don't know if this will work for everyone, but it worked for me.

kho91
04-05-2010, 03:37 PM
please kelp i have this error

Fatal error: Call to undefined function construct_navbits() wiki/skins/vbMediaWiki.php on line 356

dadams982
04-05-2010, 05:02 PM
I see bepe has been online this month, but not even a peep from him about this. Feels like a hit and run with regard to donations.

BRotondi
04-05-2010, 06:34 PM
Please be patient. He's a German student and I'm lucky if he finds some space from time to time. This mod runs well and if we kill all his spare time with support etc., he won't be able / willing to continue on public.

(Why should he? Optimizing it only for his own server, for sure takes much less time. Time in which he could earn much more money per hour than with this.)

I suggest, that we discharge him (="Entlasten", wenn ich das rechte Wort erwischt habe) e.g. by optimizing or even take care of the necessary support.

And ... rise his joy for doing this on public, instead of blaming and disheartening (irgend eine Version von "Entmutigen", welche wohl auch in Richtung "leckt mich doch!" geht.

Somit mal unter uns Deutschsprachigen: 1001 Dank f?r Deine Arbeit! Bin gerne bereit, Dich z.B. via meine Projektpage zu unterst?tzen (die aktuell einzige M?glichkeit, an mehrere Threads und eine Wiki zu kommen), auch wenn die selbst noch sehr prototypig ist und vbmods.org > vbMediaWiki (http://vbmods.org/forum/forums/70-vbMediaWiki) noch nicht den gew?nschten Header / die gew?nschte Eigenst?ndigkeit etc. hat.

Regards & Beste Gr?sse
Bruno

Front Range 4x4
04-05-2010, 07:10 PM
e.g. by optimizing or even take care of the necessary support.


That makes good sense to me Bruno. I'm sure problems some of us are having is due to a simple error or not understanding the installation correctly.

I have wiki installed (1.15.2) and working at:
http://www.xxxxxxxxxxx.com/forums/wiki/

Forum (4.0.2) is at:
http://www.xxxxxxxxxxx.com/forums/

I added these 2 lines at the bottom of wiki/LocalSettings.php:

define( VB_INSTALL_PATH, '../forums' );
require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );

Uploaded the files from "wiki_upload" and "forum_upload" directory into the wiki root directory.

But when I try to upload the product I get "Please upload the files that came with the vbMediaWiki before installing or upgrading!"

Where did I go wrong? Help is appreciated. :up:

BRotondi
04-05-2010, 07:17 PM
well... "Uploaded the files from "wiki_upload" and "forum_upload" directory into the wiki root directory." is what this already to buggy install instruction says, but not what common sense tells you ;).

Please use the more actual vbMods.org > vbMediaWiki > Installation & Maintenance (http://sinnimleben.net/forum/threads/586-Installation-amp-Maintenance) on my site (and all the informations there) until bepe has time to update it here.

But thanks for telling, I also never realized this docu-bug, which was wrong also on my vbMods.org :).

delmarva
04-05-2010, 07:26 PM
Internal wiki links are not working.. any ideas? They all point to wiki/index.php

Front Range 4x4
04-05-2010, 07:41 PM
It wasn't logical but those of us that have learned to follow installation directions implicitly will run in to that problems. Thank you for clearing it up, it's now installed.

New error:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/cxs/public_html/forums/wiki/includes/AuthPlugin_vbMediaWiki.php on line 37

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxx/public_html/forums/wiki/includes/AuthPlugin_vbMediaWiki.php on line 49

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='/home/xxxxx/public_html/forums/wiki:/home/xxxxx/public_html/forums/wiki/includes:/home/xxxxx/public_html/forums/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/forums/wiki/includes/AuthPlugin_vbMediaWiki.php on line 49

Something equally simple I hope.

BRotondi
04-05-2010, 08:01 PM
Internal wiki links are not working.. any ideas? They all point to wiki/index.phpEven with vbMediaWiki disabled?

BRotondi
04-05-2010, 08:04 PM
@Front Range 4x4 (https://vborg.vbsupport.ru/member.php?u=305460): Read the error message... Quite sure it's something stupid but very clear if you read and look exactly... I haven't the time to feed everything.

Or install XAMP and netbeans to get a deeper look in how things work and where errors occur.

delmarva
04-05-2010, 08:19 PM
Even with vbMediaWiki disabled?

No they work fine with any other skin enabled.

I found the problem to be a conflict with VBSEO.

To correct this, I modified my "vBSEO Global Hook" in vB admincp -> Plugin Manager by adding the following code at the top.

if($_SERVER['HTTP_HOST']=='mydomain.com/wiki/')

BRotondi
04-05-2010, 08:34 PM
Interesting. Thanks for this solution!

We already had conflicts with vbSEO: Modification: Using with VBseo (http://sinnimleben.net/forum/threads/605-Using-with-VBseo?p=3053)

delmarva
04-05-2010, 09:01 PM
it worked for the wiki, however it disabled images within the forum... I'll keep trying.

delmarva
04-05-2010, 09:04 PM
We already had conflicts with vbSEO: Modification: Using with VBseo (http://sinnimleben.net/forum/threads/605-Using-with-VBseo?p=3053)

Editing the .httaccess file using those settings does not work if you have your wiki in a separate directory (outside the forum directory)

delmarva
04-05-2010, 09:15 PM
Okay... Please disregard editing the vBSEO hook --- That will give many images a re-write rule.

My solution:

I added "wiki/" to the "Excluded Pages" option in the vBSEO Control Panel.

Everything seems to be functioning correctly now.

daveaite
04-06-2010, 02:02 AM
This mod works like a charm on my forum.

See
http://buypoe.com/wiki

Wiki code is intimidating at first, but just take some time to learn it and its really a pushover.

Also:
No problems yet
image uploading works
search function works
user integration works

This mod is so powerful, I just hope the mod developer stays active in fear of vBulletin updates.
<3

Some things you guys should make sure you do:
-Turn off magic quotes via php.ini or .htacess
-When adding mediawiki extensions, its not like vBulletin, its actually easier, you just copy the entire extension into the extensions folder and add a small snipet of code to the localsettings.php file.

daveaite
04-06-2010, 06:08 AM
Possible Future Updates:
Adding the # of wiki edits in Postbit

BRotondi
04-06-2010, 07:54 AM
Possible Future Updates:
Adding the # of wiki edits in Postbit
If you want it now: Modifications (http://sinnimleben.net/forum/threads/589-Modifications)

BRotondi
04-06-2010, 08:01 AM
Okay... Please disregard editing the vBSEO hook --- That will give many images a re-write rule.

My solution:

I added "wiki/" to the "Excluded Pages" option in the vBSEO Control Panel.

Everything seems to be functioning correctly now.
Thanks again for your infos and solution! Updated (http://sinnimleben.net/forum/threads/605-Conflict-with-vBSEO?p=3104&viewfull=1#post3104).

It would be easier for further users to have all informations together but not inside one thread only... transferring those to a 2nd support forum is too work intensive... I'm really interested what bepe will say, when he comes back...

I think it would be best not to support on two sites... Perhaps also other vb-Modifications will move to vbmods.org since we can offer them more support possibilities (multiple Threads or even Forums, Wiki, ...) ... or perhaps vbulletin.org will change their policy and offer us more possibilities too.

Anyway: Thanks to all helping grow this mod!
Bruno

Edit: vbmods.org is still under construction and therefore a part of SinnimLeben.net but fully functional.

daveaite
04-06-2010, 04:57 PM
If you want it now: Modifications (http://sinnimleben.net/forum/threads/589-Modifications)

Great fix.


<vb:if condition="$post['wikiedits'] > 0">
<dt>Wiki Edits</dt> <dd><a title="Wiki Edits" href="/wiki/index.php?title={vb:raw post.username}">{vb:raw post.wikiedits}</a></dd>
</vb:if>


This updated code may work even better if your members wish to create pages about themselves in the wiki, this will connect it straight to their wiki page.

Boots
04-07-2010, 04:02 PM
I have it up and running but my vbMediaWiki settings is all blank (shows up as a blank entry in the settings list and when I view the settings the page is blank)

BRotondi
04-07-2010, 06:42 PM
(hope this helps...)
Does not work?
Well... at least now it's time to read all informations carefully:

The fife sticky threads (http://sinnimleben.net/forum/forumdisplay.php?s=&f=70&page=1&pp=25&prefixid=).
Threads according the explained prefixes (http://sinnimleben.net/forum/threads/597%20-%20Main%20Article), especially the restrictions (http://sinnimleben.net/forum/forumdisplay.php?f=70&prefixid=Restriction)
Even if you're able to solve the problem, a little thread could be interesting to improve these instructions and help the next users. Thanks!

And if it still does not work: Try to localize the problem, describe it as clear as possible and use an expressive title for your thread!

Front Range 4x4
04-07-2010, 09:33 PM
@Front Range 4x4 (https://vborg.vbsupport.ru/member.php?u=305460): Read the error message... Quite sure it's something stupid but very clear if you read and look exactly... I haven't the time to feed everything.

Yes it was, installed and appears to be working.

BRotondi
04-08-2010, 08:44 AM
Nice to hear :). You are not the first, missing a dot, writing a instead of o and similar. Copy/Paste the paths from the error message to notepad and comparing there with "how it should be" can help.

Enjoy the rest!
Bruno

Front Range 4x4
04-08-2010, 02:41 PM
With some folks testing it's looking very stable so far.

Edit: I needed to add this to my .htaccess to make it work.

php_flag magic_quotes_gpc Off

simunaqv
04-08-2010, 09:28 PM
Some people reported that they were able to integrate the wiki installed in a subdomain. Can they please put some more light into how this can be achieved? I have a forum and a wiki on the following urls:

forum: www.urduweb.org/mehfil (http://www.urduweb.org/mehfil)
wiki: wiki.urduweb.org

wynode
04-09-2010, 02:50 AM
Quick question.

If say this mod isn't supported in the future (let's hope that never happens!), is it possible to separate the wiki from the forum integration and then continue to update MediaWiki (on its own) as updates to it our released? I'm talking about software updates primarily and possibly the ability to keep using the wiki.

BRotondi
04-09-2010, 05:57 AM
Quick question.
Perhaps a quick, but very important Question. Just tested it:
If you browse the table "user" you will see, that every User ever logged in has been created and his edits are shown correct even if you disable the bridge (Disable: Undo the LocalSettings.php-Changes and rename the skin files vbMediaWiki.php, so monobook will be chosen and no php error occurs)
BUT: No password and no email is being stored!! This means: After disabling the bridge you will have to add email addresses manually, so users can press "Send Password"Btw: Really don't know when bepe will have time again to continue his work... I don't have the know-how yet and perhaps will not continue to use MediaWiki...

BRotondi
04-09-2010, 06:00 AM
Can they please put some more light into how this can be achieved?
It's on you to get the light by reading... at least the last view posts and those links...

N1tr8
04-09-2010, 07:19 PM
I have reviewed the installation and the instructions several times, but nothing the integration does not work does anyone know how to make users to integrate properly?

Front Range 4x4
04-09-2010, 07:26 PM
This instruction is wrong:

Upload the contents of the "forum_upload" directory into your wiki root directory.

Should be:

Upload the contents of the "forum_upload" directory into your forum root directory.

N1tr8
04-09-2010, 08:57 PM
This instruction is wrong:

Upload the contents of the "forum_upload" directory into your wiki root directory.

Should be:

Upload the contents of the "forum_upload" directory into your forum root directory.

this is safe?

Front Range 4x4
04-09-2010, 09:01 PM
Yes, I'm assuming this isn't the first mod you've installed.