Anyone good with photoshop could design a few different ones with the same style just different cars? Perhaps banners using members cars?..
Rotating banners...
#2
Posted 15 November 2007 - 01:31 PM
#3
Posted 15 November 2007 - 01:56 PM
The front page of the website is 15,436 bytes of HTML code and 160,623 bytes in Java code (~17KB total). Even on dial-up that is only 3-4 seconds without images. The images change a bit so hard to measure that but if you work on the front page of the forum (which rarely changes) you are looking at still only ~15KB of HTML and ~94KB of Java (~110KB) plus images (~105KB) which are cached so should never need reload unless they have changed.
Biggest problem with load times are people who use oversize avatar or signatures (specifically GIF animations which are sometimes close to 1MB).
But as for the original question it is not hard to do and was actually done when the forum first started but was lost between the upgrade from phpBB to IPB and forum redesign from memory (about 18 months ago).
I was looking to do "car of the month" feature a long time ago and have this included in the banner but working extended hours and having other jobs it never eventuated. That said there is a couple guys starting to lend their abilities with graphic and website design which make help things like this happen.
I quite simply don't have the time to do everything myself

Support the future of Drag Racing in FNQ. Click here
www.CairnsBurnouts.com
#4
Posted 15 November 2007 - 02:20 PM
I think its pretty kickass....and you could prolly use this in the forum sin.
Moving banners can get a bit much after a while, where as a new banner on each page refresh is by far better IMO.
But hey, what would I know haha
#5
Posted 15 November 2007 - 02:50 PM
$dir = '.';
$avatar_types[] = 'gif';
$avatar_types[] = 'jpg'; //add as many new image extensions as you want.
// DO NOT EDIT BELOW THIS LINE
$avatar = array_key_exists('avatar',$_GET)?$_GET['avatar']:'';
if ($avatar != '') {
$avatar = urldecode($avatar);
}
else {
$avatars = array();
$directory = opendir($dir);
while ($list = readdir($directory)) {
if ($list != '.' && $list != '..') {
$ext_check = explode('.',$list);
foreach ($avatar_types as $variable => $value) {
if (in_array($value,$ext_check) && !in_array($value,$avatars)) {
$avatars[] = $list;
}
}
}
}
closedir($directory);
$random = array_rand($avatars,1);
$avatar = $avatars[$random];
}
$file = fopen($dir.'/'.$avatar,'r');
$content = fread($file,filesize($dir.'/'.$avatar));
fclose($file);
die($content);
?>
and then call it in your html by:
<img src="phpfilenamegoeshere.php" alt="" />
Just slap that in a php file and call it whatever
Enjoy!
#6
Posted 15 November 2007 - 03:01 PM
guess it all depends on your connectoin speed if you notice it much, i have 1.5mb so i dont worry about it at all, but was saying that for the others not fortunate enough to have equiv or higher.
#7
Posted 15 November 2007 - 03:03 PM
#9
Posted 15 November 2007 - 03:39 PM
The guys going to think here's another kid using a fake ID or here's McLovin, the 25 year old Hawaiian organ donor. So what's it going to be? I am McLovin. No your not. No one's McLovin, McLovin's never existed because that's a made up, dumb, f**king fairy tale name you f**k
#10
Posted 23 November 2007 - 10:09 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












