SMF Ads Support Forum

Support => Ad Support => Topic started by: kanderson88 on September 11, 2009, 05:07:31 pm

Title: help, noize theme not sure
Post by: kanderson88 on September 11, 2009, 05:07:31 pm
hi, i will upload the index file but i get an error when i try uploading the ad mod and it can find stuff in index.template file, which is uploaded.

anyone help or know how to edit this?

./Themes/noize_20rc1/index.template.php   Test failed
Code: [Select]
Find [Select]
<div class="windowbg2 clearfix">';
Replace [Select]
<div class="windowbg2 clearfix floatleft">';

Code: [Select]
Find [Select]
<form class="windowbg" id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
Replace [Select]
<form class="windowbg2" id="guest_form" action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '',

Code: [Select]
Find [Select]
echo '
</div>
Add After [Select]
';
echo '<div class="windowbg2 clearfix" align="right">';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
}
unset($ads);
}
echo '</div>';
echo '


Code: [Select]
Find [Select]
template_menu();
Add After [Select]

//Below the menu ads
if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);

//Tower left Ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

unset($ads);
//Tower Right Ads
$ads = show_towerrightAds();
if(!empty($ads))
echo '<table><tr><td width="100%" valign="top">';
unset($ads);
}


Add Before   ./Themes/noize_20rc1/BoardIndex.template.php   Test failed

Code: [Select]
Find [Select]
// Show some statistics if stat info is off.
Add Before [Select]

//Display ads on the board index
if (function_exists("show_boardAds"))
{
$ads = show_boardAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}

Add After   ./Themes/noize_20rc1/MessageIndex.template.php   Test failed
Code: [Select]
Find [Select]
echo '
</table>
</div>';
Add After [Select]
//Display Ads on the Message index
if (function_exists("show_underchildren"))
{
$ads = show_underchildren();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}

sorry it was three files i get errors in :( anyone help ill donate to you if i you help me get it to work. easy $5 bucks
Title: Re: help, noize theme not sure
Post by: pmf41 on September 12, 2009, 10:40:18 pm
ill try to do it for you tommorrow  ;)
Title: Re: help, noize theme not sure
Post by: earn1getmoney on February 22, 2010, 07:46:08 am
i want to know how to add a moving add widget on my blogger blog