vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   Sharing Login Credentails / Cookie (https://vborg.vbsupport.ru/showthread.php?t=250111)

pkellner 09-07-2010 04:06 PM

Sharing Login Credentails / Cookie
 
I have another php app (wordpress) that will host all my users. It also has the shopping cart so that user database is important.

When a wordpress user is created, I'd like to also create the forums user with the same password. I can intercept the usercreation in php to do this.

Also, when a user logs into wordpress, I'd like to write the cookie for vbulletin so that the user is automatically logged into vbulletin as well.

I called presales at VBulletin and their answer to my question about complexity of doing this was that "it is possible". I asked for a little more detail since I can't look at the code itself until after I buy it. Their answer was a suggestion to post on this forum and the quote below.

If anyone has a little better answer than the below, I'd really apprecaite it. I'm a little worried that any question I ask later may be answered with "sorry, that is out of scope for our support department".

Peter Kellner
http://peterkellner.net


Quote:

As for the 'complexity', I have never before been asked this question in 9 years of doing support for vB and I have really no idea how complex this would be. In the end this depends on your level of knowledge and skill with PHP and MySQL coding.

Jack12 09-07-2010 04:14 PM

There is a mod here on vb.org that may be able to help you. It was made for vb3.8 but works with vb4.0.x and wp3.x
https://vborg.vbsupport.ru/showthread.php?t=205388

It works the opposite to how you described though. Users log in and register through the vbulletin database and sync with wordpress.

pkellner 09-07-2010 04:25 PM

How easy is it to customize the vbulletin forums registration? Also, is there anything unusual about the cookie that vbulletin writes? Is it easy to share?

Marco van Herwaarden 09-08-2010 03:54 AM

It should not be too difficult for someone familiar with PHP scripting. I don't know what you understand under "unusual" for a cookie, but nothing comes to mind regarding vBulletin.

PS As vBulleting has an extensive user registration and permission system it is more common to work the other way round: to share the vBulletin login with WP.


All times are GMT. The time now is 07:53 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.01045 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete