SMF Ads Support Forum
May 22, 2013, 07:54:52 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF Ads Support Forum
 
   Home   Help Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Working with my custom theme  (Read 2191 times)
0 Members and 1 Guest are viewing this topic.
agent9
Newbie
*
Offline Offline

Posts: 2


« on: November 09, 2010, 01:39:52 am »

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?
Logged
agent9
Newbie
*
Offline Offline

Posts: 2


« Reply #1 on: November 09, 2010, 07:13:01 pm »

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>
Logged
SMF Ads Support Forum
   

.
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFAds.com is not affiliated with nor endorsed by Simple Machines.