News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Customization issue in AD script within DILBER MC Theme.

Started by Raji, March 07, 2009, 02:23:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Raji

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.

Fragenstein

I believe it's the same problem I had. Try removing the echo ' at the bottom. It is repeated on the next line.

07knev