Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2006, 04:56 PM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [3.6.0] Google adsense

hey how can i get my google banner to the right and in the middle?
Reply With Quote
  #2  
Old 08-18-2006, 11:20 PM
nishv nishv is offline
 
Join Date: Jul 2006
Location: London, UK
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we see the code? Without seeing the code its not possible!
Reply With Quote
  #3  
Old 08-19-2006, 06:13 AM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok here it is:

Code:
<script type="text/javascript"><!--
google_ad_client = "pub-7337222445065772";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
and if you want all code for the heade include the logo and that so will you have it here:

Code:
<!-- logo -->
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>
<a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"/></a>
<script type="text/javascript"><!--
google_ad_client = "pub-7337222445065772";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<!-- nav buttons bar -->
<div align="center">
	<table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">	
		<!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
		
		<if condition="$show['member']">
			<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		<td><a href="rules.php$session[sessionurl_q]">Rules</a></td>
		<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">			
				<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>			
			</if>			
		</if>

		<if condition="$show['member']">
			<td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
	</tr>
	</table>
</div>
<!-- / nav buttons bar -->

</div>
<!-- /logo -->
Reply With Quote
  #4  
Old 08-19-2006, 08:06 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this buddy

PHP Code:
<!-- logo --> 
<
a name="top"></a
<
div style="width: $stylevar[outertablewidth]px; margin: 0 auto;"
<
div class="topnav"
<
ul
<
li><a href="$vboptions[forumhome].php?$session[sessionurl]title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li
<
li><a href="advertising.php?$session[sessionurl]title="Advertising Information">Advertising Information</a></li
<
li><a href="$vboptions[contactuslink]title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li
</
ul
</
div
<
table width="100%" border="0" cellpadding="0" cellspacing="0">
        <
tr>
          <
td align="left" width="50%"><a href="$vboptions[forumhome].php?$session[sessionurl]"
  <
img src="$stylevar[titleimage]alt="$vboptions[bbtitle]border="0" width="350" height="74"></a> </td> <td align="right" valign="middle" width="50%"><script type="text/javascript"><!-- 
google_ad_client "pub-7337222445065772"
google_ad_width 468
google_ad_height 60
google_ad_format "468x60_as"
google_ad_type "image"
google_ad_channel =""
google_color_border "000000"
google_color_bg "F0F0F0"
google_color_link "0000FF"
google_color_text "000000"
google_color_url "008000"
//--></script> 
<script type="text/javascript" 
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
</
script></td></tr>
      </
table

<!-- 
nav buttons bar --> 
<
div align="center"
    <
table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"
    <
tr align="center">     
        <!--<
td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>--> 
         
        <if 
condition="$show['member']"
            <
td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td
        </if> 
        <if 
condition="$show['registerbutton']"
            <
td><a href="register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td
        </if> 
        <
td><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td
        <
td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td
        <
td><a href="rules.php$session[sessionurl_q]">Rules</a></td
        <if 
condition="$show['popups']">         
            <if 
condition="$show['searchbuttons']"
                <if 
condition="$show['member']"
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td
                <else /> 
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td
                </if> 
                <
td id="navbar_search"><a href="search.php?$session[sessionurl]accesskey="4">$vbphrase[search]</a> <script type="text/javascript"vbmenu_register("navbar_search"); </script></td
            </if> 
            <if 
condition="$show['member']"
                <
td id="usercptools"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"vbmenu_register("usercptools"); </script></td>         
            </if> 
        <else />         
            <if 
condition="$show['searchbuttons']"
                <
td><a href="search.php$session[sessionurl_q]accesskey="4">$vbphrase[search]</a></td
                <if 
condition="$show['member']"
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td
                <else /> 
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td
                </if> 
            </if> 
            <
td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td
            <if 
condition="$show['member']">             
                <
td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>             
            </if>             
        </if> 

        <if 
condition="$show['member']"
            <
td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out()">$vbphrase[log_out]</a></td
        </if> 
    </
tr
    </
table
</
div
<!-- / 
nav buttons bar --> 

</
div
<!-- /
logo --> 
Just a try! (make a backup before doing anything!)
Reply With Quote
  #5  
Old 08-19-2006, 08:13 AM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it did not work.
Reply With Quote
  #6  
Old 08-19-2006, 08:23 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try now (this one), Tested and working
Reply With Quote
  #7  
Old 08-19-2006, 11:10 AM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now its working thx.
Reply With Quote
  #8  
Old 08-19-2006, 01:43 PM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Np

Btw can i ask how did you make that (of different colours)-->
Quote:
Legend
Adminstrators | Vice Adminstrator | Super Moderators | Moderators | Tutors | Donators | Banned Users
PS replace the js file of forum skin with the existing one
Reply With Quote
  #9  
Old 08-19-2006, 01:55 PM
JompaMP JompaMP is offline
 
Join Date: Jul 2006
Location: Sweden, Stockholm
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what you mean?

the legend i just made by some html code that i put in footer and i writed all that.
Reply With Quote
  #10  
Old 08-19-2006, 03:53 PM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks
Quote:
Originally Posted by JompaMP
the legend i just made by some html code that i put in footer and i writed all that.
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 09:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04565 seconds
  • Memory Usage 2,332KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete