How to tell if user is logged or not?

EzGenerator V4 forum

Return to “Ezgenerator v4 Customer Forum”

[You can only see part of this thread as you are not logged in to the forums]
miro (staff)
Site Admin
Fri Oct 31, 2014 9:14 pm

x

Re: How to tell if user is logged or not?

hi

there is %LOGGED% macro, but this only works on php pages (blogs, shop)
on normal page you can use this :

Code: Select all

<script src="../documents/centraladmin.php?process=loggedusername"></script>
it will return username (if logged) or empty

miro (staff)
Site Admin
Mon Nov 03, 2014 9:05 am

x

Re: How to tell if user is logged or not?

hi change : %IF(%LOGGED%=="", to %IF(%LOGGE...

MEB
Mon Nov 03, 2014 6:42 pm

x

Re: How to tell if user is logged or not?

Hi, I have an IF setup in shop cart with login...
You do not have the required permissions to view the files attached to this post.

MEB
Mon Nov 03, 2014 6:53 pm

x

Re: How to tell if user is logged or not?

Actually its reversed 1st part is not logged ...


MEB
Mon Nov 03, 2014 7:22 pm

x

Re: How to tell if user is logged or not?

Yes I understand now. Hope you get it working

miro (staff)
Site Admin
Tue Nov 04, 2014 9:38 am

x

Re: How to tell if user is logged or not?

hi with : Code: Select all%IF(%LOGGED% = 1, ...

miro (staff)
Site Admin
Tue Nov 04, 2014 6:19 pm

x

Re: How to tell if user is logged or not?

hi use 0.00 and %%price%% (instead of %price%...

miro (staff)
Site Admin
Tue Nov 04, 2014 6:31 pm

x

Re: How to tell if user is logged or not?

hi no, just for price field %price% is replace...


Return to “Ezgenerator v4 Customer Forum”