CustomContent - have to reload after login to see content

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
kevin360

CustomContent - have to reload after login to see content

Post by kevin360 »

I'm using FrontEndUsers and CustomContent together and it's working fine.  The page shows the login form if the person isn't logged in and after they login it will show the custom content for users that are logged in.  The problem is you enter the username and password and hit submit and it comes back with the login screen again.  If I hit reload then the page reloads with the correct content.  I've tested this in Firefox 1.5.0.4, is there something else I should set?  I marked the page as uncacheable thinking that might be the problem.

Thanks,
Kevin
promy
Forum Members
Forum Members
Posts: 12
Joined: Mon Jul 10, 2006 8:11 am

Re: CustomContent - have to reload after login to see content

Post by promy »

any chance that this was resolved? I seem to have the same "problem". ;D
kevin360

Re: CustomContent - have to reload after login to see content

Post by kevin360 »

Nope, not sure what the fix is for this one just yet.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CustomContent - have to reload after login to see content

Post by calguy1000 »

What version of CMS, and which version of CustomContent.... Also are you using the smarty syntax, or the style syntax.

In order to properly answer your question I need to know all of these details.

Thanks.

you may have better luck by marking the page as non-cachable, depeding on your version of CMS.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
promy
Forum Members
Forum Members
Posts: 12
Joined: Mon Jul 10, 2006 8:11 am

Re: CustomContent - have to reload after login to see content

Post by promy »

Sorry, forgot to include the spec  ;D

i am running cms 0,13  customcontent 1,4,1 and frontendusers 1,0,5

the code i am using, was the one found here on the forum:

{cms_module module=FrontEndUsers} {cms_module module=CustomContent} {if $customcontent_loggedin}

private stuff goes here

{/if}
kevin360

Re: CustomContent - have to reload after login to see content

Post by kevin360 »

cmsms 0.13
customcontent 1.4.1
frontendusers 1.0.5

And the syntax I'm using:

{cms_module module=CustomContent}

{if $customcontent_loggedin eq 1}

{else}

{cms_module module=FrontEndUsers form=login}

{/if}


Thanks!
Kevin
kevin360

Re: CustomContent - have to reload after login to see content

Post by kevin360 »

I've tested it on these three browsers:

FF - 1.5.0.4  (Linux box)
Mozilla - 1.7.13  (Linux box)
IE - 6.0.2900.2096

All three have the same problem.  Sometimes it'll reload straight to the page, other times I get the login page and just refreshing will bring up the correct page.  I was curious if it had anything to do with caching so I disabled the cache on FF and it still did the same thing.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CustomContent - have to reload after login to see content

Post by calguy1000 »

it's not client caching, it's server side caching.

Have you tried marking the page as non-cachable? in the CMSMS admin..... I think it's on the options tab when you edit the page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
kevin360

Re: CustomContent - have to reload after login to see content

Post by kevin360 »

Yeah, that was one of the first things I thought to try.  I just checked again and the checkbox on the options screen for the page is empty.  I just thought today I'd try turning off the browser cache to see if it had any effect.
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Re: CustomContent - have to reload after login to see content

Post by boscopup »

This sounds like it might be the same problem I'm having (posted a thread "Frontendusers - Some People Login Twice"). Doesn't hitting refresh just repost the data? So wouldn't it be the same thing as logging in twice? I've had 3 users so far report this problem, but I can't reproduce it myself. Ugh.
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Re: CustomContent - have to reload after login to see content

Post by boscopup »

Ok, mine turned out to be a server issue, probably related to some security upgrades. My sys admin is fixing it. I realized it was a server issue when I found that some of my admins were having to login twice when accessing an htaccess protected directory that's totally unrelated to CMSMS.
promy
Forum Members
Forum Members
Posts: 12
Joined: Mon Jul 10, 2006 8:11 am

Re: CustomContent - have to reload after login to see content

Post by promy »

mmm, maybe it's the same thing here... the site is hosted by dommel.be
Could you give me some more info about that 'server problem'? so i can ask my hoster to check it for me?
Thanks!
Locked

Return to “Modules/Add-Ons”