Jump to content

Avatar Hub


Recommended Posts

  • 1 month later...
Posted
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.

Posted
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.

Posted
[
    {
        "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"
    }
]

 

Posted

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.

  • 2 weeks later...
Posted

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!

  • 4 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...