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)

Desiderius 02-23-2010 12:59 PM

Quote:

Originally Posted by starman? (Post 1989575)
Which template did you edit to do that?

I put a link into the navbar template!

Dekard 02-23-2010 01:00 PM

Really, really terrific mod. Thank you!

ShawnV 02-23-2010 02:53 PM

# Wiki search results are UTF8 and so are not shown right on non UTF8 boards (fixed for next release)

When do you think you might have the next release out?

E.T. 02-23-2010 08:33 PM

Great mod !!, but unfortunally I don't get it to work. keeps saying:

Code:

Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service
The following .htaccess file is in the wiki dir and also in the forum dir

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M
AddHandler x-httpd-php5 .php
php_flag magic_quotes_gpc Off

Is there anything else wrong ?

Please advise.

Best Regards,

Marcel

benjaminlwells 02-23-2010 11:51 PM

Looking forward to advances in this script. So far, it's amazing! If anyone wants to see it in action:

http://alphaflight.net/alphanex/

daddel80 02-24-2010 10:18 AM

Quote:

Originally Posted by E.T. (Post 1989919)
The following .htaccess file is in the wiki dir and also in the forum dir

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M
AddHandler x-httpd-php5 .php
php_flag magic_quotes_gpc Off


I switched off php_flag magic_quotes_gpc directly in php.ini not in .htaccess . Check sucess of your setting in Admincp>Maintenance>PHP Info. Local and Master Value is switched off for me.

E.T. 02-24-2010 11:24 AM

Thanks, created a php.ini file with the settings and now it is working.

Regards,

Marcel

nitra1000 02-24-2010 06:53 PM

Noticed a bug in IE7 (and IE8) in compatability...

The Nav, top set of menu's, and footer (every wiki element but the acutal body) drop down the page... can be seen here - http://leicestertalk.net/wiki/index.php?title=Main_Page

benjaminlwells 02-25-2010 12:19 AM

Not sure if it's connected to the plugin or not, but I have a basic MW installtaion, plus this plugin, and have been getting an error when I start typing in the MW search box:

Code:

DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Bad Request

unknown function wfSajaxSearch

I googled it, and came up with it possibly having to do with an ajax search extension for MW, but I've installed no such thing. Tried $wgAjaxSearch = false; in my LocalSettings, but no joy. Anyone else bumping into this with this plugin?

ShawnV 02-25-2010 04:48 AM

Awesome mod, updated to RC thanks.

- Wiki tab on the NavBar
- Personal Wiki Links under the NavBar

The wiki is on the navbar however it is not selected or active while in the wiki, and the personal wiki links under the navbar are also missing, guessing due to the other problem.

Mod conflict perhaps?

Rene Kriest 02-25-2010 05:27 AM

This is huge!

Mod of the year definitely. :)

Thx for the awesome work.

CCux 02-25-2010 08:05 AM

Hi bepe,
great work so far. There is one problem after upgrading to 4.0.2RC. The wiki edits and pages created in the user profile field are gone. is this correct? Did you remove them?

bepe 02-25-2010 08:55 AM

Quote:

Originally Posted by CCux (Post 1991043)
Hi bepe,
great work so far. There is one problem after upgrading to 4.0.2RC. The wiki edits and pages created in the user profile field are gone. is this correct? Did you remove them?

Thank you! ... no idea how I missed that one :$

bepe 02-25-2010 09:02 AM

ok, RC 2 is fixing that stats problem

CCux 02-25-2010 09:51 AM

Great, installed and the stats are back again.

Honk0815 02-25-2010 10:10 AM

hmm my stats isnĀ“t back...

Using vb4.0.1 and 4.0.2 all the same

dadams982 02-25-2010 02:17 PM

Quote:

Originally Posted by Honk0815 (Post 1991114)
hmm my stats isn?t back...

Using vb4.0.1 and 4.0.2 all the same

I believe this is updated for 4.0.2 and it has quite a few code changes from 4.0.1. So that may be your conflict.

daddel80 02-25-2010 04:25 PM

Hi bepe,

as in the readme i can read that subdomains will be supported. I have tested this but without success. The problem is that the skin will not correctly be loaded.

