Coinbase

Author Topic: Problem with the Ad Management  (Read 6567 times)

0 Members and 1 Guest are viewing this topic.

Offline daichan89

  • Newbie
  • *
  • Posts: 2
    • Email
Problem with the Ad Management
« on: June 08, 2009, 12:54:17 pm »
First, Sorry for my english, is very bad :-[

I have a problem with de Ad Management mod 2.3.4 and SMF 2.0 RC1-1

If you are a visitant the mod found fine, and show the ads: http://miguelcosta.com.ar/ok.jpg

But, if you don't have permissions to see ads ("Enable Ads" is disabled) for example, for guess users, the mod alters the theme: http://miguelcosta.com.ar/user.jpg

Is it a bug? Is there any solution?

Thanks,
Miguel


Offline daichan89

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Problem with the Ad Management
« Reply #1 on: June 09, 2009, 07:09:38 am »
I could fix it! ;D

I deleted
Code: [Select]
echo '</div>';(Line 402 of install.xml)

And now the mod found fine!

Before:
Code: [Select]
<div class="bordercolor">
<div class="clearfix windowbg3 largepadding">', $adpost['type'] == 0 ? $adpost['content'] :  eval($adpost['content']) ,'</div>
</div>';
}
}
[color=red][b]echo '</div>';]]>[/b][/color]
</add>
</operation>
</file>

After:
Code: [Select]
<div class="bordercolor">
<div class="clearfix windowbg3 largepadding">', $adpost['type'] == 0 ? $adpost['content'] : eval($adpost['content']) ,'</div>
</div>';
}
}
[color=green][b]]]>[/b][/color]
</add>
</operation>
</file>

Also, the mod found normal with the classic and default themes ;)

Somebody can test it?
http://miguelcosta.com.ar/ad_mod_fix.zip

Sorry for my english again,
Miguel

SMF Ads Support Forum

Re: Problem with the Ad Management
« Reply #1 on: June 09, 2009, 07:09:38 am »
.

 

.