News:

Help keep this project going by donating or buying adseller pro

Main Menu

Display ads within posts

Started by vconcept, June 25, 2006, 03:21:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vconcept

this function doesn't work on my board.

Here is my Display.Template.php. Can you check it please ?

To thank you for your assistance and if you wish it, I can deal with the translation in French.

Rating: No ratings yet

jerm

it should be Display.template.php, not .mod

and its okay for the french translation, i've got someone, just waiting for her to get back to me

vconcept

 ;D

Here the file ?Display.Template.php?. It is the same one as ?Display.Template.mod?. In fact when I modify a file locally I always keep a copy of this one with the extension .mod (for modified).

Thanks in advance for your help

jerm


vconcept

Quote from: jerm on June 26, 2006, 05:03:58 PM
i think this should work now

No, it's not ok :

Quote
Parse error: syntax error, unexpected $end in .../Themes/default/Display.template.php on line 833

824:    </tr>
825: </table>';
826:
827:       if ($context['show_spellchecking'])
828:          echo '
829: <form name="spell_form" id="spell_form" method="post" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
830:    }
831: }
832:

833: ?>

834:
835:

jerm


vconcept

Quote from: jerm on June 27, 2006, 12:01:51 PM
try this one

no error with this one, but no ads within posts  ???

bigguy

Have you emptied cache and temp files ??

vconcept

Yes I do.

You can try yourself in this forum (I will delete your thread after test) :

http://www.phonemag.ch/forum/index.php?board=9.0

bigguy

Have you entered the nuber of the post that you want the ads to show under. ??? I would think you have by now and seperated them with a ,

vconcept

I have juste enter 2, for having ads after second post.

bigguy

have you tried taking the , out of it that is after the 2 I don`t think you need that unless there is more than 1 number.

vconcept


bigguy

Try this out. If you get an error I think I know what it is, but try it.

jerm

ya, i uploaded the wrong file  :-X