[UPDATE]
Hey everybody, i just remade my older avatar switching script. Here are some new features:
*- Capable of using .gif, .jpg, .bmp, .png
*- Images no longer need to be renamed 1.gif, 2.gif etc.gif…
*- Able to block unauthorized use
You will need a web server with the following:
*- PHP 5
*- EXIF enabled
*- Also, since phpBB does not let u use .php as an extension for image urls, you will need to config .htaccess to have PHP5 parse .gif files as PHP. I have below an example of what you would add to your .htaccess to accomplish this.
AddType x-mapp-php5 .php .php5 .gif
Here is a link to where you can download the script:
__[url=http://www.filipes.com/avatar/avatar.zip]http://www.filipes.com/avatar/avatar.zip
[/url]
To specify allowed hosts, just add them to the following array:
private $AllowedHosts = array(1 => "gearlive");
i.e private $AllowedHosts = array(1 => "gearlive", 2=> "Newhost");
*I use .gif as an example, but you can use any of the other image extensions that phpBB supports if you would like, i.e jpg, png, etc.
Any comments, suggestions appreciated.
Enjoy 😊

