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-13-2010 11:29 AM

Hy TigerXtrm

It works with 1.15.1, never tried with .2. The Path must be relative and do not change anything, than the red part, e.g.:
Code:

## vbMediaWiki (https://vborg.vbsupport.ru/showthread.php?t=235342)
define( VB_INSTALL_PATH, '../forum' );
require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );

  • use ../forum if you have //server/.../wiki and //server/.../forum
  • use .. if you have //server/.../wiki and //server/.../ (means Wiki is installed in a subfolder of the forum
  • etc.
=> The server installation path is needed, not the http://..-Path!

It should work even if you put above lines at the end of LocalSettings.php ... perhaps a conflict with other extensions?

Greetings, Bruno

TigerXtrm 03-13-2010 11:55 AM

I'm pretty sure the path is correct:

PHP Code:

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

Forum is in the /forum folder and the wiki is in the /forum/wiki folder.

But all I get when try to get on the wiki is a blank screen.

BRotondi 03-13-2010 12:25 PM

Does your wiki work itself? Could you poste a link to your forum?

TigerXtrm 03-13-2010 02:11 PM

Yeah, sure.

http://backstagemedia.net/media-portal/forum

If I take out the two lines of PHP code the wiki works just fine, but it's obviously not linked to the forum in any way (log in or style)

BRotondi 03-13-2010 02:25 PM

If you take out the two lines, wiki is still http://backstagemedia.net/media-port...hp/Hoofdpagina ?

The /index.php/Hoofdpagina seems strange...

TigerXtrm 03-13-2010 04:46 PM

Well you can go to http://backstagemedia.net/media-portal/forum/wiki but you'll end up on the same page and the adres will just rewritten to that.

Gargi 03-13-2010 07:13 PM

New Wiki article error: When I click on New Wiki Articles I get this error message:

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

Also when I click on the users profile .View all wiki articles by ... I get no result.

Integration itself works fine. Just the search thing is a bit buggy on my installation.

cu
Gargi

Argyle 03-13-2010 10:03 PM

Simple solution for my problem - if $_SERVER['SCRIPT_FILENAME'] is not equal to the wiki index file, run my queries.

I figure its something to do with something required to run in the main page being swapped out for the wiki content... but this solution works and is as "elegant" as any other of my custom queries :)

rockinaway 03-14-2010 08:14 AM

Is there any way that when a new wiki article is created, the user can select a forum in which a post will also be submitted. This post would redirect users from the forum to the article.

Is this possible?

McAtze 03-14-2010 12:16 PM

1 Attachment(s)
THX for this great MOD .. but i've tried it like you describe and it doesnt work.

Attachment 114103

What is wrong ??


All times are GMT. The time now is 07:46 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.01482 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_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