The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Random or spezified changing backgrounds
hey guys!
I was wondering if there is an option, css, in the template, as mod or aomething else, that the background, changes randomly or if i switch to another part of the forum (forum->cms; and so on). Does someone has a clue ? |
#2
|
|||
|
|||
Copy this file > http://www.alistapart.com/d/randomizer/rotate.txt
and save it to notepad as > rotate.php Next make a folder and put the images you want to use and the rotate.php file in it. Upload that to your ftp and make note of the path to get to them. Go in to the acp and navigate to the theme you want to setup and find doc_background in the stylesvars. Refer to the attached image. When you set the path it should be in this format > url(yourforum.com/path/to/images/rotate.php) In the attachment I set the offsets to push the image down from behind the header and navbar. You may not have to do that but it helps to know how. Here's my setup using the php file > http://www.animeappeal.com/?styleid=111 You'll also note the Greetings! sidebar block makes use of the php file also. Click on the header or jump to another page. The images changes each time. |
Благодарность от: | ||
PretorianoAlfa |
#3
|
|||
|
|||
Thanks
But: this does only inclue the background image and not more ? atm i?d like to have a mod to switch between different styles. This mithg be much more confortable fpr me to make the pages much more custom. Like, see my (not finalised) forum: http://www.trinitas-gilde.com/content.php in my case: i have 3 main categories (home = cms - forum = forum - member= showgroups) there will be (media = vbtube) in a few month. So, i?d like to have for each direction a different background, but it would be better if not only the background would change randomly, but if the whole css or style changes. I thought of changing the 2 files: FORUMHOME (forum.php?) SHOWGROUPS (showgroups.php) .. so that CMS is standart and if you switch to these sites you change the background and maybe some other pictures via css. May this work ? There are actually even SHOWGROUPS.css but if i change f.e. ".pagepattern" its just lower ranked than the Other "pagepattern" in the other css. Do i have to change the tranking of this css in the specific files ? Or should i make an other css which i then rank higher ? Im not shure of the re ranking may occure errors. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|