FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Avatars not working.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Avatars not working. [message #12338] Tue, 05 August 2003 05:06 Go to next message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
I traced down my problems with uploading avatars...

In the avatar upload code, you should copy the avatar file to the fudforum data dir(however you do that with file uploads), and then use getimagesize() on it. Otherwise, getimagesize() will be used in a directory outside of my allowed directories(safe mode is enabled), and it will fail because of this.
Re: Avatars not working. [message #12443 is a reply to message #12338] Fri, 08 August 2003 00:12 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

Replace your register.php.t with the one in the URL below and rebuild the theme. It'll fix this bug as well as the avatar deletion bug.

http://cvs.prohost.org/c/index.cgi/FUDforum/getfile?v=1.64&f=install/fo rum_data/src/register.php.t


FUDforum Core Developer
Re: Avatars not working. [message #12444 is a reply to message #12338] Fri, 08 August 2003 00:29 Go to previous message
Xodnizel   United States
Messages: 73
Registered: May 2003
Karma: 0
Member
Works. Happy happy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "Delete avatar" not working.
Next Topic: I've created a theme based on path_info, but
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:31:38 GMT 2024

Total time taken to generate the page: 0.04458 seconds