i added the full path VB_INSTALL_PATH without the trailling slash.

magmf 02-25-2010 04:31 PM

everything is working for me except search can you take a look bepe ?

http:/under-linux.org/wiki

ShawnV 02-25-2010 04:38 PM

bepe, also on a center fixed width site, the printable version is loading aligned left side.

Cust0ms 02-25-2010 05:49 PM

Hello
My skin has not been integrated with Wiki. When I click "Wiki" button in navbar I see a wiki homepage (no vBulletin's header). I've tried on Chrome and Safari.

LuckyNeo 02-25-2010 05:57 PM

I did not understand that's the item:
"Upload the contents of the" wiki_upload "directory into your wiki root directory.
Add this line to the very end of your LocalSettings.php: "
Where this directory wiki?
I need to do it yourself at the root of the forum or somewhere to get and install?

Please'll show:)

Big-Pete 02-25-2010 06:17 PM

The directory of the wiki is wherever you installed mediawiki.. Google MediaWiki, download and install if you have not done so already.. :)


@bepe: bepe, everything seems to be working great now with the exception of the width of the skin you included, all the default skins are ok.. For some reason there is a slider at the bottom of the screen now as the forum is way to wide to fit on a page, when I select another skin its fine and the slider goes? any ideas how to limit width of text??

BRotondi 02-25-2010 07:01 PM

@Cust0ms: In LocalSettings search for $wgDefaultSkin = ... and set it to
Code:

$wgDefaultSkin = 'vbmediawiki';
And... this one is perhaps the bigger problem: Every user who changed his skin in the MW settings must change manually to vbmediawiki...

@bepe: I think you did not mention this anywhere, had the same problem :).


And another one: If you set your vB-stylevar titleimage e.g. to "/images/logo4.png", you have to change it e.g. to "../images/logo4.png", since the header will create something like src="../forum/../images/logo4.png".

Greetings & 1000 Thanks for this mod! (Now installed on the server and debugging / fine tuning)
Bruno

BRotondi 02-25-2010 07:08 PM

The top right link "My Profile" links to the non existant "wiki/members/..." when I am in the wiki (and correct to "forum/members/...") when I am in the forum.

bepe 02-25-2010 07:26 PM

Quote:

Originally Posted by BRotondi (Post 1991462)
The top right link "My Profile" links to the non existant "wiki/members/..." when I am in the wiki (and correct to "forum/members/...") when I am in the forum.

that is because you have this special link to members pages:
http://xxx.net/forum/members/67-bepe
but it should be:
http://xxx.net/forum/member.php?67-bepe

I'm running the VB header from the wiki location... that means I have to change all links to source files like images, css, php, ...

I'm using this regex for it:
$temp = preg_replace( '/(src|href|action)="([^:"<>]+\\.(php|gif|jpg|png|js|ico|css))/', '\\1="'.$base.'/\\2', $temp );

means that u need to have one of this in the link: ". + php|gif|jpg|png|js|ico|css"
then my code will correct the link

bepe 02-25-2010 07:28 PM

but u are right... why check for the file extension... every relative link needs to be corrected I think... need to check that

BRotondi 02-25-2010 07:38 PM

Quote:

Originally Posted by bepe (Post 1991486)
but u are right... why check for the file extension... every relative link needs to be corrected I think... need to check that

These 'members'-Links are default with the default-'Mod Rewrite Friendly URLs' rewrite-.htaccess. If you can change this, its fine. But be aware: Not only the ending changed, there is also the s: /member.php? -> /members/

BRotondi 02-25-2010 07:41 PM

(deleted)

bepe 02-25-2010 07:43 PM

Quote:

Originally Posted by BRotondi (Post 1991490)
These 'members'-Links are default with the default-'Mod Rewrite Friendly URLs' rewrite-.htaccess. If you can change this, its fine. But be aware: Not only the ending changed, there is also the s: /member.php? -> /members/

perhaps u can try if it is working better...
open vbMediaWiki.php with some text editor and change line 379 from:
PHP Code:

$temp preg_replace'/(src|href|action)="([^:"<>]+\\.(php|gif|jpg|png|js|ico|css))/''\\1="'.$base.'/\\2'$temp ); 

to:
PHP Code:

$temp preg_replace'/(src|href|action)="([^\/:"][^:"]+)"/''\\1="'.$base.'/\\2"'$temp ); 

(this both code parts are one line! ... this forum is breaking them, because they are too long)

Max Kwiatkowski 02-25-2010 08:16 PM

Thanks @bepe, I've sent you $10 to paypal. :)

BRotondi 02-26-2010 05:25 AM

+ 10$ from here :)

BRotondi 02-26-2010 05:39 AM

Quote:

Originally Posted by bepe (Post 1991496)
open vbMediaWiki.php with some text editor and change line 379 ...

Thanks! This works for 'Rewrite Friendly URLs'.


@all: Who else is running vbMediaWiki on his server? (Mine: sinnimleben.net/wiki) More exemples would make it easier to debug / see where the problem is and perhaps report bug and solution all together.

Bruno

BRotondi 02-26-2010 07:01 PM

O.k. Found another site running vBMediaWiki and this way also the point, breaking the template navbar on my site: vBMediaWiki leads the vB-variable $relpath to "wiki/Article" instead of "../wiki/Article", so {vb:raw relpath} cannot be used in the navbar for wiki pages.

This happens in the function fetch_relpath (class_core.php), since $basepath ist not the forum-base any more, but the wiki-base...

Workaround: Use
Code:

<vb:if  condition="THIS_SCRIPT == 'mediawiki'">/</vb:if>{vb:raw relpath}
(on your site perhaps ../ or even something else).

Bruno

Stubbed 02-26-2010 09:03 PM

Wow bepe, you've made massive progress in such a short time!

Just prepping my install for vb4 upgrade (Waiting for skin developer to finish) and have a couple of questions.

I changed the 'HTML Character Set' to utf-8 and don't appear to be having any ill effects. I use english however, is this only a problem on non-english languages?

Secondly, I've had my username regular expression as ^[A-Z0-9 ]+$ for the past few years, is allowing a space going to cause any problems?

BRotondi 02-27-2010 11:27 AM

Quote:

Originally Posted by ShawnV (Post 1991524)
Hey,

Saw your post, also having a problem with the navbar, what plugin did you find that was causing a problem, perhaps I have the same?

My problem is the navbar doesn't register that your even in wiki nor do the sub menu load.

Hi Shawn

It's self made. I rewrote my posting vbMediaWiki 4.0.2 RC 2 #274 and deleted the old one which was unclear. I think, you have another Problem, but if your modifications also use {vb:raw relpath}, perhaps it helps replacing them with
Code:

<vb:if  condition="THIS_SCRIPT ==  'mediawiki'">/</vb:if>{vb:raw  relpath}
... But first deactivate each other Add to see which one causes the problem.

Good Luck!
Bruno

ShawnV 02-27-2010 02:55 PM

Hey Bruno,

I have already tried disabling every mod on my site and still cannot find what is causing this problem, its a fresh 4.0.2 install, not upgrade from the 3.x series. I have checked and reverted every template, checked all file uploads, reinstalled product, maybe there is a issue with the suite, ergo; CMS and blogs.

I will try your solution, I need this MOD.

Thanks much. :)

ShawnV 02-27-2010 03:00 PM

Quick question: on the database, how many of you are using the new experimental binary option or did you go with the backwards compatible UTF-8?

Also myisam or innob?

BRotondi 02-27-2010 03:42 PM

Hi Shawn

First your wiki must run even without this mod. Can you post or PM a link? I use MediaWiki with
Code:

# MySQL table options to use during installation or update
$wgDBTableOptions  = "ENGINE=InnoDB, DEFAULT CHARSET=binary";

(... ngh... where can I see further settings??)

Greetings, Bruno

ShawnV 02-27-2010 04:02 PM

Oh the wiki was fine as stand alone, no link at the moment as I decided to reinstall and changed the engine to MyIsam since my server backup only supports that and not InnoDB. I also went with the binary.


All times are GMT. The time now is 09:11 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.02855 seconds
  • Memory Usage 1,835KB
  • 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
  • (8)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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