This is my Story installning a mod

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

I tested whit both... :?

Can it be because the header is included ?

Update:
Ok, when i click on preview the colour is correct,
but the header is gone.

so whit my conclution it is the header that do it..

But i wonder why the header is gone when previewing a post =/
Well at least the problem is found, but not fixed..
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Is this line still in website.php?

Code: Select all

echo '<html><body bgcolor="' . $colour . '">'; 
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

It seems so..

Code: Select all

include($phpbb_root_path . "includes/page_header.$phpEx");
		// Ok, do it...
		echo '<html><body bgcolor="' . $colour . '">';
        echo $user_css; // Originally by Excursus
But i know it is because of the overal header, that the colour isen't there...
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Here is my overal header. It has some bg code in it:

//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#3B88C5" vlink="#3279B2" alink="#FF9C00">
<a name="top"></a>
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>

Code: Select all

Edited by me =P
Last edited by Leon on Sat Feb 11, 2006 11:22 am, edited 1 time in total.
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

See <body bgcolor="#FFFFFF"?

Remove the bgcolor="#FFFFFF"
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

But what happens then to the rest of the forum :?:
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Oh yeah.. Whoops.

See:

include($phpbb_root_path . "includes/page_header.$phpEx");
// Ok, do it...
echo '<html><body bgcolor="' . $colour . '">';
echo $user_css; // Originally by Excursus

Replace with

// Ok, do it...
echo '<html><body bgcolor="' . $colour . '">';
include($phpbb_root_path . "includes/page_header.$phpEx");
echo $user_css; // Originally by Excursus
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

In what file is that code ?

Update:
I found it =P
Last edited by Leon on Sat Feb 11, 2006 11:28 am, edited 1 time in total.
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

That section is in website.php
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Ops:
When submit a colour in the site:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/volunteerforum/www/includes/page_header.php on line 44

Update:
It also when not having a colour in the website =/
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Ops, i forgot to remove the:
include($phpbb_root_path . "includes/page_header.$phpEx");


But then, DAMN:

Warning: Cannot modify header information - headers already sent by (output started at /home/volunteerforum/www/website.php:156) in /home/volunteerforum/www/includes/page_header.php on line 488

Warning: Cannot modify header information - headers already sent by (output started at /home/volunteerforum/www/website.php:156) in /home/volunteerforum/www/includes/page_header.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at /home/volunteerforum/www/website.php:156) in /home/volunteerforum/www/includes/page_header.php on line 491
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Ok, this is becoming confusing now :?

Find:

Code: Select all

     // Ok, do it...
      echo '<html><body bgcolor="' . $colour . '">';
        echo $user_css; // Originally by Excursus
      echo "<title>$title_website</title>";
      echo $user_html;
      echo '</body></html>';
      echo '<br />';
      echo '<font face="Arial"><table width="100%"><tr><td align="center">';
      echo 'User Website MOD &copy; <a href=http://www.online-scrabble.com>battye</a> 2005<br />
            Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> &copy; 2001, 2005 phpBB Group';
      echo '<br /><br />';
      echo $board_config['website_footer'];
      echo '<br />';
      echo $hits_out;
      echo '</td></tr></table></font>';
   } 
in website.php

Replace with

Code: Select all

   
include($phpbb_root_path . "includes/page_header.$phpEx"); 
  // Ok, do it...
      echo '<html>';
        echo $user_css; // Originally by Excursus
      echo "<title>$title_website</title>";
      echo $user_html;
      echo '</body></html>';
      echo '<br />';
      echo '<table bgcolor="' . $colour . '" width="100%"><tr><td><font face="Arial">';
      echo '<div align="center">User Website MOD &copy; <a href=http://www.online-scrabble.com>battye</a> 2005<br />
            Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> &copy; 2001, 2005 phpBB Group';
      echo '<br /><br />';
      echo $board_config['website_footer'];
      echo '<br />';
      echo $hits_out;
      echo '</div></td></tr></table></font>';
   } 
I hope that works

EDIT: I have edited this post
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Well no errors now, but the colour is only changing at the footer
where the:

User Website MOD © battye 2005
Powered by phpBB © 2001, 2005 phpBB Group


This page has had 116 hits!

Is...
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

website.php find

Code: Select all

include($phpbb_root_path . "includes/page_header.$phpEx");
  // Ok, do it...
      echo '<html>';
        echo $user_css; // Originally by Excursus
      echo "<title>$title_website</title>";
      echo $user_html;
      echo '</body></html>';
      echo '<br />';
      echo '<table bgcolor="' . $colour . '" width="100%"><tr><td><font face="Arial">';
      echo '<div align="center">User Website MOD &copy; <a href=http://www.online-scrabble.com>battye</a> 2005<br />
            Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> &copy; 2001, 2005 phpBB Group';
      echo '<br /><br />';
      echo $board_config['website_footer'];
      echo '<br />';
      echo $hits_out;
      echo '</div></td></tr></table></font>';
   } 
replace with

Code: Select all

include($phpbb_root_path . "includes/page_header.$phpEx");
  // Ok, do it...
      echo '<html>';
        echo $user_css; // Originally by Excursus
      echo "<title>$title_website</title><table bgcolor="' . $colour . '" width="100%"><tr><td>";
      echo $user_html;
      echo '</body></html>';
      echo '<br />';
      echo '<font face="Arial">';
      echo '<div align="center">User Website MOD &copy; <a href=http://www.online-scrabble.com>battye</a> 2005<br />
            Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> &copy; 2001, 2005 phpBB Group';
      echo '<br /><br />';
      echo $board_config['website_footer'];
      echo '<br />';
      echo $hits_out;
      echo '</div></td></tr></table></font>';
   } 
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Post Reply