vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to add an add to all pages of vbulletin board (https://vborg.vbsupport.ru/showthread.php?t=78338)

kobescoresagain 03-18-2005 04:19 PM

How to add an add to all pages of vbulletin board
 
I would like to insert a google adsense add into the bottom of every page of my vbulletin board. Can this easily be done?

bvtonedog 03-18-2005 05:29 PM

add it to the footer template

Revan 03-18-2005 06:47 PM

or the header template ;)

bvtonedog 03-19-2005 06:53 AM

Quote:

Originally Posted by Revan
or the header template ;)


he said bottom though ;)

Revan 03-19-2005 05:23 PM

I knew that! I was just...erm.. checking if you were paying attention! :nervous:
*whistles*
*goes away*

Deaths 03-19-2005 05:26 PM

Quote:

Originally Posted by bvtonedog
he said bottom though ;)

You can easily modify the templates to display the header at the bottom! HAH!

cgjackson2001 04-19-2005 11:15 PM

Hi,

If i would want to add the adsense banner to my header where would i add it in the header template, this is my header template:

Code:

<a name="top"></a>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="tborder2">
  <tr>
    <td width="100%">    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEF0F5">
      <tr>
        <td height="64" class="top_bg1"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="64" width="317"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
            <td width="100%"><img src="$stylevar[imgdir_misc]/top_bg1.gif" width="12" height="64" alt="" /></td>
            <td width="412" align="right"><img src="$stylevar[imgdir_misc]/top_slogan.gif" width="371" height="64" alt="" /></td>
          </tr>
        </table></td>
      </tr>
      <tr align="left" >
        <td height="22"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr align="left" >
            <td width="39" height="22"><a href="$vboptions[homeurl]"><img src="$stylevar[imgdir_misc]/top_home.gif" width="39" height="22" border="0" alt="$vboptions[hometitle]" /></a></td>
            <td width="48" height="22"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_forums.gif" width="48" height="22" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
            <td width="98" height="22"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_register.gif" alt="$vbphrase[register]" width="98" height="22" border="0" /></a></td>
</if>
            <td width="70" height="22"><a href="memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_memberlist.gif" alt="$vbphrase[members_list]" width="70" height="22" border="0" /></a></td>
            <td width="60" height="22"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_calendar.gif" alt="$vbphrase[calendar]" width="60" height="22" border="0" /></a></td>
        <if condition="$show['popups']">
            <td id="navbar_search" width="48" height="22"><a href="search.php?$session[sessionurl]" accesskey="4"><img src="$stylevar[imgdir_misc]/top_search.gif" alt="$vbphrase[search]" width="48" height="22" border="0" /></a><script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
            <td width="30" height="22"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_faq.gif" alt="$vbphrase[faq]" width="30" height="22" border="0" /></a></td>
<if condition="$bbuserinfo['userid']"><td width="52" class="top_bg" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/top_links.gif" alt="Quick Links" width="52" height="22" border="0" /></a><script type="text/javascript"> vbmenu_register("usercptools"); </script></td></if><if condition="$show['member']">
            <td width="52" height="22" class="top_bg"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/top_usercp.gif" alt="$vbphrase[user_cp]" width="52" height="22" border="0"></a></td>
           
</if>
            <td width="100%" height="22"class="top_bg"><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="42" class="top_bottom_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="18" height="42"><img src="$stylevar[imgdir_misc]/top_left_vent.gif" width="18" height="42" alt="" /></td>
            <td width="100%" align="center" valign="top"><img src="$stylevar[imgdir_misc]/top_bottom_bg.gif"  height="42" alt="" /></td>
            <td width="57" align="right"><img src="$stylevar[imgdir_misc]/top_right_vent.gif" width="18" height="42" alt="" /></td>
          </tr>
        </table></td>
      </tr>
    </table>
      <table border="0" cellpadding="5" cellspacing="0" width="100%" bgcolor="#EEF0F5">
<tr>
        <td width="100%">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
          <tr>
            <td width="50%">
            <img border="0" src="$stylevar[imgdir_misc]/topleft_c.gif" width="11" height="9" alt="" /></td>
            <td width="50%" align="right">
            <img border="0" src="$stylevar[imgdir_misc]/topright_c.gif" width="11" height="9" alt="" /></td>
          </tr>
          <tr>
            <td width="100%" colspan="2">
        <if condition="$show['quickchooser']">
<form action="$vboptions[forumhome].php" method="get">
        <center>
                        <select name="styleid" id="ressel" onchange="switch_styleid(this)">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
</center>
</form>
        </if>

<!-- content table -->
$spacer_open

$_phpinclude_output

Thanks if anyone can help me with this.

Cheers,
Chris


All times are GMT. The time now is 11:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete