I'm guessing someone has already done this. Can you point to where? If not, can anyone code this?
On my board, we allow postings by Unregistered users.
All 3 examples probably require the same logic, but anyway:
Case 1: You're at a threadlist, you're logged in, but you decide you want to either post a reply as Unregistered, or you want to log-in under a different screen name. So, log-out, but return to the same threadlist.
Case 2: You're logged in, reading posts, and before you reply, you decide you want to either switch usernames or reply unregistered (or start a new thread as unregistered name). Log-out, and return to the page of posts (showthread).
Case 3: You're logged in, you hit reply, you're at the message-compose screen, you decide you want to post under an unregistered name. Log-out, return to the message-compose screen.
--
Anyone have this code already written? Thank you.
|