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 02-27-2010 06:22 PM

[Try MySqlDumper, the best SQL-Backup I know (free).]

ShawnV 02-27-2010 09:52 PM

Server side auto backup, I use shell for local backups. I'll check that out however, thanks.

benjaminlwells 02-28-2010 01:34 AM

I just realized when going to make a tutorial, that my edit toolbar is gone after installing this!! I checked in my prefferences and "show edit toolbar" is checked. HELP!

BRotondi 02-28-2010 04:54 AM

Can you post a link to your vB? Or use FireBug / see generated HTML to check whether some paths are beeing brocken like
{vb:raw relpath} above

ndahiya 02-28-2010 12:16 PM

hi bepe,

i installed this replacing the 3 other mods.. basic stuff works well. but a few issues.

* the maintenance scripts in the wiki stop working!! in the prior mod (_vbSSO), they worked fine. looks like it is a issue of the path and cookies based on the errors.

* i use custom urls for the wiki: ie, /home instead of the physical path of /w/index.php . however, in the settings we do not differentiate between the two so get a bunch of issues. we should pass 2 variables (web path, and physical path).

* because of the existing integration, i have usernames that are already capitalized. so i have to skip replacing User.php to lowercase the usernames. the login works fine. however, the user edit count fails (shows as 0 in vbulletin). my mediawiki edit count mod (https://vborg.vbsupport.ru/showthread.php?t=233959) took care of it in a roundabout way, but you might like to have a look.

* if someone is using a cache (APC, memcache), then unless a cache path is set in vbulletin settings, the integration will fail (looks like a session variable thing?). in forums config.php you have to set this: $config['Datastore']['prefix'] = 'forums'; (can be any other word as well, just unique). you might like to mention it in the install instructions.

* should provide an option to turn off linkage with the talk pages in search results.

* new wiki articles: if a page has fwds (eg: test1, test2, test3 are fwds to test in the wiki, then the recent wiki changes shows ALL of them as separate entries. in the wiki, it would show as one only). Also, the recent changes and the changed list in the forum do not match (maybe coz of time zone issues? we could provide an offset in the settings and check).

* if a wiki page has sub pages (ie, book type format.. like: www.site.com/home/Abc/Def), the style integration fails... it looks like it is coz of the way the paths are interpreted. one example of the way it is trying to pull the path: http://www.site.com/home/forums/images/title.gif (see the /home/forums, instead of /forums). similar problem with some special pages like http://www.site.com/home/Special:Contributions/System

ndahiya

CCux 02-28-2010 04:34 PM

The same problem for subpages here. Did not find any solution for this yet

bepe 02-28-2010 07:00 PM

Sorry, have been busy the last days :$

Quote:

Originally Posted by Stubbed (Post 1992335)
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?

Yes, should be a problem only with spechial chars like ????...
Anyway, you should change your charset ... not sure if there is any downside to it...
Quote:

Originally Posted by Stubbed (Post 1992335)
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?

space is not that much of a problem... but ':' would be

bepe 02-28-2010 07:02 PM

Quote:

Originally Posted by BRotondi (Post 1992754)
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

yes, relpath would be broken... but not sure why u would need that in the nav bar...
relpath would always give the path to the actual page, so it should only be good for anchors or something like that...

bepe 02-28-2010 07:05 PM

Quote:

Originally Posted by benjaminlwells (Post 1993360)
I just realized when going to make a tutorial, that my edit toolbar is gone after installing this!! I checked in my prefferences and "show edit toolbar" is checked. HELP!

No idea why it would be gone... it is working fine for me
... I would need a link to check that on your page too

bepe 02-28-2010 07:34 PM

ok, some interesting stuff in here that I did bnot try yet :)

Quote:

Originally Posted by ndahiya (Post 1993643)
hi bepe,

i installed this replacing the 3 other mods.. basic stuff works well. but a few issues.

* the maintenance scripts in the wiki stop working!! in the prior mod (_vbSSO), they worked fine. looks like it is a issue of the path and cookies based on the errors.

I did never use them... but it is strange... it should be working
Can u tell me what script is not working and what commandline u used for it?

Quote:

Originally Posted by ndahiya (Post 1993643)
* i use custom urls for the wiki: ie, /home instead of the physical path of /w/index.php . however, in the settings we do not differentiate between the two so get a bunch of issues. we should pass 2 variables (web path, and physical path).

I don't support this nice URL stuff, because that would break the forums "Who's online"... so you need to disable it...
If you dont need the WOL to work, you can use the next release... it will work now even if you changed the URL thing
Quote:

Originally Posted by ndahiya (Post 1993643)
* because of the existing integration, i have usernames that are already capitalized. so i have to skip replacing User.php to lowercase the usernames. the login works fine. however, the user edit count fails (shows as 0 in vbulletin). my mediawiki edit count mod (https://vborg.vbsupport.ru/showthread.php?t=233959) took care of it in a roundabout way, but you might like to have a look.

I store the counts with the vb user, every time someone edits or creates a page it will inclement the counter.
Your "existing integration" did not use the same place to store the data...
I understand that this is not a good way for existing wiki's, because all will start with 0 edits... but it's a fast and easy way that does not send a querry to the DB every time I need that data
Quote:

Originally Posted by ndahiya (Post 1993643)
* if someone is using a cache (APC, memcache), then unless a cache path is set in vbulletin settings, the integration will fail (looks like a session variable thing?). in forums config.php you have to set this: $config['Datastore']['prefix'] = 'forums'; (can be any other word as well, just unique). you might like to mention it in the install instructions.

Hm... need to research that... did not try it yet... and dont usderstand how all that cashing works... might need some time for that
Quote:

Originally Posted by ndahiya (Post 1993643)
* should provide an option to turn off linkage with the talk pages in search results.

strange, it should not be part of the search results... I just tryed it... I started a talk page with some key word... searching for that key word did not return the new page
Quote:

Originally Posted by ndahiya (Post 1993643)
* new wiki articles: if a page has fwds (eg: test1, test2, test3 are fwds to test in the wiki, then the recent wiki changes shows ALL of them as separate entries. in the wiki, it would show as one only). Also, the recent changes and the changed list in the forum do not match (maybe coz of time zone issues? we could provide an offset in the settings and check).

no, it's only showing new pages, it's not the same as 'recent changes'
Quote:

Originally Posted by ndahiya (Post 1993643)
* if a wiki page has sub pages (ie, book type format.. like: www.site.com/home/Abc/Def), the style integration fails... it looks like it is coz of the way the paths are interpreted. one example of the way it is trying to pull the path: http://www.site.com/home/forums/images/title.gif (see the /home/forums, instead of /forums). similar problem with some special pages like http://www.site.com/home/Special:Contributions/System

Can not try thatone now... but it should be fixed with the next release

benjaminlwells 02-28-2010 08:16 PM

Quote:

Originally Posted by bepe (Post 1993934)
No idea why it would be gone... it is working fine for me
... I would need a link to check that on your page too

http://alphaflight.net/alphanex/

I'll PM you a username and password to log in with if you want

ndahiya 02-28-2010 08:33 PM

Quote:

Originally Posted by bepe (Post 1993957)
Can u tell me what script is not working and what commandline u used for it?

try this in the wiki maintenance folder: php refreshImageCount.php
same issue with others. i think it might make sense to use full paths instead of relative across the mod? also something abt header already sent in the error message.. suspect the Auth file is doing more than just authenticating.

Quote:

Originally Posted by bepe (Post 1993957)
I don't support this nice URL stuff, because that would break the forums "Who's online"... so you need to disable it...
If you dont need the WOL to work, you can use the next release... it will work now even if you changed the URL thing

wonder if a workaround is to have 2 defined WOL locations: /w/index.php... and /home/ both called Wiki

Quote:

Originally Posted by bepe (Post 1993957)
I store the counts with the vb user, every time someone edits or creates a page it will inclement the counter.
Your "existing integration" did not use the same place to store the data...
I understand that this is not a good way for existing wiki's, because all will start with 0 edits... but it's a fast and easy way that does not send a querry to the DB every time I need that data

then it is a easy fix. do a count at install to set it to a "starting" value. my mod created a starting value at install and then updated it on using a cron job (note that you might need still a index to make sure the count does not fail initially - see the install code of the other mod).

Quote:

Originally Posted by bepe (Post 1993957)
Hm... need to research that... did not try it yet... and dont usderstand how all that cashing works... might need some time for that

neither do i, but i suspect it is caching sessions and both mediawiki and vbulletin may be trying to set the same variable. very easy fix though with the variable definition as i mentioned.
also, i noticed something strange as i moved from memcached to apc cache (at that time, mediawiki was using apc, forums using memcached). the wiki failed (some error about memcached not found), suggesting it is the auto file that is somehow the cause. now i am using apc cache for both, and it works fine (memcached worked fine too when i used it on both forums and mediawiki. but on a single server, i can replace memcached + eaccelerator with apc cache, so its easier)

Quote:

Originally Posted by bepe (Post 1993957)
strange, it should not be part of the search results... I just tryed it... I started a talk page with some key word... searching for that key word did not return the new page

what i meant was... you show a link to "Discussion" which goes to the talk page.. it could be optional.

Quote:

Originally Posted by bepe (Post 1993957)
no, it's only showing new pages, it's not the same as 'recent changes'

yes, but if you have 2 pages that link to a page with a #REDIRECT in the wiki, it is showing them all, even if the #REDIRECT pages are old.
so if i edit Page1, and had a redirect to Page1 on Page2, the what's new will show both Page1 and Page2...

--

its a great mod bepe, just some small issues.. also, you might like to highlight that the user.php edits are optional... i generally do not like to change the core files when making edits. (btw, vbulletin is case insensitive for user names while mediawiki saves them as case sensitive. so the change of default naming scheme can be a problem later)

ndahiya

bepe 03-01-2010 10:08 AM

Quote:

Originally Posted by ndahiya (Post 1993994)
try this in the wiki maintenance folder: php refreshImageCount.php
same issue with others. i think it might make sense to use full paths instead of relative across the mod? also something abt header already sent in the error message.. suspect the Auth file is doing more than just authenticating.

Should be working now
Quote:

Originally Posted by ndahiya (Post 1993994)
wonder if a workaround is to have 2 defined WOL locations: /w/index.php... and /home/ both called Wiki

As you wished ;) ... Therefor u got more settings now, so all kind of alias and pretty urls can be used now
Quote:

Originally Posted by ndahiya (Post 1993994)
then it is a easy fix. do a count at install to set it to a "starting" value. my mod created a starting value at install and then updated it on using a cron job (note that you might need still a index to make sure the count does not fail initially - see the install code of the other mod).

hm... not that easy for me... might take some time
Quote:

Originally Posted by ndahiya (Post 1993994)
neither do i, but i suspect it is caching sessions and both mediawiki and vbulletin may be trying to set the same variable. very easy fix though with the variable definition as i mentioned.
also, i noticed something strange as i moved from memcached to apc cache (at that time, mediawiki was using apc, forums using memcached). the wiki failed (some error about memcached not found), suggesting it is the auto file that is somehow the cause. now i am using apc cache for both, and it works fine (memcached worked fine too when i used it on both forums and mediawiki. but on a single server, i can replace memcached + eaccelerator with apc cache, so its easier)

hm... still no idea :$ ... give me some time to check that out
Quote:

Originally Posted by ndahiya (Post 1993994)
what i meant was... you show a link to "Discussion" which goes to the talk page.. it could be optional.

It looks so empty without that link... I thought everyone would like it :)
... ok, perhaps will be optional some day
Quote:

Originally Posted by ndahiya (Post 1993994)
yes, but if you have 2 pages that link to a page with a #REDIRECT in the wiki, it is showing them all, even if the #REDIRECT pages are old.
so if i edit Page1, and had a redirect to Page1 on Page2, the what's new will show both Page1 and Page2...

done... redirects are not shown anymore
Quote:

Originally Posted by ndahiya (Post 1993994)

its a great mod bepe, just some small issues.. also, you might like to highlight that the user.php edits are optional... i generally do not like to change the core files when making edits. (btw, vbulletin is case insensitive for user names while mediawiki saves them as case sensitive. so the change of default naming scheme can be a problem later)

ndahiya

it's a seperated folder now... u will see

ok, thanks for helping... will try to fix the remaining stuff as soon that I find some spare time :$

Big-Pete 03-01-2010 11:11 AM

bepe, Love this mod bridge, How do I donate??

bepe 03-01-2010 11:43 AM

Quote:

Originally Posted by Big-Pete (Post 1994412)
bepe, Love this mod bridge, How do I donate??

At the right of the first post is a link: 'The Developer'->'Support Developer'
Only paypal is possible there.

Anyway, the product is for free, even if commercial products cost much and can not do the same as this one :D
... but :D ... donations make it more easy to explain to my girlfriend why I'm spending the time working on the PC

Big-Pete 03-01-2010 11:49 AM

Cheers bepe.. done :up:

I bought a "commercial" VB wiki and it was awful, This is so much better in every way!!

benjaminlwells 03-01-2010 12:14 PM

Hey Bepe, regarding my issue with the edit bar, I just resinstalled the wiki and then your script and it's all fine now. Must have been some glitch along the way.

BRotondi 03-01-2010 12:30 PM

Thanks for you time bepe! We will try to help you not only with $'s (go to cinema with your girlfriend "this is from my vBMediaWiki-fans!") but also debugging, ideas, ... :)
Quote:

Originally Posted by bepe (Post 1994376)
It looks so empty without that link... I thought everyone would like it
... ok, perhaps will be optional some day

Not easy to make everyone happy :) But you don't have add an option for everything. Such personallisation can be made also through personal changes in plugins, templates, files, ... if you tell us where or we find it ourself.

@Big-Pete: Which one did you bought? A friend ist trying Vault Wiki, which seems not bad... till now... But of course a working vB-MW-bridge ist VERY interesting.

Greetings
Bruno

Big-Pete 03-01-2010 12:50 PM

I think you misquoted me above, I never said what you quoted me as saying... :)

I bought Vaultwiki by mistake, asked for a refund but no joy (even though I hadn't even unpacked the download) eventually Installed it, couldn't get it to work properly, then installed the vb4 version when vb4 came out and still same issues, binned it when i see this, and so happy i did.. :)

benjaminlwells 03-01-2010 01:09 PM

Hey all,

I'm a little confused about what to put for Aliases for "Who's online" in the options menu. My who's online keeps giving me Unknown Location when people are in the wiki.

BRotondi 03-01-2010 02:04 PM

@Big-Pete: Oups, made a mistake with the multi quote, sorry!

Big-Pete 03-01-2010 02:23 PM

pmsl... No worries, You had me going though, I thought i was going mad as couldn't remember typing what was in the quote, i was just about to go for a lie down :D:D

bepe 03-01-2010 02:23 PM

Quote:

Originally Posted by benjaminlwells (Post 1994459)
Hey all,

I'm a little confused about what to put for Aliases for "Who's online" in the options menu. My who's online keeps giving me Unknown Location when people are in the wiki.

tell me the url that u see in "who's online"... there is Unknown Location and below there should an url

dadams982 03-01-2010 02:57 PM

Just wanted to drop in and say thanks for all the work you are doing bepe.. this is easily mod of the millennium. Maybe time to install bugzilla to keep track of any issues! :D

BRotondi 03-01-2010 03:45 PM

Quote:

Originally Posted by bepe (Post 1994498)
tell me the url that u see in "who's online"... there is Unknown Location and below there should an url

Well, I have the same issue: sinnimleben.net/forum/online.php ->
Quote:

Unknown Location
/wiki/Kategorie:Publikation
(but still RC2, will go to RC3 after eating).

But as you said earlier: You do not support Short URLs..., perhaps an issue of this.

Honk0815 03-01-2010 04:00 PM

all my Links is broken on RC3....

Kategorie:xxxxx

is /wiki/index.php

Look my wiki and see you self..

all Links in Sidebar or all Links with this format self result [[Category:xxxxxxxx]]


http://eot-clan.net/wiki/index.php?title=Hauptseite

My Englisch is not so good, sorry

bepe 03-01-2010 04:25 PM

Quote:

Originally Posted by BRotondi (Post 1994547)
Well, I have the same issue: sinnimleben.net/forum/online.php ->
(but still RC2, will go to RC3 after eating).

But as you said earlier: You do not support Short URLs..., perhaps an issue of this.

it supports short URLs now, you will see :)

bepe 03-01-2010 04:31 PM

Quote:

Originally Posted by Honk0815 (Post 1994556)
all my Links is broken on RC3....

Kategorie:xxxxx

is /wiki/index.php

Look my wiki and see you self..

all Links in Sidebar or all Links with this format self result [[Category:xxxxxxxx]]


http://eot-clan.net/wiki/index.php?title=Hauptseite

My Englisch is not so good, sorry

German:
Wirklich komisch, der index.php?xxx=yyy&zzz... teil fehlt
versuche es mit dieser zeile am ende der LocalSettings.php:
PHP Code:

$wgUsePathInfo false

Aber irgendetwas ist da falsch auf deinem server...

English:
Really strange, the index.php?xxx=yyy&zzz... part is missing
Try to add this line to the end of LocalSettings.php:
PHP Code:

$wgUsePathInfo false

But anyway, something must be wrong on your server

Honk0815 03-01-2010 04:56 PM

Siehe da es geht wieder...Vielen vielen Dank...

Dafür geht jetzt halt Who is online nicht mehr aber darauf kann ich notfals auch verzichten..

It works fine thank´s for support

CCux 03-01-2010 05:46 PM

Great, Subpages are working fine now. Even after switching to Short URLs.

Thank you so much bepe

benjaminlwells 03-01-2010 06:04 PM

Quote:

Originally Posted by bepe (Post 1994498)
tell me the url that u see in "who's online"... there is Unknown Location and below there should an url

Not using short URLs anyway ;)

As for what it says:

Unknown Location
/alphanex/index.php?title=Main_Page

bepe 03-01-2010 06:08 PM

Quote:

Originally Posted by benjaminlwells (Post 1994628)
Not using short URLs anyway ;)

As for what it says:

Unknown Location
/alphanex/index.php?title=Main_Page

ok, thats easy :) .... set the alias to: /alphanex/index.php

thats all, no unknown locations anymore

benjaminlwells 03-01-2010 06:19 PM

Thanks so much bepe, I was over thinking it and missing the simplest answer! Awesome work on this whole project!

Now if you could just fix coppermine up the same way ;)

bepe 03-01-2010 06:26 PM

Quote:

Originally Posted by benjaminlwells (Post 1994636)
Thanks so much bepe, I was over thinking it and missing the simplest answer! Awesome work on this whole project!

Now if you could just fix coppermine up the same way ;)

Quote:

Coppermine is a multi-purpose fully-featured and integrated web picture gallery script written in PHP...
Did not know that one, looks interesting :) ... anyway, sorry... I'll not need that for my forum, so I'll not integrating it

benjaminlwells 03-01-2010 06:36 PM

Quote:

Originally Posted by bepe (Post 1994638)
Did not know that one, looks interesting :) ... anyway, sorry... I'll not need that for my forum, so I'll not integrating it

Oh well, it was worth a try :D

BRotondi 03-01-2010 07:07 PM

Quote:

Originally Posted by bepe (Post 1994563)
it supports short URLs now, you will see :)

Right! :D. 1000 Thanks!

Noerenberg 03-01-2010 07:11 PM

Quote:

Originally Posted by benjaminlwells (Post 1988151)
In your wiki directory

i found not LocalSettings.php everywhere

BRotondi 03-01-2010 07:50 PM

<a href="http://www.mwusers.com" target="_blank">www.mwusers.com</a> is best for all wiki problems which have nothing to do with especially this mod, but with every modification, personalisation, ... or the wiki itself.

LocalSettings.php is the file you have to know when working with MediaWiki. MediaWiki would not run, if you did not complete the installation and moved LocalSettings.php manually from /wiki/config to /wiki.

BRotondi 03-01-2010 08:01 PM

Is there already a german Version? Else I can do it and post the xml.

Good Night! (11 PM here)
Bruno

Noerenberg 03-01-2010 08:08 PM

Quote:

Originally Posted by BRotondi (Post 1994699)
Is there already a german Version? Else I can do it and post the xml.

Good Night! (11 PM here)
Bruno

yes please


All times are GMT. The time now is 09:32 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.01909 seconds
  • Memory Usage 1,887KB
  • 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
  • (2)bbcode_php_printable
  • (40)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