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

Ancient&Rusted + TP 0.97 + Ad mod + SMF 1.1.1? helpme please

Started by allumius, December 20, 2006, 04:47:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

allumius

Sorry but my english is very bad


I want use de ad management mod in Ancient & rusted theme
I use ancient&Rusted+TP 0.97+SMF 1.1.1
I modify the files manually, but not work or work bad   :'( :'(

Somebody can modify this theme and give me this modifications?

Thank very much


bigguy

Can you upload the 4 template files the ad mod edits and I will see what I can do.


bigguy


allumius

ou ou  :'( :'(

This is the mansage i have when im trying go to my forum after uploads these files


Template Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.


Help me please

bigguy

Ok, try 1 at a time. This way we can narrow it down to what template file it is. I would think it's the index.template.php but not sure.

allumius

look this image attached please

An tihis oder when i try enter in a post

bigguy

Ok the first one is the index.template.php file. Delete the one I sent you and rename the one in your custom theme folder to index1.template.php See what that does. The other looks like its from a language file maybe the modifications.english.php file.


bigguy


allumius

Well....
when i try 1 at time...
if i upload the BoardIndex.template.php nothing apears
If i upload the MessageIndex.template.php work ok
if i upload Display.template.php..... look the attach




bigguy


SicTats

Hello

I am also trying to get ads to work with ancient and rusted theme

The index.template.php file creates a parse error when trying to load the theme after updating files
the error is below
thanks in advance for any assistance


Parse error: parse error, unexpected T_VARIABLE, expecting ',' or ';' in .../Themes/Ancient_and_Rusted/index.template.php on line 239

230: <table width="100%" border="0" cellpadding="0" cellspacing="0">
231: <tr>
232: <td colspan="2" width="100%" height="83" align="left" valign="top" class="main-title">
233: <span class="title-text">', $context['forum_name'], '</span></td>
234: </tr>
235: <tr>
236: <td width="312" height="52"><img src="', $settings['images_url'], '/logo_bottom.jpg" width="312" height="52" alt="0" /></td>
237: <td width="100%" height="52" align="left" valign="top">'
238:    //Below the menu ads

239:    $ads = show_indexAds();   

240:    if(!empty($ads))
241:       if($ads['type']==0)
242:          echo $ads['content'];
243:       else