PDA

View Full Version : My Site - 50Klicks.com


majorj0nny
15-10-05, 12:28 AM
this is my site 50Klicks.com (http://www.50klicks.com) using the Aria 3.5 style...

we are a Battlefield 2 gaming community. :D

michaelbenson
15-10-05, 12:34 AM
Very nice :)

theMusicMan
15-10-05, 04:56 AM
Are you aware you have a blank navbar button on your site?

majorj0nny
16-10-05, 10:51 PM
Are you aware you have a blank navbar button on your site?

yeah - it was a dirty fix for a problem I had regarding the width of the header in unregistered view.... I had to put more buttons in to stop the forum stretching off the page .... i know theres probably a simple fix for this - but I couldnt find anything at the time.

majorj0nny
18-10-05, 12:10 AM
my 50k Smog style -

http://www.50klicks.com/?styleid=31

michaelbenson
18-10-05, 01:35 AM
my 50k Smog style -

http://www.50klicks.com/?styleid=31
A mix between AlienSector and vB Styles to me ^_^

GutBuster
21-10-05, 09:28 AM
May I ask how you got the random babe on the calendar??? ;)

Prodimysterio
22-10-05, 03:53 AM
D'oh, time for you to purchase more bandwidth from your host

:mellow:

The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.

majorj0nny
24-10-05, 04:53 AM
D'oh, time for you to purchase more bandwidth from your host

:mellow:
lol - yeah - vbshout is a fattie ! hehehe... should be fine now.

majorj0nny
24-10-05, 05:03 AM
May I ask how you got the random babe on the calendar??? ;)

sure thing GutBuster - go to your style in admincp - go the the 'adv_portal_calendar_header' template (assuming you are using Vbadvanced) and add this at the very top -


<tr align="left">
<td class="alt1" colspan="7">
<img src="/calendarimages/index.php">
</td>
</tr>


noe you need to create a folder in your root directory called 'calendarimages'
(this can really be anywhere - just alter the <img src="/calendarimages/index.php"> to suit...

then in that directory create a .php file (just create a text file and rename it index.php and add the following to it ...


<?php
$lower = 1;
$upper = 36;
$random_number = mt_rand($lower, $upper);
$image = "$random_number.jpg";
header("Location: $image");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT"); // always modified
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0 ?>


this basically loads a random iamge from the selection you have in that folder - all images must be numbered 1 to whatever - but when you add an image be sure to update this index.php to suit .. the bit where it says :


$lower = 1;
$upper = 36;

will need to be changed to reflect the number of images you have. in this case I have 36 !

then all I did was to create numerous images (all the same size so to keep it neat)

ie - http://www.50klicks.com/calendarimages/3.jpg

obviously you can use whatever images ya like for this...

then thats it.
:D

gutbustah
28-10-05, 05:30 PM
Very much appreciated sir!