vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - [obsolete!] vbMediaWiki 4.0.2 RC 3 (https://vborg.vbsupport.ru/showthread.php?t=235342)

BRotondi 03-12-2010 06:01 AM

@Scan Cape Cod: Disable other AddOns and Extensions. This is not caused by vbMediaWiki alone. Finding a solution is easier if you see what caused it.

@St0rmNet: Logo has been cut of in the skin "vbMediaWiki". Search for
Code:

    <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
in "vbMediaWiki.php" and paste the following lines (from "MonoBook.php") before:
Code:

    <div class="portlet" id="p-logo">
        <a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
            ?>href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php
            echo $skin->tooltipAndAccesskey('p-logo') ?>></a>
    </div>

This is not all the solution, but gives you a first step... Poste the solution when finished!

Greetings and good success!
Bruno

BRotondi 03-12-2010 06:19 AM

O.K. Another solution with changed <div>: Put
Code:

    <div id="p-Spezial" class="generated-sidebar portlet">
        <a href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"><img src="<?php $this->text('logopath') ?>"></a>
    </div>

before
Code:

    <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
in vbMediaWiki.php and then use FireBug for the customisations. This gives you a better starting point, since the original Code will put the logo over the vB-header.

Spinball 03-12-2010 08:21 AM

Is it possible to tweak this mod so that it works with 3.8.2? (I'm not going to upgrade to vB4).

BRotondi 03-12-2010 09:31 AM

Sure somekind... if someone has time and energy to do it... You can use MediaWiki/vBulletin Single Sign-On for single login, but nothing for "singe skin"...

TigerXtrm 03-12-2010 10:11 PM

I get this error after installing everything:

Code:

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

BRotondi 03-13-2010 06:51 AM

I think you made something wrong with
Quote:

3. Add this two lines to your 'wiki/LocalSettings.php':

Argyle 03-13-2010 09:21 AM

Quote:

Originally Posted by BRotondi (Post 2001685)
Hmm... try to disable all other vB-addons. Haven't seen this on other installs...

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

Argyle 03-13-2010 09:36 AM

Scratch that... it doesn't like the way I put two SQL queries into one of the SevenSkins leftcolumn plugins. I'll figure something out. Thanks for your time.

TigerXtrm 03-13-2010 10:04 AM

Quote:

Originally Posted by BRotondi (Post 2002643)
I think you made something wrong with

Well I added this:

PHP Code:

defineVB_INSTALL_PATH'..' );
require_once( 
"$IP/includes/AuthPlugin_vbMediaWiki.php" ); 

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

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

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

TigerXtrm 03-13-2010 11:13 AM

Okay, I think the problem here was that there were no quotes around the VB_INSTALL_PATH. I added them but now I just get a blank screen. Gaah!


All times are GMT. The time now is 07:40 PM.

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.01720 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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