Closed Thread
Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Putting up ads in forums help

  1. #11
    BretFan1 is offline x10Hosting Member BretFan1 is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    54

    Re: Putting up ads in forums help

    Wow this is frustrating. I have the code you guys recommended above in my overall_header.tpl file now, and as you can see if you go to: http://brethart.x10hosting.com/forum the ads still are not coming up. I don't know what the problem is.... here's what I have:


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html dir="{S_CONTENT_DIRECTION}">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
    <meta http-equiv="Content-Style-Type" content="text/css">
    {META}
    {NAV_LINKS}
    <title>{SITENAME} :: {PAGE_TITLE}</title>
    <link rel="stylesheet" href="templates/subBlack/{T_HEAD_STYLESHEET}" type="text/css" />
    <style type="text/css">
    <!--
    TH { background-image: url(templates/subBlack/images/{T_TH_CLASS2}) }
    TD.cat { background-image: url(templates/subBlack/images/{T_TH_CLASS1}) }
    TD.rowpic { background-image: url(templates/subBlack/images/{T_TH_CLASS3}); background-repeat: repeat-y }
    TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.c atBottom { background-image: url(templates/subBlack/images/{T_TH_CLASS1}) }
    -->
    </style>
    <!-- BEGIN switch_enable_pm_popup -->
    <script language="Javascript" type="text/javascript">
    <!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
    window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
    //-->
    </script>
    <!-- END switch_enable_pm_popup -->
    </head>
    <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
    <a name="top"></a>
    <table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
    <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td width="200"><a href={U_INDEX}><img src="templates/subBlack/images/logo_phpBB.gif" width="200" border="0" alt={L_INDEX} vspace="1" /></a></td>
    <td align="center" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br />&nbsp; </span>
    <table cellspacing="0" cellpadding="2" border="0">
    <tr>
    <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="{L_FAQ}" hspace="3" />{L_FAQ}</a></span><span class="mainmenu">&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_search.gif" width="12" height="13" border="0" alt="{L_SEARCH}" hspace="3" />{L_SEARCH}</a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_members.gif" width="12" height="13" border="0" alt="{L_MEMBERLIST}" hspace="3" />{L_MEMBERLIST}</a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>&nbsp;
    <!-- BEGIN switch_user_logged_out -->
    &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>&nbsp;
    <!-- END switch_user_logged_out -->
    </td>
    </tr>
    <tr>
    <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_PROFILE}" hspace="3" />{L_PROFILE}</a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/subBlack/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" />{L_LOGIN_LOGOUT}</a>&nbsp;</span></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <br />
    <div align="center"> <script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random); document.write ("&amp;what=zone:1&amp;target=_blank"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript> </div>


  2. #12
    unpixelatedgamers's Avatar
    unpixelatedgamers is offline x10 Lieutenant unpixelatedgamers is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Nottingham (England)
    Posts
    337

    Re: Putting up ads in forums help

    Go into the folder where the style is that you have used. Then put the javascript code for the ad near the bottom of the code in the overall_header.tpl file.

    Or, have you done that already?

    edit: Hang on. You're using subBlack template right? Silly me.

    I'll go and have a look what i did on our fourms. Even though randomize has already posted it.
    Last edited by unpixelatedgamers; 03-29-2006 at 01:42 PM.
    Ignorance is the true enemy of all things.

  3. #13
    BretFan1 is offline x10Hosting Member BretFan1 is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    54

    Re: Putting up ads in forums help

    Yep, I'm using subBlack and I put it in that folder...still nothing :/

  4. #14
    Jake's Avatar
    Jake is offline Developer Jake is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Winona, MN
    Posts
    2,084

    Re: Putting up ads in forums help

    um let me go check this out

    i'll just pretend i'm part of the tech team right now lol...


    edit: http://brethart.x10hosting.com/forum
    next time make sure you dont replace lines, you have to keep the lines broken up it cant all be one line of code.
    Last edited by Jake; 03-29-2006 at 08:09 PM.
    Jake Omann | Developer
    █ 888-X10-9668 - jake[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  5. #15
    BretFan1 is offline x10Hosting Member BretFan1 is an unknown quantity at this point
    Join Date
    Jul 2005
    Posts
    54

    Re: Putting up ads in forums help

    Hey man, well somehow you managed to get the ads to come up on my site. Thanks

    While you're at it...do you have any idea why the following error message comes up at the top of my forums (it's only visible if you highlight the gap at the very top of the page):


    Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/brethart/public_html/forum/includes/page_header.php on line 44


    I've tried editing line 44 of that file and can't get it to go away.

    Thanks again!!!

  6. #16
    Jake's Avatar
    Jake is offline Developer Jake is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Winona, MN
    Posts
    2,084

    Re: Putting up ads in forums help

    i'll look at it right now.
    Jake Omann | Developer
    █ 888-X10-9668 - jake[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  7. #17
    blackroselove is offline x10 Sophmore blackroselove is an unknown quantity at this point
    Join Date
    Apr 2006
    Location
    gibraltar
    Posts
    122

    Re: Putting up ads in forums help

    your ads and everything seems to be fine no error well done! yes i know this a late entry but hey i want o help!
    Open Support, Great help for Every need in computering, from programming, webdesigning all the to linux and windows based problems
    Check it out at Open Support
    .................................................. ....................
    Black Rose Love the New Metalcore Band!

    http://www.blackroselove.com


    Support Black Rose Love by signing up to our Black Rose Love Forums! thankyou


Closed Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [REQ] Partner of gaming/tech forums
    By James in forum The Marketplace
    Replies: 2
    Last Post: 06-04-2006, 05:09 PM
  2. Help putting up ads in my forums
    By BretFan1 in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 03-28-2006, 04:55 PM
  3. add latest forums mod to ipb
    By rahul2006 in forum Graphics & Webdesign
    Replies: 32
    Last Post: 10-23-2005, 01:36 AM
  4. World Cup Soccer Forums
    By Oni in forum Off Topic
    Replies: 0
    Last Post: 07-27-2005, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers