This add-on allows users with permission to upload avatar from URL.
- PHP 7.3+
- Upload an avatar from URL
This project is licensed under the MIT License - see the LICENSE.md file for details.
This add-on allows users with permission to upload avatar from URL.
License: MIT License
This add-on allows users with permission to upload avatar from URL.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Server error log
TypeError: Argument 1 passed to XF\Mvc\Controller::exception() must be an instance of XF\Mvc\Reply\AbstractReply, instance of XF\Phrase given, called in /home/{account}/public_html/src/addons/TickTackk/UploadAvatarFromUrl/XF/Pub/Controller/Account.php on line 70 src/XF/Mvc/Controller.php:399
Stack trace
#0 src/addons/TickTackk/UploadAvatarFromUrl/XF/Pub/Controller/Account.php(70): XF\Mvc\Controller->exception(Object(XF\Phrase))
#1 src/XF/Mvc/Dispatcher.php(350): TickTackk\UploadAvatarFromUrl\XF\Pub\Controller\Account->actionAvatar(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'Avatar', Object(XF\Mvc\RouteMatch), Object(Truonglv\IgnoreContent\XF\Pub\Controller\Account), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\IgnoreContent\XF\Pub\Controller\Account), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(15) "/account/avatar"
["referrer"] => string(28) "https://{domain.tld}/account/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["avatar_crop_x"] => string(1) "0"
["avatar_crop_y"] => string(1) "0"
["use_custom"] => string(1) "1"
["custom_type"] => string(3) "url"
["url"] => string(336) "https://www.bing.com/images/search?view=detailV2&ccid=lTf6RI8C&id=216B966A5EDC176DB05D090EBDBCAD208F0F2E41&thid=OIP.lTf6RI8C-gHNZZSawm5W6wHaFj&mediaurl=https%3a%2f%2fi.ytimg.com%2fvi%2fkBkfHNigDuM%2fhqdefault.jpg&exph=360&expw=480&q=roman+catapults&simid=608040860686615421&ck=071F371BF3FEFFBDE01DAC37E83EB032&selectedIndex=0&ajaxhist=0"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(9) "/account/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.