| View previous topic :: View next topic |
| Author |
Message |
Rawrtard Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Apr 2009 Posts: 1022 Location: Your mums pants with charlie the unicorn
|
Posted: Tue Jul 28, 2009 6:58 pm Post subject: Would a avatar changing script work on CEF? |
|
|
| I want to have a avatar that cycles with every refresh but I can't find a site that does that I googled and searched. Nothing I did find that you can use a php script but I can see how that would apply to this forum?
|
|
| Back to top |
|
 |
compactwater I post too much
Reputation: 8
Joined: 02 Aug 2006 Posts: 3923
|
Posted: Tue Jul 28, 2009 8:59 pm Post subject: |
|
|
It would work, however, you cannot link directly to a dynamic loading PHP file, you must make an image file load as a PHP script, and not many free hosts will allow you to do this for various reasons. If you cannot get a script running with an image extension, you can use my "h4x", like so:
Lets say you want this:
[img]http://www.google.com/favicon.ico[/img]
Which does not work. You can do this:
And it will work fine.
| Code: | | [img]http://67.159.63.74/h4x/www.google.com/favicon.ico.jpeg[/img] |
|
|
| Back to top |
|
 |
Rawrtard Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Apr 2009 Posts: 1022 Location: Your mums pants with charlie the unicorn
|
Posted: Tue Jul 28, 2009 11:26 pm Post subject: |
|
|
| How does that apply to me? I want my avatar to change every refresh.
|
|
| Back to top |
|
 |
Zarr Grandmaster Cheater
Reputation: 0
Joined: 11 Jan 2008 Posts: 915 Location: localhost
|
Posted: Wed Jul 29, 2009 12:12 am Post subject: |
|
|
I believe the "h4x" executes the script when it is accessed and returns whatever image would have been returned by the .php script. It's essentially a proxy.
_________________
|
|
| Back to top |
|
 |
GG Grandmaster Cheater Supreme
Reputation: 4
Joined: 20 Jan 2008 Posts: 1589 Location: Australia
|
Posted: Wed Jul 29, 2009 4:05 am Post subject: |
|
|
Yes, you sure can.
Look @ my avatar. Refresh. Rinse and repeat.
_________________
|
|
| Back to top |
|
 |
elpacco Grandmaster Cheater Supreme
Reputation: 30
Joined: 16 Oct 2007 Posts: 1258
|
Posted: Wed Jul 29, 2009 10:23 am Post subject: |
|
|
Once Image Rotate is back up, you can use that. But currently it is down.
_________________
| [AM]Misery wrote: |
| FangBanger wrote: | | What is the best way for a lv19 Soldier to solo Sledge on Borderlands? | Shoot him. |
|
|
| Back to top |
|
 |
DanielG Expert Cheater
Reputation: 1
Joined: 13 May 2009 Posts: 130 Location: The Netherlands
|
Posted: Wed Jul 29, 2009 11:51 am Post subject: Re: Would a avatar changing script work on CEF? |
|
|
| FrostByte wrote: | | you can use a php script but I can see how that would apply to this forum? |
That php script most likely uses GD to output a random image from a folder.
You would need to host the PHP script and then point your off-site Avatar to that location.
If the extention .php isn't allowed as a picture then use a .htaccess (asuming it is Apache) to parse the file with an image extention (like .jpg) as a PHP file (ex. "AddHandler php-cgi .jpg").
My avatar for example is also a dynamic generated picture which shows the viewers IP adress. Your PHP would show a different picture every time it is requested.
|
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Wed Jul 29, 2009 3:35 pm Post subject: |
|
|
| FrostByte wrote: | | How does that apply to me? I want my avatar to change every refresh. |
Like random every time or a certain order?
Also have u read Crymoas post?
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Rawrtard Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Apr 2009 Posts: 1022 Location: Your mums pants with charlie the unicorn
|
Posted: Wed Jul 29, 2009 3:44 pm Post subject: |
|
|
| Cryoma wrote: | | http://www.imagerotation.com/ |
Thanks cryoma! It works +rep for you
_________________

| Rawss. wrote: | | I put cups up my ass when im nervous. |
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
|