Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2005, 04:19 PM
kobescoresagain kobescoresagain is offline
 
Join Date: Feb 2005
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 03-18-2005, 05:29 PM
bvtonedog bvtonedog is offline
 
Join Date: Jul 2003
Location: Charlottesville VA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

add it to the footer template
Reply With Quote
  #3  
Old 03-18-2005, 06:47 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or the header template
Reply With Quote
  #4  
Old 03-19-2005, 06:53 AM
bvtonedog bvtonedog is offline
 
Join Date: Jul 2003
Location: Charlottesville VA
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
or the header template

he said bottom though
Reply With Quote
  #5  
Old 03-19-2005, 05:23 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I knew that! I was just...erm.. checking if you were paying attention! :nervous:
*whistles*
*goes away*
Reply With Quote
  #6  
Old 03-19-2005, 05:26 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bvtonedog
he said bottom though
You can easily modify the templates to display the header at the bottom! HAH!
Reply With Quote
  #7  
Old 04-19-2005, 11:15 PM
cgjackson2001 cgjackson2001 is offline
 
Join Date: Feb 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:15 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.02155 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete