PDA

View Full Version : Integration with vBulletin - vbMediaWiki Vector


Pages : [1] 2

bepe
07-24-2010, 10:00 PM
vbMediaWiki Vector

Manual (don't forget to RTFM (http://en.wikipedia.org/wiki/RTFM)!)
Interested in doing a translation? PM me
1 Introduction (http://bepe80.com/vbmediawiki/#introduction)
1.1 What is vbMediaWiki (http://bepe80.com/vbmediawiki/#vbmediawiki)
1.2 The Problem (http://bepe80.com/vbmediawiki/#problem)
1.3 What you get (http://bepe80.com/vbmediawiki/#content)
1.3.1 Single sign-on (SSO) (http://bepe80.com/vbmediawiki/#sso)
1.3.2 Forum Layout Integration (http://bepe80.com/vbmediawiki/#layout)
1.3.3 Search Integration (http://bepe80.com/vbmediawiki/#search)
1.3.4 Advanced Search (http://bepe80.com/vbmediawiki/#advanced)
1.3.5 "What's New" Integration (http://bepe80.com/vbmediawiki/#new)
1.3.6 "Who's Online" integration (http://bepe80.com/vbmediawiki/#who)
1.3.7 Permissions Settings (http://bepe80.com/vbmediawiki/#permissions)
1.3.8 User Stats (http://bepe80.com/vbmediawiki/#stats)
1.3.9 Wiki Forum Stats (http://bepe80.com/vbmediawiki/#forumstats) *NEW*
1.3.10 XML Sitemap Integration (http://bepe80.com/vbmediawiki/#sitemap) *NEW*

2 System Requirements (http://bepe80.com/vbmediawiki/#requirements)
3 Upgrade from an older vbMediaWiki Version (http://bepe80.com/vbmediawiki/#upgrade)
4 Installation (http://bepe80.com/vbmediawiki/#installation)
4.1 Prepare the Server (http://bepe80.com/vbmediawiki/#server)
4.2 Prepare vBulletin (http://bepe80.com/vbmediawiki/#vbulletin)
4.2.1 HTML Character Set (http://bepe80.com/vbmediawiki/#html)
4.2.2 Name Character Set (http://bepe80.com/vbmediawiki/#name)
4.3 Prepare MediaWiki (http://bepe80.com/vbmediawiki/#mediawiki)
4.4 Installing vbMediaWiki (http://bepe80.com/vbmediawiki/#installing)
4.4.1 Modify and setup the Wiki (http://bepe80.com/vbmediawiki/#wiki)
4.4.2 Modify and setup the Forum (http://bepe80.com/vbmediawiki/#forum)
5 Settings (http://bepe80.com/vbmediawiki/#settings)
5.1 vbMediaWiki Options (http://bepe80.com/vbmediawiki/#options)
5.1.1 Path (http://bepe80.com/vbmediawiki/#path)
5.1.2 Aliases for "Who's online" (http://bepe80.com/vbmediawiki/#aliases)
5.1.3 Wiki Database (http://bepe80.com/vbmediawiki/#database)
5.2 Wiki Usergroup Permissions (http://bepe80.com/vbmediawiki/#usergroup)
5.2.1 Wiki Visible (http://bepe80.com/vbmediawiki/#visible)
5.2.2 Can Read (http://bepe80.com/vbmediawiki/#read)
5.2.3 Can Login (http://bepe80.com/vbmediawiki/#login)
5.2.4 Is MediaWiki Sysop (http://bepe80.com/vbmediawiki/#sysop)
5.2.5 Is MediaWiki Bureaucrat (http://bepe80.com/vbmediawiki/#bureaucrat)
5.2.6 Minimum Forum Posts (http://bepe80.com/vbmediawiki/#posts)
6 How-to (http://bepe80.com/vbmediawiki/#how)
6.1 How users change the Wiki skin (http://bepe80.com/vbmediawiki/#skin)
6.2 How to use the Wiki bbcode for linking wiki pages (http://bepe80.com/vbmediawiki/#bbcode)
6.3 How to disable magic quotes on the server (http://bepe80.com/vbmediawiki/#magicquotes)
7 vbMediaWiki Manual and Diagnostic script (http://bepe80.com/vbmediawiki/#manualdiagnostic)
7.1 The Manual (http://bepe80.com/vbmediawiki/#manual)
7.2 The Diagnostic script (http://bepe80.com/vbmediawiki/#diagnostic)
7.3 The Admin script (http://bepe80.com/vbmediawiki/#admin) *NEW*
8 Troubleshooting (http://bepe80.com/vbmediawiki/#troubleshooting)
8.1 I can edit the Wiki but cannot save anything (http://bepe80.com/vbmediawiki/#save)
8.2 I get "Your edit has been rejected..." when saving wiki pages (http://bepe80.com/vbmediawiki/#rejected)
8.3 The wiki editor does not look like the one on the screenshots (http://bepe80.com/vbmediawiki/#editor)
8.4 I don't have a file called LocalSettings.php (http://bepe80.com/vbmediawiki/#localsettings)

Screenshot Look here! (http://www.bepe80.com/vbmediawiki/images/skin-vbmediawikiforum.png)

Changelog Online Version, click here! (http://bepe80.com/vbmediawiki/?language=en-us&do=changelog)

vbMediaWiki IRC Channel
I might be online... just try or use the forum
irc://irc.freenode.net/vbmediawiki
http://webchat.freenode.net?channels=vbmediawiki


DonationsEvery donation is welcome and appreciated. This product is for free and it will stay free despite the fact‎ that commercial products with much less capabilities cost a lot of money. So before you spend that money on other products, try this one and feel free to send that money to me :D
http://www.duplexgaragen24.de

bepe
07-25-2010, 07:15 PM
reserved

bepe
07-25-2010, 07:16 PM
reserved

simunaqv
07-25-2010, 07:33 PM
Hi bepe, the screenshot looks very good. Can you at least tell us if it will posssible to upgrade from your other vbMediaWiki (https://vborg.vbsupport.ru/showthread.php?t=235342) mod? And does it require vb 4.0.5 or can it also work on vb 4.0.3?

bepe
07-25-2010, 07:50 PM
Upgrade is possible, but you'll need to update the MediaWiki to 1.16.0beta3. Therefor you get the new Vector skin and some other nice stuff that also Wikipedia is using already.

About vBulletin, I had to make some changes to get the old vbMediaWiki working with 4.0.5, but these changes should be backward compatible... anyway, I did not try yet, so cannot tell for sure

ProFifaLeagues
07-25-2010, 07:59 PM
:up:Looks great,Would be nice to know about working on 4.3 so will report back as soon as ive given it a go tonight

bepe
07-25-2010, 08:06 PM
It's not public yet... and I don?t think it will be tonight :D

Any reason why you all are using 4.0.3, something wrong with 4.0.5? ... I was a bit busy the last months... did I miss something?

Skyrider
07-25-2010, 09:14 PM
:) Will this also be free by any chance?

bepe
07-25-2010, 09:24 PM
Yes, sure it will be free :) ... anyway; I'm a student, so donations will always be welcome :D

Xencored
07-25-2010, 10:04 PM
:up:Looks great,Would be nice to know about working on 4.3 so will report back as soon as ive given it a go tonight

lol its not out yet :D how can you try it

Anyway this looks great mate cant wait ^^

simunaqv
07-26-2010, 06:14 AM
It's not public yet... and I don?t think it will be tonight :D

Any reason why you all are using 4.0.3, something wrong with 4.0.5? ... I was a bit busy the last months... did I miss something?
Hi bepe, there is probably nothing wrong with the newer versions of vb. It only requires a lot of effort to stabilize forum's operation after each upgrade. And forum administrators are wary of any add-ons or themes that might not work after the upgrade.

koolasia
07-26-2010, 06:44 AM
is there a release date ??

Cadellin
07-26-2010, 07:04 AM
Looks great :) I'll definitely be installing this.

yuerzx
07-26-2010, 07:09 AM
Cant wait for it, hope this version can integrate vB discussion board with Wiki system, then its will be wonderful, lol

bepe
07-26-2010, 07:35 AM
@koolasia
Release date... it should be this week... sorry, cannot tell how much time I'll have to work on this. Right now everything looks fine, need to do some code cleanup and I'm working on a new documentation.

@yuerzx
yes, it can :)

starman?
07-26-2010, 10:46 AM
Welcome back Bepe. If you need a Guinnea pig, then give me a shout.

bepe
07-26-2010, 12:19 PM
yeah, it has been a long time :) ... nice to see you again, I'll come back to you

Rolli
07-26-2010, 02:02 PM
Very Nice

xtremecoders
07-26-2010, 04:46 PM
Which editor is this.
Is some clone of wysiwyg editor ?

bepe
07-26-2010, 05:03 PM
No, it's the original "enhanced editing toolbar", should be the same that WikiPedia is using.
It's part of the MediaWiki UsabilityInitiative. (... and no, it still is WYSIWYM)

Gnoll
07-26-2010, 06:45 PM
is forum needs to be UTF-8 too in this mod?

bepe
07-26-2010, 06:51 PM
The mod converts the content of the wiki to the same charset as the forum, so you don’t need to change it.

It works fine on all wiki pages I've tried, but possible that there are some cases where it does not work correctly... I cannot tell for sure, so best would be to set it to UTF-8.

Tell me if you try the mod and find charset problems, then I can try to fix it.

Aramist
07-26-2010, 06:56 PM
Waiting too much for this :D :D :D

Nice work Bepe!

silneil
07-26-2010, 11:29 PM
Im waiting too!

Thanks Bepe!

Cadellin
07-27-2010, 09:41 AM
This is probably a daft question but what's the difference between this mod and your other MediaWiki mod?

bepe
07-27-2010, 11:37 AM
@Cadellin
Difference to the old mod is that this one works with the new MediaWiki 1.16.
The new MW Vector skin fits much better and there is some nice new stuff coming from the UsabilityInitiative... Also it supports vBulleting 4.0.5 now.

Since even Wikipedia is using 1.16 now, I thought it should be time to switch.

@All
I've made many changes that need to be tested now...
So let’s start the beta testing :D

BETA means it is BETA! ... Try everything in a test environment first, if there are any problems I'll fix them.

... Let’s get this RC and then FINAL ... and perhaps a bit faster than the last one :rolleyes:

Bellethiel
07-27-2010, 03:33 PM
I installed it and didn't have a problem during the install. The manual is nice too.

Unfortunately the normal text seems to be as white as the background so i thought i should ask if it uses the forum text color (which would be white in my case) or should i start to take a look in the css files?

https://vborg.vbsupport.ru/external/2010/07/17.jpg

bepe
07-27-2010, 04:06 PM
Ok, thank you very much for that bug! :)
I always had black color for the forum, so I did not see it.

You need to edit wiki\skins\vbmediawikivector\main-ltr.css
There add at line 70 to #wikibody this line:
color:#000000;

The manual is still in development... and would be very nice if someone with good English knowledge could take a look

Bellethiel
07-27-2010, 04:09 PM
hehe i thought as much. Thanks :3

xtremecoders
07-27-2010, 04:58 PM
bepe nice product my friend.
But I have BIG problem .
I don't Use UTF-8.
So it's impossible to edit or SAVE.

i always getting this message after save...

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.

How can we bypass the UTF-8 problem without mess the Forum posts. ?

Also editor like yours is NOT included, and i can't find it.

Thanks.

bepe
07-27-2010, 05:16 PM
It should not be a charset problem... ok, it is related to the converting, but anyway, it should work.
You need to turn off magic quotes either in php.ini or in .htaccess: http://www.php.net/magic_quotes
That should solve the problem.

About the editor, it's part of the UsabilityInitiative (http://www.mediawiki.org/wiki/Extension:UsabilityInitiative).

Tell me when the problem still exists after turning off magic quotes.
And let me know if you have problems to install the new editor, I can help.

xtremecoders
07-27-2010, 05:46 PM
Ok magic quotes Disabled.

I'm running on shared hosting and The php_flag and php_value inside a .htaccess file are technically correct - but for PHP installed as an Apache module only. On a shared host you'll almost never find such a setup; PHP is run as a CGI instead, for reasons related to security (keeping your server neighbours out of your files) and the way phpsuexec runs scripts as 'you' instead of the apache user.

Apache is thus correct giving you a server error: it doesn't know about the meaning of php_flag unless the PHP module is loaded. A CGI binary is to Apache an external program instead, and you can't configure it from within Apache.

Now for the good news: you can set up per-directory configuration putting there a file named 'php.ini' and setting there your instructions using the same syntax as in the system's main php.ini.

Now it's time to setup UsabilityInitiative.

I will inform you.

Thanks.. :up:

bepe
07-27-2010, 05:57 PM
GOOD, so magic quotes solved the problem *happy*
BTW, that error is in the manual "3.1 Prepare the Server" ;)

xtremecoders
07-27-2010, 06:29 PM
All are READY NOW and is UP and Running.

http://img180.imageshack.us/img180/1127/wiki.png

http://www.xtremecoders.org/forums

Fantastic Work my friend. :D:up:

Soon will get my donation.

BTW. if i install PrefStats i get SQL query errors. Can't find value

Is some useful option to have it or not ?

bepe
07-27-2010, 06:45 PM
I don't think you need PrefStats and most of the other stuff
Most of them are just statistics stuff that was used by UsabilityInitiative to collect data, like what menus the users are using the most.

For the editor just add the beginning to your LocalSettings.php and forget about the rest of it...
Like this:
# Some lines to add to LocalSettings.php to get these extensions up and running:

# Vector enhancements (CollapsibleTabs, SimpleSearch, EditWarning)
require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
'editwarning' => array( 'global' => false, 'user' => true ),
'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch = true;

# WikiEditor (Toolbar, Toc, Preview, Highlight)
require_once( "$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php" );

# WikiEditor config
$wgWikiEditorModules = array(
'highlight' => array( 'global' => false, 'user' => true ),
'preview' => array( 'global' => false, 'user' => true ),
'toc' => array( 'global' => false, 'user' => true ),
'toolbar' => array( 'global' => false, 'user' => true ),
);

xtremecoders
07-27-2010, 07:21 PM
I don't know why but your settings create DB error on my wiki.

This script run smooth for me.

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
'editwarning' => array( 'global' => false, 'user' => true ),
'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch = true;

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toolbar']['global'] = true; // Enable the WikiEditor toolbar for everyone
$wgWikiEditorModules['toolbar']['user'] = false;// Don't allow users to turn the WikiEditor toolbar on/off individually
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually
// Default value:
/*
$wgWikiEditorModules = array(
'highlight' => array( 'global' => false, 'user' => true ),
'preview' => array( 'global' => false, 'user' => true ),
'publish' => array( 'global' => false, 'user' => true ),
'toc' => array( 'global' => false, 'user' => true ),
'toolbar' => array( 'global' => false, 'user' => true ),
'templateEditor' => array( 'global' => false, 'user' => true ),
);
*/
// Set the user preferences to default to use the new features:
/*
$wgDefaultUserOptions['wikieditor-highlight'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1;
$wgDefaultUserOptions['wikieditor-publish'] = 1;
$wgDefaultUserOptions['usenavigabletoc'] = 1;
$wgDefaultUserOptions['wikieditor-template-editor'] = 1;
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
*/

bepe
07-27-2010, 07:32 PM
hm.. strange... I took mine from the README in the wiki/extensions/UsabilityInitiative folder

crazyace
07-27-2010, 07:42 PM
I don't have any of the tabs at the top. Example: Create, Move, ect.

bepe
07-27-2010, 07:46 PM
hm... never had that problem...
could you send me a link to the forum via PM?

(or if not possible, send me at least a screenshot)

Edit: You need to login to be able to edit the wiki, anonymus edits are disabled... I think that is the problem

Cadellin
07-27-2010, 09:39 PM
This has got to be one of the best mods I've see for vB. Easy to follow instructions and seamless installation. So Thank You bepe!

Just one small suggestion for the manual - it doesn't say you have to install MediaWiki first (obvious I know but someone will ask) ;)

/Installed /Nominated

I have two queries when you have time (low-priority):


How can I stop users changing skin? (I think I need to use $wgSkipSkins but I'm not certain)
Can you add a "Wiki Visible" permission in a future version so it is possible to hide the navbar link and Wiki entirely from some users but not others? I've got a custom vB style and I'd like to be able to work on intergrating and populating the wiki without everyone seeing the work-in-progress.

crazyace
07-27-2010, 09:49 PM
I am logged in. Also under user rights it shows Bureaucrats and bureaucrats also.

crazyace
07-27-2010, 10:32 PM
I can edit the pages that come pre installed. But edit is about the only thing I have.

crazyace
07-27-2010, 10:49 PM
Before I installed vbMediaWiki Vector I had all of the tabs.

When clicking on "View all wiki articles by Crazyace" in my profile, I get "Sorry - no matches. Please try some different terms."

bepe
07-28-2010, 08:55 AM
This has got to be one of the best mods I've see for vB. Easy to follow instructions and seamless installation. So Thank You bepe!

Just one small suggestion for the manual - it doesn't say you have to install MediaWiki first (obvious I know but someone will ask) ;)

/Installed /Nominated

I have two queries when you have time (low-priority):


How can I stop users changing skin? (I think I need to use $wgSkipSkins but I'm not certain)
Can you add a "Wiki Visible" permission in a future version so it is possible to hide the navbar link and Wiki entirely from some users but not others? I've got a custom vB style and I'd like to be able to work on intergrating and populating the wiki without everyone seeing the work-in-progress.

About the manual, ok, you are not the first one telling me that.. .will change it


There are two ways:
1. delete the vector.php from your wiki/skin folder
2. or add this line to the very end of your LocalSettings.php (after the vbMediaWiki lines!)
$wgSkipSkins[] = "vector";

yes, good idea... I'll add it as soon as possible

pisshivers
07-28-2010, 09:09 AM
Great mod, easy to install easy to use. The "hide from navbar" option would be nice :)

TheSupportForum
07-28-2010, 09:42 AM
i need some help, it installed all fine, i have 4.0.5 installed but does not show like your screenshot

please visit ereptalk.co.uk to check this out
would like a fix for this

bepe
07-28-2010, 10:38 AM
ok, I've added a "Wiki Visible" permission to the groupsettings
Turning it off will:
- hide the navbar link
- hide all wiki stats from the user pages
- hide the what’s new wiki entry
- don’t show any wiki search results in the forum (but still the wiki content type will be shown in the advanced search... it is too deep implemented to remove it)

usergroups that have it enabled will still have everything

Joelimo
07-28-2010, 10:39 AM
Same Problem like crazyace.
I cant´t create new Pages.

bepe
07-28-2010, 10:47 AM
I'm working with him on the problem right now
... not sure what the problem is yet

Joelimo
07-28-2010, 10:55 AM
Where can i edit der permissions for "autoconfirmed user" ?

bepe
07-28-2010, 10:58 AM
Access is set per usergroup, so go to the forum’s Admin Control Panel:
Usergroups -> Usergroup Manager
Press the ’Go’ button for the Usergroup that you would like to edit, then scroll down to
’Wiki General Permissions’

... but is should be set to 0 by default

As I saied, crazyace has the same problem... I'll tell you when we fixed it

crazyace
07-28-2010, 10:59 AM
I'm working with him on the problem right now
... not sure what the problem is yet

I just replied to you Bepe. I'm now at my computer and won't be leaving for a while so we can chat.

TheSupportForum
07-28-2010, 11:24 AM
Bepe please can you update me on the issue with the integration for vbulletin skin
i just get wikimedia without forum stuff showing, just mediawiki on its own

www.ereptalk.co.uk (http://www.ereptalk.co.uk) is my domain

and its not integrating my current users

2 Issue with vbtemplates

vbMediaWiki
http://www.ereptalk.co.uk/wiki/index.php?title=Main_Page&useskin=vbmediawiki

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

vbMediaWikiVector
http://www.ereptalk.co.uk/wiki/index.php?title=Main_Page&useskin=vbmediawikivector
Warning: chdir() [function.chdir (http://www.ereptalk.co.uk/wiki/function.chdir)]: No such file or directory (errno 2) in /home/ereptalk/public_html/wiki/skins/vbMediaWikiVector.php on line 678

Fatal error: Call to undefined function construct_navbits() in /home/ereptalk/public_html/wiki/skins/vbMediaWikiVector.php on line 685

Cadellin
07-28-2010, 12:45 PM
ok, I've added a "Wiki Visible" permission to the groupsettings
Turning it off will:
- hide the navbar link
- hide all wiki stats from the user pages
- hide the what’s new wiki entry
- don’t show any wiki search results in the forum (but still the wiki content type will be shown in the advanced search... it is too deep implemented to remove it)

usergroups that have it enabled will still have everything

Thank You that's perfect :) I assume that will be released in v1.01?

@simonhind: Your wiki views fine for me in FF 3.6.8 (www.ereptalk.co.uk/wiki (http://www.ereptalk.co.uk/))

yuerzx
07-28-2010, 04:14 PM
bepe can you help me one thing? I got some problem with using it. I can edit but cant save anything about wiki, why it could be happened? Can you help me? Thanks so much

For example, I can great a new page, after I click save and read it, everything back to beginning. Thanks so much

http://www.mylovewiki.com/wiki/
User: hhhhh@1230.me
Pass: 998877

bepe
07-28-2010, 04:50 PM
@yuerzx
you are getting this error:
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.

This means you need to turn off magic quotes read this post:
https://vborg.vbsupport.ru/showpost.php?p=2075401&postcount=31

@Cadellin
FF shows everything perfect... but :( ... Crome is not!! ... WHY must every browser do that different!

I'll fix this Crome problem now... will take some time, so I'll be off untill I fixed it... see you all later

bepe
07-28-2010, 05:23 PM
ok, I'm back :) ... I thought it would be more difficult

I've updated the changes list... next beta should be ready I think
Just need to rewrite the manual now :confused:

bepe
07-28-2010, 05:43 PM
Hey! MediaWiki 1.16 got final ... thats timing! :D
http://www.mediawiki.org/

Gnoll
07-28-2010, 06:16 PM
I have an small idea ; redirect about me part ( as link ) - to Wiki like
my nick : gnoll > About me place redirect to wiki /wiki/gnoll

( ps : i know with special profile field can do this but with this i dont know more sweet :) )

Cadellin
07-28-2010, 06:30 PM
Hey! MediaWiki 1.16 got final ... thats timing! :D
http://www.mediawiki.org/

Your were a day early but that's not bad for timing ;)

Is 1.16 final compatible do you know or should we wait for your next update? (I'm happy to beta test if that would be of help to you).

bepe
07-28-2010, 06:50 PM
I have an small idea ; redirect about me part ( as link ) - to Wiki like
my nick : gnoll > About me place redirect to wiki /wiki/gnoll

( ps : i know with special profile field can do this but with this i dont know more sweet :) )

I think you mean to add a link to the Users wiki page... I think that is not a bad idea.

- But if the user did never visit the Wiki it would show 'User account "Test" is not registered.' even if the user is registered in the forum.

- If the user did visit the wiki but did not create a page he will see 'There is currently no text in this page. '

- If the user created the page, then it would be perfect.

Just the first case is not nice... but the other two would be ok

I have to think about it... it's not easy to check if the user exists in the wiki, because the name will be changed, like the first char to uppercase

Perhaps we can ignore the first case... not sure yet

bepe
07-28-2010, 06:55 PM
Your were a day early but that's not bad for timing ;)

Is 1.16 final compatible do you know or should we wait for your next update? (I'm happy to beta test if that would be of help to you).

It should be compatible... MediaWiki is not like vBulletin... they don't do big changes that would leave all the plugins without function.

About testing, I need to upgrade it anyway... so I'll do the testing too, but thank you

Gnoll
07-28-2010, 07:23 PM
bepe i mean like this

http://www.erepublik.com/en/citizen/profile/1354014 ( its my account )
http://wiki.erepublik.com/index.php/Malene ( My wiki page at game (non-existing page at first but i'm wiki editor now and i created myself))

i mean a system like this :) - i'll became ur beta tester soon... :P
----------
or maybe ppl can edit about me part and this page created by itself ?

bepe
07-28-2010, 07:43 PM
The MediaWiki has a page for every user.
If you click at your name here:
"Bepe - My talk - My prefe..."

Then you will go to this link:
http://www.domain.com/wiki/index.php/User:Bepe

There only the user himself can edit the page.

Now you want to add that link to the forums "About Me", right?

bepe
07-28-2010, 08:11 PM
ok, looks like all works just fine with the final MW 1.16

Gnoll
07-28-2010, 08:36 PM
It works awsome with MW 1.16 :)

and yes bepe as you said - the page about user and only Team + Him/herself change.

bepe
07-28-2010, 08:41 PM
Just released 1.01 BETA

IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT!

Upgrade from an older vbMediaWiki Version
You need to uninstall the old vBMediaWiki product inside the Admin Control Panel
before installing a new version! The ?Allow Overwrite? option is not enough!

IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT! IMPORTANT!

@Gnoll
I've added that link to the 'About Me' forum user page, try it :)

Gnoll
07-28-2010, 08:55 PM
Wow ^^ with some template work and edits this became an awesome place

@bepe thanks its really fantastic :)

fortforum
07-29-2010, 06:40 AM
Got it to work on my forum and it looks very good.

One thing that would lift this to pro-level is a possibility to set path to vbulletin install from the settings menu. I miss that.

I do hope you will continu to develop this beyond beta. This has huge potential.

Keep up the good work, mate.

Skyrider
07-29-2010, 11:03 AM
Just curious, are the following possible?

- Able to use the forum on forum.domain.com and wiki on wiki.domain.com
- Able to hide/lock specific wiki pages for specific usergroups

bepe
07-29-2010, 04:25 PM
@fortforum
Yes, it would be nice to set it in VB Options... but the problem is that the wiki needs to know somehow where the forum is installed, only then it can access the vb options

... so I cannot set the path in vb (and would not need to, because vb knows exactly where it is installed :D)

@FF|Skyrider
- yes, sub domains are supported
- no, I don?t think it is possible... MediaWiki does not have that option as fare that I know; it can only restrict editor access or completely disallow a group to read articles... but not per page

Joelimo
07-29-2010, 04:54 PM
Very nice work bepe ! Thx :)

bepe
07-29-2010, 05:02 PM
next version will include a bbcode for linking wiki pages
Main_Page

When some day you change the the domain name or the path of the wiki, then the wiki links will still be working.

And sure, it's more easy than writing:

Main_Page (http://localhost/wiki/index.php?title=Main_Page)

fortforum
07-29-2010, 11:09 PM
@fortforum
Yes, it would be nice to set it in VB Options... but the problem is that the wiki needs to know somehow where the forum is installed, only then it can access the vb options

... so I cannot set the path in vb (and would not need to, because vb knows exactly where it is installed

That is of course a very good point. I wasn?t thinking that far, but im glad you have. I wast?t trying to be smart with you or anything, just so you know.

I really like this mod, looking forward to your futher work.

Rolli
07-30-2010, 10:12 AM
Works fine for me,Thx bepe:)

Rolli
07-30-2010, 10:20 AM
I have found a mistake. If I on new Wiki article click the following error message comes:

Warnung: mysql_connect() [function.mysql-connect]: Access denied for user 'xxxxxxxxxx'@'localhost' (using password: YES) in [path]/includes/mediawiki_functions_search.php (Zeile 33)

Warnung: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [path]/includes/mediawiki_functions_search.php (Zeile 34)

Warnung: mysql_query(): supplied argument is not a valid MySQL-Link resource in [path]/packages/vbmediawiki/search/searchcontroller/newwiki.php (Zeile 28)

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

How do I repair this?

bepe
07-30-2010, 12:07 PM
I'm very sure that you did not do the DB settings right.

Go to the forum’s Admin Control Panel:
Settings -> Options -> vBulletin MediaWiki: Options
And press ”Edit Settings”

Please check the settings for the wiki db there (that are not the same as the forum db settings)

crazyace
07-30-2010, 05:14 PM
Bepe, I still can't get search to work. But I do have the wiki on another database thats septate from my forum database.

bepe
07-30-2010, 06:40 PM
you might need to manually do the indexing for the already existing wiki articles, because only new articles will be added to the index automatically
Go to the forum’s Admin Control Panel:
Maintenance->Update Counters->Rebuild Search Index

Edit: Don't delete the index!

Bellethiel
07-30-2010, 07:43 PM
hm i rebuild my search index but for some reason it only searches through the wiki articles now and leaves the stuff in the forum alone o.o

bepe
07-30-2010, 08:13 PM
I've just tried it myself ... all working fine here

could you send me a link to your forum? PM or so

bepe
07-30-2010, 08:54 PM
About the missing forum index, it was not the fault of this plugin.
Should have written, that you should not delete the whole index. Just recreate the Wiki index in
Maintenance->Update Counters->Rebuild Search Index

Skyrider
07-30-2010, 11:42 PM
Hopefully some help here..

I'm having my forum on:

http://forum.domain.com and the wiki on http://forum.domain.com/wiki

When using:

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

or loads of other commands, I'm getting:
Fatal error: Call to a member function getID() on a non-object in /wiki/includes/AuthPlugin_vbMediaWiki.php on line 216

Rolli
07-31-2010, 06:34 AM
I'm very sure that you did not do the DB settings right.

Go to the forum?s Admin Control Panel:
Settings -> Options -> vBulletin MediaWiki: Options
And press ?Edit Settings?

Please check the settings for the wiki db there (that are not the same as the forum db settings)

Now it functions perfect tense, had wasted me with the password.

Desiderius
07-31-2010, 07:39 AM
hm, i dont have the new editor in the latest wiki? do i something wrong or is this an extension?

daveaite
07-31-2010, 07:43 AM
wow great work looks impressive.

bepe
07-31-2010, 12:28 PM
Hopefully some help here..

I'm having my forum on:

http://forum.domain.com and the wiki on http://forum.domain.com/wiki

When using:


or loads of other commands, I'm getting:

Hm... no idea what the problem is there... if possible send me an link to your forum.
And try the new 1.02 beta, it includes a new diagnostic script it will:
- check all files
- check the vb and wiki installation
- check all settings
- check the server
- check the database
... perhaps it will tell you what the problem is
Anyway, it would be very interesting for me what the problem was, so that I can fix it or so that I can make it more clear how to install this product right.

@Desiderius
The new editor is a new extension, which works only for the new 1.16 wiki.
It's part of the MediaWiki UsabilityInitiative (http://www.mediawiki.org/wiki/Extension:UsabilityInitiative) extension

TheSupportForum
07-31-2010, 07:14 PM
Developer please Read: Current Issue with Uninstall of Product

The Template Still exists and should be cached
also is this MOD placed in WOL (Who's Online)

also issue with /includes/AuthPlugin_vbMediaWiki.php
Line:34
Parse error: syntax error, unexpected T_STRING in /home/ereptalk/public_html/wiki/includes/AuthPlugin_vbMediaWiki.php on line 34

Using this method:
https://vborg.vbsupport.ru/showthread.php?t=228112

Instructions to Add your Page to the Who's Online List (WOL):
1. hook location - online_location_process:
2. hook location online_location_unknown:

xtremecoders
07-31-2010, 07:39 PM
I am getting the same ERROR after update to BETA 2

Parse error: syntax error, unexpected T_STRING in /home/xtremeco/public_html/wiki/includes/AuthPlugin_vbMediaWiki.php on line 34

fortforum
07-31-2010, 07:53 PM
Had an issue too that i could not fix, resulting in just a blank page.

Deleted all files, re-installed mediawiki, re-imported product and i was on-line again.

Looks like this now: http://www.fortforum.se/medwiki/index.php?title=Huvudsida

Never understood what the problem was unfortunately, but my guess is that it was a conflict somewhere, as the script do not uninstall the product.

bepe
07-31-2010, 08:07 PM
Error: AuthPlugin_vbMediaWiki.php on line 34

I'm sorry! ... fixing it right now
It was incompatible to before PHP 5.3

bepe
07-31-2010, 08:17 PM
I'll make a fresh install for final test now and then I'll upload 1.03BETA

bepe
07-31-2010, 08:39 PM
ok, looks like everything is working now... good luck :)

TheSupportForum
07-31-2010, 08:54 PM
confirmed 1.0.3 Beta working

Bellethiel
07-31-2010, 09:08 PM
Beta 1.03 works nicely so far although the /wiki/vbmediawiki/ still gives out "vbMediaWiki Version: 1.02BETA " but surely noone will die from that ^^

bepe
07-31-2010, 09:13 PM
Stupid me, I changed the version in the wrong folder

... anyway, will fix it with the next real release :D

yuerzx
08-01-2010, 11:51 AM
bepe may i ask you a bit silly qs? Why after I install my wiki the edit toolbar is super ugly, why yours look so nice, how could you do that? Need to change setting in wiki? Thanks so much.

Bellethiel
08-01-2010, 12:07 PM
Well as bepe said many times before in this thread:

The editor is part of the addon UsabilityInitiative (http://www.mediawiki.org/wiki/Extension:UsabilityInitiative)

@ bepe: maybe you should write that in the addon description somewhere so they don't ask this on every page of this thread ^^

yuerzx
08-01-2010, 12:20 PM
@Bellethiel

Thanks so much, sorry I didnt know before :-)

Thanks so much

fortforum
08-01-2010, 01:25 PM
How can i perform a smooth upgrade? Can i just upload the files, with overwrite and uninstall old product in admincp?

Also change the entry in LocalSettings?

TheSupportForum
08-01-2010, 03:12 PM
How can i perform a smooth upgrade? Can i just upload the files, with overwrite and uninstall old product in admincp?

Also change the entry in LocalSettings?

what do you wish to upgrade

mediawiki or this mod ?

fortforum
08-01-2010, 04:33 PM
this mod.

TheSupportForum
08-01-2010, 04:47 PM
this mod.

all you need to do is uninstall the product, then install the latest version, also remembering to upload all new files

before doing this, take a screenshot of all your settings so that its easier for you to put it back after

bepe
08-01-2010, 05:31 PM
@Bellethiel
I've writen it to the Manual (Rev. 4) already... but I just uploaded it this day

@fortforum
As simonhind said
- uninstall the product
- upload the new files, edit LocalSettings.php (one of the lines needs to be changed)
- import the new product xml
- do the settings again
- to make it perfect, delete the old wiki\includes\AuthPlugin_vbMediaWiki.php... it's not used anymore

TheSupportForum
08-01-2010, 05:40 PM
@Bellethiel
I've writen it to the Manual (Rev. 4) already... but I just uploaded it this day

@fortforum
As simonhind said
- uninstall the product
- upload the new files, edit LocalSettings.php (one of the lines needs to be changed)
- import the new product xml
- do the settings again
- to make it perfect, delete the old wiki\includes\AuthPlugin_vbMediaWiki.php... it's not used anymore

you had not mentioned that wiki\includes\AuthPlugin_vbMediaWiki.php
is no longer needed for 1.0.3, please can you make it clear for others on your MOD description etc...

bepe
08-01-2010, 06:04 PM
yes, I will do that
I renamed the AuthPlugin_vbMediaWiki.php to vbMediaWikiAuthPlugin.php, so when uploading the new version it would be not overwriten anymore.
That was part of the code cleanup, sice we are going rc now soon

next version just contains a fix for same of the wiki tables that are not shown right
e.g.: go to wiki/index.php?title=Special:Version ... there the tables have this thick borders right now
... lets see if we find something else :)

Gnoll
08-02-2010, 02:28 PM
bepe is it possible to use wiki only with Default theme ?

well i'm using some custom themes ( gaming site ), but all s... at when opened wiki, so is there any chance users only see wiki under Default theme ?
(thx for updates)

fortforum
08-02-2010, 05:32 PM
The challenge here is not to install this plugin or to set up a working mediawiki.

The hard part here is to master the LocalSettings.php so the wiki appears as you wish. Had some problems on image code and file uploading, but i worked it out eventually, even as my server is in safe mode.

Fortunately the mediawiki documentation is good, to say the least.

AtomicAcidbath
08-03-2010, 01:57 AM
...

Having the same problem, only my setup is reversed:
MediaWiki is at the root (/), and vBulletin is in a /forum/ folder.
LocalSettings.php has:

define( "VB_INSTALL_PATH", "forum/" );


Getting Error:

Fatal error: Call to a member function getID() on a non-object in C:\Inetpub\wwwroot\includes\vbMediaWikiAuthPlugin. php on line 216


Ran diagnostic script. Came up with:

vbMediaWiki Vector
Config Test Script

Checking MediaWiki Installation: OK
* MediaWiki Version: 1.16.0
Checking vbMediaWiki Wiki Files upload: OK
* vbMediaWiki Version: 1.02BETA
Checking Forum Path: OK
* vBulletin Version: 4.0.5
Checking vbMediaWiki Forum Files upload: OK
Checking Wiki db connection: OK
Validating that it really is the Wiki DB: OK
Checking Magic quotes: OK

All looks fine.


Any ideas?

fortforum
08-03-2010, 07:47 AM
I can´t get vb search to work very well, as for wiki artikles doesn´t get inkluded . Going for known words in wiki turns up with nothing. Can search be refined in any way?

TheSupportForum
08-03-2010, 12:16 PM
yes, I will do that
I renamed the AuthPlugin_vbMediaWiki.php to vbMediaWikiAuthPlugin.php, so when uploading the new version it would be not overwriten anymore.
That was part of the code cleanup, sice we are going rc now soon

next version just contains a fix for same of the wiki tables that are not shown right
e.g.: go to wiki/index.php?title=Special:Version ... there the tables have this thick borders right now
... lets see if we find something else :)

why not convert the php code for inclusion in a plugin instead, tht way you would get rid of vbMediaWikiAuthPlugin.php

wipedout
08-03-2010, 02:29 PM
bepe is it possible to use wiki only with Default theme ?

well i'm using some custom themes ( gaming site ), but all s... at when opened wiki, so is there any chance users only see wiki under Default theme ?
(thx for updates)

im with this guy, either making the wiki use the whole custom templates or using another style when you are in the wiki only, anyway to do this?

wipedout
08-03-2010, 02:31 PM
Having the same problem, only my setup is reversed:
MediaWiki is at the root (/), and vBulletin is in a /forum/ folder.
LocalSettings.php has:

define( "VB_INSTALL_PATH", "forum/" );


either a IIS error or the fact that you added a trailing slash like you werent suppoed to, try with only

define( "VB_INSTALL_PATH", "forum" );

Just thinking since it says don use trailing slash.

Gnoll
08-04-2010, 07:37 AM
define( "VB_INSTALL_PATH", "../forum" );

use like it

mdcdeve
08-05-2010, 04:45 AM
Having a problem hm .. the wiki works fine outside of my account but whenever i am logged in the skin refuses to change and the integrated skin won't load no matter what i do, it just says on the vector skin

Edit: Managed to get the new skin showing by switching to the new skin before uploading any other files, all working fine now

Cadellin
08-05-2010, 09:32 PM
I hesitate to ask as you've done just a brilliant job how could I get the wiki to return the default permissions error message "Username: you do not have permission to access this page. This could be due to one of several reasons:.." when the wiki visible permission is set to no?

Basically how can I get the vBulletin to handle the permissions missmatch rather than mediawiki for the wiki visible permission?

Thanks

ConfusedCartman
08-07-2010, 03:35 AM
Just a note: I spent the last few hours fighting to find a good regex to use for user registration, and came up with this:

^((?!admin|moderator)[A-Za-z0-9 ._-])+$

Since vBulletin does not allow Illegal User Names and Regular Expressions to be used together, you can add multiple phrases in the first portion (separated with a "|" character) that you do not want users to be able to use anywhere in their username (or as their username). The second portion checks for all characters valid in a wiki. Slashes and other characters are excluded because they cause problems, but periods, underscores, dashes, and spaces are all allowed along with alphanumeric characters. I've already tested it live and it works just fine - it's a very elegant solution. I find it preferable to the suggestion in the included pdf, since it allows for more breadth to the usernames and still allows us to customize phrases we don't want allowed as well.

oddball118
08-07-2010, 02:37 PM
I'm getting this error:

[04-Aug-2010 18:30:21] PHP Parse error: syntax error, unexpected '<' in /home/ACCOUNT/public_html/mydomain.com/forum/global.php(29) : eval()'d code on line 557


My forum is setup as follows:

http://www.mydomain.com

http://www.forum.mydomain.com

http://www.forum.mydomain.com/wiki


Is the problem the subdomain or is it because the wiki directory is located inside the forum directory?


Thanks for your hard work with this mod. :D

bepe
08-07-2010, 09:30 PM
Just posting the new beta right now... will try to catch up tomorrow

Was working the last week on the new skin... you'll see what I mean :D
please give me results on how it is working or on any problems with wiki plugins and so on

Rolli
08-07-2010, 11:03 PM
When is to be calculated about on the final version, in so far as there will be generally one? Should one uninstall with a new beta the old version?

yuerzx
08-08-2010, 08:48 AM
Bepe I meet a trouble with your addon, I got the following error. May I know how to fix it? Thanks so much.

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "UserDailyContribsHooks::storeNewContrib". Database returned error "1146: Table 'yuerhost_Lovewiki.mwk_user_daily_contribs' doesn't exist (localhost)".

Web address: mylovewiki.com

Gnoll
08-08-2010, 09:38 AM
OMG ! You are this is amazing ! I cant ... oh !

bepe
08-08-2010, 07:00 PM
bepe is it possible to use wiki only with Default theme ?

well i'm using some custom themes ( gaming site ), but all s... at when opened wiki, so is there any chance users only see wiki under Default theme ?
(thx for updates)

The integrated wiki should contain 3 skins by default:
vbmediawikiforum - integrated into the forum theme
vbmediawikivector - wiki page in the content area
vector - default wiki skin

you can change the default by adding this line with the name of the default skin to the end of your LocalSettings.php (after the two line you added for vbMediaWiki!):
$wgDefaultSkin = 'vbmediawikiforum';
// remove other skins
You can remove skins using this (also to the end of LocalSettings.php):
$wgSkipSkins[] = "vbmediawikivector";
$wgSkipSkins[] = "vector";
this would remove the vbmediawikivector and the vector skin

bepe
08-08-2010, 07:05 PM
I can?t get vb search to work very well, as for wiki artikles doesn?t get inkluded . Going for known words in wiki turns up with nothing. Can search be refined in any way?

go to Admin panel->Maintenance->Update Counters->Rebuild Search Index
there select "Wiki Articles" and press "Rebuild Search Index"

please tell me in case that it's not working for you

bepe
08-08-2010, 07:13 PM
I hesitate to ask as you've done just a brilliant job how could I get the wiki to return the default permissions error message "Username: you do not have permission to access this page. This could be due to one of several reasons:.." when the wiki visible permission is set to no?

Basically how can I get the vBulletin to handle the permissions missmatch rather than mediawiki for the wiki visible permission?

Thanks

yes, would be nicer to get the vBulletin page... need to think about it and need to do some tests

Edit: ok, done
wiki visible -> disabling this will just hide the wiki inside the forum (no navbar link, no stats and so)
Can read -> this will result in the vBulletin permissions page if the user try to access the wiki

bepe
08-08-2010, 07:37 PM
Just a note: I spent the last few hours fighting to find a good regex to use for user registration, and came up with this:

^((?!admin|moderator)[A-Za-z0-9 ._-])+$

Since vBulletin does not allow Illegal User Names and Regular Expressions to be used together, you can add multiple phrases in the first portion (separated with a "|" character) that you do not want users to be able to use anywhere in their username (or as their username). The second portion checks for all characters valid in a wiki. Slashes and other characters are excluded because they cause problems, but periods, underscores, dashes, and spaces are all allowed along with alphanumeric characters. I've already tested it live and it works just fine - it's a very elegant solution. I find it preferable to the suggestion in the included pdf, since it allows for more breadth to the usernames and still allows us to customize phrases we don't want allowed as well.

you could allow more chars
see http://meta.wikimedia.org/wiki/Page_name for details
and there is a problem:
The first character of a page name cannot be a colon (:), space ( ), or underscore (_).

bepe
08-08-2010, 07:41 PM
I'm getting this error:

[04-Aug-2010 18:30:21] PHP Parse error: syntax error, unexpected '<' in /home/ACCOUNT/public_html/mydomain.com/forum/global.php(29) : eval()'d code on line 557


My forum is setup as follows:

http://www.mydomain.com

http://www.forum.mydomain.com

http://www.forum.mydomain.com/wiki


Is the problem the subdomain or is it because the wiki directory is located inside the forum directory?


Thanks for your hard work with this mod. :D

no, should not be a problem... could you send be the link to your forum via PM?

bepe
08-08-2010, 07:43 PM
When is to be calculated about on the final version, in so far as there will be generally one? Should one uninstall with a new beta the old version?

I've just added the new skin, when this is working right I'll go RC and then after some time final... but depends on how much results I get, so cannot tell a date or so

bepe
08-08-2010, 07:50 PM
Bepe I meet a trouble with your addon, I got the following error. May I know how to fix it? Thanks so much.

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "UserDailyContribsHooks::storeNewContrib". Database returned error "1146: Table 'yuerhost_Lovewiki.mwk_user_daily_contribs' doesn't exist (localhost)".

Web address: mylovewiki.com

ok, thats strange... check your PMs

Joelimo
08-09-2010, 09:38 AM
Thx bepe,

the new Skin looks really great! :)

osayidan
08-09-2010, 10:14 AM
Has anyone tested on 4.0.2? I can't update VB because an important mod breaks when I do.

Rolli
08-09-2010, 11:20 AM
Though beta 4 runs with me, but my style tears it completely. See appendix. What can I make against it?

jo8jo
08-09-2010, 11:32 AM
Hi, this Add-on is working on my vB 4.0.4 ...

One question: How can i upgrade 1.03 BETA to 1.04 Beta? Only upload the files and overwrite the old ones? Thx for help :)

Bellethiel
08-09-2010, 02:35 PM
Upload all the files, uninstall the 1.03BETA and install the new one. Configure it and you are done.

Rik Brown
08-09-2010, 04:36 PM
This mod looks great with an excellent manual in pdf format. As soon as we can upgrade our MediaWiki installation, we intend to give it a try.

Just one question: I see that the mod uses the original vb search indexing. Any chance that you will be adding support for the Sphinx Search option, too? Its so much faster!

Thanks. -- Rik

Rik Brown
08-09-2010, 09:44 PM
Upgraded my MediaWiki software and did the mod install. Everything went great. I only see one problem so far. The Google ad in our header is not placed properly. It relies on style formatting defined in vb's additional.css. Any chance to address this issue?

Thanks for a great product! -- Rik

ConfusedCartman
08-10-2010, 06:54 PM
I love the product, but I have to ask: How would I go about re-enabling logo display? The path to the logo in LocalSettings.php is accurate, the problem is the logo is completely removed from the display page. I'd like to re-include it, if possible.

Mukashi
08-10-2010, 10:38 PM
A question bepe. How exactly does the single sign-on work here exactly?

I already have a large forum (not yet on vB4, but soon-ish) and large wiki's (tied together with the centralauth mod, giving them a single account signon).

bmgf.bulbagarden.net
bulbapedia.bulbagarden.net
bulbanews.bulbagarden.net
archives.bulbagarden.net (Image Repository)

Because we have a name-change feature enabled on our forums, what we've really been looking for is something that'd allow users to associate their wiki account with their forums account ID number, rather than linking based on name. Perhaps making it so the association has to be confirmed by having them just login to it (as an existing vB3 mod we have allows them to do to associate multiple forum accounts, as we allow users in some RP's to have
accounts specifically for their characters).

If your mod can't do this kind of thing yet, is there any chance you might introduce such a feature in the future? Something like that would make things a lot easier for those of us who'd love to have integration, but have been running separate forums and wiki(s) for years.

Rik Brown
08-10-2010, 11:24 PM
It appears we have a cookie problem. Our domain/server layouts are:

forums.[our domain].com
/home/www/html/subs/forums

wiki.[our domain].com
/home/www/html/subs/wiki

LocalSettings.php:
define( "VB_INSTALL_PATH", "../forums" );
require_once( "$IP/includes/vbMediaWikiAuthPlugin.php" );

vBulletin MediaWiki: Options -> Path -> http://wiki.[our domain].com

As per messages #70 and #71 in this thread, it appears it is feasible to maintain that dual sub-domain layout with the mod. In fact, the wiki displays fine (subject to the additional.css issue indicated above in message #136). However, we are getting a cookie issue on the wiki that does not allow the logins to work.

When I run the vbmediawiki diagnostic script, I get:

* Checking MediaWiki Installation: OK
MediaWiki Version: 1.16.0
* Checking vbMediaWiki Wiki Files upload: OK
vbMediaWiki Version: 1.04BETA
* Checking Forum Path:
Unable to add cookies, header already sent.
File: /home/www/html/subs/wiki/vbmediawiki/index.php
Line: 38

I've cleared the cookies for wiki.[our domain].com within the Firefox tools menu. That had no effect.

Am I overlooking something?

Thanks. -- Rik

AtomicAcidbath
08-10-2010, 11:38 PM
Seems to have a problem with a couple of other mods.
vbExperience and Movie of the Week (MotW) cause vbMediaWiki to display blank screen after saving additions/edits.

Anyone else running either of these mods w/vbMediaWiki successfully?

Rolli
08-11-2010, 01:53 AM
Beta 1.04 did not run with my Skin, has installed the beta 1.01 again with it it functions.

ConfusedCartman
08-11-2010, 01:58 AM
Seems to have a problem with a couple of other mods.
vbExperience and Movie of the Week (MotW) cause vbMediaWiki to display blank screen after saving additions/edits.

Anyone else running either of these mods w/vbMediaWiki successfully?

I'm running vBExperience and this mod in tandem without any issues. Not sure what the problem could be, though.

AtomicAcidbath
08-11-2010, 02:28 AM
I'm running vBExperience and this mod in tandem without any issues. Not sure what the problem could be, though.

Okay, good to know it does work with it (I can live w/out MotW)
Will try reinstalling vbE, and see if that makes any difference.

[edit]
Nope. Still gives blank page. Tried changing skins just to see if there was any difference, and nope on that too.

Traced to Article.php line 2130 $wgOut->redirect so far. If this line is not executed, the screen displays (but not with the article).
The URL value is correct, but setting $wgOut does something very wrong for some reason. Strangest thing is that vbMediaWiki doesn't even touch it except for the skins.

gopalfreak
08-11-2010, 06:11 PM
Hi,

I already installed the mod, too on VB4.0.5 and Mediawiki 1.1.6 - looked great - but however I only see the Wiki inside my VBulletinskin if I am not logged in!

if I login and try to press the Wiki-link in the navbar the "old" Monobookskin comes up completly in a new window.

Tried everything -
$wgSkipSkins[] = all other skins and presettings as vector to default, the only thing that changed: Under my settings in the mediawiki only vector appears - and even in preview all looks fine?!?

Any Ideas? the Tryout of neverused browsers (as IE) showing the same issue...

I haven't deactivated magic quotes yet, but I can't imagine that this would be the reason..
I there any kind of "resistant" cache of sth. inside the mediawiki that kicks out this behaviour?

Edit:

It seams that I found it on my own...
All looks fine now in the vbvectorskin I choosed.
How?
I logged in my Wikiaccount (Admin) and had the monobook skin on my screen - even the skin wasn't in the
skinlist anymore. So I tried "Load default settings" and all was reloaded and now inside the
VB integrated!

BIG THX bepe for this real nice addon.. !!!
Take a beer on my bill.. ;)

The only thing I have to find out is how I do this for any user... Even if neccessary (I will test)

bepe
08-11-2010, 07:19 PM
This mod looks great with an excellent manual in pdf format. As soon as we can upgrade our MediaWiki installation, we intend to give it a try.

Just one question: I see that the mod uses the original vb search indexing. Any chance that you will be adding support for the Sphinx Search option, too? Its so much faster!

Thanks. -- Rik

Where can I get the Sphinx Search plugin for vBulletin 4.0.x? ... I did a short google search, but did not get a usefull result

Upgraded my MediaWiki software and did the mod install. Everything went great. I only see one problem so far. The Google ad in our header is not placed properly. It relies on style formatting defined in vb's additional.css. Any chance to address this issue?

Thanks for a great product! -- Rik

Could you send me a link to the forum?

I love the product, but I have to ask: How would I go about re-enabling logo display? The path to the logo in LocalSettings.php is accurate, the problem is the logo is completely removed from the display page. I'd like to re-include it, if possible.

Ok, I'll try to add it to the next release in some way

A question bepe. How exactly does the single sign-on work here exactly?

I already have a large forum (not yet on vB4, but soon-ish) and large wiki's (tied together with the centralauth mod, giving them a single account signon).

bmgf.bulbagarden.net
bulbapedia.bulbagarden.net
bulbanews.bulbagarden.net
archives.bulbagarden.net (Image Repository)

Because we have a name-change feature enabled on our forums, what we've really been looking for is something that'd allow users to associate their wiki account with their forums account ID number, rather than linking based on name. Perhaps making it so the association has to be confirmed by having them just login to it (as an existing vB3 mod we have allows them to do to associate multiple forum accounts, as we allow users in some RP's to have
accounts specifically for their characters).

If your mod can't do this kind of thing yet, is there any chance you might introduce such a feature in the future? Something like that would make things a lot easier for those of us who'd love to have integration, but have been running separate forums and wiki(s) for years.

When the user in some way accesses the wiki there is automatically a wiki account created. The accounts are bound by the names, not the ID, so that would not be good for your case.

I've already searched for a way to do it by ID, funny thing is that now with the final of 1.16 it looks like it is possible... I'll look into it

oddball118
08-11-2010, 07:34 PM
no, should not be a problem... could you send be the link to your forum via PM?

PM Sent

gopalfreak
08-12-2010, 08:29 AM
Edited

gopalfreak
08-12-2010, 08:31 AM
Edited

Rolli
08-12-2010, 09:22 AM
Dankeschön bepe läuft jetzt erste Sahne!Bis auf das eine siehe PN.

Rik Brown
08-12-2010, 10:18 AM
Where can I get the Sphinx Search plugin for vBulletin 4.0.x? ... I did a short google search, but did not get a usefull result.
The mod is actually over on vbulletin.com. Once installed, you get the option to turn on the Sphinx Search via your admincp.

Here is the thread (http://www.vbulletin.com/forum/showthread.php?350427).

As an alternative, I see that Mediawiki now has a Sphinx Search extension. I'm thinking to give that a try as well. Perhaps you could make that an option to choose between vb's search and Mediawiki's search using Sphinx Search.

I'll also pm you a link to our problem with the additional.css formatting issue.

Thanks. -- Rik

UPDATE: Checked on the Mediawiki site and the SphinxSearch extension doesn't work on Mediawiki 1.16 yet.

lubbie
08-12-2010, 01:22 PM
Hello. Im not sure if that is already solved but i got a problem after uploading the vB Files.
The Installation of the Wiki itself was ok and it was running but after i installed the files from here i got some errors. I hope that somebody can help me


First picture is the Option-Settings in vB ACP

This is the Link to the Wiki http://test.brainlag.eu/wiki/ - I really dont know why i get this error

and this is what i?ve added into the LocalSettings.php

define( "VB_INSTALL_PATH", "test.brainlag.eu/wiki" );
require_once( "$IP/includes/vbMediaWikiAuthPlugin.php" );

Thanks for the help

AfterWorldForum
08-12-2010, 03:40 PM
The Installation of the Wiki itself was ok and it was running but after i installed the files from here i got some errors. I hope that somebody can help me

It would probably help if you listed the errors you saw ;)

lubbie
08-12-2010, 04:36 PM
What Error do u need? Just click the link then u will see what i mean. I dont wanted to "spam" this Thread. Might be easier this way?!

gopalfreak
08-12-2010, 05:29 PM
Your Boardpath is wrong - look at your own diagnosticscript
http://test.brainlag.eu/wiki/vbmediawiki/

I guess you have sth. wrong somewhere in a path-config...

Tryout the manual - I guess there are several things described you may haven't
in your mind yet...


By the way:
Could someone give me a hint:
Where in the css I can change the layout of the letters in white?

TIA

lubbie
08-12-2010, 06:08 PM
Got it. I was... a bit blind at all.


When i try to edit the Sidebar with link.to.board/index.php?title=MediaWiki:Sidebar&action=edit

I get this
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.

Joelimo
08-13-2010, 03:20 PM
i have updatet on VB4.0.6 and running the Vector 1.0.5

https://vborg.vbsupport.ru/external/2010/08/40.png

Any Idea where i can fix it ?

bepe
08-13-2010, 03:29 PM
check the "mediawiki_navbar_link" template, it did not get overwriten... did you uninstall the old version before installing hte new one?

anyway, there you see a line:
{wiki:raw personal_urls}

replace that line by:
<!-- {wiki:raw personal_urls} -->

then it should be working

bferrell
08-13-2010, 03:48 PM
I am running the old mod with mw 1.15 and vb 4.0.5, and would like to upgrade to this mod with 4.06 and 1.16. With the old mod I'd get an occasional issue with user IDs, so I was wondering about the following.

If I start with a clean install of 1.16 mw, and my exiting 4.0.6 vb, and then import all of my old pages, will my vb users be able to full use/contribute to the wiki? Will they see their contributions as long as their vb user name is the same as the mw username, even though the mw uername table will now be empty (aside from the admin)? It seems like this might really clean up my systems. Thanks for any advice.

Brett

Joelimo
08-13-2010, 04:02 PM
Thx, bepe!
Now its working correct.

No i unistall the old Version in ACP before i install the new one.

Thx for the quick help!

bepe
08-13-2010, 04:48 PM
I am running the old mod with mw 1.15 and vb 4.0.5, and would like to upgrade to this mod with 4.06 and 1.16. With the old mod I'd get an occasional issue with user IDs, so I was wondering about the following.

If I start with a clean install of 1.16 mw, and my exiting 4.0.6 vb, and then import all of my old pages, will my vb users be able to full use/contribute to the wiki? Will they see their contributions as long as their vb user name is the same as the mw username, even though the mw uername table will now be empty (aside from the admin)? It seems like this might really clean up my systems. Thanks for any advice.

Brett

I did some tests, because I've never used the import thing until now...

The result is, that importing a page also contains the user name, so it would show the creators user name even if the user does not exist in vb.
If the user exists, then all his pages will still be his contibutions.

But there is a problem: the vb user wiki stats will show '0' created/edited pages.
... I'll look into it... will try to fix that, but only if i'is possible without making a db query every time the user profile is shown... else it would be bad for the performanc

gopalfreak
08-14-2010, 06:23 AM
Hi Bepe,

Great Mod (still)
I have to update to 4.0.6 and your new version, too...

Some Things I noticed :

Wiki Stats for Users = 0 < As you already said.... so I have not to do it ;)
Would it be possible to configure the BB WikiLink? (as gwiki instead of wiki)
Would it be possible to add a small Favicon or sth several in front of this Link? I would like to get a "little" WikiIcon of my Wiki
The VBSearch with wikilinks give often articles that are not really existent (often Pages with underscores (if you need examples I write you a pm with search queries)
Would it be possible to advance the sitemap Generator to the wiki as for blogs/Cms and articles?


But at all:
Thanks for improving my VB with such great Mod!:)

bepe
08-14-2010, 08:04 AM
Hi Bepe,

Great Mod (still)
I have to update to 4.0.6 and your new version, too...

Some Things I noticed :

Wiki Stats for Users = 0 < As you already said.... so I have not to do it ;)
Would it be possible to configure the BB WikiLink? (as gwiki instead of wiki)
Would it be possible to add a small Favicon or sth several in front of this Link? I would like to get a "little" WikiIcon of my Wiki
The VBSearch with wikilinks give often articles that are not really existent (often Pages with underscores (if you need examples I write you a pm with search queries)
Would it be possible to advance the sitemap Generator to the wiki as for blogs/Cms and articles?


But at all:
Thanks for improving my VB with such great Mod!:)


You just updated you vb or did you set it up new? ... The stats are content of the vb user table ... so they should not get deleted when updating vb... I might be wrong, since I've never tried
yes, would be possible... is your [wiki] tag in use already?
Do you mean an icon left to the navbar link or a real favicon on the browsers address bar?
yes, please send me an link to your forum and the queries, I'll look into it
You mean the XML Sitemap Generator or another plugin?


Sorry for all that questions, but I'm not a really forum owner and I've never used things like that Sitemap thing :D

gopalfreak
08-14-2010, 09:12 AM
You just updated you vb or did you set it up new? ... The stats are content of the vb user table ... so they should not get deleted when updating vb... I might be wrong, since I've never tried
yes, would be possible... is your [wiki] tag in use already?
Do you mean an icon left to the navbar link or a real favicon on the browsers address bar?
yes, please send me an link to your forum and the queries, I'll look into it
You mean the XML Sitemap Generator or another plugin?


Sorry for all that questions, but I'm not a really forum owner and I've never used things like that Sitemap thing :D

Yes I updates after IMpex Import from PHPBB2Plus to VB3.x - and then Upgraded to VB4.x Publisher (the only way to import the PHPBB information as VB Support told me :/

The WIKI Tag is only in one Testpost in Use...

I only meaned a free configureable Icon - I would like to have an own Icon for my Wiki - as I have to make one for the search results (but I have to Photoshop first) - but that is only to replace - so this should be no Problem...

You get a PN for the queries and example...

THX

AfterWorldForum
08-14-2010, 04:49 PM
I just installed the latest version, but in the admincp i am having some trouble saving my settings. The password in particular does not seem to want to be stored anywhere. I get an error 500.

Where does it store the value so I could maybe add it manually?

bepe
08-14-2010, 05:37 PM
it's stored with all the vboptions...
Could you send me a link to your forum? ... Would be very interesting for me why you have that problem

Did you have an old version of this mod before installing the new one?

AfterWorldForum
08-15-2010, 06:31 PM
it's stored with all the vboptions...
Could you send me a link to your forum? ... Would be very interesting for me why you have that problem

Did you have an old version of this mod before installing the new one?

Hi bepe,

Thanks for the reply. I've upgraded www.entropiaplanets.com just yesterday. Took twelve hours all in all (after months of preparations - WTF, VbTeam?), but the results are worth it.

It shows the wiki tab, and even the profile bits. However, I am not sure if/where the database credentials are stored, nor do I have a way to verify if they were saved properly. It would be nice to know where your mod saves its info.

I also noticed the counters on the profile tabs showed 0 for all numbers. Hence me assuming the credential did not make it through.

FWIW, I have trouble with the AdminCP in genera., but I was able to work around the problem with every other field except for the password field. By workaround I mean I entered a single field, and then hit save. If I did see an error, I'd click back and try again. This consistently worked except for the password. I am not even sure I can pinpoint this behaviour to a single mod (and i run many). I've seen it on both my test site as well as on live. I'll keep an eye open when I further update my other forums to see if it occurs again, and will try and see if I can tweak my test environment until I know exactly which mod causes it.

And to answer your last question, I did used to run the MMO wikimedia plugin. I just figured yours was superior to that, so that's what I ended up getting.

Thanks agian for offering to check it out. Let me know if you need more to check things out.

Cheers,

Peter

crazyace
08-19-2010, 07:37 PM
Ok installed, and it uses my forum's theme, this looks much better. Thank you so much.

bepe
08-19-2010, 08:20 PM
Prepared so much time for the RC... but forgot two things :(
1. When using the forum skin with the star icon for watch... on a reload of watched page the star is missing
2. The diagnostics script showed missing files

... I've uploaded a fixed version and the fix only for all who installed the unfixed version... just upload the folder inside the xxx_fix.zip to the wiki root, no need to reload the xml or so

Daryn
08-19-2010, 10:53 PM
I have a question about the User Registration Regex. I have a few users who have non english characters in their usernames. If I change this setting to allow only alphanumeric characters does this mean that they will be forced to change their userid or otherwise not be able to login? Or will it simply only allow users going forward to only use those specific characters?

LOGECT
08-20-2010, 03:45 AM
Great job, Thank you.

bepe
08-20-2010, 07:38 AM
I have a question about the User Registration Regex. I have a few users who have non english characters in their usernames. If I change this setting to allow only alphanumeric characters does this mean that they will be forced to change their userid or otherwise not be able to login? Or will it simply only allow users going forward to only use those specific characters?

Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.

For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.

I need to do some more tests to see what chars we really need to disallow.

Daryn
08-20-2010, 10:09 AM
Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.

For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.

I need to do some more tests to see what chars we really need to disallow.

Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.

http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_%28technical_restrict ions%29#Forbidden_characters

I hope that helps a little bit. Based on that I think you should be able to get a regex that should work for just about everyone.

bferrell
08-20-2010, 10:59 AM
With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.

Brett

bepe
08-20-2010, 12:13 PM
Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.

http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_%28technical_restrict ions%29#Forbidden_characters

I hope that helps a little bit. Based on that I think you should be able to get a regex that should work for just about everyone.

Yes, I've read that page, but not all the page title restrictions are needed for the user.
I've come up with this now:
/^[^_ #:~\/[\]]{1}[^_#:~\/[\]]*$/
[^_ #:~\/[\]]{1} -> for avoiding space as first char
_ -> would be converted to a space in the username
# -> Wiki does not allow it
: -> someone might use a username like 'Talk:ToMe' ... that would be a Wiki Namespace
~ -> Wiki does not allow this sequence: '~~~'
/ -> Name is used in the URL, so we cannot have users with something like "../" or "./" or "/../" in the name... so disallow the '/' or the '.'
[] -> Wiki does not allow it

bepe
08-20-2010, 12:20 PM
With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.

Brett

I did some changes to the login stuff... but even with the old version there should not have been problems if an user name exists in the Wiki User DB already... this mod will just use the existing Wiki user if the VB user exists in the wiki DB already

Can you tell me exactly what username is making the problems? (vb and the one that is in the wiki)

I need to recreate the problem or you send me a link to your forum with one of this accounts that is have problems... I need to look into that

sapphiremagus
08-20-2010, 04:15 PM
Everything seems to working more or less ok.

Couple of things:
1) The nav bar shows a blank tab, instead of Wiki or whatever I've defined as mediawiki_name in Phrases.

2) It seems to have some issues with my website when displaying integrated, such as Chat box EVO loading for enternity.

My site is www.houseofkarrdes.com - Wiki is visible to guests.

EDIT: Also, the sub-nav bar shows: {wiki:raw personal_urls}, which I'm assuming is where things like the user's wiki preferences are supposed to be.

bferrell
08-20-2010, 04:53 PM
I should've looked, I've started from scratch with 1.16 since I'd deleted some users out of the previous versions user table before I realized how bad that was. I've installed the new version on top of 1.16 and I don't see Wiki in the tab either.

http://www.velocityxl.com/wiki

bferrell
08-20-2010, 04:53 PM
oh, and the subtab text is black on only contains "{wiki:raw personal_urls} "

bferrell
08-20-2010, 05:51 PM
Also, for some reason although I am a vb Administrator, and I have the sysop and beaurocrat setting for admins set to use, I don't get the edit option.

bepe
08-20-2010, 07:27 PM
Everything seems to working more or less ok.

Couple of things:
1) The nav bar shows a blank tab, instead of Wiki or whatever I've defined as mediawiki_name in Phrases.

2) It seems to have some issues with my website when displaying integrated, such as Chat box EVO loading for enternity.

My site is www.houseofkarrdes.com - Wiki is visible to guests.

EDIT: Also, the sub-nav bar shows: {wiki:raw personal_urls}, which I'm assuming is where things like the user's wiki preferences are supposed to be.

The old templates did not get overwritten...
- Did you uninstall the old version before installing the new one?
- Did you edid some of the vbMediaWiki templates before installing?

bepe
08-20-2010, 07:30 PM
oh, and the subtab text is black on only contains "{wiki:raw personal_urls} "

Also means some templates did not get overwritten
Check PM

bferrell
08-20-2010, 08:24 PM
Not sure about sapphire, bu I did uninstall, and and did not edit anything before reinstalling. I'll try uninstalling and reinstalling.

Daryn
08-20-2010, 10:26 PM
Just got this installed and I must say I am very impressed. Didn't run into any major issues.

I did notice that when using the Forum Style skin that the My Preferences page didn't inherit the forum's style very well, the background stayed white for example, but for the most part it's looking good.

sapphiremagus
08-20-2010, 11:39 PM
The old templates did not get overwritten...
- Did you uninstall the old version before installing the new one?
- Did you edid some of the vbMediaWiki templates before installing?

I did a full uninstall before installing the new one. I have not touched the templates.

Which templates are they and what should they look like now? I can just fix them manually.

lubbie
08-20-2010, 11:46 PM
Hey, i have a question coz i am not sure if i did understand all the right way. Can i use the Software (mediaWiki) incuded this Addon to "make" my own Wiki or is this just to implement existing WikiPages?
With own Wiki, i mean something like...VaultWiki?

sapphiremagus
08-21-2010, 01:59 AM
Ok, I figured out what was wrong with the nav bar - seems I did modify mediawiki_navbar_link in a previous install to address a different display issue. I reverted the template and the tab shows up fine.

I went through the product xml to see what other templates might be affected but I couldn't find anything that really had to do with wiki:raw personal_urls. The only place I saw it was in the previous mediawiki_navbar_link template so I went ahead and replaced the template I had with what was in the product. Same issue as before. {wiki:raw personal_urls} just glares at me on the sub-bar, heh.

bepe
08-21-2010, 05:45 AM
Just got this installed and I must say I am very impressed. Didn't run into any major issues.

I did notice that when using the Forum Style skin that the My Preferences page didn't inherit the forum's style very well, the background stayed white for example, but for the most part it's looking good.

That's one part that was not possible to overwrite so easily... I need to look into that, but I don't think that it's possible to change that.

bepe
08-21-2010, 05:47 AM
Hey, i have a question coz i am not sure if i did understand all the right way. Can i use the Software (mediaWiki) incuded this Addon to "make" my own Wiki or is this just to implement existing WikiPages?
With own Wiki, i mean something like...VaultWiki?

It will only work with a real MediaWiki Wiki.

bepe
08-21-2010, 05:50 AM
Ok, I figured out what was wrong with the nav bar - seems I did modify mediawiki_navbar_link in a previous install to address a different display issue. I reverted the template and the tab shows up fine.

I went through the product xml to see what other templates might be affected but I couldn't find anything that really had to do with wiki:raw personal_urls. The only place I saw it was in the previous mediawiki_navbar_link template so I went ahead and replaced the template I had with what was in the product. Same issue as before. {wiki:raw personal_urls} just glares at me on the sub-bar, heh.

Could you set me up an admin account, then I can look into it... if yes, send details via PM
I can check all the templates and phrases and I'm also interested why the things did not get overwritten on your forum.

bepe
08-21-2010, 05:51 AM
Not sure about sapphire, bu I did uninstall, and and did not edit anything before reinstalling. I'll try uninstalling and reinstalling.

Perhaps it was not removed, because you edited the template before... not sure...

Same for you:
Could you set me up an admin account, then I can look into it... if yes, send details via PM
I can check all the templates and phrases and I'm also interested why the things did not get overwritten on your forum.

Wayne@R32oc
08-21-2010, 01:07 PM
brilliant bepe. Installed flawlessly. You can view at http://www.r32oc.com

Im a mediawiki noob, never used it before. But whats the quickest and easiest way for members to contribute?

bepe
08-21-2010, 01:54 PM
Every forum member is allowed to change the content of the wiki and I'm sure many of them know how to do it from using http://en.wikipedia.org (it's really the same wiki software).

Just search for a word like "test" in your wiki (left search bar!), if it's not in your wiki already, then you will get a page telling you that you can create that article:Create the page "Test" on this wiki!
Click on that "Test" link -> so you can write the content of that page.

You should make a start and setup some content on the main page by using the "Edit" link above the page content... how too? ... I cannot explain that, you need to do some research about that.
For a start: Help:Contents User's Guide (http://meta.wikimedia.org/wiki/Help:Contents User's Guide)

There are many MediaWiki's out there, and you can look into the source code of the main pages to get some examples.

The wiki syntax is easy to learn and you'll create soon nice articles.

Another thing, you should download/install the Extension:UsabilityInitiative (http://www.mediawiki.org/wiki/Extension:UsabilityInitiative)
Your search field will look nicer and you will get a nicer page editor toolbar.
- download the file from that link and extract the "UsabilityInitiative" folder to the "wiki\extensions" folder.
- Add the following code to the very end of your LocalSettings.php:
# Some lines to add to LocalSettings.php to get these extensions up and running:

# Vector enhancements (CollapsibleTabs, SimpleSearch, EditWarning)
require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
'editwarning' => array( 'global' => false, 'user' => true ),
'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch = true;

# WikiEditor (Toolbar, Toc, Preview, Highlight)
require_once( "$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php" );

# WikiEditor config
$wgWikiEditorModules = array(
'highlight' => array( 'global' => true, 'user' => true ),
'preview' => array( 'global' => true, 'user' => true ),
'toc' => array( 'global' => true, 'user' => true ),
'toolbar' => array( 'global' => true, 'user' => true ),
);
done :)

sapphiremagus
08-21-2010, 05:47 PM
Found a couple other things that don't play nice with certain wiki setups.

My wiki uses short urls (/wiki/Page Name). A lot of the functionality of this product seems to want to use (/wiki/index.php?title=Page Name). This causes the link to try to access (/wiki/Index.php) as a new wiki page.

This occurs primarily in the user profile links and the wiki BB code.

bepe
08-21-2010, 05:50 PM
Found a couple other things that don't play nice with certain wiki setups.

My wiki uses short urls (/wiki/Page Name). A lot of the functionality of this product seems to want to use (/wiki/index.php?title=Page Name). This causes the link to try to access (/wiki/Index.php) as a new wiki page.

This occurs primarily in the user profile links and the wiki BB code.

you need to set the "Path" in the vbMediaWiki options to '../w', that will solve the problem.

sapphiremagus
08-21-2010, 06:46 PM
you need to set the "Path" in the vbMediaWiki options to '../w', that will solve the problem.

... I'm a moron :eek:, thank you :p

bferrell
08-21-2010, 11:36 PM
OK, so I reverted that template, and now the Wiki tab and navbar are OK, but for some reason I still don't get the edit option even though I'm an admin and admins have all YES in WIKI usergroup perms.

Brett

Wayne@R32oc
08-22-2010, 08:26 PM
awesome Bepe, worked a charm thank you! Voted, great support!

Bossland
08-22-2010, 11:52 PM
Cant create any articles as i dont see any option for create ... even i am am admin and everything is set to "YES"

what i dont understand is that setting:

Can Login
No Wiki account will be created, so the user cannot edit or create pages ....

So IF "Can Login" IS == YES i am not able to create any page ?!?!?! how can i then even create something

AfterWorldForum
08-23-2010, 07:15 AM
bepe was a big help in figuring out why the mod was not working correctly on my board (turned out another mod was causing trouble). I'm truly impressed with his servive :)

linuxwhy
08-23-2010, 11:39 AM
it`s fantastic,great!

bepe
08-23-2010, 08:48 PM
Cant create any articles as i dont see any option for create ... even i am am admin and everything is set to "YES"

what i dont understand is that setting:

Can Login
No Wiki account will be created, so the user cannot edit or create pages ....

So IF "Can Login" IS == YES i am not able to create any page ?!?!?! how can i then even create something

The group settings where a but unclear, next RC will change that:
Can View Wiki
Compleatly hide the wiki from the user, but this should only be used for setting up the wiki. If unregisterd users are not able to see the wiki so your wiki will not be visible to search bots also!
Can Edit Wiki
This option should be clear; if set to no, the user will not get login to the wiki and do wiki user is created, but he still can read the wiki.

Back to your problem, I think it has nothing to do with wrong settings...
Did you have an old vbMediaWiki version installed before this one?
I need to take a look, could you send me an link via PM?

puertoblack2003
08-23-2010, 09:06 PM
The group settings where a but unclear, next RC will change that:
Can View Wiki
Compleatly hide the wiki from the user, but this should only be used for setting up the wiki. If unregisterd users are not able to see the wiki so your wiki will not be visible to search bots also!
Can Edit Wiki
This option should be clear; if set to no, the user will not get login to the wiki and do wiki user is created, but he still can read the wiki.

Back to your problem, I think it has nothing to do with wrong settings...
Did you have an old vbMediaWiki version installed before this one?
I need to take a look, could you send me an link via PM?

I'm having that same issue, with fresh installation. some how i can't see settings in wiki

bepe
08-23-2010, 10:07 PM
I'm having that same issue, with fresh installation. some how i can't see settings in wiki

I think I've found your forum... I've registerd a new account and I saw the edit button.
Is it only on your account?

PS: HTC Team ... you might know me, I've made some tools for cooking rom some time ago :D

puertoblack2003
08-24-2010, 04:11 AM
I think I've found your forum... I've registerd a new account and I saw the edit button.
Is it only on your account?

PS: HTC Team ... you might know me, I've made some tools for cooking rom some time ago :D

LOL, no longer on window mobile, I'm on android.. :) but i do use the android kitchen from dsixda..

not to get side tracked, but it appears to be an admin group issue, because if you're a regular member and can see that edit button and i dont see that...I'll tinker around with it.

bepe
08-24-2010, 05:22 AM
LOL, no longer on window mobile, I'm on android.. :) but i do use the android kitchen from dsixda..

not to get side tracked, but it appears to be an admin group issue, because if you're a regular member and can see that edit button and i dont see that...I'll tinker around with it.

I've tried it on my forum and on others with admin accounts... so no idea why it is not working for you. I need to try it on your forum, can u make me admin temporary? ...I send you my account details via PM.

SpankMe
08-24-2010, 08:21 PM
init counters needs to escape the username.

Database error in vBulletin 4.0.6:

Invalid SQL:

UPDATE user SET
wikiedits = '0',
wikicreations = '0'
WHERE username = 'Padraig O'Connor';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Connor'' at line 4

dnk.it
08-24-2010, 10:53 PM
I've tried it on my forum and on others with admin accounts... so no idea why it is not working for you. I need to try it on your forum, can u make me admin temporary? ...I send you my account details via PM.

same problem here, I'm admin but I can't see the edit button and if I use direct link to edit I get this error:

wiki/index.php?title=MediaWiki:Sidebar&action=edit
You do not have permission to edit this page, for the following reasons:

* The action you have requested is limited to users in the group: Users.
* This page provides interface text for the software, and is locked to prevent abuse.

You can view and copy the source of this page:


edit: If I create a new user and give admin permission to it I can see all buttons ( edit, action, etc )....

dnk.it
08-25-2010, 07:55 AM
All works with Google Chrome and primary admin can edit wik etci... the problem is still here with Firefox 3.6.8 ( haven't tried with previous version )

Bossland
08-25-2010, 01:30 PM
I do have the Edit button, but where can is et up a new page ?

bepe
08-25-2010, 03:00 PM
init counters needs to escape the username.

Database error in vBulletin 4.0.6:

Invalid SQL:

UPDATE user SET
wikiedits = '0',
wikicreations = '0'
WHERE username = 'Padraig O'Connor';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Connor'' at line 4

ok... yes, I need to do that... somehow had alpha numerics in the mind when I wrote that.
Thank you very much!

bepe
08-25-2010, 03:04 PM
same problem here, I'm admin but I can't see the edit button and if I use direct link to edit I get this error:

wiki/index.php?title=MediaWiki:Sidebar&action=edit
You do not have permission to edit this page, for the following reasons:

* The action you have requested is limited to users in the group: Users.
* This page provides interface text for the software, and is locked to prevent abuse.

You can view and copy the source of this page:


edit: If I create a new user and give admin permission to it I can see all buttons ( edit, action, etc )....


I have checked all the code... and I've tried to recreate the problem... but no success
Someone of you need to give me access to the forum with an admin account please, without that I cannot fix that
... also I need ftp access to the wiki folder

bepe
08-25-2010, 03:06 PM
I do have the Edit button, but where can is et up a new page ?

There is no button for creating a new page, you just search for an title like "test" in the wiki search box (NOT THE FORUM SEARCH BOX!), if the title does not exist, you get an link to create the page

HolyKiller
08-26-2010, 06:18 PM
tagged and will be installed soon ... thanks !!

daddel80
08-27-2010, 01:35 PM
Hi Bepe,

I tested the installation as the Wiki is on a different subdomain. It's running so far!!

BUT i cannot login. That's the only little issue found. As i'm logging in at the Wiki page or moving already logged in to Wiki it will never log me in.

I know thatt subdomains will not be supported but i need it installed at different subdomains. I would be glad if you can help me out.

If you need a login to my Testenvironment no problem. Just drop me a PM.

Thanks!

Noerenberg
08-27-2010, 02:10 PM
Hi,

what ever i do i cant change the skin.
i get just the standart wiki skin, what the same skins is from wikipedia

Daryn
08-27-2010, 11:57 PM
Yes, I've read that page, but not all the page title restrictions are needed for the user.
I've come up with this now:
/^[^_ #:~\/[\]]{1}[^_#:~\/[\]]*$/
[^_ #:~\/[\]]{1} -> for avoiding space as first char
_ -> would be converted to a space in the username
# -> Wiki does not allow it
: -> someone might use a username like 'Talk:ToMe' ... that would be a Wiki Namespace
~ -> Wiki does not allow this sequence: '~~~'
/ -> Name is used in the URL, so we cannot have users with something like "../" or "./" or "/../" in the name... so disallow the '/' or the '.'
[] -> Wiki does not allow it

Just realized that with this string as the User Registration Regex nobody can create an account. Went back to the plain alpha numeric one for the moment, but it would be nice to get the precise one working at some point.

Praetor1
08-28-2010, 02:08 PM
hi,

I am very new to both Vbulletin and obviosuly vbmediawiki. My question is can vbmediawiki be used for multiple wikis off of the same site?

I have about 5 users on my site that I want each of them to have their own wiki.

Snug
08-29-2010, 12:58 AM
so if my forum url is www.example.com/forums then the wiki needs to be www.example.com/forums/wiki

Rik Brown
08-29-2010, 06:25 AM
This is looking great. Only problem is that our software layout is:

forums.[domain].com
wiki.[domain].com

And that appears to mess up the cookies.

Any chance to support that layout?

Thanks. -- Rik

InfoNirvana
08-30-2010, 11:49 PM
next version will include a bbcode for linking wiki pages
Main_Page


Great feature.


The manual is still in development... and would be very nice if someone with good English knowledge could take a look

Congrats on the excellent manual, nicely done.
Shouldn't the manual use vBMediawiki Vector ?
:)

betts02
09-01-2010, 09:13 PM
Is this working without any edits ?

Grimsqueaker
09-04-2010, 03:20 PM
downloaded + uploaded + configured = awesome..

This rocks dude.... I suspect I am going to have fun and games re usernames, but given the proportion of my members who actually contribute, i can live with the chaos :)

smnet
09-14-2010, 06:46 AM
This is looking great. Only problem is that our software layout is:

forums.[domain].com
wiki.[domain].com

And that appears to mess up the cookies.

Any chance to support that layout?

Thanks. -- Rik

Rick, set your forum cookie domain to '.yourdomain.com' ;)

@dadel80, i would do the same and it should be fine.

smnet
09-14-2010, 07:32 AM
Ok, I've gone through the entire feature list of this product and it seems awesome. The only thing that is stopping me from installling right now is the inability of the forum to automatically create links to articles from text people post in forums, blogs, social groups, etc.

This would be an awesomely powerful addition... plugin?

Thanks Bepe!

Bossland
09-16-2010, 10:50 AM
Database error in vBulletin 4.0.6:

Invalid SQL:

SELECT userid, username
FROM vb_user AS user
WHERE username = 'Chinajade';

MySQL Error : Table 'wiki.vb_user' doesn't exist
Error Number : 1146
Request Date : Thursday, September 16th 2010 @ 01:46:50 PM
Error Date : Thursday, September 16th 2010 @ 01:46:51 PM
Script : http://www.dfsgfdsfds.de/search.php?searchid=289489
Referrer


getting like 2000 of this each day, after i repair the search its ok again and then again 2 days later the same

Bossland
09-16-2010, 03:17 PM
MySQL Error : Table 'wiki.vb_user' doesn't exist


i dont even have that table :( any sollutions ?

Mukashi
09-18-2010, 02:04 AM
When the user in some way accesses the wiki there is automatically a wiki account created. The accounts are bound by the names, not the ID, so that would not be good for your case.

I've already searched for a way to do it by ID, funny thing is that now with the final of 1.16 it looks like it is possible... I'll look into it

If you do find a way to do it via ID, please let me know. If we could get a reliable link going between our forums and wikis...that's a solution we'd pay for.

nestaron
09-18-2010, 01:54 PM
I have multiple forum styles on my site. All but one of them the text color is fine. Is there a way for me to check the text color for just that one forum style.

EDIT: Disregard I figured it out.

Grimsqueaker
09-22-2010, 06:22 PM
Has anyone experienced the following when trying to upload files into the wiki ??


Sorry! We could not process your edit due to a loss of session data


I have another wiki, same version, on the same server which operates with no errors so it is not an issue with php.ini

EDIT: thought i had a solution but not :(

bferrell
09-22-2010, 07:39 PM
Yes, I had to log out and back in, then it processed fine.

Brett

Grimsqueaker
09-22-2010, 07:40 PM
Yes, I had to log out and back in, then it processed fine.

not working here i'm afraid :(:(

AfterWorldForum
09-24-2010, 11:41 AM
Bepe, are you planning on creating this mod for Xenforo as well by any chance? I'd be willing to donate again if so :)

Cadellin
09-25-2010, 08:41 PM
This is probably a rather silly question but is there any chance of you releasing the original skin you had for 4.0 seperately? Our community doesn't use the sidebar so we'd much prefer to go back to having the menu as part of the normal wiki layout.

Thanks

telltot
09-28-2010, 07:51 AM
Hi Bepe,

nice Mod, thank you!

I´ve got a problem with usernames.
German names often contain umlaute (ä, ö, ü).
They can not log in and receives the following message:

Fatal error: Call to a member function getID() on a non-object in /homepages/37/d25485545/htdocs/forum/wiki/includes/vbMediaWikiAuthPlugin.php on line 136

The forum does not run on UTF8.
Because of the hugh number of users and threads it is not convenient to modify the forum into UTF8.
Do you have a solution?

Vbulletin 4.0.7
Wiki 1.16
Mod Vers.1.06 RC

Thanks in advance
Dirk

HolyKiller
09-29-2010, 04:55 PM
Any information about "Final" release? I mean, how much work remaining until "gold" comes out?

Thanks

Holy

Cadellin
09-30-2010, 05:06 PM
Sorry! We could not process your edit due to a loss of session data. Please try again. If it still does not work, try logging out (http://www.twmod.org/wiki/index.php?title=Special:UserLogout) and logging back in.

I'm getting this error when trying to upload images to the wiki - I have managed to upload one image before but since then nothing has worked.

Grimsqueaker
09-30-2010, 05:31 PM
I'm getting this error when trying to upload images to the wiki - I have managed to upload one image before but since then nothing has worked.

disabling the mod and using the wiki standalone rectifies this error so it has to be an issue with how the mod is handling sessions

Cadellin
09-30-2010, 08:28 PM
Thanks for the info Grimsqueaker

Any chance of a fix? Any idea why it worked the first time and no is broken?

der_darkon
10-07-2010, 06:31 PM
What css-files are used for the forum style?

Since i have a very dark theme i need to edit the css but it seems that nothing will change... :(

intelgio2
10-10-2010, 03:38 PM
I am getting an error (actually more like 1.5 pages worth) when installing the product-vbmediawiki.xml file: "Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083..."

I have gone through the setup process twice and have not had any success - keep coming up with the error. I have also attempted to install the file from both the server several times and my local computer.

Any ideas?

Greight
10-10-2010, 06:30 PM
Is there any way we can set a different vB style for Wiki?

InfoNirvana
10-12-2010, 01:40 AM
I think it make much more sense to have the Navigation Panel to the right, not left.
Does this support Wiki Linking yet ? [Page Two]

tssts
10-14-2010, 07:35 PM
I am trying to combine vbMediaWiki with TreeAndMenu (http://www.mediawiki.org/wiki/Extension:TreeAndMenu). The idea is to have folder trees on the left sidebar of MediaWiki.

vbMediaWiki is running fine, but I was not able to make TreeAndMenu in MediaWiki work. My guess: TreeAndMenu requires Monobook, but vbMediaWiki is using vector. The code I have to add to LocalSettings.php is Monobook specific:

$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfNavTree';
function wfNavTree() {
...

Does anybody had an idea what to use instead of MonoBookTemplateToolboxEnd?

Thanks

Lord Doys
10-15-2010, 02:42 PM
when i try to import the product xml i get the following error:

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_par ser.php
#0 F:\xampp\htdocs\forums\includes\class_template_par ser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 F:\xampp\htdocs\forums\includes\adminfunctions_tem plate.php(2863): vB_TemplateParser->validate(Array)
#2 F:\xampp\htdocs\forums\includes\adminfunctions_plu gin.php(545): compile_template('????{vb:styleva...')
#3 F:\xampp\htdocs\forums\admincp\plugin.php(1714): install_product(' #4 {main}

Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in [path]\includes\class_template_parser.php in [path]\vb\vb.php on line 287
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_par ser.php , F:\xampp\htdocs\forums\vb\vb.php, 287, Array ([exception] => Exception Object ([] => Unable to find a class to validate:

and much more...

any ideas? other products are imported just fine

edit: just tried it with a fresh clean install of version 4.0.3 Patch Level 1 (instead of upgraded forum), same error

Darksky
10-17-2010, 08:32 PM
Hi, first of all thanks a lot for this bridge, is very very nice.

I'm experimenting this issue: my vbulletin admin account (primary Aadministrator) is created in wiki but it has not the edit/create rights.
Then i tested with a user with primary group User and all went ok. Also i tested with a custom usergroup and all ok also in this case.

Also, when i click on the special page with the list of WIKI usergroup i see duplicated usergroup. For example, 2 user usergroup...or 2 burocrat usergroup, one of them is translated in italian, the language of vbulletin and wiki installation

Darksky
10-17-2010, 08:55 PM
I'm checking the usergroup right and it seems that Administrator doesn't have the create/edit rights that users have .... hummmm it seems that "high" level users such us Sysop (administrator) and burocrat, do not include also the rights of low level users such as Users. Is it normal ?

crazyace
10-21-2010, 01:45 AM
This seems to be broken in 4.0.8 - It will load but the layout is messed up.

Lord Doys
10-21-2010, 09:37 PM
when i try to import the product xml i get the following error:

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_par ser.php
#0 F:\xampp\htdocs\forums\includes\class_template_par ser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 F:\xampp\htdocs\forums\includes\adminfunctions_tem plate.php(2863): vB_TemplateParser->validate(Array)
#2 F:\xampp\htdocs\forums\includes\adminfunctions_plu gin.php(545): compile_template('????{vb:styleva...')
#3 F:\xampp\htdocs\forums\admincp\plugin.php(1714): install_product(' #4 {main}

Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in [path]\includes\class_template_parser.php in [path]\vb\vb.php on line 287
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_par ser.php , F:\xampp\htdocs\forums\vb\vb.php, 287, Array ([exception] => Exception Object ([] => Unable to find a class to validate:

and much more...

any ideas? other products are imported just fine

edit: just tried it with a fresh clean install of version 4.0.3 Patch Level 1 (instead of upgraded forum), same error

I found out what this issue is
i noticed that that only occurs in 4.03.. in 4.07 i do not have that issue.

the problem lies in the MEDIAWIKIFORUM template in the product xml

if you delete row: 162 through 171 from the product xml it loads fine, and everything will work.

to get back the missing CSS statements, just copy the same part from FORUMHOME into the MEDIAWIKIFORUM template

that should do it

Lord Doys
10-22-2010, 10:20 AM
This seems to be broken in 4.0.8 - It will load but the layout is messed up.

yes i noticed...
many vbulletin templates have been altered.. i am still thinking if it were good or not...
guess ill have to play around with the style editor again

Lord Doys
10-22-2010, 11:52 AM
This seems to be broken in 4.0.8 - It will load but the layout is messed up.

its quite easy to fix.
It seems that the sidebar.css is not loaded in the MEDIAWIKIFORUM template.

replace the line below
{wiki:raw headinclude}

with
{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}