|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
This is a really small adaptation of the ubb 5 version. You must have one of Qasic's Avatar Mod installed. You must have the module Size.pm installed in your server if you want to control image types and sizes, this can be found at http://www.cpan.org . Description: Lets any user upload an image to be used as his avatar. You can set width x height and maximum file sizes. The script sends an e-mail to the administrator when someone upload an avatar, if desired. Download: http://banco.jogosonline.com.br/ubbmods/ubb6mods/uploadavatar.txt and http://banco.jogosonline.com.br/avatars/uploadavatar.htm Install: Edit the file uploadavatar.txt to choose your options. Edit the file uploadavatar.htm as you see fit, changing the url in the
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
sorry i didnt have the time to make this more user-friendly. anyone who wants to take it from here, or rewrite one of his own using this as base, is welcome.
[ 11-16-2001: Message edited by: CopyCat ]
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Nice hack, I'll try it out soon. 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
I'll add a CP and wordlets extension tonight
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
There is only an avatarlist.cgi, not a pl.
Can it be used in 6.1.0.2 ?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I couldn't find this for 6.xx. So does this work on 6.05?
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
yes. this one is actually for 6.05. i thougth qasics new avatar code would still be unchanged. i didnt use the new code, so i dont know where to modify. its for Avatar Hack v0.0007 i think, the first final avatar code.
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
The code similar to the one in avatar_list.pl is in the ubb_avatar.cgi from the avatar pull down hack for 6.1 I tried to implement your code there but it doesn't work.
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
whats the thread for the avatar mod you are using?
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
gimme a few minutes, ill see what i can do.
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
hi
yes, ubb_avatar.cgi has the same purpose of the avatar_list.pl file.
instead
$wordlets_avatar{avatar_explain} $listtext
find
$vars_wordlets_avatar{avatar_explain} $listtext
that should work, i think. drop a note if it doesnt work. the other code is the same, just for a few different spaces/enters.
[ 11-18-2001: Message edited by: CopyCat ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
That was already placed at that spot. I hope someone get's this to work.
In ubb 6.0 there was a url avatar mod. with the option to use flash (swf). Maybe it could be working for 6.1 to with some modifications.
|
|
|
|
Joined: Oct 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 13 |
changed the ubb_avatar.cgi file,.. got this message: in public_edit_profile line 212: &AvatarGutsProfile($user_profile[20]); thx!
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Great, I'll try it out soon on my 6.05 then.
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
If this hack has proper code documentation then I'll try it soon. Currently trying to figure out why my avatar settings get set back to nothing when a user goes to edit their profile. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|