@Luke Beale: I guess I should have checked the code again (with the latest version) to make sure it was up to date with MyBB 1.4.x
My bad there as it was already available as a download (see below) and I forgot :p.
Try this instead: (will update the instructions on the other post too)
p/s:Having just remembered that class_templates.php is already available as a download (from the first post) is it possible to find out if this file was downloaded and used to overwrite the default file on your forum?
@TomL: Thanks for the help
@indigored: This is one thing I should probably point out from the inherited header. The template section that you want to look at is Header Templates/header and the specific code part is:
It is (hopefully) quite self explanatory, and this is essentially the beginning of the the div (or box) where your logo sits. The default white colour of the header is set by
For instance, a black background would have the value

Try this instead: (will update the instructions on the other post too)
Quote:Find$template = str_replace("\\'", "'", addslashes($template));
in inc/class_templates.php (around Line 114) and replace with
$template = str_replace("\\'", "'", addslashes($template)); $template= str_replace("<if condition=","\".iif(",$template); $template= str_replace("<then>",",\"",$template); $template= str_replace("<else />","\",\"",$template); $template= str_replace("</if>","\").\"",$template);
p/s:Having just remembered that class_templates.php is already available as a download (from the first post) is it possible to find out if this file was downloaded and used to overwrite the default file on your forum?
(2009-02-05, 05:42 AM)indigored Wrote: ya, heres a screenshot:
@TomL: Thanks for the help

@indigored: This is one thing I should probably point out from the inherited header. The template section that you want to look at is Header Templates/header and the specific code part is:
<div class="logo" style="background:#fff url('$theme[imgdir]/logobg.gif');">
It is (hopefully) quite self explanatory, and this is essentially the beginning of the the div (or box) where your logo sits. The default white colour of the header is set by
background: #fff
so any colour changes should be made here.For instance, a black background would have the value
background: #000
Current motto: Cross referencing threads by providing links is a good idea!
Back-on Online - Back-on Fansite
http://www.backon-online.com/
WordPress Snippets
http://www.wpsnippets.com/
Back-on Online - Back-on Fansite
http://www.backon-online.com/
WordPress Snippets
http://www.wpsnippets.com/