Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2012, 08:02 PM
Big Kahuna's Avatar
Big Kahuna Big Kahuna is offline
 
Join Date: Feb 2002
Location: SE Texas
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unbridge MediaWiki/Vbulletin

About three years ago I installed a Wiki (www.MoparWiki.com) and used a addon from vbulletin.org called MMOG.

Facts:
  • Vbulletin 3.8.2
  • Mediawiki 1.13.2
  • php currently 5.2.17 (but server should be updating to a more current yet stable version this weekend
  • Mysql 5.0.95
  • Force Preview 1.1 (must be part of the MMOG bridge -- as I don't remember installing it)
  • MMOG 2.1.1
  • I have my own dedicated 1-year-old server racked in Toronto -- all overbuilt. The Server Hotel people maintain the configuration, updates, and maintenance of the server operating software -- and I handle all of the accounts and sites on it.
Experience Level:
I'm not a professional programmer -- but have enough confidence in my ability to modify code when properly instructed.
I'm not very familiar with MySql databases beyond setting up in Cpanel and attaching a user -- then modifying config files.

I have installed and ran Bulletin boards since version 1 -- 10 years ago.
  • So a few years ago I install mediawiki and use MMOG to bridge to my forums www.moparstyle.com/forums. It appears to work without problem.
  • I customized the skin some, and have pretty much left the the admin part of the Wiki alone since -- and just handle the sysops.
  • I wanted to upgrade the forums to VB4 -- but when I researched any bridges for MediaWIki to VB4 -- I see that MMOG has not been well maintained, and all of the other bridges also appear to have been abandoned -- with people screaming about problems.
  • I've not upgraded MediaWiki -- because the last time I looked at doing so, I was a version or so behind the php requirement -- and people were having problems with the new versions. The people that maintain my server will be upgrading php this weekend to a newer/stable version -- and specifically not the one with problems (I think it was 5.3.1 with issues).
  • Because there doesn't appear to be a decent bridge that I can depend on, and synchronizing the upgrading of the forum, wiki, and bridge appears to be a major PITA -- I would like to separate the bridge between forum and the wiki.
The best and safest way for me to do this would be to install a fresh version of MediaWiki, and import the pages and images -- leaving the old Wiki intact until I'm sure the newest Wiki is right. If that is possible.



So my questions are:
  1. Is there an export/import script that can export my data from the 1.13.2 version and import into 1.18? I'm not experience with MySql database manipulation -- so a script would be preferable.
  2. Does anyone know how MMOG worked with the databases? Is it a situation where it only used the member's data from the Vbulletin database and everything else is in the Mediawiki database -- or is it using more of the VB database?
I'm scare to death of hosing the the wiki doing any upgrades -- and would much rather prefer an import/export - but I need to have it pretty well detailed as I really am not very experienced with manipulating databases.

--------------- Added [DATE]1333229617[/DATE] at [TIME]1333229617[/TIME] ---------------

A little bit of an update:

I found the addon thread for MMOG at: https://vborg.vbsupport.ru/showthread.php?t=191186

Quote:
Overview:
This hack provides single sign-on capability for MediaWiki using your vBulletin users. You must ensure your cookie path in Admin CP is set to '/' for this to work. Also, I have not tested this if your wiki and your forums are on different subdomains - but as long as your have your cookie domain set properly it *should* work. This is not a user bridge - it is a complete single sign-on using your vBulletin user repository.

The install process has been extremely simplified in version 2.x of this product. You only have to edit LocalSettings.php, import a product, and change a setting in your Admin Control Panel. It's been completely packaged as a vBulletin product - unlike the previous hacked up version, heh. I didn't originally plan to release this so I designed it so it worked - not so it could be redistributed. I searched high and low for a functional MediaWiki bridge - almost bought NuHIT's product, and then realized it had been abandoned for over a year.

This hack no longer requires an edit to class_core.php.

I'll do my best to support it, but I can make no promises.

This thread is for discussion of this mod on vB 3.7.x. For vB 3.8.x, please use the MediaWiki/vBulletin Single Sign-On 3.8 thread

Demo of plugin in action: MyMMOGames - Multiplayer Gaming and Media Community

Also, if you use memcached - ensure you do not cache sessions. If you do, restart it at least once a week. If you don't, you'll end up with invalid session errors out of MediaWiki.

Requirements:
MediaWiki Version: 1.11.0-1.14.0
vBulletin Version: 3.6.9-3.8.2
According to the description, it is not a bridge as I'd thought, but allows Mediawiki to use the member's data on Vbulletin.
I am assuming that the Mediawiki database had not been modified and the LocalSettings.php is the only thing on the MediaWiki Side that has been modified.

As such, it would appear that upgrading both Vbulletin and Mediawiki might be as simple as:

1. Uninstall MMOG at Vbulletin
2. Figure out what changes I made years ago to the LocalSettings.php file that allowed the addon to work -- and reverse
3. Perform the upgrades to both MediaWiki and Vbulletin
4. Not link them up and use them as stand alones.

If I can get a confirmation from anyone out there who might have first-hand knowledge of doing what I'm trying to do.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:59 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.05179 seconds
  • Memory Usage 2,169KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete