Frontenduser: What has changed in 1.6.10? [SOLVED]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Frontenduser: What has changed in 1.6.10? [SOLVED]

Post by thomahawk »

There was a code I used for an earlier website project, which has installed CMS Made Simple 1.5.4 "Carolina" with Frontend User 1.6.4.

Now I put the same code in a new installed CMS Made Simple 1.6.6 "Bonde" with Frontend User 1.6.10 and it does not work! The server only gives out half of the page code, resulting in a half loaded page without CSS. The code stops precisely before the first code tag.

Filebrowser plugin is also involved but works well. I have checked using only this code, rendered all fine:
{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }

Basically Frontend User works too, I have checked this code and it worked out:
{cms_module module=FrontEndUsers returnto="$qm"}

But using the whole code results in half html output. This is the code I used:

{if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}

QM-HANDBUCH


{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }


{cms_module module="frontendusers" form="logout"}


{elseif $ccuser->loggedin() && $ccuser->memberof('QM-Admin')}

QM-HANDBUCH ADMINISTRATOR


{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }


{cms_module module="frontendusers" form="logout"}

{else}

QM-LOGIN

{cms_module module=FrontEndUsers returnto="$qm"}

{/if}
Last edited by thomahawk on Tue Dec 01, 2009 7:39 am, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Frontenduser: What has changed in 1.6.10?

Post by jmcgin51 »

thomahawk wrote: The code stops precisely before the first code tag.
be more specific?  Where exactly does the page stop loading?

Any error messages?
thomahawk wrote: {if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}
...
{elseif $ccuser->loggedin() && $ccuser->memberof('QM-Admin')}
Perhaps rename your FEU groups with underscores instead of dashes??  IIRC, PHP does not like dashes in variable names.  Not sure if Smarty cares.

Have you turned debug on?
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Re: Frontenduser: What has changed in 1.6.10?

Post by thomahawk »

Thanks for stopping by ;-)
I actually already use usernames without dashes in the new setting (='QMuser') and it makes no difference.

The page stops loading exactly before the first tag
{if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}

Thats where in the template is {content}
The code is in a page that begins loading at this point.

Thomas
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Re: Frontenduser: What has changed in 1.6.10?

Post by thomahawk »

I have narrowed it down to this:

{if $ccuser->loggedin}
This does work, so the page loads, but the filebrowser tag is not working, means: there is nothing shown, just empty.

{if $ccuser->loggedin()}
this does not work, the page does load only the part before this tag.

{cms_module module=FrontEndUsers returnto="$qm"}
this does show the login template


Any suggestion?
I suppose something has changed in the new version of Frontend User!!! But I dont see any note about this.

Thomas
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Frontenduser: What has changed in 1.6.10?

Post by calguy1000 »

I suppose something has changed in the new version of Frontend User!!! But I dont see any note about this.
Nope... nothing has changed syntax wise in FEU for a long time.
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.
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Re: Frontenduser: What has changed in 1.6.10?

Post by thomahawk »

It seems its not the FEU templates, as the login and logout templates come when I am only using
{cms_module module=FrontEndUsers returnto="$qm"}

But something has to be changed. I use the same settings, the same templates...!

Thomas
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Re: Frontenduser: What has changed in 1.6.10?

Post by thomahawk »

I have reduced it to the essentials. But still the same Problem.

{if $ccuser->loggedin() && $ccuser->memberof('QMnutzer')}

{filebrowser mainname='QM' folder='uploads/QM' showtitle="false" }


{cms_module module="frontendusers" form="logout"}



{else}

Sie sind nicht angemeldet

{cms_module module=FrontEndUsers returnto="$qm"}

{/if}
Trawis
Forum Members
Forum Members
Posts: 22
Joined: Sat Jul 05, 2008 7:30 am

Re: Frontenduser: What has changed in 1.6.10?

Post by Trawis »

I have the same problam... and I can't find out solution there in the forum. When I use $ccuser->loggedin()  in a template, the site doesn't load correctly. So what about others, when you use $ccuser->loggedin() in your website with cmsms 1.6.6, is everything ok?
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am
Location: Zug, Switzerland

Re: Frontenduser: What has changed in 1.6.10?

Post by thomahawk »

Hi Trawis

In the end I had help with this. He soon found out that I simply forgot to install the custom content module. After that it worked as expected.

Thomas
Post Reply

Return to “Modules/Add-Ons”