123 ->
^^
vv
List results:
Search options:
Use \ before commas in usernames
How do you get sig images and avatars to randomly change on each refresh/reload of your browser?  I have seen sigs of anime girls and obviously, Nate's "Operation Metamorphosis"

Now I want to make one of Seraphim for my avatar.
Thread title: 
red chamber dream
We call them "rotating avatars," but I don't know how to do it. PM Nate or someone else using them, if they doesn't respond here soon.
Thanks Arkarian.  I will PM Nate if I don't get a response from someone soon.
lol ... "operation metamorphosis" is something else entirely, but interesting connection there. i'm sorry that i can't help you set the rotating avatars/sigs up for this forum, since it requires me to change something in the server configuration for each user who does it, so it wouldn't be very wise for me to do it for one person, lest everyone else feel entitled to it. however, there are other ways to do it that you can find on the internet; perhaps someone helpful could post how they did it here.
Oh…

Thanks anyway.

What is Operation Metamorphosis anyway?

I looked in your avatar directory and found this file which I assume is the script that randomly selects an avatar.  I wonder what it will do if I post it here…

<?php
$dh = opendir(".");
while (false !== ($file = readdir($dh)))
{
if (preg_match('/.(jpg|gif|png)$/i', $file) and $file != "avatar.gif")
{
$filelist[] = $file;
}
}

srand((double)microtime()*1000000);
$picnum = rand(0, sizeof($filelist) - 1);

header("Location: " . $filelist[$picnum]);

closedir($dh);
?>

Edit:  heh, nothing. 

Maybe this?:



Edit 2:  That seemed to work.  I suspect that avatar.jpg is actually a (html) file that contains only a redirect link that selects one of the avatars in the directory http://nate.metroid2002.com/avatars/ and sends the browser there instead.
right, except that avatar.jpg is that .php file, or rather just another copy of it.
red chamber dream
Nate, isn't Operation Metamorphosis a reference to Hilary Duff?
Quote from Arkarian:
Nate, isn't Operation Metamorphosis a reference to Hilary Duff?


I did notice some pictures of her when I was browsing and I saw one of Nate's posts.  Later, when I was looking through the directory where all of Nate's avatars are, I saw 2 pics of her. 

Nate, I have one last question: What exactly is contained in the file "avatar.jpg"? in your "avatar" directory and what makes it work?  I am asking this because I might be able to do something similar to "Operation Metamorphosis" and you would avoid needing to change something in the server config just for me to have a rotating avatar. I believe that with my limited knowledge of HTML, I can rig something up.

Oh, I typed this whole thing up before I noticed your last post. Embarassed
Quote from Arkarian:
Nate, isn't Operation Metamorphosis a reference to Hilary Duff?

"metamorphosis" is a hilary duff reference, but "operation metamorphosis" is not.

Quote from USBCD36:
Nate, I have one last question: What exactly is contained in the file "avatar.jpg"? in your "avatar" directory and what makes it work?

Quote from njahnke:
avatar.jpg is that .php file, or rather just another copy of it.

the change in the server config involves tricking phpbb into thinking that avatar.jpg is a jpeg, when in fact it is the random avatar php script, as i said. this was to get around phpbb's laughable attempt at preventing people from using .php scripts as avatars.
Viking
Precursor
PM elyscape and ask if he can set a script up for you. He did for me.
red chamber dream
Than what does "Operation Metamorphosis" mean?
Yeah, what is "Operation Metamorphosis" supposed to be?

Also, I still would like to know what the avatar.jpg file contains.  Possibly you could post the data in it as a compressed file?  The php file gives me an error if I download or open it and the txt file does nothing if I open it or download it, change the extension, upload it, and open it.  It just gives me a blank window.  If it is possible, I would like to use the same code as your avatar.jpg file uses.  Maybe you could download it using your FTP client, compress it, and upload it?

Edit: I found a way!  Open avatar.txt (in nate.metroid2002.com/avatar/), copy the code (or download it and rename the file avatar.php) and paste it into a .php file.  Next, upload it to the directory where you have the avatars you want randomized.  Then when you click on the php file, it will display the avatar instead!  It even works when inside an IMG SRC tag! (display image in HTML)
Quote from Arkarian:
Than what does "Operation Metamorphosis" mean?

Quote from USBCD36:
Yeah, what is "Operation Metamorphosis" supposed to be?

sore wa himitsu desu yo. ;)
PAGE BREAKER
Ready and willing.
Quote from njahnke:
sore wa himitsu desu yo. ;)


it I, me, oneself, self, ego secret polite copula in Japanese yo.

... Wow. So... helpful.  Rolling Eyes
I found a Avatar.zip on Nate.metroid2002.com/avatar/. That's nate! Bow to the 1337 Iron Chef pics. Also, Elyscape made a script , 2 seconds after i found the avatar.zip.
I('d) like to watch (some MP3 runs)
Your sig is too big.  :(  500x150.
Aww....crap! finally found a good one too... I'll see what i can do...
EDIT:There, It's squinched. :P
I('d) like to watch (some MP3 runs)
Kind've a weird list for you to be on top of, though..  Wink
Quote from USBCD36:
Edit: I found a way!  Open avatar.txt (in nate.metroid2002.com/avatar/), copy the code (or download it and rename the file avatar.php) and paste it into a .php file.  Next, upload it to the directory where you have the avatars you want randomized.  Then when you click on the php file, it will display the avatar instead!  It even works when inside an IMG SRC tag! (display image in HTML)

Another way is to use .htaccess or .httpd files to assign the PHP script evaluator to open that specific .jpg file only, which will then make it a .jpg extension, yet a PHP script. I don't remember how to do this offhand, though. I'll get back to you.
the following needs to be added to a file called .htaccess in your /avatars directory:

Code:
<Files avatar.jpg>
ForceType application/x-httpd-php
</Files>


of course, your avatar.php needs to be called avatar.jpg for it to work.
Ok, I finally figured it out.


Set your FTP client to display invisible files.  Then, you rename .htaccess to htaccess (in your root directory) and drag it to your desktop.  Next, you open it and add Nate's code

Code:
<Files avatar.jpg> 
ForceType application/x-httpd-php 
</Files>


Download Nate's avatar script. 

I had to change "avatar.jpg" to "usbcd36.jpg".  It wouldn't work with "avatar.jpg" (it opened the actual file avatar.jpg and displayed the first image until I refreshed it) so I changed it.  Note that I also had to change the .htaccess file to reflect the name change.

Then, upload it all in an avatar directory with the script, delete ".htaccess" on the server and upload your own, rename it with the . (period), copy the location of the script, go into your profile and paste it into the "link to an offsite avatar", update your profile and you should have a rotating avatar. 

The same should go for sigs, just put img tags around the script URL and make sure all of the sigs in the directory are 500x150 or less pixels. 

Could someone sticky this?
Sticky this topic?
Quote from TRH:
Sticky this topic?

Better to make that one post a topic and sticky it, I think.
Quote from elyscape:
Quote from TRH:
Sticky this topic?

Better to make that one post a topic and sticky it, I think.
That's what I meant, but I'm usually too lazy to type anything out. And there's probably an easier way to get a random avatar script than the above.
Quote from TRH:
And there's probably an easier way to get a random avatar script than the above.

Perhaps, but that's a pretty straightforward method that does, in fact, work.