I want to use with the AS Theme, but I've never used it before and there's no MessageIndex.template.php file in the AS Theme. Before I go change all the code, does somebody know if this will still work?
Thanks for your help!
if the theme doesnt have a file then it uses it from the default theme so all it means is one less file to edit ;)
ok, I found that file... I'm just a newb, sorry...
I edited the files and uploaded them, and am getting this parse error on my index.template.php:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:/Inetpub/virtual/schmmj/WWWROOT/CGI-BIN/smf/Themes/As_theme/index.template.php on line 265
Here is my code:
256: echo '
257: </head>
258: <body>';
259: echo '
260: //Display ads on the top of the page
261: if (function_exists("show_topofpageAds"))
262: {
263: $ads = show_topofpageAds();
264: if(!empty($ads))
265: if($ads['type']==0)
266: echo $ads['content'];
267: else
268: eval($ads['content']);
269: unset($ads);
any help would be appreciated!
try
echo '
</head>
<body>';
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo '
that worked, thank you! I no longer get a parse error. Now I have a new problem however... my statistics show that I am getting hits on my ads, but they don't show up for either admin or guests. Any suggestions?
let me see your display.template