Member
Member
macalter   2008-07-24, 17:59
#1
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.
Member
Member
sbillard   2008-07-25, 00:22
#2
It must be done manually. place `<?php printUserLogout() ?>` wherever you want this link/form to appear.
Member
Member
macalter   2008-07-25, 03:56
#3
So, what does the plugin do?
Member
Member
macalter   2008-07-25, 19:58
#4
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.
Member
Member
sbillard   2008-07-25, 22:05
#5
It shows whenever anyone is logged in. If no one is logged in the login form will show.
Member
Member
macalter   2008-07-26, 02:01
#6
Is there modification to the syntax that would allow an image to be used for logout?
Member
Member
sbillard   2008-07-26, 16:23
#7
You can do this yourself. The link is `href="?userlog=0"`
Member
Member
macalter   2008-07-26, 16:28
#8
<?php printUserLogout() ?>

I substitute the print... for the href... but where is the name of the image included?
Member
Member
sbillard   2008-07-26, 17:00
#9
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 `<a href = "link"><img src = "image link" /></a>`
Member
Member
macalter   2008-07-27, 04:28
#10
Know HMTL, wasn't sure how the PHP code fitted in Smile
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.