SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: SicTats on March 22, 2008, 02:26:51 AM

Title: theme mode for ancient and rustic
Post by: SicTats on March 22, 2008, 02:26:51 AM
ok, i managed to get all the edits to work but one, once i started being patient with it

this step causes a parse error
QuoteIn the same file FIND:

Code:

   // Get all the messages...


And REPLACE with:

Code:

   //Ad Counter
   $adcounter =0;
   // Get all the messages...
   while ($message = $context['get_message']())
   {
      $adcounter++;

also, everything seems to work (still testing) except that both left and right tower ads destroy the page format
anyone have thoughts on this?

thanks for any and all help
Title: Re: theme mode for ancient and rustic
Post by: jack1992 on March 22, 2008, 06:24:06 AM
if you copied that in excally like that it wont work,

use this insted:

In the same file FIND:

Quote
   // Get all the messages...


And REPLACE with:

Code:

Quote//Ad Counter
   $adcounter =0;
   // Get all the messages...
   while ($message = $context['get_message']())
   {
      $adcounter++;

only put the sections in  the quotes in
Title: Re: theme mode for ancient and rustic
Post by: SicTats on March 22, 2008, 11:58:18 AM
I'm not sure i follow what your saying Jack
I copied/pasted the correct code in the correct spot (all my other edits worked), i just didn't quote it the same way here

Thanks for taking the time to post
Title: Re: theme mode for ancient and rustic
Post by: jack1992 on March 22, 2008, 12:30:24 PM
hmm ok the only other thing that i can think of it being is if the ad images are to big for the theme otherwise i dont know