Website Membership

By Damon - August 25, 2015

Hi Ragi,

I tested with a local installation using the latest versions of both CMS Builder and Website Membership and I'm not able to recreate this.

Are you using this code to display content for logged in users only:

<?php if ($CURRENT_USER): ?>
  Only logged in users will be able to see this.
<?php endif ?>


And using this code to display content for users who aren't logged in:

<?php if (!$CURRENT_USER): ?>
  Only logged who are _not_ logged in will see this:
<?php endif ?>

I also tested making the whole page login only so if you aren't logged in, you get auto directed to the login with no issues.

Can you send in a support request (don't post details here) with CMS Builder, FTP and Website Membership account I can test with:
https://www.interactivetools.com/support/email_support_form.php

Also the browser you are using too.

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By northernpenguin - August 25, 2015

Thanks Damon.  I have submitted the support request.

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

By Damon - August 26, 2015

Hi,

Sent you an reply to your ticket.

The issue was a simple typo which caused the content to show when not logged in and after clicking log out.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By northernpenguin - August 26, 2015

Thanks Damon!

I couldn't see the forrest for the trees.

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke