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}
Frontenduser: What has changed in 1.6.10? [SOLVED]
Frontenduser: What has changed in 1.6.10? [SOLVED]
Last edited by thomahawk on Tue Dec 01, 2009 7:39 am, edited 1 time in total.
Re: Frontenduser: What has changed in 1.6.10?
be more specific? Where exactly does the page stop loading?thomahawk wrote: The code stops precisely before the first code tag.
Any error messages?
Perhaps rename your FEU groups with underscores instead of dashes?? IIRC, PHP does not like dashes in variable names. Not sure if Smarty cares.thomahawk wrote: {if $ccuser->loggedin() && $ccuser->memberof('QM-Nutzer')}
...
{elseif $ccuser->loggedin() && $ccuser->memberof('QM-Admin')}
Have you turned debug on?
Re: Frontenduser: What has changed in 1.6.10?
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

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
Re: Frontenduser: What has changed in 1.6.10?
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
{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
-
- 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?
Nope... nothing has changed syntax wise in FEU for a long time.I suppose something has changed in the new version of Frontend User!!! But I dont see any note about this.
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.
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.
Re: Frontenduser: What has changed in 1.6.10?
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
{cms_module module=FrontEndUsers returnto="$qm"}
But something has to be changed. I use the same settings, the same templates...!
Thomas
Re: Frontenduser: What has changed in 1.6.10?
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}
{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}
Re: Frontenduser: What has changed in 1.6.10?
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?
Re: Frontenduser: What has changed in 1.6.10?
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
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