Announcement

Collapse
No announcement yet.

Avatar upload not working - URL problem

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

  • Avatar upload not working - URL problem

    I just installed vb 2.2.1. It was a clean install. The avatar upload works on my other version, 2.0.3 which is at http://board.pixeljunction.com. This problem has only been happening with version 2.2.1. I have followed all the steps, made sure avatars are enabled, sizes are correct and what not.

    I get the following error when I try to upload
    "Error - cannot find an image at the specified URL. Please make sure that you have entered a valid URL."

    I have tried under different usernames and what not. I know the URL shows an avatar because I go to it in a seperate window and it works. I have also tried using the browse function but that doesn't work either..

    I have no hacks installed, so its not a hack that is messing it up.
    Please help

    PS: If you need the board URL pm me or just ask for it and I will PM you. I can't just publicly show it because its my board re-design and I dont want everyone seeing it yet
    Last edited by Sinecure; Wed 28th Nov '01, 9:55pm.
    Board of the Month: November
    Websites: Pixeljunction , vBulletin.org
    Button Sets: XP and Aqua Button sets! FREE!
    vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

  • #2
    OK can you upload this image to your current board? I mean does it go through on there? Is the image at a static URL or a dynamic one? e.g. is it
    mysite.com/image.gif
    or
    mysite.com/image.php?action=doimage&type=gif&name=image
    ?

    Comment


    • #3
      are you talking about my current board? or the re-designed board?? On my board normaly, http://board.pixeljunction.com I beleive it is dynamic.

      http://board.pixeljunction.com/avata...ine=1007009643
      Board of the Month: November
      Websites: Pixeljunction , vBulletin.org
      Button Sets: XP and Aqua Button sets! FREE!
      vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

      Comment


      • #4
        are you using IE or netscape for uploading ?
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment


        • #5
          IE 6
          Board of the Month: November
          Websites: Pixeljunction , vBulletin.org
          Button Sets: XP and Aqua Button sets! FREE!
          vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

          Comment


          • #6
            well, good and bad news. I installed a clean version of vb, with no editing what so ever, straight out of the box. The avatar upload works on that copy.

            The only editing I did was to global.php and index.php. Would that have an effect on the avatar upload part?? I just took a few snippits of code from index.php and placed them in global.php. I also moved code that was below the $header template in global.php and placed it above.

            Would this have any effect on the avatar upload?
            Board of the Month: November
            Websites: Pixeljunction , vBulletin.org
            Button Sets: XP and Aqua Button sets! FREE!
            vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

            Comment


            • #7
              Originally posted by Sinecure
              well, good and bad news. I installed a clean version of vb, with no editing what so ever, straight out of the box. The avatar upload works on that copy.

              The only editing I did was to global.php and index.php. Would that have an effect on the avatar upload part?? I just took a few snippits of code from index.php and placed them in global.php. I also moved code that was below the $header template in global.php and placed it above.

              Would this have any effect on the avatar upload?
              why not try reverting those changes you made and see if it fixes it ?
              :: Always Back Up Forum Database + Attachments BEFORE upgrading !
              :: Nginx SPDY SSL - World Flags Demo [video results]
              :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

              Comment


              • #8
                Well I removed this code from my global.php file.

                Code:
                if ($bbuserinfo[userid]!=0) {
                  $avatarurl=getavatarurl($bbuserinfo[userid]);
                  if ($avatarurl=='') {
                    $avatarurl='{imagesfolder}/noavatar.gif';
                  }
                  $avatarimage='<img src="'.$avatarurl.'">';
                } else {
                  $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="{imagesfolder}/guestavatar.gif" border="0"></a>';
                }
                That fixed the problem. So I was talking to Firefly this morning, and I asked for some help on the problem. He used the following code instead and it worked beatifully. BIG THANKS TO CHEN, Hes my hero for today and tomorow

                Code:
                if ($bbuserinfo[userid]!=0) {
                  $FFavatarurl=getavatarurl($bbuserinfo[userid]);
                  if ($FFavatarurl=='') {
                    $FFavatarurl='{imagesfolder}/noavatar.gif';
                  }
                  $avatarimage='<img src="'.$FFavatarurl.'">';
                } else {
                  $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="{imagesfolder}/guestavatar.gif" border="0"></a>';
                }
                Board of the Month: November
                Websites: Pixeljunction , vBulletin.org
                Button Sets: XP and Aqua Button sets! FREE!
                vB Customization: My sig is now vbulletin compliant. Contact me to make yours compliant too!

                Comment


                • #9
                  I am bumping this old post because even though it's been awhile, it's still valid as a fix. I was having the same problem with uploading avatars and the culprit was the Avatar display hack - which is standard with most Welcome Panel hacks on vb.org these days. I don't think it's been updated there, but in any case if you were running it from at least a few months ago (when I installed it) this is the solution to the upload avatar error.
                  Ixian
                  Maximum Gamer

                  Comment

                  Loading...
                  Working...
                  X