boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Member Image?

 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
dz01



Joined: 12 Mar 2003
Posts: 1

PostPosted: Wed Mar 12, 2003 11:24 pm    Post subject: Member Image? Reply with quote

is there a hack for a member image, asked at registration and that shows up on the blog?
Back to top
View user's profile Send private message AIM Address
dtdgoomba



Joined: 05 Aug 2002
Posts: 178
Location: Cambridge, MA

PostPosted: Thu Mar 13, 2003 4:27 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Jeevan



Joined: 11 May 2002
Posts: 16

PostPosted: Sun Apr 06, 2003 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mistikal



Joined: 10 Apr 2003
Posts: 22

PostPosted: Thu Apr 10, 2003 2:46 am    Post subject: Reply with quote

how would the author be able to upload that certain image for him/her self?
Back to top
View user's profile Send private message
Cyberian75



Joined: 26 Sep 2002
Posts: 967
Location: Washington

PostPosted: Thu Apr 10, 2003 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
mistikal



Joined: 10 Apr 2003
Posts: 22

PostPosted: Fri Apr 11, 2003 1:46 am    Post subject: Reply with quote

Oh okay. Thanks
Back to top
View user's profile Send private message
caffeinated



Joined: 08 Aug 2003
Posts: 3

PostPosted: Sat Sep 13, 2003 4:33 am    Post subject: Reply with quote

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. Smile [/quote]
Back to top
View user's profile Send private message
dtdgoomba



Joined: 05 Aug 2002
Posts: 178
Location: Cambridge, MA

PostPosted: Tue Sep 16, 2003 1:09 am    Post subject: been a while Reply with quote

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
View user's profile Send private message Visit poster's website
mknowles



Joined: 30 Sep 2003
Posts: 1

PostPosted: Tue Sep 30, 2003 1:42 am    Post subject: Avatars Reply with quote

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
View user's profile Send private message
caffeinated



Joined: 08 Aug 2003
Posts: 3

PostPosted: Thu Nov 06, 2003 9:52 pm    Post subject: Reply with quote

thanks mknowles, I checked your site and the avatar feature looks great! I'll try to install the hack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group