abcohen
08-11-2005, 04:26 PM
First lets make sure we all have the same files, the Kubrick skin that is being edited here is the one posted in the Skins section, found here...
http://www.subdreamer.org/sd_skins/p13_sec...2/p13_fileid/18 (http://www.subdreamer.org/sd_skins/p13_sectionid/2/p13_fileid/18)
Ok, now on with the show --
1) - Find your images...
2) - Use the header photoshop template and insert your images into the grouping called random images this will give you the correct rounded corners
3) - Save the images as JPGs, JPEGs, GIFs, or PNGs (thats up to you - the random script will read any of those files)
4) - Add the random.php to your kubrick folder ( it should be in the same directory as your install.php, kubrick1.php, kubrick2.php, categories.php, forumskin.php and style.css )
5) - Create a directory in the images folder called "randomheader" ( your directory structure should look like this skins\kubrick\images\randomheader\ )
6) - Upload your images in to the "randomheader" folder
7) - Edit your kubrick files...
In kubrick1.php & kubrick2.php goto line 31 which should be...
<td width="720" height="182" align="center" background="skins/kubrick/images/header.gif" /><?php echo $logo; ?></td>
and replace it with this line...
*<td width="720" height="182" align="center" style="background-image: url(skins/kubrick/random.php); background-position: top center; background-repeat: no-repeat;" /><?php echo $logo; ?></td>
In forumskin.php goto line 80 which should be...
* * * * * * * <td width="720" height="182" align="center" background="' . $sdpath . 'skins/kubrick/images/header.gif" style="padding: 0px;">' . $logo . '</td>
and replace it with...
<td width="720" height="182" align="center" style="background-image: url(' . $sdpath . 'skins/kubrick/random.php); background-position: top center; background-repeat: no-repeat; padding: 0px;">' . $logo . '</td>
Now save those files with the fixed code...
8) - Congrats you now have random header images...
Below you will find the following: the random.php script, and the random_demo.psd photoshop template.
http://www.subdreamer.org/sd_skins/p13_sec...2/p13_fileid/18 (http://www.subdreamer.org/sd_skins/p13_sectionid/2/p13_fileid/18)
Ok, now on with the show --
1) - Find your images...
2) - Use the header photoshop template and insert your images into the grouping called random images this will give you the correct rounded corners
3) - Save the images as JPGs, JPEGs, GIFs, or PNGs (thats up to you - the random script will read any of those files)
4) - Add the random.php to your kubrick folder ( it should be in the same directory as your install.php, kubrick1.php, kubrick2.php, categories.php, forumskin.php and style.css )
5) - Create a directory in the images folder called "randomheader" ( your directory structure should look like this skins\kubrick\images\randomheader\ )
6) - Upload your images in to the "randomheader" folder
7) - Edit your kubrick files...
In kubrick1.php & kubrick2.php goto line 31 which should be...
<td width="720" height="182" align="center" background="skins/kubrick/images/header.gif" /><?php echo $logo; ?></td>
and replace it with this line...
*<td width="720" height="182" align="center" style="background-image: url(skins/kubrick/random.php); background-position: top center; background-repeat: no-repeat;" /><?php echo $logo; ?></td>
In forumskin.php goto line 80 which should be...
* * * * * * * <td width="720" height="182" align="center" background="' . $sdpath . 'skins/kubrick/images/header.gif" style="padding: 0px;">' . $logo . '</td>
and replace it with...
<td width="720" height="182" align="center" style="background-image: url(' . $sdpath . 'skins/kubrick/random.php); background-position: top center; background-repeat: no-repeat; padding: 0px;">' . $logo . '</td>
Now save those files with the fixed code...
8) - Congrats you now have random header images...
Below you will find the following: the random.php script, and the random_demo.psd photoshop template.