Warning: The author of this contribution does not provide support for it anymore.

Custom Header Logo

Custom Header Background IF Nothing choosen - Custom Header Logo

Custom Header Background IF Nothing choosen

by rxB975D432pV » Fri Aug 03, 2012 2:13 pm

---------------
Last edited by rxB975D432pV on Sun May 17, 2015 1:59 pm
rxB975D432pV
Registered User
Posts: 183
Joined: Thu Aug 04, 2011 1:54 pm
Contact:

Re: Custom Header Background IF Nothing choosen

by Balint » Fri Aug 03, 2012 2:33 pm

Hi,

change

Code: Select all

   $site_background_logo = '';


to

Code: Select all

   $site_background_logo = $phpbb_root_path . 'images/backgrounds/bg_header' . mt_rand(1, 38) . '.jpg';


in includes/functions.php

I hope it works - untested ("holiday mode") code.

Viele Grüße :-)
Bálint
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: Custom Header Background IF Nothing choosen

by rxB975D432pV » Fri Aug 03, 2012 2:40 pm

---------------
rxB975D432pV
Registered User
Posts: 183
Joined: Thu Aug 04, 2011 1:54 pm
Contact: