UBB.Dev
Posted By: Spike8472 Problem with Avatar-Hack - 09/07/2001 11:19 PM
When a member in my forum chooses "no avatar", he/she has a red cross under his/her name (the image-link is just http://) and not the blank.gif. When I fix this through the CP and the member edits something in his/her profile, the red cross appears again.
Posted By: Lord Dexter Re: Problem with Avatar-Hack - 09/08/2001 1:16 AM
Have you got blank.gif uploaded to your avatars directory?
Posted By: Travis Re: Problem with Avatar-Hack - 09/08/2001 1:20 AM
Quote
quote:
Posted By: Lord Dexter Re: Problem with Avatar-Hack - 09/08/2001 1:35 AM
Oh, well get rid of the http:// because the UBB will think thats the start of a URL.
Posted By: qasic Re: Problem with Avatar-Hack - 09/08/2001 6:30 AM
Open ubb_profile.cgi.

FIND:

else { $picture = $in{picture}; }

AFTER PUT:

$picture = "" unless ($picture =~ m/./);

qasic

[ September 07, 2001: Message edited by: qasic ]
Posted By: Spike8472 Re: Problem with Avatar-Hack - 09/08/2001 9:31 AM
Thank you quasic. That helped.

[ September 08, 2001: Message edited by: Spike8472 ]
© UBB.Developers