vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - vbWiki Standard - vBulletin+MediaWiki integration (https://vborg.vbsupport.ru/showthread.php?t=136242)

SuperGLS 07-15-2008 02:30 PM

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

Warlord 07-16-2008 08:33 PM

Anyone well versed on installing the extensions, variables (aka magic words) and common templates that Wikipedia uses?

touba 07-20-2008 11:02 AM

Quote:

Originally Posted by Michael Morris (Post 1571595)
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 :confused:

what's wrong ?
_i use vbSEO

Warlord 08-06-2008 01:59 PM

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?

LennySh 08-07-2008 07:27 PM

Quote:

Originally Posted by Warlord (Post 1592659)
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?

LennySh 08-08-2008 12:27 PM

Quote:

Originally Posted by Michael Morris (Post 1570688)
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...:confused:

Warlord 08-09-2008 01:47 AM

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.

Ba$im 08-09-2008 02:04 AM

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

Emmett Brown 08-09-2008 01:29 PM

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.

LennySh 08-09-2008 05:24 PM

Quote:

Originally Posted by Emmett Brown (Post 1594769)
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!:cool:


All times are GMT. The time now is 11:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01355 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete