SMF Ads Support Forum

Support => Ad Support => Topic started by: Sineksekiz on July 19, 2006, 11:02:32 PM

Title: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: Sineksekiz on July 19, 2006, 11:02:32 PM
Hi Folks.

I have a little problem with Ad Managment Mod. Actually it does not show any banner in index of my board (Spikey, not the default one.) And I am trying to include the codes to index.themplate.php file but I could not manage to make it work.

I would like to show my ads like shown in the picture. Spikey Theme index !!!! (http://img85.imageshack.us/img85/3551/overqh0.jpg)

And this is my index.themplate.php file. index.template.php (http://www.thegamestyle.com/index.template.zip)

Thank you very much in advance (Even if you can not help) : )
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: bigguy on July 20, 2006, 10:44:26 PM
Well not sure if this will work but it might. If it doesn`t I`ll take another look. Unzip and upload the file, RENAMING the original file FIRST. (just so you have it incase this doesn`t work.)
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: Sineksekiz on July 22, 2006, 08:19:18 AM
Unfortunatly it did not do that.

If you have another look I will be really grateful.

Thank you.
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: bigguy on July 22, 2006, 02:04:20 PM
I`ll check it out a bit later tonight maybe
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: Sineksekiz on July 26, 2006, 12:14:13 PM
Have you had any chance to look at that bigguy. I gonna go mad here....

I tried so many things but neither one of them worked.

Actually wait a second. I am already mad.  :D
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: bigguy on July 26, 2006, 12:58:02 PM
I`m sorry, thanks for reminding me. I forgot all about it. I`ll look at it today.
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: Sineksekiz on July 26, 2006, 09:23:49 PM
No Probs bigguy. Take your time.

Now who wants some cookies. (Too late for me  :P)
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: bigguy on July 27, 2006, 12:03:55 AM
Ok lets try this one.
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: Sineksekiz on July 28, 2006, 07:21:28 AM
Unfortunatly bigguy that di not do that either.

I think these are different versions index file. WhenI exchange them Theme gets broken and make me use default theme. : (

I checked the Instal.xml file in the Ad Managmet version 1.0.7

It is attepting to this changes:

Quote<file name="$themedir/index.template.php">
   <operation>
      <search position="replace"><![CDATA[<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>]]>
      </search>

<add><![CDATA[
<table width="100%" cellpadding="0" cellspacing="0" border="0">';
if ($modSettings['js_text_displayads_index'] && allowedTo('ad_manageperm'))
{
   echo '   <tr><td id="bodyarea">
         <br />
            <div align="center">',$modSettings['js_text_content'],'</div></td></tr>';
}
echo '<tr>]]>
</add>
</operation>

<operation>
   <search position="replace"><![CDATA[   echo '</td>
   </tr></table>';]]></search>
<add><![CDATA[
   global $modSettings;
   echo '</td></tr>';
if ($modSettings['js_text_displayads_botindex'] && allowedTo('ad_manageperm'))
{
   echo '   <tr><td id="bodyarea">
            <div align="center">',$modSettings['js_text_content'],'</div><br /></td></tr>';
}

   echo '</table>';]]>
</add>
</operation>

</file>

I think it cannot find the parts it is looking for and nethier I can....

I am really stuck. : (
Title: Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
Post by: bigguy on July 28, 2006, 10:02:59 AM
They can`t be different versions on the index.template.php file because I took this from the first post in this thread. Maybe Jerm will look at it.