Looking for avatar mod

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/61389?pagenum=1
05 November 2025, 02:43

Topic


jiffy
Looking for avatar mod
22 March 2006, 13:53


First let me say I'm sorry if this is in the wrong forum and yes I tried a search before posting this. I'm looking for a basic avatar mod but I have a couple of needs for it and I thought they were basic. I just want to have the ability for a user to upload an image for use, only they would see it and be able to use it. Heck they don't even have to be able to upload it they could just point to the location on the net. I also want to be able to delete any avatar I deem bad. I don't need the gallery and such that usually come with an avatar mod. I tried snitzbitz but couldn't find anything that suited my needs. I really wanted to implement the Zuel mod but it is much more then I need and it looks to not be to a finished stage yet.<

 

Replies ...


squad23
22 March 2006, 14:18


http://www.snitzbitz.com/mods/details.asp?Version=All&mid=52<
jiffy
22 March 2006, 14:28


Unless I'm missing something that mod doesn't allow a user to upload/link to their own image. I think that's the one I installed on my test forum and it was more for having a huge list of avatars for users to select from. Not what I'm after. I just want a real basic one where they can either link to an image or upload and only they can use it. I do want to be able to delete one if I see fit though. So is there something like that out there?<
squad23
22 March 2006, 14:39


look for "My Avatar Addon for Avatar Mod 3.4" on that page
there is a function to do exactly what you want (i guess tongue)
"# User Submitt Avatar - modified pop_add_avatar.asp file, to let user submit his own Avatar link url."<
jiffy
22 March 2006, 16:10


After reading the review (2 stars) I think I'll pass on that one. Anything else out there?<
TonyB7
22 March 2006, 22:55


Alas, no. Zuel's the only one that's attempted user avatar uploads. True, it's not finished yet, but if you get the latest version (from the thread here, not on Snitzbitz yet I don't think), it (mostly) works.
He's been distracted with other things but I bet a little encouragement will bring him back to add the final touches to it.
PS I dunno for sure, but 'submit his own Avatar link url.' is not at all the same as users being able to upload avatars. <
mynameissteve
30 March 2006, 20:14


I have made my own avator(one which allows for direct linking of images)

I have no tutorial yet for this if anyone wants it but you can check it out here:

http://mynameissteve.com/forum
It does not require any DB changes and very minimal code changes
15-20 lines total! using the latest forum.... 3.4.05

So let me know if you like it/want to know the code.<
alanh
31 March 2006, 06:36


Originally posted by jiffy
After reading the review (2 stars) I think I'll pass on that one. Anything else out there?
Jiffy,

what do you expect for nothing ???. I am using the add avatar add on and it's fine on my forum, just because the review only has two stars, don't make it pants.
Try it, you could always back it out.<
Zuel
31 March 2006, 10:49


Originally posted by TonyB7
Alas, no. Zuel's the only one that's attempted user avatar uploads. True, it's not finished yet, but if you get the latest version (from the thread here, not on Snitzbitz yet I don't think), it (mostly) works.
He's been distracted with other things but I bet a little encouragement will bring him back to add the final touches to it.
PS I dunno for sure, but 'submit his own Avatar link url.' is not at all the same as users being able to upload avatars.

I'm working on it. No ETA at the moment.<
jiffy
01 April 2006, 16:26


Originally posted by mynameissteve
I have made my own avator(one which allows for direct linking of images)

I have no tutorial yet for this if anyone wants it but you can check it out here:

http://mynameissteve.com/forum
It does not require any DB changes and very minimal code changes
15-20 lines total! using the latest forum.... 3.4.05

So let me know if you like it/want to know the code.

Oh man that might be perfect. I tried registering to see what it's like in the profile but I haven't gotten the email yet. Yes that would be great if you could share the code.<
mynameissteve
01 April 2006, 18:26


Thats odd....
What I can do which would be the easiest (if you have not changed any code on the "topic.asp" page would be to just e-mail you my page.
p.s let me know if you ever got the registration e-mail<
mynameissteve
01 April 2006, 18:35


Oh yea just to let you know I did try to reply to your e-mail you sent me and I got this awesome message:

The IP Address of the sender (64.233.182.189) was found in a DNS blacklist database and was therefore refused.question<
TonyB7
02 April 2006, 00:27


Oh btw - the Avatar mod on Snitzbitz does allow linked avatars. About 1 of my users (actually a co-admin) was smart enough to figure that out before I gave up and tried Zuel's upload mod.
I suppose it depends on how net-savvy your users are and how much work you're willing to do for them. <
jiffy
02 April 2006, 16:57


Dang that's no good. Here you can try this email address instead.
gerbster101"at"yahoo.com

And yes I did get the registration email it just took 5-10 minutes. I guess I was just a bit ancy to see the avatar mod you did. Nice froum by the way.<
jiffy
04 April 2006, 13:33


Ok steve I added the code but how does the person link to the image? I thought maybe it pulled it from the "picture url" in their profile but that's not it.<
jiffy
04 April 2006, 14:00


Ok I'm an idiot it's working great now. You're awesome!<
mynameissteve
05 April 2006, 04:48


No problem!<
juhan
06 April 2006, 15:14


I must be stupid, since I don't find the code you're talking about jiffy...<
jiffy
07 April 2006, 11:09


He emailed it to me. I'll send it to you via email and post the code here as well. Hopefully Steve is cool with that.
----------------------
strGetPicURLSQL = "SELECT M_PHOTO_URL FROM forum_members where member_ID = " & Reply_Author 'Reply author used here based on loop

set rsPic = Server.CreateObject("ADODB.Recordset")
rsPic.open strGetPicURLSQL, my_Conn

imgLocation = rsPic(0)
if imgLocation =" " then
'do nothing.....user does not have a picture! else
Response.Write "<img src='" & imgLocation & "' width=170px height=128px>" & vbNewLine

end if
rsPic.Close
set rsPic = nothing
-------------------------------------------

I did have another question on it though. After I added the code I decided I wanted to change the size to 150x150 so I changed that and it still shows them as 170x128. What's up with that? I'm asp retarded so that doesn't help any. I assume it wrote some record or something the first time the page loaded. So how do I make it 150x150?
Edit: nevermind it looks like you don't have an email listed in your profile.<
mynameissteve
08 April 2006, 04:04


did you get the pic sizes working....making those changes would definately change the size of the photo.
Remember there are two instances of my code in the "topic.asp" page...make sure you change both occurrances of height and width.
Also make sure you dont have your browser caching the page(the old way it look)<
spyderuk
08 April 2006, 05:03


FWIW, I'm using the basic Avatar mod on Snitz Bitz and if users want a custom Avatar they can submit it for approval. Admin can then upload it and asign it for the user. Maybe if your taking donations for the hosting etc you can charge a small fee for the personal avatar?<
juhan
08 April 2006, 17:49


Jiffy, I also got it from Steve directly. Thanks Steve!!!.

I changed the size to 100x80, no problems...
I also changed the following since I had empty entries in the database:

if imgLocation =" " then
'do nothing.....user does not have a picture!
to

if imgLocation =" " or imgLocation ="" then
'do nothing.....user does not have a picture!
Only real trouble are those who use a full digicam pic and think it's ok since it shows ok..

Is there a quick way to check the size of the picture linked?




<
jiffy
08 April 2006, 22:34


All is good now. Was uploading my backup file and didn't realize it. I can't believe how good this works. What a great mod.
juhan:
Does it slow down the page load speed very much when there is a very large image used as the avatar?<
Zuel
11 April 2006, 10:02


Does it slow down the page load speed very much when there is a very large image used as the avatar?

Of course.<
jiffy
12 April 2006, 19:10


I guess what I meant was having an image load from another location hasn't seemed to slow down the page load for me. It usually just makes it seem like the images are loading slow but not the actual page. I'm sure you're right though it must be slowing down the page but I just don't notice.<
Zuel
12 April 2006, 23:56


Originally posted by jiffy
I guess what I meant was having an image load from another location hasn't seemed to slow down the page load for me. It usually just makes it seem like the images are loading slow but not the actual page. I'm sure you're right though it must be slowing down the page but I just don't notice.

It wouldn't slow the entire page down. Things just load in pieces. Images are usually one of the last things to load, as well as media, flash, shockwave and the like.
If you view a thread that has about 20 replies, each person is different with an avatar, you will notice the slowdown. Other then that, you shouldn't feel it. Unless someone uses a 20mb file as an avatar.<
© 2000-2021 Snitz™ Communications