Kirill Gromov Posted January 14 Share Posted January 14 Support topic for the app SeNioR- and Afrodude 2 Link to comment Share on other sites More sharing options...
Steph40 Posted March 4 Share Posted March 4 Hey there, Very good idea for an app, love it but uploaded avatar delete themself, it is weird. Link to comment Share on other sites More sharing options...
Kirill Gromov Posted March 4 Author Share Posted March 4 Hello, how I can reproduce it? Link to comment Share on other sites More sharing options...
Steph40 Posted March 4 Share Posted March 4 1 hour ago, Kirill Gromov said: Hello, how I can reproduce it? That is a good question, all I did is make two categories, upload 10 avatars in each yesterday and last night one was missing, today 5 are gone. Not sure what else to say sorry. SeNioR- 1 Link to comment Share on other sites More sharing options...
opentype Posted March 6 Share Posted March 6 I can confirm the problem. Kirill Gromov 1 Link to comment Share on other sites More sharing options...
Kirill Gromov Posted March 6 Author Share Posted March 6 Thanks, I'm looking to find the cause of this problem, but I can't reproduce it yet. SeNioR- 1 Link to comment Share on other sites More sharing options...
Stuart Silvester Posted March 6 Share Posted March 6 1 hour ago, Kirill Gromov said: Thanks, I'm looking to find the cause of this problem, but I can't reproduce it yet. If you find the file name in `core_file_logs` there should be a backtrace showing where the deletion came from. However, it looks like it's because you're sharing the same image between all members that select it. The next time any member changes that image for another, the old one will be deleted. SeNioR- and Daniel F 1 1 Link to comment Share on other sites More sharing options...
opentype Posted March 6 Share Posted March 6 [ { "line": 604, "function": "delete", "class": "IPS\\File\\_FileSystem" }, { "line": 167, "function": "getValue", "class": "IPS\\Helpers\\Form\\_Upload" }, { "line": 147, "function": "setValue", "class": "IPS\\Helpers\\Form\\_FormAbstract" }, { "line": 176, "function": "__construct", "class": "IPS\\Helpers\\Form\\_FormAbstract" }, { "line": 40, "function": "__construct", "class": "IPS\\Helpers\\Form\\_Upload" }, { "line": 1385, "function": "__construct", "class": "IPS\\Helpers\\Form\\hook1565" }, { "line": 107, "function": "editPhoto", "class": "IPS\\core\\modules\\front\\members\\_profile" }, { "line": 81, "function": "execute", "class": "IPS\\Dispatcher\\_Controller" }, { "line": 24, "function": "execute", "class": "IPS\\core\\modules\\front\\members\\_profile" }, { "line": 153, "function": "execute", "class": "IPS\\core\\modules\\front\\members\\avatarhub_hook_profileController" }, { "line": 13, "function": "run", "class": "IPS\\_Dispatcher" } ] Link to comment Share on other sites More sharing options...
Kirill Gromov Posted March 7 Author Share Posted March 7 A new version with the fix has been uploaded. Thanks everyone for the report. I had to override the behavior of removing the avatar from the form when a new image is uploaded through Uploads helper. Link to comment Share on other sites More sharing options...
balazsp Posted March 17 Share Posted March 17 Hi @Kirill Gromov Is there (can there be) a direct URL link where the users can access the avatar hub (and not via an overlay)? I'd like to create a widget for those that have the default profile image set and a direct link would be more efficient than the instructions of 'go to your profile, click on the bottom left corner of your avatar and select avatar hub' . Thanks in advance! Link to comment Share on other sites More sharing options...
Kirill Gromov Posted March 17 Author Share Posted March 17 Hello, @balazsp, you can use something like this: Create a new Pages block with html and add this: <a class='ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth' href='#' data-ipsDialog data-ipsDialog-url='/index.php?app=avatarhub&module=hub&controller=front&do=styleAvatar'>Select Avatar</a> Should work abobader, balazsp and Edjazoli 3 Link to comment Share on other sites More sharing options...
balazsp Posted March 18 Share Posted March 18 Thank you! Link to comment Share on other sites More sharing options...
sonimik1 Posted April 9 Share Posted April 9 Would it be possible that it already comes with a default avatar pack? Link to comment Share on other sites More sharing options...
Kirill Gromov Posted April 10 Author Share Posted April 10 10 hours ago, sonimik1 said: Would it be possible that it already comes with a default avatar pack? Hello. I don't think so because everyone's taste is different. Link to comment Share on other sites More sharing options...
Recommended Posts