• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
[TH] Avatars

[TH] Avatars 1.0.2

No permission to download

Jon W

Well-known member
#1
Waindigo submitted a new resource:

Avatars by Waindigo - Extra large avatars, scale-to-fit and long rectangular avatars.

Description:
This add-on adds some new functionality to make avatars even better, including:
  • the ability to scale rectangular add-ons down to fit inside a square (and to change the position within the square), rather than cropping them;
  • the ability to store extra large versions of user's avatars, up to a size of your choosing;...
Read more about this resource...
 
Last edited:

yavuz

Well-known member
#2
An avatar gallery option maybe? The admin can upload images which the user can choose from and use it as an avatar? Regardless, this is perfect as always. Thanks for bringing this to us.
 

Jon W

Well-known member
#3

Moshe1010

Well-known member
#4
Since installing it, it shows that avatars in user's profiles are broken. When disabling the add-on all the avatars are back. It works in threads and member cards, but doesn't show anything in user's profile. These are just avatars that were uploaded before installing this add-on.
 

Jon W

Well-known member
#6
Since installing it, it shows that avatars in user's profiles are broken. When disabling the add-on all the avatars are back. It works in threads and member cards, but doesn't show anything in user's profile. These are just avatars that were uploaded before installing this add-on.
This add-on will only work for fresh installations at the moment. I may add an 'avatar rebuilder' in a future version.
 
#8
Since installing this last week I am getting alerts from my host a several times per day. The alerts come in clusters of 12 messages. All of the alerts concern files and directories under /Waindigo/Listener/
Listener chmod is 755 and changing this generates a fatal error / disables the site.

Sample email alert:
Subject: lfd on host.mydomainname.com: Suspicious File Alert

Time: Sat Aug 17 14:44:57 2013 -0400
File: /tmp/phpHjsanU5431666/upload/library/Waindigo/Listener/FrontControllerPostView/20121217.php
Reason: Script, file extension
Owner: nobody:nobody (99:99)
Action: No action taken
Installed this add-on on XF1.2
 

Jon W

Well-known member
#9
Since installing this last week I am getting alerts from my host a several times per day. The alerts come in clusters of 12 messages. All of the alerts concern files and directories under /Waindigo/Listener/
Listener chmod is 755 and changing this generates a fatal error / disables the site.

Sample email alert:

Installed this add-on on XF1.2
It is a false positive. I guess it doesn't like the fact that the file is entirely made up of numbers or something. Not a lot I can do about this.
 

Wesker

Well-known member
#12
Just to confirm that this breaks in 1.2.1

PHP Fatal error: Call to undefined method XenForo_Image_Gd::thumbnailFixedLongerSide() in /library/Waindigo/Avatar/Extend/XenForo/Model/Avatar.php on line 278.

This means your script library is missing the function/method called "thumbnailFixedLongerSide()" which looking at the actual documentation for this function/methods appears this one actually doesn't exist.
 
#16
i have already posted this same error here: http://xenforo.com/community/thread...-profile-gifs-images-to-show-on-threads.61951 <-- please read to find out what i am trying to get working:

Error:
Code:
imagick
imagick module    enabled
imagick module version    3.0.1
imagick classes    Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version    ImageMagick 6.7.6-8 2012-05-02 Q16 http://www.imagemagick.org
ImageMagick copyright    Copyright (C) 1999-2012 ImageMagick Studio LLC
ImageMagick release date    2012-05-02
ImageMagick number of supported formats:    200
ImageMagick supported formats    3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XV, Y

Directive    Local Value    Master Value
imagick.locale_fix    0    0
imagick.progress_monitor    0    0
and

Code:
magickwand
MagickWand Backend Library    ImageMagick
MagickWand Extension Version    1.0.8
ImageMagick support    enabled
ImageMagick version    ImageMagick 6.7.6-8 2012-05-02 Q16 http://www.imagemagick.org
ImageMagick QuantumRange (MaxRGB)    65535
MagickWand supported image formats    3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XV, Y
but i get this server error when i enable and try to upload / my profile image using ImageMagick:

Code:
Error Info
ErrorException: Fatal Error: Call to undefined method XenForo_Image_Imagemagick_Pecl::thumbnailFixedLongerSide() - library/Waindigo/Avatar/Extend/XenForo/Model/Avatar.php:186
Generated By: XxUnkn0wnxX, 36 minutes ago
Stack Trace

#0 [internal function]: XenForo_Application::handleFatalError(1, '/tmp/phpTuxkHa', 2, 225, 225, Array)
#1 {main}

Request State

array(3) {
  ["url"] => string(53) "http://portalcentric.net/forums/account/avatar-upload"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["use_gravatar"] => string(1) "0"
    ["scale_to_fit"] => string(1) "1"
    ["avatar_date"] => string(10) "1380121676"
    ["avatar_crop_x"] => string(1) "0"
    ["avatar_crop_y"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(9) "json-text"
    ["_xfUploader"] => string(1) "1"
  }
}
 

Jon W

Well-known member
#17
This add-on doesn't currently support ImageMagick. Please drop me a PM if you'd be interested in contributing towards the development of thus feature. It will only be a small amount of work.
 
#18
This add-on doesn't currently support ImageMagick. Please drop me a PM if you'd be interested in contributing towards the development of thus feature. It will only be a small amount of work.
umm define by small amount of work? because i don't know much php, a basic html only. + depends what it is my skill may be limited....
 
#20
Tried using this, however got this area when after scaling the avatar as per the video and clicking save:

Error Info
ErrorException: getimagesize(/home/demovamp/public_html/data/avatars/xl/0/1.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory -library/Waindigo/Avatar/Extend/XenForo/Model/Avatar.php:269
Generated By: Disciple of Nagash, 3 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'getimagesize(/h...', '/home/demovamp/...', 269, Array)
#1 /home/demovamp/public_html/library/Waindigo/Avatar/Extend/XenForo/Model/Avatar.php(269): getimagesize('/home/demovamp/...')
#2 /home/demovamp/public_html/library/Waindigo/Avatar/Extend/XenForo/ControllerPublic/Account.php(71): Waindigo_Avatar_Extend_XenForo_Model_Avatar->recropAvatarScaleToFit(1, 14, 0)
#3 /home/demovamp/public_html/library/XenForo/FrontController.php(337): Waindigo_Avatar_Extend_XenForo_ControllerPublic_Account->actionAvatarUpload()
#4 /home/demovamp/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home/demovamp/public_html/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
["url"] => string(51) "http://demo.vampirecounts.net/account/avatar-upload"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["use_gravatar"] => string(1) "0"
["scale_to_fit"] => string(1) "1"
["avatar_date"] => string(10) "1384005465"
["avatar_crop_x"] => string(3) "-14"
["avatar_crop_y"] => string(1) "0"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(30) "/members/disciple-of-nagash.1/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}