News:

Help keep this project going by donating or buying adseller pro

Main Menu
Coinbase

Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme

Started by Sineksekiz, July 19, 2006, 11:02:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sineksekiz

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 !!!!

And this is my index.themplate.php file. index.template.php

Thank you very much in advance (Even if you can not help) : )

bigguy

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.)

Sineksekiz

Unfortunatly it did not do that.

If you have another look I will be really grateful.

Thank you.

bigguy


Sineksekiz

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

bigguy

I`m sorry, thanks for reminding me. I forgot all about it. I`ll look at it today.

Sineksekiz

No Probs bigguy. Take your time.

Now who wants some cookies. (Too late for me  :P)


Sineksekiz

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. : (

bigguy

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.