ZenphotoCMS Forum
svn 2010 user logout - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: svn 2010 user logout (/thread-3368.html)



svn 2010 user logout - macalter - 2008-07-24

When this plugin option is checked, is the code added to the pages album/index/image.php or must it be done manually? i checked it but cannot trace "printUserLogout" in the source code.




svn 2010 user logout - sbillard - 2008-07-25

It must be done manually. place `` wherever you want this link/form to appear.




svn 2010 user logout - macalter - 2008-07-25

So, what does the plugin do?




svn 2010 user logout - macalter - 2008-07-25

I added the code, it prints a text "logout". But, I thought it would only appear when the guest from the Gallery Config page signs in. I see it when in Admin.




svn 2010 user logout - sbillard - 2008-07-25

It shows whenever anyone is logged in. If no one is logged in the login form will show.




svn 2010 user logout - macalter - 2008-07-26

Is there modification to the syntax that would allow an image to be used for logout?




svn 2010 user logout - sbillard - 2008-07-26

You can do this yourself. The link is href="?userlog=0"




svn 2010 user logout - macalter - 2008-07-26

I substitute the print... for the href... but where is the name of the image included?




svn 2010 user logout - sbillard - 2008-07-26

You need to learn some more about HTML if you are going to make this sort of modification. The normal way to do this is ``




svn 2010 user logout - macalter - 2008-07-27

Know HMTL, wasn't sure how the PHP code fitted in