SMF Ads Support Forum

Themes/Language => Theme Support => Topic started by: Raji on March 07, 2009, 02:23:44 am

Title: Customization issue in AD script within DILBER MC Theme.
Post by: Raji on March 07, 2009, 02:23:44 am
Hi there,

I hv freshly installed 1.1.8 smf and running dilbermc theme.
Now issue is that I am unable to see ADs on respective areas.
When I edit ./Themes/{your_theme}/index.template.php

to find
Quote
</td>

and replace with

Quote
</td>';
                     //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 '

I am getting this error

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home2/baaskcom/public_html/diwwan/Themes/dilbermc/index.template.php on line 470


rest of the changes are working okay.
Title: Re: Customization issue in AD script within DILBER MC Theme.
Post by: Fragenstein on April 12, 2009, 10:59:55 pm
I believe it's the same problem I had. Try removing the
Code: [Select]
echo ' at the bottom. It is repeated on the next line.
Title: Re: Customization issue in AD script within DILBER MC Theme.
Post by: 07knev on April 14, 2009, 04:43:24 am
which version of Ad management package installed ?