vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Pre-Sales Questions (https://vborg.vbsupport.ru/forumdisplay.php?f=26)
-   -   How to integrate existing user database into vBulletin database? (https://vborg.vbsupport.ru/showthread.php?t=176933)

andy_sg 04-23-2008 01:24 PM

How to integrate existing user database into vBulletin database?
 
Hi all,

I have a website and it presently has a few thousand registered users in mysql database.

We would like to seek advice on how we should integrate the forum into our website with minimum inconvenience to the existing registered users.

In other words, they do not have to register a separate account for the forum. And for new users, one account will allow them to utilise both our website features and vbulletin forum.

Can someone please advise the proper steps and measures to take for the transition?

Thank you.

Marco van Herwaarden 04-23-2008 01:39 PM

Integrating the vBulletin user and permission system into your custom pages would be the easiest. If you can create a textfile with usernames and email addresses, then you can use ImpEx to load the current users into vBulletin. ImpEx is available free of charge to our customers.

andy_sg 04-23-2008 01:54 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1497256)
Integrating the vBulletin user and permission system into your custom pages would be the easiest. If you can create a textfile with usernames and email addresses, then you can use ImpEx to load the current users into vBulletin. ImpEx is available free of charge to our customers.

Hi Marco,

I believe what you had mentioned is a one-time process of copying users to vbulletin database.

1. What happens when a new user register at the forum and not our website first? What should be the set of procedures to adhere at the programming side?

2. What if the user login at our website and then access the forum, how will they be automatically detected as logon in the forum also?

Thank you.

Marco van Herwaarden 04-24-2008 06:23 AM

My advise is based on an integration of the vBulletin user system in your custom website application. This proofed the easiest and most flexible solution in most similar scenario's. To initially load your existing users into vBulletin, you would need to do a 1 time import.

1. Regstration of new users should go directly into the vBulletin. It is possible to create a registration from both the forums or your custom pages.

2. If the site is setup corretly, the cookie/session set by a login would work on both the forums and your custom pages.

PS Integrating the vBulletin framework into your custom pages is something that will require some PHP knowledge. In most situations this should however not be overcomplicated.

andy_sg 04-24-2008 07:11 AM

Hi Marco,
Can you provide me with some sites that have such similiar integrations? So that I will know how it is going to be like ...

Thanks.

Marco van Herwaarden 04-24-2008 07:14 AM

There are many sites that integrate custom parts of their website with vBulletin. I don't have any examples avaialbe however, maybe some members can help you out with this.

Jase2 04-24-2008 09:48 AM

My example would be vBDrupal: www.vbdrupal.org

ConKien 06-29-2008 07:22 AM

Macro, I have a forum and a script using the id (userid for forum and uid for the other script) When we started off, the userid and uid are the same (for both scripts to work) now they are out of synch (for some reasons).

Is there a script to re-assign forum's userid to a new userid along with their own threads and all the stuff related (linked) to userid? Can the import script do that?

Thanks,
CK

Marco van Herwaarden 06-29-2008 07:53 AM

Please ask such questions in the appropriate support forum.

But the short answer is: No, don't even try it.


All times are GMT. The time now is 04:16 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.00973 seconds
  • Memory Usage 1,727KB
  • 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
  • (9)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