This section is an archive with no posting allowed. The software represented in this forum is no longer supported or updated. If you need help upgrading to a newer version of vBulletin please open a support ticket. You can also post in the section supporting the upgrade version you're planning to use.
We are sorry for any inconvenience this may cause.
Welcome to the vBulletin support forums! In our community forums you can receive professional support and assistance with any issues you might have with your vBulletin Products.
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.
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
?
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.
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 ?
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>';
}
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.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also consent to the transfer of your data to our servers in the United States, where data protection laws may be different from those in your country.
Comment