View previous topic :: View next topic |
Author |
Message |
dz01
Joined: 12 Mar 2003 Posts: 1
|
Posted: Wed Mar 12, 2003 11:24 pm Post subject: Member Image? |
|
|
is there a hack for a member image, asked at registration and that shows up on the blog? |
|
Back to top |
|
 |
dtdgoomba
Joined: 05 Aug 2002 Posts: 178 Location: Cambridge, MA
|
Posted: Thu Mar 13, 2003 4:27 am Post subject: |
|
|
There isn't one available yet no, but if I can ever find the time, I can try and put together a clear hack that I used for http://www.goombalooza.com It requires altering the b2users tablein the database a little. I'm trying to work to get a Manage Avatars for each user but if you'd like, you're welcome to sign up and check it out. It's still inthe works! _________________ Goombalooza! | Last X posts from Y Category | Login Box |
|
Back to top |
|
 |
Jeevan
Joined: 11 May 2002 Posts: 16
|
Posted: Sun Apr 06, 2003 4:29 pm Post subject: |
|
|
No, but you can do it by uploading an image and calling it with a function:
[php:1:fe84430cd1]<img src="pictures/<?php the_author_login() ?>.jpg" border="0">[/php:1:fe84430cd1]
(found in readme.html)
Hope that helps. _________________ Jeevan |
|
Back to top |
|
 |
mistikal
Joined: 10 Apr 2003 Posts: 22
|
Posted: Thu Apr 10, 2003 2:46 am Post subject: |
|
|
how would the author be able to upload that certain image for him/her self? |
|
Back to top |
|
 |
Cyberian75
Joined: 26 Sep 2002 Posts: 967 Location: Washington
|
Posted: Thu Apr 10, 2003 3:50 am Post subject: |
|
|
mistikal wrote: | how would the author be able to upload that certain image for him/her self? |
There's a functionality for unloading images to the server, which you have to enable in b2config.php file. You also have to change the permission of the upload directory to 666 or 777. _________________ Michael P. |
|
Back to top |
|
 |
mistikal
Joined: 10 Apr 2003 Posts: 22
|
Posted: Fri Apr 11, 2003 1:46 am Post subject: |
|
|
Oh okay. Thanks |
|
Back to top |
|
 |
caffeinated
Joined: 08 Aug 2003 Posts: 3
|
Posted: Sat Sep 13, 2003 4:33 am Post subject: |
|
|
hi dtdgoomba,
Any news about your "member image upload" hack? I've checked it on your site and it looks great. Can you share the hack? Thanks. [/quote] |
|
Back to top |
|
 |
dtdgoomba
Joined: 05 Aug 2002 Posts: 178 Location: Cambridge, MA
|
Posted: Tue Sep 16, 2003 1:09 am Post subject: been a while |
|
|
I'll have to go through the code one of these nights when I'm free and let you know how I did it. I was researching stuff on php.net regarding how to upload an image, and I store some info in a database to pull later. I was hoping (months ago) to get a fully functional interface where you can delete, right now you can add and add, but not delete or edit! I'm glad you like it though, it's been nice seeing randoms sign up on the site!
In the meanwhile, go to http://www.php.net and/or google and search for how to upload images with php just to get an idea. I'll give you what I can at some point, I promise. _________________ Goombalooza! | Last X posts from Y Category | Login Box |
|
Back to top |
|
 |
mknowles
Joined: 30 Sep 2003 Posts: 1
|
Posted: Tue Sep 30, 2003 1:42 am Post subject: Avatars |
|
|
Here's the avatar code I use if you're wanting to use it. It's not particularly elegant, but it's pretty flexible.
http://www.sothyouth.org/avatars.zip
I use the code on our little site, so you can check it out at:
http://www.sothyouth.org/
There are some basic installation instructions in the .zip. If you have troubles using it, holler: [email protected]
Mike
Edit:
I know this doesn't follow the rule of "don't just replace files" for hacks (re: b2profile.php). I had this together already and wanted to offer what I had. In the next couple of days or week I'll try to put together a more polite version and make it available. |
|
Back to top |
|
 |
caffeinated
Joined: 08 Aug 2003 Posts: 3
|
Posted: Thu Nov 06, 2003 9:52 pm Post subject: |
|
|
thanks mknowles, I checked your site and the avatar feature looks great! I'll try to install the hack. |
|
Back to top |
|
 |
|