>>
Site Map
>>
Forums
>>
phpBB Module
Forum module - topics in forum:
phpBB Module - Discussions relating directly to the PHP-Nuke phpBB module.
tring to add banner ad to formums page...
Hey guys.. i was just hoping that you could help me...
i want to add a banner ad to the main forums page
i want to add it here in the index_body.tpl page under my theme/forums dir....
| Code: : |
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
[i]i want to add banner here[/i]
<tr>
<td class="cat" colspan="2"><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></td>
<td class="rowpic" colspan="3"><img src="themes/fiblack3d/forums/images/spacer.gif" alt="" width="280" height="12" /></td>
</tr> |
i have tried adding the code
| Code: : |
| $content .= ads(0); |
directly into the tlp file but then it just prints it...
i have also tried using a page include and calling blocks/block-Advertising.php but that didnt work either...
i am sure it is simple to do but cant work out how to do it....
any help greatly apreciated.. cheers guys...
merry christmas n stuff to!!!
ps same as your welcome to the forums annoucent but a banner advert in its place...
| Quote: : |
| ps same as your welcome to the forums annoucent but a banner advert in its place... |
Well that's just right at the top of index_body.tpl before anything else, not sure what code you'd need to use banner system though.
If it was just one static non changing banner you can add code top of index_body.tpl like I'd said.
ok so now i have tried to add a java script to rotate the banners and then it doesnt show anything above - whos online.... 
How bout just using the Banners in the normal way? Having them in the empty space in your logo..... that way they would be seen on EVERY page 
so do i change the $showbanners in the header.html on my site to ads(0) how do i call it if my theme used a header .HTLM not .php file?
or get the advertising block to go in there... either or...
Admin - Banners...
Add a client then add a banner - choose where you want it to appear - in the dropdown - choose "Normal" and it should appear at the top of the site.
but i dont want it to appear above the whole site.... i want it to appear beside the logo OR the forums..... 
Unfortunately the banner system was changed in 7.7 I believe, so 99% of all themes require modifying to use the new banner system.
As I don't support these version's I have no idea of the changes required, maybe it says in the 7.7+ readme or changelog.
no worries dar... thanks anyways...
your still a legend!