BakaBT > Need Help? Ask Here

Avatar not showing (only mine)

<< < (4/6) > >>

buchno:

--- Quote from: Tiffanys on February 19, 2013, 03:54:47 PM --- (click to show/hide)It's even more bizarre that it shows on your phone considering it doesn't show for us. o_O

Well, I tested on Chrome and it seems that it shows there. Doesn't show for Firefox though. My guess is it's a problem with the signavatar site not being compatible with some browsers.

You could just sign up here: http://0fees.net/

Then use this script:
<?php
/*
By Matt Mullenweg > http://photomatt.net
Inspired by Dan Benjamin > http://hiveware.com/imagerotator.php
Latest version always at:
http://photomatt.net/scripts/randomimage
*/

// Make this the relative path to the images, like "../img" or "random/images/".
// If the images are in the same directory, leave it blank.
$folder = '';

// Space seperated list of extensions, you probably won't have to change this.
$exts = 'jpg jpeg png gif';

$files = array(); $i = -1; // Initialize some variables
if ('' == $folder) $folder = './';
$handle = opendir($folder);
$exts = explode(' ', $exts);
while (false !== ($file = readdir($handle))) {
foreach($exts as $ext) { // for each extension check the extension
if (preg_match('/\.'.$ext.'$/i', $file, $test)) { // faster than ereg, case insensitive
$files[] = $file; // it's good
++$i;
}
}
}
closedir($handle); // We're not using it anymore
mt_srand((double)microtime()*1000000); // seed for PHP < 4.2
$rand = mt_rand(0, $i); // $i was incremented as we went along

header('Location: '.$folder.$files[$rand]); // Voila!
?>

Just call it index.php and put it in a folder like "image.gif" for your avatars and "image2.gif" for your sigs or something.
--- End quote ---
Huh, I wasn't aware of free web hosts that had reasonable bandwidth limits. I tried that script before with Dropbox, but apparently they have disabled PHP.
Thanks for the tip.
Edit: http://www.000webhost.com/ has ten times the amount of bandwidth :]
Edit2: Although, apparently they have a very low "CPU limit".

Clannad_92:
now online using cybercafe's pc...chehck my ava n sig, there it is...
i think the problem is the firefox itself...maybe...

well, will uninstall firefox and try latest version to see if that correct the problem...
thanks minna~

Tiffanys:
000webhost are total douchebags. I've used them before... and I don't recommend them. They'll randomly permanently ban you for seemingly no reason, and don't offer backups or anything. I've lost 3 or 4 different phpBB forums with them for guilds that were just completely lost when absolutely no rule was broken.

Uninstalling Firefox isn't going to fix the problem dude. None of us with Firefox can see it either. It's a big problem. You're gonna have to switch hosts.

Clannad_92:

--- Quote from: Tiffanys on February 21, 2013, 10:56:41 AM ---Uninstalling Firefox isn't going to fix the problem dude. None of us with Firefox can see it either. It's a big problem. You're gonna have to switch hosts.

--- End quote ---
ehhh?!

(click to show/hide)what is a host? what is "You're gonna have to switch hosts" ?open the spoiler, you have to answer it~  8) ...

Tiffanys:
Image hosting provider... the website you're using for your avatar and signature. In case we haven't made it obvious, this is what you look like for us too:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version