Announcement

Collapse
No announcement yet.

Move avatars to new image server

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

  • Move avatars to new image server

    I've installed a new server dedicated to serving images for our site. At this point, I've moved over everything except for avatars.

    Is there an easy way to change all the current avatars from:

    /image/avatars/*.gif

    to

    http://img.exampleserver.com/image/avatars/*.gif

    Thanks!

  • #2
    Did you try setting the path to that URL?
    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
      I'm confused (obviously).

      If I go to avatars > avatar manager > standard avatars -- I see all the avatars, but I'd have to hand-edit each one to the new path.

      Is there another setting to change them all to a different base directory?

      Comment


      • #4
        Yes, you will need to manually change the path for each one. There is no way to mass-edit these.
        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
          Try this query...
          Code:
          UPDATE
              avatar
          SET
              avatarpath = REPLACE(avatarpath,'/image/avatars/','http://img.exampleserver.com/image/avatars/'
          WHERE
              avatarpath LIKE '/image/avatars/'
          Lats...

          Comment


          • #6
            Bummer, that's what I thought.

            Thanks for the help Steve; I sincerely appreciate your assistance over the years.

            Edit: Thanks Lats, I'll give it a try.

            Comment


            • #7
              I made a quick edit to my post - please check it.
              Lats...

              Comment


              • #8
                Yep, just noticed it.

                Comment


                • #9
                  Good one Lats.
                  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

                  Loading...
                  Working...
                  X