collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 966
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Standalone not showing user being logged in...  (Read 7662 times)

0 Members and 1 Guest are viewing this topic.

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Standalone not showing user being logged in...
« on: September 30, 2013, 03:06:33 AM »
So for some reason when a user logs in the standalone page does not show the user as being logged in, but when the click on the forum link it shows them logged; and of course when they click "home" to go back to the portal it shows them as not being logged in. This is very weird. When I have a user delete their cookies it will show them as being logged in on the portal but it will eventually start doing it again. We're using smf 2.0.5 and even with no other mods installed it will randomly do this also.

Has any one had this problem before? If so how'd you fix it?

Thanks

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #1 on: October 03, 2013, 12:34:15 PM »
No one has had this problem?

Offline PokemonS

  • Jr. Member
  • **
  • Posts: 60
  • Gender: Female
    • Pokemon Stars Indonesia
  • SMF Version: 2.0.11
  • SP Version: 2.3.6
Re: Standalone not showing user being logged in...
« Reply #2 on: October 03, 2013, 12:45:58 PM »
This problem is exactly same with me.
Look at: http://simpleportal.net/index.php?topic=12488

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #3 on: October 03, 2013, 06:05:25 PM »
I've tried that fix with no success. At the top at the quick log in area it will show as you need to log in even though you are ( when you go to the actual forum it shows you logged in) also I will not allow you to use the shout box on the standalone page. The user has to go to the forum page then click log out, once they do that log back in the lone and behold the standalone page will show them logged in.

Offline ccbtimewiz

  • Hero Member
  • *****
  • Posts: 2185
  • Gender: Male
  • $("div.content:dd").hide();
  • SMF Version: None
  • SP Version: None
  • Elkarte Version: None
  • EhPortal Version: None
Re: Standalone not showing user being logged in...
« Reply #4 on: October 03, 2013, 08:43:38 PM »
Are they accessing using https by any chance?

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #5 on: October 05, 2013, 03:51:46 PM »
Are they accessing using https by any chance?

That is a negative.

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #6 on: October 14, 2013, 02:27:27 PM »
bump!

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #7 on: October 15, 2013, 09:47:45 AM »
Cookie issues sometimes cause this problem.

Please provide a link to the forum.  And, perhaps, a test login we can use to check this behavior.
* What are your cookie settings (subdomain dependent? independent?)
* What is the path to your SMF forum?  What is the URL of your SMF forum?
* What are the settings for the standalone portal?
* In your standalone portal file, what path do you use for the forum?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #8 on: October 17, 2013, 01:51:19 PM »
Cookie issues sometimes cause this problem.

Please provide a link to the forum.  And, perhaps, a test login we can use to check this behavior.
* What are your cookie settings (subdomain dependent? independent?)
* What is the path to your SMF forum?  What is the URL of your SMF forum?
* What are the settings for the standalone portal?
* In your standalone portal file, what path do you use for the forum?

Check PM for username.

Our cookie settings are:
Default login Cookie length - 60
Enable local storage of cookies - checked
Use Subdomain inde cookies - not checked
Force cookies to be secure - not checked

The forum path is: /home1/fmfcland/public_html/forum
Forum URL is: www.fmfclandivision.com/forum
standalone portal file has forum path as:
$forum_dir = '/home1/fmfcland/public_html/forum';

As for the actual standalone file nothing was changed except the $forum_dir and adding writeLog(); before sportal_init(true);

Offline TomW

  • Newbie
  • Posts: 4
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #9 on: October 17, 2013, 04:08:51 PM »
I have the same issue except it does not matter if I add this line to my standalone.php file (renamed to index.php and placed in the root folder):

writelog(true);

Navigating to/from the forum from/to the portal page works fine.  I am logged in to the forum, yet NOT logged in to the portal.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #10 on: October 17, 2013, 04:14:02 PM »
I am not sure what you mean by "doesn't show them as logged in"
* I go to the portal page
* I log in, using the account you supplied
* I am still on the portal page
* I see the "Hello" box with the account name
* The Who's Online box shows the username among the Users Online

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #11 on: October 17, 2013, 05:53:02 PM »
after a random amount of time if you comeback to the site the user will be shown as logged out but when they click on "forum" link they will be logged in but if the go back to the portal standalone it will show them as being logged out. better yet watch this:

http://www.youtube.com/watch?v=yb19aRSNAr8&feature=youtu.be

Mind you this happens with every member.

Offline TomW

  • Newbie
  • Posts: 4
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #12 on: October 17, 2013, 06:45:50 PM »
If I try to log into the portal page, using the standard login block, it redirects me to the forum page automatically.  I am shown as logged in on the forum page.  If I go back to the portal page, the screen shows that I am NOT logged in.

Everything works fine in 'Front Page' mode.

Offline TomW

  • Newbie
  • Posts: 4
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #13 on: October 17, 2013, 09:10:46 PM »
I made some progress.  Now, after log in from the standalone portal page, I am not redirected to the forum page.  But it still shows that I am not logged in on the portal page.

This is the setting that I changed:
Enable local storage of cookies:   unchecked

previously it was checked.  Now to solve the log in issue...  It appears that there is an issue with the cookie.  Is there a config change required ?
« Last Edit: October 17, 2013, 11:26:24 PM by TomW »

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #14 on: October 20, 2013, 10:00:14 PM »
In the past, I have seen this problem with cookies when the forum index.php file was in a different subdomain than what the standalone portal page was in.  This is fixed by setting up SMF to use subdomain-independent cookies.
Local storage of cookies is preferred.

There are some issues about portal redirect on login -- you can fiddle with that setting, as well.  Whether it should redirect to the forum or stick at the portal page.

When I tested your forum, I did not observe the difficulties you described.  I do not know what settings were in effect at the time I tested this out.
Do you observe this problem from many different PCs or just from one?
From PCs at many different locations, or just from one?
Do all of your forum users describe the same difficulties you describe?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline TomW

  • Newbie
  • Posts: 4
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #15 on: October 21, 2013, 10:52:32 AM »
Thanks for your help, AngelinaBelle.  I appreciate it.

Offline red281gt

  • Semi Newbie
  • *
  • Posts: 9
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Standalone not showing user being logged in...
« Reply #16 on: October 21, 2013, 12:13:30 PM »
I ended up unchecking "Enable local storage of cookies" under server settings and renaming the cookie that ended up fixing it.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Standalone not showing user being logged in...
« Reply #17 on: October 30, 2013, 02:38:29 PM »
I am glad you found a solution!  Cookie problems can be very mystifying.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?