Announcement

Collapse
No announcement yet.

Remove avatars from user profiles with broken avatars?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remove avatars from user profiles with broken avatars?

    Due to a server shift some time back which involved data loss, several of my older user's avatars do not exist any more. How do I remove the avatars from the profiles of these users without affecting users with avatars that are still fine?

  • #2
    You can edit their accounts and choose 'no avatar'.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      There is no way to do this en masse?

      Comment


      • #4
        The problem is that you want to do this "without affecting users with avatars that are still fine?" There is no query you can use that will be able to tell which avatars are fine and which ones aren't.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          You would have to write some kind of PHP script which queries the database, gets a list of all avatar URLs, and then checks to see if each file exists, and then spit out the results as a list of users who don't have one. Or even zero out that data in the database.

          Definitely a vBulletin.org type request.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X