Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Account Pictures Extension 1.0

13»

Comments

  • Your file doesn't have an extensions. It should be named "avatar.jpg" or "avatar.gif" (depending on the image file type).
  • Cool, thanks for that tid-bit of info. Now i get this error: Some problems were encountered An error occurred while attempting to copy the source image "/srv/www/htdocs/forum/uploads/AccountPictures/8832c7ce99ba35b819eabe8442075903.jpg". Your version of php (4.3.4) may not have jpeg support. A small pic appears but it is not automagically centered and cropped to 32 pixels wide by 32 pixels high. Any ideas?
  • It could be that your PHP installation doesn't support GD. The GD module should be enabled because it's used to resize and crop the images.
  • I know for a fact that i have GD installed and enabled because i have to have GD to use the Gallery2 package. Weird.....
  • Hello, I just started using Vanilla, and I have a question about the Account Pictures extension.... <i>Jazzman: "Also, the files which will get uploaded should have writing permissions."</i> I've got it all set up -- the uploads/AccountPictures/ directory has write permissions and everything. But when I upload a picture, the image file that is created in that directory (e.g. "b95b70936633ebd6793693f09856ab0d.jpg") gets only "owner read/write" permissions (600)! When I manually chmod the image file to 777, it works great. But how can I fix it so that whenever someone uploads a picture, the resulting file in uploads/AccountPictures/ gets the proper permissions? Is it a server issue, or Vanilla issue? Thanks for any help you can offer....
  • I added.... chmod($FilePath, 0777); ....after lines 84 and 94, and that did the trick.
  • is there a way for each user to delete their own upload? or is it necessary to give them the login data for my ftp
    to do that manually? :D

    thanks for any help here.
  • They can't remove the file, but they can remove their picture from the "Personal Information" section on the Account page. Just remove the link to the icon or picture :)
  • ah i see, thanks a lot :)
  • When I upload this extension to my extensions folder it breaks the forum (no error messages, just a blank page). Any ideas whats up? Known conflicts? I noticed the extension was updated on 4th Dec, could it be a recent change? I'm running the latest version of Vanilla with the default theme.
  • yes i have the same problem, it all goes black. i have 1.1 with a custom theme, it must be due to the recent change!
This discussion has been closed.