Customizing SMF > Modifications and Packages

Ad Management mod 3.1 Released SMF 2.0.x and SMF 1.1.x Support!

<< < (1345/1406) > >>

Kindred:
Not the pages....    In the php source and template files

Realinfo:

--- Quote from: maihannijat on December 10, 2010, 08:01:26 AM ---Almost done installing this in custom Theme.

But only one code is left to insert it in index.template.php, I have tried but don't know where this code falls.

Here is the code:

--- Code: ---';
//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 '

--- End code ---






And attached is my index.template.php


Thanks in Advance.

--- End quote ---



By this way


--- Code: ---echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

//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 '

--- End code ---


I able to get ads in welcome area............. 2.0.2 Default theme thanks.

NikShiP:
I added the ad and my forum width reduced..

What wrong m i doing? :(

vbgamer45:
Link?

NikShiP:

--- Quote from: vbgamer45 on May 12, 2012, 05:24:37 PM ---Link?

--- End quote ---
I uninstalled the mod..
Revived the forum

www.gizmolord.net [nofollow]

Forum width is set to be 1250 px n it was reduced to 1250-768=482px
768px is the width of the ad.
m trying to integrate google addsense

Please guide me.. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version