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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2005, 07:35 AM
zjs2k zjs2k is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to share user data between 2 vbulletins?

Hello, everyone,

I plan to purchase another license of vBulletin and setup a second forum under the same domain. I would like to have visitors to register only once for both forums. It is ok if they need to login twice, but I want to limit the login process to just one. I prefer to have the users to manage the profiles seperately.

I want to disable the registration of forum2 and force users to register at forum1 only. And when logging in forum2 for the first time, the script should verify user data from forum1. Then copy the user record from forum1 to forum2. From now on, the users should be able to update his/her profile, etc. This is just my idea of doing it. If you have a better idea, please do let me know.

Is this hack possible? I tried to search the forum and I don't even know what to search. The most posts I found were about multiple domains. I want to make sure the feature is possible before I buy a second license.

Any help will be very appreciated.

Jin
Reply With Quote
  #2  
Old 04-29-2005, 07:45 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you would run the 2 boards on the same server, and you would know the database name, user and password, you could easily edit the register.php file.

If youdont know how to do that, just post here or shoot me a PM.
Reply With Quote
  #3  
Old 04-29-2005, 12:20 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would take more then doing register.php if he wants it to share post counts and everything else between them.
Reply With Quote
  #4  
Old 04-29-2005, 01:48 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where did he say that?
Reply With Quote
  #5  
Old 04-29-2005, 02:07 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He stated share user data which could mean more then just the username if he wanted.

That is why I said if.
Reply With Quote
  #6  
Old 04-29-2005, 07:01 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, misread your post .
Reply With Quote
  #7  
Old 04-29-2005, 07:54 PM
zjs2k zjs2k is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick reply. I don't really need to share other information like post count. If you can point me where in register.php I should edit, it will be great. Do I also need to modify the login.php to check user against forum1 database? Does that mean I will not use the user table in forum2 database? Thanks.
Reply With Quote
  #8  
Old 04-29-2005, 08:22 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you would want to run the two user fields independantly, only register.php should be modified.

What exactly do you want?
Reply With Quote
  #9  
Old 04-29-2005, 08:38 PM
zjs2k zjs2k is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already have a forum running. I want to start a rolyplaying game section. Basically, someone start a new project/task. Then anyone interested in it will join in and post his/her adventure in the proposed project. And the project starter will evaluate how well (or bad) the others doing.

So the new vbulletin will have little to do with the original forum. I just want to make the registration and login process easier for people so they don't have to do it twice.
Reply With Quote
  #10  
Old 05-01-2005, 03:27 AM
zjs2k zjs2k is offline
 
Join Date: Jul 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After reviewing the register.php file, I think I can better explain what I need here. I do NOT want user to register at forum2. Instead, I require them to login the forum2 with forum1 username and password. Then, if the user doesn't exist in forum2 (meaning this is their first time login forum2), the login script will check the forum1 user data. If the user is valid in forum1, all the required user fields for registration from forum1 will be copied to forum2.

The user may change their profile including email and password in forum2, but the username remain the same in both forum1 and forum2. So a user's identity will be the same.

Can this be done? Or is there any better way to do it? Thank you!
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 01:29 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.04306 seconds
  • Memory Usage 2,244KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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