theavonlady 2 Posted March 18, 2004 Both kegety and Avon have these random avantars. Correction: had. Mine got lost somewhere in TacticalBlunder.com. Share this post Link to post Share on other sites
Gadger 0 Posted March 18, 2004 It's working now hehe Strange Share this post Link to post Share on other sites
Placebo 29 Posted March 18, 2004 LOL ya muppet why do you think I said I can only see two? Share this post Link to post Share on other sites
Gadger 0 Posted March 18, 2004 I swear it wasn't working at first! I guess either you or Ex-Ronin been messsing to make me look stooopid Share this post Link to post Share on other sites
Placebo 29 Posted March 18, 2004 Yeah I added it to the list of acceptable image extensions, obviously if it turns out to be detrimental it will be removed just as quickly Share this post Link to post Share on other sites
Gadger 0 Posted March 18, 2004 Quote[/b] ]Yeah I added it to the list of acceptable image extensions Cheers m8 Share this post Link to post Share on other sites
waffendennis 0 Posted March 18, 2004 Hey can some one help me with a Random avatar that shows up a new avatar evry time you refresh the page? Thnxs. Share this post Link to post Share on other sites
Gadger 0 Posted March 18, 2004 You need to create a php script that selects a random file from a directory on your webspace, when you have the script upload all your images to an empty folder on your webspace and put the link of the script in your avatar box. e.g. http://www.WaffenDennis.com/images/Random.php Share this post Link to post Share on other sites
waffendennis 0 Posted March 18, 2004 You need to create a php script that selects a random file from a directory on your webspace, when you have the script upload all your images to an empty folder on your webspace and put the link of the script in your avatar box. e.g. http://www.WaffenDennis.com/images/Random.php Uh? Care to make me one? Share this post Link to post Share on other sites
Placebo 29 Posted March 18, 2004 http://www.scriptarchive.com/rand_image.html Quote[/b] ]Random Image Displayer allows you to set up a list of images and then randomly display them as inlined images or background images. Think that's what you need? Share this post Link to post Share on other sites
Gadger 0 Posted March 18, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><? // Gadger pwns you! $folder=opendir("."); while ($file = readdir($folder)) $names[count($names)] = $file; closedir($folder); sort($names); $tempvar=0; for ($i=0;$names[$i];$i++){ $ext=strtolower(substr($names[$i],-4)); if ($ext==".jpg"||$ext==".gif"||$ext=="jpeg"||$ext==".png"||$ext==".swf"){$names1[$tempvar]=$names[$i];$tempvar++;} } srand ((double) microtime() * 9999999999999999); $rand_keys = array_rand ($names1, 2); $slika=$names1[$rand_keys[0]]; if (!isset($tnsize)) { header ("Location: $slika"); } ?> Copy and paste this into notepad and save as .php Share this post Link to post Share on other sites
waffendennis 0 Posted March 19, 2004 OK. Got the script working now but: the forums doesent support .php Avatar so how van i fix that? Share this post Link to post Share on other sites
Ex-RoNiN 0 Posted March 19, 2004 OK. Got the script working now but:the forums doesent support .php Avatar so how van i fix that? If you pay me enough, I will enable PHP avatars Share this post Link to post Share on other sites
waffendennis 0 Posted March 19, 2004 OK. Got the script working now but:the forums doesent support .php Avatar so how van i fix that? If you pay me enough, I will enable PHP avatars Paying a? Il pay you with: Friendship Accept it or uhm? hmm let me thing about the "OR" part. But any way: DO IT PLEASE ENABLE PLEASE PLEASE Dont do it and il keep on begging till they must take you to the nuts house Share this post Link to post Share on other sites
ralphwiggum 6 Posted March 19, 2004 this is "Ask a mod" thread, not "Help me with my sig" thread. Please use PM to communicate. Share this post Link to post Share on other sites
Placebo 29 Posted March 19, 2004 I got offered a better bribe so I've enabled php for avatars Share this post Link to post Share on other sites
waffendennis 0 Posted March 19, 2004 this is "Ask a mod" thread, not "Help me with my sig" thread.Please use PM to communicate. Sorry Ralph but i dident know who i needed to PM. And thnxs to: Placebo (for enabeling PHP ) and Gadger ( for the PHP script ) I got a working Avatar now PS: I wont happen again. Share this post Link to post Share on other sites
IsthatyouJohnWayne 0 Posted March 19, 2004 waffendennis- "PS:I wont happen again." I think all are relieved to hear this Share this post Link to post Share on other sites
WhoCares 0 Posted March 22, 2004 @placebo: What's up with the VIP-Award? Received a reasonable amount of votes or will it remain open for, uhmmm, another six month? Share this post Link to post Share on other sites
Placebo 29 Posted March 22, 2004 Albert offered me $50 worth of Cuban cigars if I kept it open until he won quirkiest forum member Well basically it's closed and as soon as I have time I'll counting up the votes, I think we ended up with something like 65 people voting, people are free to vote up until the point I have finished adding up, hopefully it will be before Sunday. Share this post Link to post Share on other sites
SpeedyDonkey 0 Posted March 22, 2004 lol this is like the 26:th time placebo mentions bribes. Share this post Link to post Share on other sites
Skul 0 Posted March 22, 2004 Aah, bribes are for desperate losers... Oh, by the way, placebo... did you get that, um... 'package'... I sent you? You know, the 'package' that certainly isn't a large wad of money..... [Gareth Gates must die] Share this post Link to post Share on other sites