Coinbase

Author Topic: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme  (Read 6545 times)

0 Members and 1 Guest are viewing this topic.

Offline Sineksekiz

  • Newbie
  • *
  • Posts: 8
Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« on: July 19, 2006, 10: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 !!!!

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

Thank you very much in advance (Even if you can not help) : )
« Last Edit: July 19, 2006, 10:06:21 pm by Sineksekiz »

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #1 on: July 20, 2006, 09: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.)

Offline Sineksekiz

  • Newbie
  • *
  • Posts: 8
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #2 on: July 22, 2006, 07:19:18 am »
Unfortunatly it did not do that.

If you have another look I will be really grateful.

Thank you.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #3 on: July 22, 2006, 01:04:20 pm »
I`ll check it out a bit later tonight maybe

Offline Sineksekiz

  • Newbie
  • *
  • Posts: 8
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #4 on: July 26, 2006, 11:14:13 am »
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

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #5 on: July 26, 2006, 11:58:02 am »
I`m sorry, thanks for reminding me. I forgot all about it. I`ll look at it today.

Offline Sineksekiz

  • Newbie
  • *
  • Posts: 8
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #6 on: July 26, 2006, 08:23:49 pm »
No Probs bigguy. Take your time.

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

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #7 on: July 26, 2006, 11:03:55 pm »
Ok lets try this one.

Offline Sineksekiz

  • Newbie
  • *
  • Posts: 8
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #8 on: July 28, 2006, 06: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. : (

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #9 on: July 28, 2006, 09: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.

SMF Ads Support Forum

Re: Ad Managment Mod_1-0-7_v1-0-2b with Spikey Theme
« Reply #9 on: July 28, 2006, 09:02:59 am »
.