vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Log in twice?! (https://vborg.vbsupport.ru/showthread.php?t=183064)

shimpaku 06-20-2008 02:57 PM

Log in twice?!
 
I have had a forum site up and running since 11/'07. I decided to open another forum site aside from my current one. It is on the same FTP server as an add-on site.

I'm still building it but the oddest thing occurred from day one. It seems as though it has two of my user names! I always have to enter my user name and password twice in order to log on! I have no idea how this could possibly have happened. Just for the hell of it I did a search on my user name and it is of course only listed as one account. It's really becoming a tad irksome to always enter my user name and password twice. Any ideas how this could possibly have happened and if so any possible solutions?

I was thinking of entering in a different user name for myself but I'm a bit hesitant on doing so
as I have no idea what would happen as in, the possibility of not being able to log in again. As long this idea occurred to me is this possible to do?

~Phil :confused:

ssslippy 06-20-2008 03:51 PM

its a conflict with the cookies. You need to use a unique cookie for the 2nd board if they are on the same url.

shimpaku 06-20-2008 10:04 PM

Quote:

Originally Posted by ssslippy (Post 1554652)
its a conflict with the cookies. You need to use a unique cookie for the 2nd board if they are on the same url.

Ahhh....and just how do you go about making a "Unique Cookie"? I know how to get rid of them but how do you make one?

Thats something else I noticed today and I don't like it at all. I'm just glad the site is closed as I'm still working on it. When I get on my new site there are two addresses in the browser field box! It has my other site followed by my new site: http://www.**********.net/newsite/index.php !
This could prove to be very disconcerting to a user who goes to my new site! How the hell can I also solve that?

~Phil :confused:

vixyswillie 06-21-2008 02:16 AM

1 Attachment(s)
Here are the options (in 3.7.1) for what you need.

Admincp > vBulletin Options > vBulletin Options > Cookies and HTTP Header Options.

Dismounted 06-21-2008 03:43 AM

You need to set different cookie prefixes for each site (in config.php). Also, set the domain path to .domain.com (note preceding dot), or redirect all traffic from "www." to no "www" (or vice-versa).

shimpaku 06-21-2008 03:07 PM

1 Attachment(s)
OK…I found this setting last night but I’m not all that sure what to do.
My old site is: bonsaichat.net and the add –on domain (the one I’m having trouble with) is: rifleandpistolzone.com. The Path to Save Cookies only has a drop down menu and nothing can be entered. I tried both as in “/” and the other option of “rifleandpistolzone” but no difference.

The Cookie Domain is the same with only a drop down menus and two options: “(blank)” or, “.bonsaichat.net”. As for the Custom Setting in both the Path to Save Cookies and the Cookie Domain I’m not sure if I should enter anything there besides the obvious fact that it scares the freaking hell out of me with its warning:“ Entering an invalid setting can leave you unable to log in to your forum”!

Should I enter something into any of these custom settings and if so…what? I certainly don’t want to get locked out of my own site!!

~Phil

Dismounted 06-22-2008 07:01 AM

Please read my post again. It specifies clearly what to do.

shimpaku 06-22-2008 03:06 PM

Quote:

Originally Posted by Dismounted (Post 1555136)
You need to set different cookie prefixes for each site (in config.php). Also, set the domain path to .domain.com (note preceding dot), or redirect all traffic from "www." to no "www" (or vice-versa).

I fully appreciate your help and was in no way disputing it but telling someone what to do and, how to do it are two entirely different things. If I tell someone that they need to check the oil in their car it's not going to mean squat if they don't have any idea where the dip stick is!

Exactly where and how do I go about making these changes?

Regards, Phil :confused:

Dismounted 06-23-2008 07:21 AM

For the first part, I've said to look in config.php, for the second part, you've already found it in the Admin CP. For the last suggestion, a simple Google search for "redirect all traffic from www to no www" gives the perfect answer in the first result.


All times are GMT. The time now is 05:36 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.01048 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)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