ZenphotoCMS Forum
simple question - 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: simple question (/thread-5729.html)



simple question - fcannata - 2009-08-24

This should be so simple, but couldn't find anything of relevance with a search of the user guide, so here it goes...

What is the code to detect if your logged in? I want to hide sign up stuff after a user is authenticated.

Also, i wrote a plug in..how do i share it?




simple question - acrylian - 2009-08-24

  1. Use if (zp_loggedin()) {.... }
  2. Best you create a download page on your website with some details about it and let us know the link here on the forum. Then we will add an entry on our plugins page.