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


All times are GMT. The time now is 05:38 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.01579 seconds
  • Memory Usage 1,762KB
  • 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
  • (11)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