News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Working with my custom theme

Started by agent9, November 09, 2010, 01:39:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

agent9

I need some help with my custom theme.
Ad Manager is working on the default, but my manual installs are failing.
I tried to look at the default theme its working on to see where the changes go, but I didn't see them there. Should I be able to?

agent9

ok I have it almost working.
Only issue is it is always showing ads in the welcome area.

I did leave these lines off my index.template for welcome ads, but I'm not sure where to ad them.
Attached is my index.template.
You can see my smf forum at http://rioforgringos.com/forumx/

Here are the lines I left out:

<operation>
      <search position="before"><![CDATA[                     </td>]]></search>
<add><![CDATA[';
                     //Welcome Ads
                     if (function_exists("show_welcomeAds"))
                     {
                        $ads = show_welcomeAds();
                        if(!empty($ads))
                        {
                           echo '<td class="windowbg2">';
                           if($ads['type']==0)
                              echo $ads['content'];
                           else
                              eval($ads['content']);
                           echo '</td>';
                        }
                        unset($ads);
                     }
                  echo ']]>
</add>
</operation>