Member
Member
Jay5oh   2009-01-27, 20:27
#1

I am using version 1.2.2 and the default theme set to "dark". I can log in via the admin.php URL but if I log out there is nowhere to log in while looking at the gallery? I have to go to the admin.php URL. Is there a way around this? If I go to "options" -> "gallery config" I have this field checked: "Enable user name login field:" but still no log in field in the gallery...

Member
Member
sbillard   2009-01-27, 23:38
#2

enable the user_logout plugin. Place a call on printUserLogout() where you would like the log-out/log-in links to appear. Set the third parameter of printUserLogout() to true.

The Effervescence+ theme has this full functionality. The example theme uses the printUserLogout() plugin, but does not enable the login form.

Member
Member
Jay5oh   2009-01-28, 00:18
#3

I enabled the user_logout but I have no idea about the rest of what you said.

Here is what I have:

What do I need to do? What is a "call"?

Thanks for your patience..

Member
Member
sbillard   2009-01-28, 02:36
#4

What 'call' means is that you have to insert the function into your theme script. As to where you put it, that depends on where you want the form to be placed. This is not the script as listed above, but the name of the function and its parameter list.

If this is all greek to you, then maybe you should look at the two themes noted above and see how they did it. If that is still greek this is not going to be easy.

Member
Member
Jay5oh   2009-01-28, 20:54
#5

It's all greek to me...I guess I'll live without.

Thanks for the replies.

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