tourmeister
Active member
Howdy,
I know next to nothing about CSS/HTML/PHP and Stylesheets beyond just a minimal conceptual grasp of what they do. I have no idea how to actually use them. I am trying to get the header in XF2 to look like it does on my live vB3.8.1 site, www.twtex.com.
The upper left image is static and links to the home page. The upper right image location changes to a new random image each time the page is reloaded. Those images are named sequentially. In the phpinclude_start template I have this code, provided by a friend,
$totalheaderimages = 195;
$randomindex = rand(1, $totalheaderimages);
$headerimage = "http://www.twtex.com/forums/images/misc/logo$randomindex.gif";
I then use $headerimage in header template <img src=$headerimage"/>.
The advertising banners under those images are inserted using the vB Ad Management mod by =Redtyger=. That mod randomly determines which image from a pool of images to display each time the page is reloaded.
If possible, I would like to replicate the layout of my existing forum on the XF2 site. I've not had much luck after spending an afternoon Googling and searching here. I know this is probably real simple for some folks, but I am clueless. About the only thing I have figured out how to do is get that static logo image in the header. I have no idea how to add the random images or control their spacing.
I know next to nothing about CSS/HTML/PHP and Stylesheets beyond just a minimal conceptual grasp of what they do. I have no idea how to actually use them. I am trying to get the header in XF2 to look like it does on my live vB3.8.1 site, www.twtex.com.
The upper left image is static and links to the home page. The upper right image location changes to a new random image each time the page is reloaded. Those images are named sequentially. In the phpinclude_start template I have this code, provided by a friend,
$totalheaderimages = 195;
$randomindex = rand(1, $totalheaderimages);
$headerimage = "http://www.twtex.com/forums/images/misc/logo$randomindex.gif";
I then use $headerimage in header template <img src=$headerimage"/>.
The advertising banners under those images are inserted using the vB Ad Management mod by =Redtyger=. That mod randomly determines which image from a pool of images to display each time the page is reloaded.
If possible, I would like to replicate the layout of my existing forum on the XF2 site. I've not had much luck after spending an afternoon Googling and searching here. I know this is probably real simple for some folks, but I am clueless. About the only thing I have figured out how to do is get that static logo image in the header. I have no idea how to add the random images or control their spacing.