PDA

View Full Version : Using vBulletin registration system for rest of site


NinjaKiwi
04-03-2011, 10:51 PM
Hi All,

Firstly, I apologise in advance if the answer to this question is already available - I've spent time searching this forum, and search engines - and have found many things that come close - but many threads are old, or are for older versions of VB, so am starting a new thread.

I wish to intergarate the VB login/user management for the rest of our site, and it would be nice to dsiplay some content outside of VB if the user is logged in, things like the users avatar, recent threads. We are running vBulletin 4.1.2.

Our main site is http://ninjakiwi.com/
And we have our VB installed here http://ninjakiwi.com/Forum

I hope there isn't a problem referencing the VB registration system with VB installed in a subdirectory.

If anyone can point me to a guide on this, or give me some tips on where to get started, that would be much appreciated!

Hoping it is as simple as adding some code to include the VB core on our main site.

Cheers

Lachlan

Special Pages
04-04-2011, 02:41 AM
Sorry but I think you have to do an integration.

NinjaKiwi
04-04-2011, 03:28 AM
Thank you.

Yes I do wish to do an integration, what I'm asking is the best method to go about this.

I've read that if I include global.php with our main site then I can basically track the VB session on both sites.

There are also references on this vbulletin.org to adding some stuff to the header for cookies, and I'd like to make some calls to things like the users avatar from the main site- so would like to know how to reference these with php.

There is some info on this forum regarding how to do all of this, but it's all for vBulletin 3 as far as I can work out, and most of the info is many years old.

NinjaKiwi
04-05-2011, 10:24 PM
BUMP

Anyone got any idea on this? I have tried using this for VB4:
https://vborg.vbsupport.ru/showthread.php?t=173693&highlight=login+script
http://ninjakiwi.com/index-login-test.php

It doesn't work (not a surprise as it doesn't claim to work for VB4) I have trawled through the code to see if I can modify anything - no luck.

I've also spent hours and hours doing advanced searches on this forum with no results.

--------------- Added 1302056855 at 1302056855 ---------------

I'm beginning to wonder if I need to downgrade to VB 3.x to get this done?