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) : )
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.)
Unfortunatly it did not do that.
If you have another look I will be really grateful.
Thank you.
I`ll check it out a bit later tonight maybe
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
I`m sorry, thanks for reminding me. I forgot all about it. I`ll look at it today.
No Probs bigguy. Take your time.
Now who wants some cookies. (Too late for me :P)
Ok lets try this one.
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. : (
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.