![]() |
random image in header
i'd like to have a random image in my forums header, i was wondeirng what would be the best way to go about it and thought template/php include based would be best but i lack the knowledge so i'm here for help :)
|
This is totally untested, but try add this to the phpinclude_start template:
Code:
$numimg = '4'; // number of images Then putting Code:
<img src="$vboptions[bburl]/$stylevar[imgdir]/$randomimg.gif" alt="Random Image"> In the header template. Make sure all the images have the same extensions, and each file is called 1,2,3 etc... |
so it's basically just do it as you would normally, thanks assassin
|
All times are GMT. The time now is 01:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|