Is there still a UserID module for customcontent?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Is there still a UserID module for customcontent?

Post by giggler »

While trying out customcontent, the first paragraph in help says the following, but I can't find any userid module:

Code: Select all

This module, in conjunction with the UserID module allows you to create a page that will look different depending upon the person that looks at it. You can specify different content for certain users, or members of a certain group.
I also used the following code and somehow it worked once and then I'm locked out of customcontent pages even though it shows I'm logged in on the log in page:

Code: Select all

{if $customcontent_loggedin}
Welcome <b>{$customcontent_loginname}</b><br />
{cms_module module='FormBuilder' form='Sales'}
{else}
<h1>You are not authorized to view this data</h1>
{/if}
It's working randomly...right after I push update/apply for the page, it will work once...then it has "You are not authorized to view this data". Do I have some wrong setting?
Last edited by giggler on Thu Jan 17, 2008 8:19 am, edited 1 time in total.
alby

Re: Is there still a UserID module for customcontent?

Post by alby »

giggler wrote: While trying out customcontent, the first paragraph in help says the following, but I can't find any userid module:

Code: Select all

This module, in conjunction with the UserID module allows you to create a page that will look different depending upon the person that looks at it. You can specify different content for certain users, or members of a certain group.
It's a old string, read FEU rather than UserID and FEU module it's installed because mandatory for CustomContent

giggler wrote: I also used the following code and somehow it worked once and then I'm locked out of customcontent pages even though it shows I'm logged in on the log in page:

Code: Select all

{if $customcontent_loggedin}
Welcome <b>{$customcontent_loginname}</b><br />
{cms_module module='FormBuilder' form='Sales'}
{else}
<h1>You are not authorized to view this data</h1>
{/if}
It's working randomly...right after I push update/apply for the page, it will work once...then it has "You are not authorized to view this data". Do I have some wrong setting?
Two items and one tip:
- use {if $customcontent_loggedin > 0}
- uncheck page cache (in Option tab of this page)

- look for tips here


EDIT: correct link

Alby
Last edited by alby on Thu Jan 17, 2008 7:38 pm, edited 1 time in total.
giggler
Forum Members
Forum Members
Posts: 197
Joined: Tue Oct 09, 2007 7:08 am

Re: Is there still a UserID module for customcontent?

Post by giggler »

I think that did it!! Thanks! Does this mean ALL pages that need logging in should be have cachable unchecked?

The tip link didn't work...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Is there still a UserID module for customcontent?

Post by calguy1000 »

yes, you can't cache pages that are potentially different for each user..... any page that has customcontent on it has to have caching disabled.
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.
Droax
New Member
New Member
Posts: 8
Joined: Wed Nov 07, 2007 12:48 pm

Re: Is there still a UserID module for customcontent?

Post by Droax »

I tried to use the custom content 1.4.10 with feu 1.3 and i get the following results: The user logs in on a page that's behind Custom Content,... the content is displayed. After hitting F5, the page reacts like the user isn't logged in, while feu says the user is still logged in. Every other page (behind CC) isn't avalable for the logged in user that session. Why?

I have al the paged non-cached, but the content would stay the same after changing it in de adminpanel. Why?

I don't get it at all now.
Post Reply

Return to “CMSMS Core”