【道勤網(wǎng)】- bmrsportswear.com 軟件視頻自學(xué)教程|免費(fèi)教程|自學(xué)電腦|3D教程|平面教程|影視動畫教程|辦公教程|機(jī)械設(shè)計教程|網(wǎng)站設(shè)計教程!【道勤網(wǎng)】

標(biāo)題: 論壇首頁發(fā)帖論壇導(dǎo)航-道勤網(wǎng)解決辦法 [打印本頁]

作者: 道勤數(shù)據(jù)    時間: 2015-1-18 20:51
標(biāo)題: 論壇首頁發(fā)帖論壇導(dǎo)航-道勤網(wǎng)解決辦法
由于上次有人找我要這個,這次就整理下弄了出來
一個是直接修改的沒加上表框的,大家自己可以看下哦,不難的。道勤網(wǎng)收集
在template\default\forum\discuz.htm里查找
  1. <!--{if $_G['uid']}--><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a>
復(fù)制代碼
在他的前面加上:
  1. <a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&action=nav" title="點(diǎn)擊發(fā)帖" class="xi2"><span>點(diǎn)擊發(fā)帖</span></a>
復(fù)制代碼
然后更新緩沖,再刷新論壇首頁就可以看到了.
第二種是加上表框的就像圖片顯示一樣
(, 下載次數(shù): 50)
在template\default\forum\discuz.htm里查找
  1. <!--{if $_G['uid']}--><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'])}--><!--{if $_G['uid']}--><span class="pipe">|</span><!--{/if}--><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
復(fù)制代碼
更換成:
  1. <a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&action=nav" title="點(diǎn)擊發(fā)帖" class="xi2 GID"><span>點(diǎn)擊發(fā)帖</span></a><!--{if $_G['uid']}--><a href="home.php?mod=space&uid=$_G['uid']&do=thread&view=me" title="{lang my_posts}" class="xi2 GID"><span>{lang my_posts}</span></a><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'])}--><!--{if $_G['uid']}--><span class="pipe"></span><!--{/if}--><a href="search.php?mod=forum&srchfrom=$newthreads&searchsubmit=yes" title="{lang show_newthreads}" class="xi2 GID"><span>{lang show_newthreads}</span></a><!--{/if}-->
復(fù)制代碼
在你的common.css文件里再加上:
  1. #chart .GID {background:url({IMGDIR}/n_rate.png) no-repeat scroll 0 0 transparent !important;cursor:pointer;
  2. float:left;height:25px;line-height:25px;margin:0 2px;padding:0 0 0 7px !important;text-align:center;text-decoration:none;}
  3. #chart .GID span {background:url({IMGDIR}/n_rate.png) no-repeat scroll right 100% transparent !important;display:block;padding-right:7px;}
復(fù)制代碼
然后在后臺更新緩沖





歡迎光臨 【道勤網(wǎng)】- bmrsportswear.com 軟件視頻自學(xué)教程|免費(fèi)教程|自學(xué)電腦|3D教程|平面教程|影視動畫教程|辦公教程|機(jī)械設(shè)計教程|網(wǎng)站設(shè)計教程!【道勤網(wǎng)】 (http://bmrsportswear.com/) Powered by Discuz! X3.4