年年我发



返回   年年我发 > 网络赚钱 > Google Adsense
用户名
密码
 
注册账号 论坛帮助 会员列表 日历事件网赚工具 标记版面已读

Google Adsense 讨论Google Adsense的各类话题,如注册、网站广告代码优化、
网站广告关键词的选取以及注意事项等。

回复
 
主题工具 搜索本主题 显示模式
  #1   IP: 218.2.39.211
旧 2006-01-12, 12:50 AM
sunshine sunshine 当前离线
高级会员
 
注册日期: 2006-01-05
帖子: 387
精华: 0
现金: 4897 元
资产: 4897 元
声望: 10 sunshine 正向着好的方向发展
默认 如何在vbulletin中加入adsense代码

You need to modify the following templates:

Forumhome
Forumdisplay
Showthread

Place your code after $navbar in each of these templates.

Example:

$navbar
<br />
<!-- Google Ads Begin -->
<center>
<script type="text/javascript"><!--
google_ad_client = "your code here";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "FF4400";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<!-- Google Ads End -->
回复时引用此帖

wellcome to www.0058.net
  #2   IP: 218.2.39.211
旧 2006-01-12, 12:56 AM
sunshine sunshine 当前离线
高级会员
 
注册日期: 2006-01-05
帖子: 387
精华: 0
现金: 4897 元
资产: 4897 元
声望: 10 sunshine 正向着好的方向发展
默认

You can enclose the banner code within a template conditional to exclude the registration page, like this:

<if condition="(THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread') AND ($forumid != X AND $forumid != Y AND $forumid != Z)">

ADSENSE CODE

</if>
回复时引用此帖
回复


当前查看此主题的会员: 1 (0 位会员和 1 位游客)
 
主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

论坛启用 BB 代码
论坛禁用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码
论坛跳转


所有时间均为北京时间. 现在的时间是 01:53 AM, Free Patent & Patent Ideas


Powered by vBulletin 3.5.2 Chinese Exhibition Happy New Year
©2000 - 2008,Jelsoft Enterprises Ltd  Desiccant Molecular Sieve Weight Loss Bentonite Trade Manager