Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #302  
Old 07-15-2008, 02:30 PM
SuperGLS SuperGLS is offline
 
Join Date: Nov 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks.

However, there doesn't seem to be any instructions available on the steps to install vbWiki Standard (in the download from nuHit it gives you a link to the vbWikiPro installation) and a Google search doesn't bring anything up either.

Are all the files simply uploaded to the MW directory?

Wait, is this the right instructions?

http://www.nuhit.com/products/vbwiki-installation.html
Reply With Quote
  #303  
Old 07-16-2008, 08:33 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone well versed on installing the extensions, variables (aka magic words) and common templates that Wikipedia uses?
Reply With Quote
  #304  
Old 07-20-2008, 11:02 AM
touba touba is offline
 
Join Date: Nov 2006
Location: Cannes (FR)
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris View Post
Yes. If you run into problems I will try to help as I find the time.
HI,

I do what you wrote on post298 but i always have a blank page when i go to
(before i do your correction in arcane file, i had the same problem)

www.board.com
/vbWiki/vbWiki.php

and when i try

www.board.com
/vbWiki

i have a forbidden message

what's wrong ?
_i use vbSEO
Reply With Quote
  #305  
Old 08-06-2008, 01:59 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm running

MediaWiki 1.12
vB Version 3.6.8

I installed this hack and it works but it's kind of buggy. Every once in a while it will just log you out when you try to go to the Wiki. Anyone know what's up with that?

Also, this version says it will show users viewing the wiki in the active users. It may be doing that, to tell the truth I'm not sure if it is or not because when I click on active users there does seem to be more active users than normal, but it doesn't show where the users are on the Wiki. Seems like it just shows them as browsing the forum index? Anyone able to mod this so that it will actually show where (what article) on the wiki these users are?
Reply With Quote
  #306  
Old 08-07-2008, 07:27 PM
LennySh's Avatar
LennySh LennySh is offline
 
Join Date: Dec 2007
Location: Garland, NC
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warlord View Post
Ok, I'm running

MediaWiki 1.12
vB Version 3.6.8

I installed this hack and it works but it's kind of buggy. Every once in a while it will just log you out when you try to go to the Wiki. Anyone know what's up with that?
Just installed this yesterday, and it runs good it seems, but I too am experiencing the log-out problems. And I do stay logged in, and save cookies... Any ideas?
Reply With Quote
  #307  
Old 08-08-2008, 12:27 PM
LennySh's Avatar
LennySh LennySh is offline
 
Join Date: Dec 2007
Location: Garland, NC
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris View Post
Ok, I've got this down to something reasonably easy to do, but it is still a hack as there seems to be bad code floating about :\

I have managed to narrow down the edits to one file - arcane_vbulletin_core.php

In that file find this code

PHP Code:
// Include vBulletin Engine
    
if ($g_vbWiki_StyleId_Override 0)
    {
        
define('VB_AREA''Forum');
        require_once(
'./includes/init.php');
        
$vbulletin->options['styleid'] = $g_vbWiki_StyleId_Override;
        
$vbulletin->options['allowchangestyles'] = false;                    // ignore user styles
        
$vbulletin->userinfo['styleid'] = 0;
    }
    
    require_once(
'./global.php');
    require_once(
'./includes/functions_login.php');
    require_once(
"./includes/functions.php");                // vbdate
    
require_once("./includes/functions_forumdisplay.php");
    require_once(
"./includes/functions_newpost.php");
    require_once(
"./includes/adminfunctions.php" ); 
A LOT of libraries are being included there, and I *think* most of them are only used by the pro-integration. I changed that whole block to the following.

PHP Code:
    require_once('./global.php');

    if ((empty(
$_SESSION['wsUserID']) || empty($_SESSION['wsUserName']) || empty($_SESSION['wsToken'])) 
        && !empty(
$_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName']))
    {
        
$_SESSION array_merge$_SESSION$db->query_first("SELECT 
            user_id AS wsUserID,
            user_name AS wsUserName,
            user_token AS wsToken
            FROM "
.$wgDBname.".".$wgDBprefix."user
            WHERE user_name = '"
.addslashes($_COOKIE[$wgDBname.'_'.$wgDBprefix.'UserName'])."' LIMIT 1"));
    } 
That should fix this plug in to work with mediaWiki 1.12 and vbulletin 3.7 HOWEVER I do not guarantee the pro version will work and I also suspect that users with cookies disabled or blocked will still experience log out troubles.
MediaWiki 1.12
vB Version 3.7.2

I'm still having log out issues, and do not have any problems with my cookies. I installed the WiKi database into a different database than my forums database. So I also did not use the Database prefix either. Is this maybe causing a problem? Lots of my user's are having this trouble with the cookies cleared thingy...
Reply With Quote
  #308  
Old 08-09-2008, 01:47 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried the fix from post 298 as well and all it did was give me a shit ton of errors so I changed it back to the orginal format. ElfMage is on indefinite hiatus. We need a good coder to come in and pick up where he left off. It's a shame really, because this hack is awesome and I definitely would've paid for the full version.
Reply With Quote
  #309  
Old 08-09-2008, 02:04 AM
Ba$im Ba$im is offline
 
Join Date: Apr 2007
Location: Saudi Arabia
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if I have install my forum as http://forums.3walim.com and want install wiki as subdomain wiki.3walim.com can do integration while bothe wiki and forums on same server?
also if they wasn’t on the same server can integration done?

thanks so much in advance
Reply With Quote
  #310  
Old 08-09-2008, 01:29 PM
Emmett Brown Emmett Brown is offline
 
Join Date: Nov 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey all,

After searching I managed to find this thread

http://www.nuhit.com/forums/vbwiki-p...n-problem.html

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

Put // infront of the following lines

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

So it should be

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

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

I have cleared my cookies, restarted my browsers (both IE and Firefox) and it's working for me everytime now.
I tried it on my vBulletin and I don't seem to have the log out problem anymore. However, the following was also mentioned

Quote:
works, which is great. But now there is another issue (although a small one). Even though it is officially logged out of vbulletin and mediawiki, if you visit the mediawiki it still shows as being logged in (eventhough it really isn't).

In the upper-right hand corner, it still shows the old user and the logout button. It's a small thing, but the last step to get it working 100%.

Added Note: If I manually delete my cookies in the web browser, then it seems to work fine. But I would have to manually delete my cookies everytime.
BUT I haven't seen that problem yet.

I just applied this "fix" and haven't tested it too much, but as mentioned, first results seems to be that commenting out that code fixes the logout bug.
Reply With Quote
  #311  
Old 08-09-2008, 05:24 PM
LennySh's Avatar
LennySh LennySh is offline
 
Join Date: Dec 2007
Location: Garland, NC
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Emmett Brown View Post
Hey all,

After searching I managed to find this thread

http://www.nuhit.com/forums/vbwiki-p...n-problem.html



I tried it on my vBulletin and I don't seem to have the log out problem anymore. However, the following was also mentioned



BUT I haven't seen that problem yet.

I just applied this "fix" and haven't tested it too much, but as mentioned, first results seems to be that commenting out that code fixes the logout bug.
Thanks a bundle!!! I'm testing it now, I'll report my results!
Reply With Quote
Reply

Thread Tools

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 10:42 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.07549 seconds
  • Memory Usage 2,346KB
  • 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
  • (6)bbcode_php
  • (6)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