I'm really not any good in programming and I have a question.
I understand that users who have logged in with an album password, actually stays logged in until windows clears the cookie history. That can be a problem on shared computers. Therefore, you guys came up with the user log out plug-in (I guess..)
Can anybody explain to me (in plain english, step-by-step) how this works, which code to copy and where to place it.
In the tutorial it says: "Place a call on printUserLogout() where you want the logout link to appear" ... that doest tell me anything really!
Comments
`void printUserLogout( [string $before = ''], [string $after = ''], [bool $showLoginForm = false] )`
Do I place This on my index page then:
`<?php printUserLogout()?>`
I pasted the code above into the index.php file in the themes folder.
When I loaded the page, a new password box appeared, not an option to log out. I can only log out when im logged in as admin, not as a user viewing an album?