Inserting HTML code for ads?

Started by Nekobyte, April 21, 2008, 10:47:50 AM

Previous topic - Next topic

Nekobyte

Hi,

I was after some help for inserting some ad code into my SMF forum. I'm trying to mimic what I can see on this forum, where in the forum index there are ads up the top underneath the Navigation buttons (Home, Search, etc) but above the "Simple Machines Community Forum" test.

Can someone tell me which file this code has to be inserted into, and where?

Thanks in advance,
Neko
hxxp:nekobyte.com [nonactive]


Nekobyte

I'm actually just interested in inserting the single block of HTML code as I described. I'm no expert when it comes to PHP and databases and I don't trust myself to be able to do the install without screwing it up.

Do you know whereabouts I'd put my adcode as described in my initial post?
hxxp:nekobyte.com [nonactive]

Nekobyte

hxxp:nekobyte.com [nonactive]

Dragooon

In your index.template.php Find something like
// Show the menu here, according to the menu sub template.
template_menu();

And after that add
echo '<div align="center">YOUR AD CODE HERE</div>';

Nekobyte

hxxp:nekobyte.com [nonactive]

Advertisement: