PDA

View Full Version : random header??


lucky
17 Dec 07, 19:37
I wanted to know if there is any way to put a random logo in the style acidteechlime?
for ex. i put a logo in the head. when i click in a forum, the logo change, and that this will be repeated whenever it is click on a forum.

CyberAlien
17 Dec 07, 20:05
Edit overall_header.html. Find {SITE_LOGO} and replace it with random <img> tag using javascript or php.

To use php in templates, enable it in security settings in control panel.

lucky
17 Dec 07, 20:22
Edit overall_header.html. Find {SITE_LOGO} and replace it with random <img> tag using javascript or php.

To use php in templates, enable it in security settings in control panel.

sorry i never do this, can you explain me with more details?

MvsB
18 Dec 07, 10:06
have you test this?: http://www.phpbb.com/kb/article/adding-a-random-header-image/

lucky
18 Dec 07, 11:47
tnks a lot but im stuck :S

In phpbb3 acidteechlime i have this

<td id="logorow" align="center"><div id="logo-left"><div id="logo-right">
<a>{SITE_LOGO_IMG}</a>

In the guide i have this:

<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>

and doesn't appear in acidteechlime, any way the guide for only one image, but in acidteechlime you have 3 images to forming the logo.

ex. www.xtreme-gamez.com.ar

i make this logo with 3 different images

"logo_left.jpg" "logo_right.jpg" and "site_logo.gif"

There is some way to create a only big logo? and change the code in the overall_header too?

lucky
18 Dec 07, 14:57
forget it :D

i make it work tnks alot great guide