News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Installing on WARZONE Theme?

Started by boardman442, October 15, 2008, 04:02:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

boardman442

Hey guys, I've been doing trial and error modding the needed 4 files to get SMF ads running on a Warzone theme. The ad module works fine on the default theme, but this one is giving me trouble. Each time I try it, I get the "template parse error" message, so it's knocking something out of whack.

Any help would be much appreciated!

ccbtimewiz

Attach the templates you've edited.

boardman442

#2
Here are copies of the files without the SMF code in-place.

ccbtimewiz

Please include them with the edits you've made.

boardman442

#4
Attached. Much appreciated!

ccbtimewiz

Display.template.php

Find:
</tr>';
</td></tr>';


Replace with:
</tr>
</td></tr>';


boardman442

Was that the only error that was messing it up?

ccbtimewiz

That I could see, yes. Could you try making that edit and see if anything changes for the better? If you get an error, could you post the detail of the error, such as the line and file?

boardman442

Just did that, and this is the error:
Template Parse Error!
There was a problem loading the /Themes/Warzone/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING, expecting ',' or ';'

ccbtimewiz

Unfortunately, you deleted your templates so I can't look back into them.

boardman442

Sorry. We had to do a quick fix, so I've manually inserted ad tags into the forum. I'll have to re-visit this later. Thanks for trying :)