Re: Adding Custom Profile Fields
Awesome, I’ll give it a go.
Funny you mention your avatar plugin… I saw yours but I wasn’t crazy about the modification of core files, so I wrote my own upload script. It uploads a JPG, GIF, or PNG file under 20kb, with a fixed resolution of 64×64 px. If any of these conditions aren’t met, it spits out an error.
If your username is UserName
, then the file is named username-avatar.gif
or whatever image extension is.
I have a simple detection script for the image in the file post.php
. It works for now, but I’d like something a little better. If you’d like a peek at the code just let me know.
I’m working on a PM system, and a post preview “plugin”… it’s slow going though, as college gets in the way quite a considerable bit.
Thanks,
Mike