Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Use same vB on different Domains (cookies) Details »»
Use same vB on different Domains (cookies)
Version: 1.00, by Paris Holley Paris Holley is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-02-2004 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

I haven't tested it in all circumstances but in only the way i needed. This may not be the best method but I think its the only one that works as of right now.

Tested Domain Situations:
-------------------------------
1site.com
2site.com ( which the real url is 1site.com/2site/ )
-------------------------------

Open Functions.php and find
PHP Code:
// try unsetting without the / at the end 
before each setcookie function ( should be 3 within about 25 lines or so ) add

PHP Code:
setcookie($name$value$expire"your-path""your-domain"$secure); 
this should write the cookies for each domain you set it for and allow people to view each one and not have to log in. Please give me feed back on this for i would love to see my first vb hack work

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-18-2004, 11:02 PM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need this hack, but I'd like to know if this is the right way for me to do it. I have three big websites, let's call them xboxwebsite.com, xbox2website.com, gamecubewebsite.com; all websites share the same forum at forums.networkwebsite.com.

Now, in my sites I'd like to ask users to login using vbulletin to be greeted, see their forums stats, and let them add comments to news items; comments are displayed next to the news items and in the main forum.

How can I setup a unique cookie for all the network?
Reply With Quote
  #23  
Old 12-06-2004, 07:14 AM
cschuck3 cschuck3 is offline
 
Join Date: Sep 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was woundering is this cold help me with my issues, I have a web ( domain1 ) which is used to sale products. This account is setup on a shared server. I then have VB installed ( domain1/xxx/xxx/forms/ ) I have setup a fake ip ( domain2 ) that points to ( domain2/xxx/xxx/forums/ ), The issues I have is all internal link refer to the ( domain2/xxx/xxx/forums/ ) location. When I want them to point to ( domain2/xxx/xxx/forums/ ). Also based on the domain used the user always have to relogin. Is there another solution form this... or should I just setup another shared hosting account for VB?
Reply With Quote
  #24  
Old 03-25-2008, 10:56 PM
dfc005 dfc005 is offline
 
Join Date: Mar 2008
Posts: 198
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got a solution for having multiple domains and only having to login once?
Reply With Quote
  #25  
Old 10-06-2008, 06:35 PM
CLUB AMPLE's Avatar
CLUB AMPLE CLUB AMPLE is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 2 sites... one has adult content.. one does not.

I want users to be able to register and or sign in on either site with their existing user name.

Must still allow new unique name registrations on both sites.

Must block similar name registrations on both sites.

Reason for the hack... say "mike" registers at the non adult site... and then on the adult site another "mike" registers.. but its not the same mike... i do not want people getting confused as to who is who. Mike on the adult site might uploads pics that Mike on the non adult site would never upload.... so i want to make sure that is there is a similar name.. it IS the same person.

Does any of that make sense?
Reply With Quote
  #26  
Old 10-10-2008, 04:03 PM
CLUB AMPLE's Avatar
CLUB AMPLE CLUB AMPLE is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone direct me to the best mod or coder who can help me with this ?

Quote:
Originally Posted by CLUB AMPLE View Post
I have 2 sites... one has adult content.. one does not.

I want users to be able to register and or sign in on either site with their existing user name.

Must still allow new unique name registrations on both sites.

Must block similar name registrations on both sites.

Reason for the hack... say "mike" registers at the non adult site... and then on the adult site another "mike" registers.. but its not the same mike... i do not want people getting confused as to who is who. Mike on the adult site might uploads pics that Mike on the non adult site would never upload.... so i want to make sure that is there is a similar name.. it IS the same person.

Does any of that make sense?
Reply With Quote
Reply

Thread Tools

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 04:45 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.06050 seconds
  • Memory Usage 2,254KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete