News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

Codes cant be found.

Started by optimushunk, August 08, 2008, 04:15:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

optimushunk

I have done all the theme edits but as the parser didnt show the correct place where i had to put the codes, i have added them acording to a bit of understanding. I am sure about that, that some of the codes arn't placed right.

the code which i had to add after:-
template_menu();

which was:-

//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);
}



Isnt added, as the code which i had to find wasnt present in my theme(Dark Night).

Kindly check them and please do the needful. I have been trying out hard to make this mod work properly.

Attached files of theme (Dark Night):-
Index.template.php
BoardIndex.template.php

Please Help me out.

Thank you.