New default avatar not being pushed to all profiles Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    New default avatar not being pushed to all profiles

    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 5:55 pm

    Hi all,

    I've just recently taken over administration of our phpbb3 forumotion site. Previously, our default avatars were linked to an image that no longer exists on that domain, so anyone without a custom avatar received a broken imagelink in its place. (it has been this way for at least a year)

    I've since created a new default avatar from scratch, uploaded to imgur, pasted the direct imagelink in the 'Default Avatar' section, and it has worked with about half the members while the other half retain the old avatar for some reason. I have switched the Default Avatar between multiple different images and even removed it altogether but still the same accounts are stuck with the old, broken avatar. So far I've just been manually going to those profiles and checking the box at the bottom to delete said avatar, and then the new default avatar successfully takes its place. We do have nearly 3,000 members however so this isn't a very feasible solution.

    Does anyone know what the problem here might be and/or how to solve it? Worst case, is there a way to administrate multiple users at once? Rather than opening each profile individually, scrolling down, checking the 'delete avatar' box and saving, rinse and repeat, is there a way to select numerous accounts at once and perform one administration action across all of them?


    - Also a side question I thought of while typing this, unrelated but I didn't feel it needed its own post as it's probably common knowledge. When in a profile within the administration panel, the email address is partially censored, and while I swear I was able to see it uncensored previously, is there a way to make this readable for the sake of people who tell me "hey I forgot my login email"? We have longstanding (several years) members who return after a long break and don't remember which email they used. I noticed I can see the email of all our top posters and those who have recently signed up, but when I manually go to their page, it's again censored.
    - Will create a new thread for this, apologies.

    Thanks in advance!


    Last edited by Bearmageddon on April 17th 2020, 9:34 pm; edited 3 times in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New default avatar not being pushed to all profiles

    Post by SLGray January 2nd 2020, 7:06 pm

    Try this:  AP > General > Forum > Configuration
    Scroll down to the bottom of the page and resyn your forum.

    Please start a new topic for issues/questions that are not related.



    New default avatar not being pushed to all profiles Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 7:19 pm

    SLGray wrote:Try this:  AP > General > Forum > Configuration
    Scroll down to the bottom of the page and resyn your forum.

    Please start a new topic for issues/questions that are not related.

    Just done this, doesn't seem to have solved the issue sadly.

    New default avatar not being pushed to all profiles Screen66


    I've also struck through my second question in the original post, I'll make a separate thread for that, apologies and thank you.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New default avatar not being pushed to all profiles

    Post by SLGray January 2nd 2020, 7:28 pm

    Is that a customized widget?



    New default avatar not being pushed to all profiles Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 7:36 pm

    I don't believe so, it's just a screenshot I've taken on a random page of our memberlist.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 10:14 pm

    Some new relevant information:

    All new profiles created since the push have taken on the new Default Avatar.

    Sorting by Join Date revealed that it pushed to about 16% of our members before stopping. On the memberlist, when sorted by Join Date: Ascending, the new default avatar pushed to number 395 (profile u457) on the list, 396 and 397 have custom avatars, and 398 (profile u460) is the first to not have the new default avatar.

    New default avatar not being pushed to all profiles Screen68


    399 (u461) and 400 (u462), as you can see above, also retained the old avatar. Every single page after that - if it's not a custom avatar, if I didn't manually update it, and if they haven't newly signed up, it's nothing but broken avatars, as shown below:

    New default avatar not being pushed to all profiles Screen69
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15383
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: New default avatar not being pushed to all profiles

    Post by skouliki January 2nd 2020, 10:27 pm

    Hello

    Please try these steps with this order:
    Remove the personal avatar and the guests one and then save
    Then clear your browser and resynchronize your forum
    Go back and install your new avatar , clear your browsers again and resynchronize your forum again
    Wait 20 -39 mins and check

    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 10:54 pm

    skouliki wrote:Hello

    Please try these steps with this order:
    Remove the personal avatar and the guests one and then save
    Then clear your browser and resynchronize your forum
    Go back and install your new avatar , clear your browsers again and resynchronize your forum again
    Wait 20 -39 mins and check

    Thanks for the instructions! I've completed them in exactly this order. I'll return in an hour or so with the results.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New default avatar not being pushed to all profiles

    Post by SLGray January 2nd 2020, 11:10 pm

    I believe old accounts will not be affected by the changed default avatar.



    New default avatar not being pushed to all profiles Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 2nd 2020, 11:33 pm

    SLGray wrote:I believe old accounts will not be affected by the changed default avatar.

    It's actually the other way around, the first several hundred accounts created on our site back in 2015 were the only ones that changed. Similarly, when I removed the default avatar and they all returned to the forumotion silhouette, all those same ones changed but the newer profiles did not.

    So for example, the 4th account ever created on our site 5 years ago automatically updated to the new default avatar I uploaded yesterday. The 1,532nd account made in 2017, however, will not automatically update. All affected profiles that will not update automatically - when I go to their profile in the AP and manually delete the old and broken avatar link, they begin updating as they should once again.

    The URL that the old avatars were linked to is:
    https://www.taylorswift.com/themes/master/img/default_avatar.jpg

    I have no idea why the previous administration used that but the new one is one that I made from scratch and is currently hosted via Imgur.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 3rd 2020, 12:05 am

    I've given it an hour and sadly the issue still persists. Shit
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New default avatar not being pushed to all profiles

    Post by SLGray January 3rd 2020, 1:02 am

    Does the 2017 account have the default avatar?  I mean did the member upload one.



    New default avatar not being pushed to all profiles Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 3rd 2020, 1:44 am

    Just the default one. All members who have their own custom selected avatar still retain that avatar.

    Profile #4 never uploaded a custom avatar so they received the default avatar set by the founder (https://www.taylorswift.com/themes/master/img/default_avatar.jpg). The host removed this image so I changed the default avatar (https://i.imgur.com/YYxUiq0.jpg) and their avatar changed to the new default avatar.

    Profile #1,532 also never uploaded a custom avatar so they received the default avatar set by the founder (https://www.taylorswift.com/themes/master/img/default_avatar.jpg) as well. I changed the default avatar (https://i.imgur.com/YYxUiq0.jpg) and their avatar did not change to the new one.

    Any custom avatars are set as normal and can continue to be changed normally.
    avatar
    Guest
    Guest


    Solved Re: New default avatar not being pushed to all profiles

    Post by Guest January 3rd 2020, 5:51 pm

    This seems like a bug in forumotion's software. For now, you can add this javascript code on all pages to replace the old avatars with the new ones:
    Code:
    document.addEventListener("DOMContentLoaded", ()=>{
    document.querySelectorAll("[src='http://taylorswift.com/themes/master/img/default_avatar.jpg']").forEach(e=>e.setAttribute("src", "https://i.imgur.com/YYxUiq0.jpg"));
    })
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 3rd 2020, 6:06 pm

    While I'd hoped to solve it more permanently, that Javascript worked beautifully in the meantime! Thanks Occultist! I love you
    avatar
    Guest
    Guest


    Solved Re: New default avatar not being pushed to all profiles

    Post by Guest January 3rd 2020, 6:22 pm

    No problem! You can deactivate the javascript code from time to time to see if maybe forumotion fixed the issue. Either case, glad I could help!
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 3rd 2020, 10:30 pm

    I have even gone as far now as deleting the profiles around where the issue began, hoping there was a glitch with one of those profiles (invalid character in username or similar perhaps?) that was preventing the new avatar from being pushed beyond (because it seems to have updated u1, then u2, u3, etc. and stopped around u460).

    After removing the default avatar, deleting the profiles in question, re-synchronizing, clearing cache/cookies, re-uploading the new avatar, re-synchronizing again, and waiting, it still isn't being pushed any further. So pages 21-142 of our memberlist (when sorting by join date -> ascending) currently have the broken avatar if I haven't manually deleted it from their profile or if they haven't uploaded a custom avatar.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 4th 2020, 2:07 am

    Hello I will report this as a bug but the problem is we are really busy right now and it may take a long time to fix this.

    is this the forum you are talking about ?
    https://www.osrsadvice.com/forum



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 4th 2020, 2:11 am

    Is this the forum address you are talking about ?
    https://www.osrsadvice.com/forum



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 4th 2020, 2:15 am

    APE wrote:Hello I will report this as a bug but the problem is we are really busy right now and it may take a long time to fix this.

    No problem! I'll use the Javascript resolution above temporarily.

    And yes, that is the correct address Smile

    Is it possible for me to be notified when it's been fixed? Or will I need to periodically disable Javascript to check? I assume this thread will likely be archived.

    Thanks!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 4th 2020, 2:17 am

    I will tell the staff on our team you have a Script running to fix the problem for now and it turned on i will point them to this topic also.

    So right now you can leave it turned on.



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 4th 2020, 2:22 am

    Bug Reported @ 01.04.2020 - 01:22:26



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    avatar
    Guest
    Guest


    Solved Re: New default avatar not being pushed to all profiles

    Post by Guest January 4th 2020, 12:14 pm

    You can replace the script with this one, which adds a red border to the avatars it replaces, but only to the user with an id of 1. You can change that in:
    Code:
    userdata.user_id===1
    .
    Code:
    document.addEventListener("DOMContentLoaded", ()=>{
    document.querySelectorAll("[src='http://taylorswift.com/themes/master/img/default_avatar.jpg']").forEach(e=>{
    e.setAttribute("src", "https://i.imgur.com/YYxUiq0.jpg");
    if(userdata.user_id===1) e.style.border="4px solid red";
    })
    })
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 5th 2020, 5:40 pm

    Occultist wrote:You can replace the script with this one, which adds a red border to the avatars it replaces, but only to the user with an id of 1. You can change that in:
    Code:
    userdata.user_id===1
    .
    Code:
    document.addEventListener("DOMContentLoaded", ()=>{
    document.querySelectorAll("[src='http://taylorswift.com/themes/master/img/default_avatar.jpg']").forEach(e=>{
    e.setAttribute("src", "https://i.imgur.com/YYxUiq0.jpg");
    if(userdata.user_id===1) e.style.border="4px solid red";
    })
    })

    Alas, this one doesn't seem to be working, no longer replaces the avatars Sad

    Edit: Got it working, just had to fuss with the userdata variable

    Code:
    if(_userdata["user_id"]===1526)
    did the trick, thanks again for the script Occultist! Very Happy
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 10th 2020, 7:45 pm

    Hello just an update our team have now looked at this and they have marked the report as in progress this means they have read the problem and it has been passed on to some one to look at.

    We do not know a time span on the problem getting fixed but I will keep an eye on the progress.

    Regards.

    APE.

    NOTE:
    I will be on leave as from tomorrow for one week but i will hand this on to some other staff member to report back to you on if i can't get online.



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 10th 2020, 8:10 pm

    Great, thanks so much APE! Looking forward to it Smile
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape January 21st 2020, 7:03 pm

    Still no news right now but i will keep this topic open if i can.



    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010
    Bearmageddon
    Bearmageddon
    Forumember


    Posts : 53
    Reputation : 1
    Language : English

    Solved Re: New default avatar not being pushed to all profiles

    Post by Bearmageddon January 21st 2020, 10:54 pm

    No worries, thanks for keeping an eye on it! Smile
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New default avatar not being pushed to all profiles

    Post by SLGray February 21st 2020, 3:53 am

    This was pruned so I have moved it back.



    New default avatar not being pushed to all profiles Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: New default avatar not being pushed to all profiles

    Post by Ape April 16th 2020, 1:23 pm

    Unlocked for member.

    NOTE: our tech team can not find the problem or recreate it our side




    New default avatar not being pushed to all profiles Left1212New default avatar not being pushed to all profiles Center11New default avatar not being pushed to all profiles Right112
    New default avatar not being pushed to all profiles Ape_b110
    New default avatar not being pushed to all profiles Ape1010