|
1、頁頭通欄廣告修改辦法
修改模版中header.htm文件
查找:
- <div id="ad_headerbanner"></div>
複製代碼
在其後面添加你的廣告代碼
2.頁底通欄廣告修改辦法
修改模版中foot.htm文件
在此中間處添加你的廣告代碼
- <!--{if !empty($jsmenu) && (empty($bbclosed) || $adminid == 1)}-->{template jsmenu}<!--{/if}-->
複製代碼
3.貼子右側廣告修改方法:
修改viewthread.htm
- <div id="ad_thread3_$post[count]"></div><div class="ad_pip">
- <!--{if $post['number']==1}-->
- 你的代碼</script><!--{/if}-->
- </div>
- <!--{/if}--><div id="ad_thread4_$post[count]"></div>
複製代碼
4.貼子下方修改方法:
修改viewthread.htm模版
-
- <!--{if $post['number'] == 1 && ($thread['tags'] || $relatedkeywords)}-->
- <p class="posttags">{lang thread_keywords}
- <!--{if $thread['tags']}-->$thread[tags]<!--{/if}-->
- <!--{if $relatedkeywords}--><span class="postkeywords">$relatedkeywords</span><!--{/if}-->
- </p>
- <!--{/if}-->
- <!--{if $post['number'] == 1}-->
- 你的廣告代碼<!--{else}--><!--{/if}-->
- <!--{if $relatedthreadlist && !$qihoo['relate']['position'] && $post['number'] == 1}-->
複製代碼
5,點晴廣告劃字代碼放置方法:
分兩步進行:1首先把此段代碼
-
- <script src="http://www230.clickeye.cn/common/clickeye.js"></script>放置foot.htm在之間
- {eval output();}
複製代碼
這裏加代碼
2打開viewthread.htm
查找
- class="mainbox"
- viewthreadid='clickeye_content'
複製代碼
這段放在帖子風格中,然後更新緩存
- <div class="mainbox viewthread" id='clickeye_content'>
複製代碼
6.帖子標題下面的廣告修改方法
查找viewthread.htm
然後在下面添加代碼
- <!--{if $post['number']==1}-->(這句是只顯示在1樓,如果要全部樓層顯示,可以去掉)
- 廣告代碼
- <!--{/if}-->
複製代碼
7. 完成 |
|