Topic: login form on other page
I've been using Pun for a few days, and I was able to code a special dohickey that lists the most recent posts on my main page. I'm proud of myself. I also found enough code from the pages to display the "most recent user" thing near the top of my main page.
I also have a login form that you can choose where to be redirected to, either to the main page or to the forum when logging in.
I sifted through the files, trying to find how the forum decodes the cookie to display the username. I spent about an hour doing so, but gave up. Does anyone know where the code lies that decodes the cookie? (I thought it was in header.php, but I guess I'm not experienced enough yet to know where all the functions are coming from.)
Basically all I need is the capability of showing the "logged in as..." thing on the main page. Then from this I can display special notices, like "new artwork here" or "new animation there".
Also, I had just recently coded my own member script, which worked very well, until I decided to switch over to Pun because I needed a forum. It's easier to make a secure area script from a forum rather than the other way around.
Well, I hope someone can help me out.
~creaturecorp