Page 1 of 1

FE Users not allowed to see content

Posted: Thu Jul 26, 2007 2:08 pm
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

Re: FE Users not allowed to see content

Posted: Thu Jul 26, 2007 8:15 pm
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).

Re: FE Users not allowed to see content

Posted: Thu Jul 26, 2007 10:02 pm
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