...

View Full Version : ads in phpbb3 forum



giants10
11-30-2008, 08:03 AM
I'm trying to put some ads in my new phpbb3 forum and I read somewhere that you have to put at the last line of the overall_header file the code, I did that and nothing is appearing. Does anyone have any solutions to this?

_Aerospace_Eng_
11-30-2008, 10:09 PM
That is right but it needs to be in the tpl file for your template. Did you change the default template for phpbb3?

giants10
12-01-2008, 03:40 AM
yes I did change it to a template named dvgfx2. What do I need to do then?

_Aerospace_Eng_
12-01-2008, 06:03 AM
What was the path to the tpl file you were editing? Was it the one in your theme's folder? There is a separate overall_header.tpl file for each theme.

giants10
12-01-2008, 09:08 PM
I tried editing the .html files in the style like overall_header.html. I don't see .tpl files anywhere. I should look for it?

giants10
12-04-2008, 06:37 PM
I edit it the way that phpbb tells me to do it on their website but I keep getting this error everywhere I try to insert it

Parse error: syntax error, unexpected T_STRING in tpl_DVGFX2_overall_footer.html.php on line 16

_Aerospace_Eng_
12-04-2008, 06:42 PM
Post that file please.

giants10
12-04-2008, 07:39 PM
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.

The phpBB Group : 2006
//-->

<div id="wrapfooter">
<!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
<BR />
DVGFX2 By: <a href="http://dvgfx.com">Matt</a>
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>

</body>
</html>

giants10
12-04-2008, 07:40 PM
they don't say where to put the ad code at all

giants10
12-04-2008, 11:21 PM
and heres the ad code

AD CODE:

"<!-- BEGIN STANDARD TAG - 728 x 90/468 x 60 - ROS: Run-of-site - DO NOT MODIFY -->
<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=728 HEIGHT=90 SRC="url"></IFRAME>
<!-- END TAG -->

_Aerospace_Eng_
12-04-2008, 11:40 PM
And you are sure thats the full tpl_DVGFX2_overall_footer.html.php file?

giants10
12-04-2008, 11:49 PM
this is
styles/DVGFX2/template/overall_footer.html

giants10
12-04-2008, 11:55 PM
i dont see the tpl file anywhere

twodayslate
12-05-2008, 12:42 AM
http://www.phpbb.com/kb/article/advertisements-in-phpbb3/
http://startrekguide.com/community/viewtopic.php?f=27&t=7792



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum