News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

help, noize theme not sure

Started by kanderson88, September 11, 2009, 06:07:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kanderson88

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
Find [Select]
<div class="windowbg2 clearfix">';
Replace [Select]
<div class="windowbg2 clearfix floatleft">';


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'] . '\');"' : '',


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 '



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

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

pmf41

ill try to do it for you tommorrow  ;)

earn1getmoney

i want to know how to add a moving add widget on my blogger blog