Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Cycling though Background Images.
#1
Not Solved
Hello, I was wondering it would be possible to scroll though background images like you would with this Mod

http://mods.mybb.com/view/mybbanners

But instead of banners it would be backgrounds. I attempted to edit the mybbanners, but I failed because I am not sure how to force it to edit CSS file instead of a template file.
[Image: chillaxfullbanner.png]
#2
Not Solved
Please help me out.
[Image: chillaxfullbanner.png]
#3
Not Solved
1) Download and install this: http://mybbhacks.zingaburga.com/showthread.php?tid=464

In your headerinclude template (Ungrouped Templates > headerinclude), add this:

<setvar random>rand(1,5)</setvar>
<if $tplvars['random'] == 1 then>
<style>
body {
background: url('path_to_image');
}
</style>
<elseif $tplvars['random'] == 2 then>
<style>
body {
background: url('path_to_image');
}
</style>
<elseif $tplvars['random'] == 3 then>
<style>
body {
background: url('path_to_image');
}
</style>
<elseif $tplvars['random'] == 4 then>
<style>
body {
background: url('path_to_image');
}
</style>
<elseif $tplvars['random'] == 5 then>
<style>
body {
background: url('path_to_image');
}
</style>
</if>

Replace path_to_image with the path to each image. Smile
Please don't PM me for support. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)