FE Users not allowed to see content

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Mystoph
Forum Members
Forum Members
Posts: 22
Joined: Tue Jul 03, 2007 10:29 pm

FE Users not allowed to see content

Post by Mystoph »

Hi

I have a problem with the FEU-module.
My users can not log in to the restricted areas, even though they are members.
The users only get to know that they are not logged in.

I am using the following code in my template:

{cms_module module=CustomContent}




{$customcontent_loginname}

{content}


Du skal være logget ind for at se indholdet på denne side.




All pages are hidden from the menu and non-cacheable. Did the check in "Options".
In the FEU-adminpanel I set the PageID/Alias to jump to after login to {&group}.

Im using 1.0.2. maui (due to problems on the webhost), 1.2 FEU and CustomContent (latest).

This is the page:
www.brandtgruppen.dk/intranet
User: Gustav
Passw: Laurak

Thanks in advance

/Christopher
Last edited by Mystoph on Thu Jul 26, 2007 9:36 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: FE Users not allowed to see content

Post by calguy1000 »

a couple of pointers:

a) You should use the smarty syntax for customcontent, not the ugly hacked up startif stuff.
b) Remove the spaces in the group list.  I don't think that that syntax is very smart.  (the smarty syntax is easier to work with).

I couldn't login to your site (invalid username and password).
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.
Mystoph
Forum Members
Forum Members
Posts: 22
Joined: Tue Jul 03, 2007 10:29 pm

Re: FE Users not allowed to see content

Post by Mystoph »

Hi
Thanks for your answer.
Inserting the smarty tags dosn't help me out.

{get_template_vars}

{if $customcontent_loggedin}
{if $ccuser->loggedin() && $ccuser->memberof('gruppe1,gruppe2')}
Welcome logged in local member

{content}

{else}
Anonymous user
{/if}
{/if}


I still end up with no access to the content.
What am I doing wrong?

By the way
login: gustav
Password: Laurak

/Christopher


SCRIPT_NAME = /index.php
app_name = CMS
sitename = HR konsulentfirma BrandtGruppen
lang = da_DK
encoding = UTF-8
ccuser = Object
content_id = 74
page = gruppe2
page_id = gruppe2
page_name = gruppe2
page_alias = gruppe2
position = 00010
friendly_position = 10
customcontent = 1
customcontent_loggedin =
customcontent_ip = 85.83.119.200
customcontent_loginname = nobody
Post Reply

Return to “Modules/Add-Ons”