Coinbase

Author Topic: Customization issue in AD script within DILBER MC Theme.  (Read 2765 times)

0 Members and 1 Guest are viewing this topic.

Offline Raji

  • Newbie
  • *
  • Posts: 6
Customization issue in AD script within DILBER MC Theme.
« 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.

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Customization issue in AD script within DILBER MC Theme.
« Reply #1 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.

Offline 07knev

  • Newbie
  • *
  • Posts: 5
    • Email
Re: Customization issue in AD script within DILBER MC Theme.
« Reply #2 on: April 14, 2009, 04:43:24 am »
which version of Ad management package installed ?


SMF Ads Support Forum

Re: Customization issue in AD script within DILBER MC Theme.
« Reply #2 on: April 14, 2009, 04:43:24 am »
.

 

.