Quote:
Originally Posted by siLk
i would like to see a small hack that stores the username in the cookie along with the userid.
I have comments for multiple content areas on my website right now, and would like to force them to register an account on the forums before they can post, and then have that username automatically show up.
thanks
Edit, figured it out myself, just adding 2 lines to login.php so not sure if it is really a hack or just a small mod
if anyone is interested, i can attach the lines here?
|
You really don't need to store the username in a cookie. You can use $bbuserinfo[username] almost anywhere in a template and that would show the username.