Raised This Month: $ Target: $400
 0% 

How Do You Get A Changing Advatar?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 02-22-2005 , 21:22   How Do You Get A Changing Advatar?
Reply With Quote #1

How Do You Get A Changing Advatar?

Like Kingpins?

I ahve a Directory Of Pictures But How DO you Make It Change The Picture Everytime Someone Views It?

Like Refreshes?
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 02-22-2005 , 22:23  
Reply With Quote #2

a php script
Freecode is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 02-22-2005 , 22:25  
Reply With Quote #3

do you know the script?

I would Like to use it for this board..

Ty...
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 02-22-2005 , 22:31  
Reply With Quote #4

i noe how to make it but i dont have time nor the power at this time. plus theres many steps onto making it.
Freecode is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 02-22-2005 , 23:05  
Reply With Quote #5

It's a PHP script , plus don't you need somewhere to have the files on? Webspace. Oh yea , it's an Avatar.
Peli is offline
Send a message via MSN to Peli
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 03-04-2005 , 21:10  
Reply With Quote #6

I have webspace Peli

I Just Need The Script

__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
manorastroman
Senior Member
Join Date: Oct 2004
Old 03-04-2005 , 22:59  
Reply With Quote #7

http://www.phpmix.com/index.php?page=213&t=328
make your own
__________________
manorastroman is offline
Send a message via AIM to manorastroman Send a message via MSN to manorastroman Send a message via Skype™ to manorastroman
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-05-2005 , 04:15  
Reply With Quote #8

I'm likin those expandable menus they use =].
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 03-05-2005 , 10:37  
Reply With Quote #9

cool man
__________________
- Bye bye!
nightscreem is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 03-05-2005 , 15:54  
Reply With Quote #10

lool coulda just pmed me or somethign anyways here it is :

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

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

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

closedir($dh);
?>
all pictures in same dir as this one.
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode