[Solved] FrontEndUsers - Strange login issues

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

[Solved] FrontEndUsers - Strange login issues

Post by boscopup »

I just upgraded to CMSMS 1.5.1 with FrontEndUsers 1.5.4 and CustomContent 1.5.2. I'd been running some pretty old versions (about a year old), so had to make template changes to get it working as much as it is.

I have two templates. One template is for public pages, and the other template is for pages that are to be viewed by logged in members only. The member group is "Member".

My navigation is set up such that there's a main menu, then if you're logged in, a member menu (with 2 member-only pages listed) will show up, then the FEU login stuff below that.

Now here's where the problem is... I login as a member, and it correctly shows me the member menu and has the welcome member message where the login box used to be. I click on one of the member-only pages, and it displays the page properly. BUT... if I then click on another member-only page, it will take the member menu off and will give me the "You are not allowed to view this page" message that a non-logged in person is supposed to get. Yet, the FEU box still has the welcome member message - no login box?  ???

Here is the pertinent template code:

Regular template navigation section:

Code: Select all

            
            {cms_module module=CustomContent}
            {if $customcontent_loggedin > 0 && $customcontent_memberof_Member}
            <div class="block">
                <div class="contenttitle">Member Menu</div>
                {member_menu}
            </div>
            {/if}

            <div class="block">
                <div class="contenttitle">Member Login</div>
                {cms_module module=FrontEndUsers nocaptcha="1"}
            </div>
Members-only template navigation section (same thing):

Code: Select all

            {cms_module module=CustomContent}
            {if $customcontent_loggedin > 0 && $customcontent_memberof_Member}
            <div class="block">
                <div class="contenttitle">Member Menu</div>
                {member_menu}
            </div>
            {/if}

            <div class="block">
                <div class="contenttitle">Member Login</div>
                {cms_module module=FrontEndUsers nocaptcha="1"}
            </div>
Members-only template content section:

Code: Select all

            {cms_module module=CustomContent}
            {if $customcontent_loggedin > 0 && $customcontent_memberof_Member}
                    {content}
            {else}
                    You must be logged in to view this page.
            {/if}
System information:
CMSMS 1.5.1
FrontEndUsers 1.5.4
CustomContent 1.5.2
PHP 4.4.7
Last edited by boscopup on Wed Jan 14, 2009 4:12 pm, edited 1 time in total.
boscopup
Forum Members
Forum Members
Posts: 35
Joined: Wed May 04, 2005 3:48 pm

Re: [Solved] FrontEndUsers - Strange login issues

Post by boscopup »

Solved it when I read down a few posts and saw a CustomContent post with the same issue, and checked my member pages - they were cacheable. Doh!

I thought I'd marked everything uncacheable, but those weren't marked as such. Problem solved. :)
Post Reply

Return to “Modules/Add-Ons”