Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 02-12-2005, 04:23 PM
genmud genmud is offline
 
Join Date: Aug 2003
Location: PHOENIX
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Same User on Two Forums

Well, This is what I am wondering on...

I was wondering if there is a hack that allows two COMPLETLY differentforums(like different installs) to use the same user logins & usergroups...

I am planning on buying two vB licenses for two different sites... Onethat would be hardware, software... computer related. Then i would wantanother site that would be for politics, chatting etc. but i would onlywant them to register once, because a majority of the members would beregistered on both forums...

I think this would be a moderate difficulty hack.
Reply With Quote
  #2  
Old 02-12-2005, 07:08 PM
Durtay Durtay is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was looking for a hack just like this. I searched the forums and found nothing like it. I need it for 3 forums, but I'm sure once the initial hack is created, all that would be needed is the additional forum's information. Hopefully someone can create this.
Reply With Quote
  #3  
Old 02-12-2005, 10:09 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd imagine you just set the database to the one you want to share.
Reply With Quote
  #4  
Old 02-12-2005, 10:25 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

coulndt, not if you planned on having seperate forums etc. I asked about this a while back and the basic answer is 'no' or 'not without a serious amount of hacking'.

What I am using is the Storytellery software: http://www.esselbach.com/ . It allows you to have up to 99 websites using the same vbulletin members database. each can have its own forums etc.

-Jason
Reply With Quote
  #5  
Old 02-12-2005, 10:31 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well youd have to make a cron job that imported the users say every minute.
Reply With Quote
  #6  
Old 02-12-2005, 10:54 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Murphinator
well youd have to make a cron job that imported the users say every minute.
Still wouldnt work because one of the sites (the one that is importing) would be getting new members and their would be conflicts. What you would end up with is 3 different user tables.
Reply With Quote
  #7  
Old 02-12-2005, 11:43 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give you a hint on how to make this work.

1. 2 VB sites sharing 1 DB
2. Create all your forums. Doesn't matter on which site, they'll both see it.
3. Create 2 public groups, one for each site.
4. For Site A forums, user must be a member of Group A to view.
5. For Site B forums, user must be a member of Group B to view.
6. Now hack the code so that if user is logged into site A, user is a member of Group A but not Group B. If logged into Site B, user is a member of Group B but not A.

Its really not that major a hack.
Reply With Quote
  #8  
Old 02-13-2005, 12:15 AM
Durtay Durtay is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FASherman
I'll give you a hint on how to make this work.

1. 2 VB sites sharing 1 DB
2. Create all your forums. Doesn't matter on which site, they'll both see it.
3. Create 2 public groups, one for each site.
4. For Site A forums, user must be a member of Group A to view.
5. For Site B forums, user must be a member of Group B to view.
6. Now hack the code so that if user is logged into site A, user is a member of Group A but not Group B. If logged into Site B, user is a member of Group B but not A.

Its really not that major a hack.
That would work if you have the identical purpose for both of your "sites". But say you want to have one forum with the RPG hack and the other without, you'd have to hack the forum so that when you log into the non-RPG hacked part of the forum, you don't see any of the RPG template effects. Which just becomes even more complicated. And this applies for all template modifications for various hacks if you want them to appear on one "site" but not your other. (Edit: I did just realise that this could be avoided with seperate styles, but two of the three sites I run will use the same hack, but for different reasons. And some of these hacks the actual coding for those hacks would have to have a complete overhaul to have two seperate instances, so this would still not work, atleast for me.)

My view is that all you'd have to do is alter the register.php file that when a user registers on any of the forums, it inserts all the info into every database you define via admincp or the register.php file. That way it registers a user once, but places them in all the seperate sites' databases that you'd like.

And to make this hack more complex (maybe for a 2.0 release), you make it that for a site-trading ring where you require each forum in the ring to make a 'receiving-end' file that when a user registers on one site, it sends their registration information to those other sites' receiving-end file and registers them on that site. This would make it that other site admins wouldn't have to give out their database information for security reasons and it would help expand their communities. And all this could be optional for the user when they sign-up, and once they're signed up via usercp, where they can opt to send their registration information to those other sites.

I wish I could write hacks and I'd make this work as I think I can't explain it very well. But that would be an awesome hack. :classic:
Reply With Quote
  #9  
Old 02-18-2005, 04:46 AM
Durtay Durtay is offline
 
Join Date: Feb 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has any coders thought about doing this hack? I'm just curious if there was any progress or interest shown?
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04104 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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