Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbWiki Standard - vBulletin+MediaWiki integration Details »»
vbWiki Standard - vBulletin+MediaWiki integration
Version: 1.3 RC5, by ElfMage ElfMage is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.4 Rating:
Released: 01-11-2007 Last Update: 09-27-2007 Installs: 226
Additional Files  
No support by the author.

Update:

9/28/2007: vbWiki Std v1.3 RC5 is now available for download. This version adds compatibility with MW 1.11.0+

5/17/2007: vbWiki Std v1.3 RC4 is now available for download. This version is compatible with MW 1.10.0+ and vBulletin 3.6.6+

1/21/2007: vbWiki Std v1.0.2 RC3 is now available for download. This version fixes the 'session error' that used to happen on some installations of MediaWiki 1.9.x.

Description:

vbWiki Standard is the lite version of vbWiki Pro. vbWiki Standard allows the integration of vBulletin and MediaWiki user authentication.

(vbWiki Pro is a commercial product that, in addition to the functionality found in vbWiki Standard, provides full skin integration, enhanced user management, Admin CP, editing of wiki skin in vBulletin's Style Manager, among other features.)

Why should you add a wiki to your forums?

Forums are great for community building with their high level of interactivity. Successful forums have hundreds or thousand of concurrent users creating and replying to threads.

However due to this very reason the more your forums grow the more "collective knowledge" is scattered throughout the thousands (or hundreds or millions) of threads in your forums. Making it difficult for users to find and use.

A wiki is not that good at community building, but it is a great medium to centralize this 'collective knowledge'. Enabling you to create an 'ecosystem of information' (quoting pipin ) maintained and contributed by your users.

The idea behind vbWiki (both Standard and Pro) is to enable the seamless integration between these two packages (vBulletin and MediaWiki) side-by-side in your community. You (and your users and community) get the best of both worlds.

Or so the theory goes...

Features:
  • Single sign-on for vBulletin and MediaWiki (users log in only once)
  • Supports mapping of vBulletin usergroups to MediaWiki user roles
  • Users viewing wiki pages are shown in vBulletin's "What's going on?" section (both guests and registered users)
  • Supports auto-authentication, users who choose to be "remembered" are logged in upon visiting the site to both vBulletin and MediaWiki.
Installation:

These installation instructions do not apply to vbWiki Pro. Refer to vbWiki Pro installation instructions for more information.

MediaWiki and vBulletin must be installed and properly working before installing vbWiki. MediaWiki can be downloaded here.
  • Create a new directory in your forums directory named vbWiki.
  • Upload the content of the installation package to this new directory.
  • Rename the file vbWiki_Init.php-dist to vbWiki_Init.php
  • Open the file LocalSettings.php found in your MediaWiki directory in a text editor and at the very end find the following line and remove it if present:
PHP Code:
?> 
  • Add the following code at the end of the file (entering the correct directory path):
PHP Code:
require_once "/absolute/path/to/your/forums/vbWiki/vbWiki_Init.php"
Troubleshooting:

If you run into any trouble installing vbWiki (blank page, logins not working, etc.), follow these instructions to temporarily turn on vbWiki's Diagnostic Tools.

Open vbWiki_Init.php (or vbWikiPro_Init.php) and find this line:

PHP Code:
$run_vbWikiPro_diag_tools false
And change it for this:

PHP Code:
$run_vbWikiPro_diag_tools true
Navigate to the wiki home page, and see the results.

Changes:
  • 0 vBulletin files to Edit
  • 1 MediaWiki file to Edit
  • 10 vbWiki Files to Upload
Requirements:
  • vBulletin v3.5.4 (version 3.6.x recommended)
  • MediaWiki 1.6.8+ (recommended 1.7.x+).
  • PHP4+
Uninstalling...
  • To uninstall vbWiki Standard simply remove (or comment) the line added to LocalSettings.php.
  • Optionally remove the directory vbWiki from your forums directory.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 04-15-2007, 06:29 PM
Rehven Rehven is offline
 
Join Date: Dec 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ElfMage View Post
User group mapping in the Standard version is done through vbWiki_Init.php.

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

PHP Code:
$g_vbWiki_Usergroup_Mapping            = array (
            
/*Administrators*/    => "sysop,bureaucrat",
            
/*Registered Users */    => "editors"
    
); 
Thanks.
First, great product ElfMage =)

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

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

Lots of questions =)

Thanks =)


EDIT: OK I've changed my wiki LocalSettings.php to deny everyone except Sysops and Bureaucrats, but ordinary users can still go to the Main Page (they just get a Permission Error page). I'd like to have non-Sysops/Bureaucrats not even load up the wiki Main Page, possibly redirect to a specific error page. Can this be done with vbWiki?
Reply With Quote
  #93  
Old 04-17-2007, 09:06 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rehven View Post
First, great product ElfMage =)
Thanks, appreciate the feedback.

Quote:
Originally Posted by Rehven View Post
Using Standard version, I've got my vB group mappings going fine. But how do I restrict wiki access to only certain vB groups? During testing and data-population I want only certain groups to have wiki access.
EDIT: Removed Mapping instructions, just realized you had already posted this..

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

Quote:
Originally Posted by Rehven View Post
Do I make a group in LocalSettings.php and restrict access there? How will that prevent people seeing the Main Page? Is there actually a way to restrict access to the main page?
For instance, if you want to keep all users from viewing any page in your wiki you do use the following:

PHP Code:
$wgGroupPermissions['*'    ]['createaccount']   = true;
$wgGroupPermissions['*'    ]['read']            = false;
$wgGroupPermissions['*'    ]['edit']            = false;
$wgGroupPermissions['*'    ]['createpage']      = false;
$wgGroupPermissions['*'    ]['createtalk']      = false
'*' means unregistered/not-logged in.

But you could easily create custom groups as well.

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

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

PHP Code:

if (!$wgUser->getID())
    
exec_header_redirect("http://url/to/page/where/unregs/should/go"); 
Similarly, you could check for regular vBulletin usergroups:
PHP Code:

if ($vbulletin->userinfo['membergroupid'] != 6)
    
exec_header_redirect("http://url/to/page/where/non-admins/should/go"); 
Not sure if this answer your questions (or if these work.. ). Let me know in either case.

Thanks.
Reply With Quote
  #94  
Old 05-14-2007, 10:11 PM
rfikki rfikki is offline
 
Join Date: Nov 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/med...nticMediaWiki/
http://ontoworld.org/wiki/Help:Installation
Reply With Quote
  #95  
Old 05-15-2007, 03:02 AM
CHIPIT195 CHIPIT195 is offline
 
Join Date: Apr 2007
Location: California
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...
Reply With Quote
  #96  
Old 05-15-2007, 03:37 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rfikki View Post
Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/med...nticMediaWiki/
http://ontoworld.org/wiki/Help:Installation
We haven't tested this extension. However from briefly looking at its description, it seems that it is more involved in the parsing and searching of wiki articles. If this is the case vbWiki will work fine with it (user logins, etc).
Reply With Quote
  #97  
Old 05-15-2007, 03:38 PM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CHIPIT195 View Post
Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...
Support for MW 1.10.0 was added to vbWiki Pro version 1.3 RC3. We will be releasing the corresponding vbWiki Standard version soon.
Reply With Quote
  #98  
Old 05-16-2007, 04:57 PM
rfikki rfikki is offline
 
Join Date: Nov 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: Cannot modify header information

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

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

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

Any help appreciated....

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10
Reply With Quote
  #99  
Old 05-16-2007, 08:47 PM
siriuxs siriuxs is offline
 
Join Date: Nov 2005
Location: Italia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an error: http://www.pchs.it/wiki-pchs/

Why?

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

Please help me
Reply With Quote
  #100  
Old 05-17-2007, 03:13 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rfikki View Post
Warning: Cannot modify header information

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

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

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.
Hi, did you add the require_once at the end of LocalSettings.php? Could you PM me a link to your site?

Thanks.

(P.S. you can access our support forum over here: vbWiki Pro Installation & Support, or the ticket system at: Premium Support Portal)
Reply With Quote
  #101  
Old 05-17-2007, 03:14 AM
ElfMage ElfMage is offline
 
Join Date: Jul 2006
Location: Miami
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by siriuxs View Post
I have an error: http://www.pchs.it/wiki-pchs/

Why?

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

Please help me

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

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06719 seconds
  • Memory Usage 2,352KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete