Log in

View Full Version : Using vB's sessions in Wordpress and Mediawiki


curry684
02-10-2006, 09:22 AM
After about a day scouting through the various existing topics I decided to open up a new topic because none of the topics seem to cover my situation, and as I'm new to vBulletin I simply don't know enough of the subject yet to hack my way through. Also, I want to do it right the first time.

Situation:
- News section is running Wordpress 1.5.2
- Wiki section is running Mediawiki 1.5.4
- Forum is running vBulletin 3.5.3

News and Wiki are in full production but without user registrations enabled (anon comments and edits), because I wanted to wait with that until I could integrate it with a forum. Now I've purchased vB and it's completely set up, and I'm only left with the integration problem: I don't want to have users log in at 3 sites separately.

So, all 3 sites are running on the same server (and will be for the foreseeable future) and are underneath the same domain (subdomains www., wiki. and forum. respectively). I will be adding custom code in the future for specialized community elements.

My first idea was to make a central user DB myself and then sync this to the 3 other databases. Since I've taken vB for a test drive though I think that using its registration system makes more sense, and then sync it from there to Wiki and Wordpress that have quite thin registration systems.

But how I am going to do that syncing, and worst of all make sure that a forum login works for Wiki and Wordpress, I have no idea. I'm an experienced programmer, but I just don't know where to start and what approach would be best.

Anyone got some pointers?

curry684
02-12-2006, 09:58 PM
Nobody has an idea? :(

mlx
02-17-2006, 11:05 PM
I'm setting up a MediaWiki right now and came across your post here as well. Have a look at: https://vborg.vbsupport.ru/showpost.php?p=749311&postcount=10

Seems to work very fine! Just make sure to edit the queries in AuthPlugin_vBulletin.php if you are using a MySQL table prefix for your vBulletin.

Not sure about Wordpress, sorry.

curry684
02-18-2006, 07:14 AM
Cheers, that looks simple enough, I'll have a try soon :)

HolisticEarth
04-14-2006, 04:08 AM
I think I have found a solution to the problem. Doesnt quite use the session data, but the function will still be required to login anyways, so it is a good start. It is basically an expansion of what was already done.
https://vborg.vbsupport.ru/showthread.php?t=112973

curry684
04-16-2006, 06:16 PM
Cheers, looks like a good read (and I still haven't done it myself, so helpful too :) )

Jon_Simmonds
04-16-2006, 09:15 PM
someone who codes for the xoops cms (www.xoops.org) has released both a wordpress and mediawiki integration modules for xoops - www.xoopsforge.com so they can both be ported (well media wiki allready ported, but the xoops port is alot more in depth)

Stachel
04-16-2006, 09:39 PM
curry684,

Very interesting implementation.

Why did you want to use both WordPress and MediaWiki?

I went to your site (nice!) but would rather hear it in your words.

Stachel