Member
Member
hugogus   2011-09-11, 18:51
#1

Hello,

First, thank you for this great gallery management.
I'm in the process of creating mine using zenphoto and want to display the name of the user who is currently logged in.

I'm sure it's pretty easy, but I can't find in the documentation the method to call or the global variable to display.

Thank you for your support.

Hugo.

Member
Member
sbillard   2011-09-11, 23:19
#2

The variable (an object) is $_zp_current_admin_obj It has a method for getting the user id, etc. Note of coures that if no one is logged in this variable may not be valid.

Member
Member
hugogus   2011-09-14, 15:39
#3

Hello,

Thanks for your reply.
However, I think I would need a bit more details
Where can I find the list of methods that can be called on this object?

Thank you for your support.

Administrator
Administrator
acrylian   2011-09-14, 15:58
#4

On the functions documentation.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.