欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
修改DZ時(shí)我們經(jīng)常美化的常用文件及代碼說(shuō)明85% - Discuz!-插件Hack - D...
修改網(wǎng)站文件建議用FTP修改。而修改前記得備份,方便自己還原。


涉及CSS的文件修改后。覆蓋文件后到后臺更新CSS緩存。

======================================

相關(guān)Discuz.htm文件;

1,去掉下方有無(wú)新帖版塊
查找并且刪除以下代碼

<div class="legend">
        <label><img src="{IMGDIR}/forum_new.gif" alt="{lang forum_newposts}" />{lang forum_newposts}</label>
        <label><img src="{IMGDIR}/forum.gif" alt="{lang forum_nonewpost}" />{lang forum_nonewpost}</label>
</div>


2,橫排添加版塊自定義圖標
查找
<th width="$cat[forumcolwidth]"{$forum[folder]}>

后面加上以下代碼
<a href="forumdisplay.php?fid=$forum[fid]">{$forum[icon]}</a>

3,版塊名稱(chēng)改變顏色字體大小
后臺,版塊,如版塊名稱(chēng)為:模版風(fēng)格,
改為<font color="#ff0000">模版風(fēng)格</font>
字體想大點(diǎn)的話(huà),font里面再加入size=4
#ff0000為顏色代碼,這個(gè)是紅色,其它顏色百度搜索:html顏色代碼,4為字體大小

統一修改版塊名稱(chēng)大小

查找:
<h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2>

改為:
<font style="font-size:14px;"><h2><a href="forumdisplay.php?fid=$forum[fid]">$forum[name]</a></h2></font>
共兩處。(根據個(gè)人需要調整14px)

4,在線(xiàn)會(huì )員鼠標指向用戶(hù)名,去掉時(shí)間顯示
查找刪除以下代碼:
{lang time}: $online[lastactivity]{LF}

5,首頁(yè)在線(xiàn)人員查看詳情列表的右側向下箭頭不明顯
查找:
<img src="{IMGDIR}/collapsed_no.gif" alt="{lang pm_close}" />
改為[關(guān)閉詳情列表]

<img src="{IMGDIR}/collapsed_yes.gif" alt="" />
改為[顯示詳情列表]

============================================================
header.htm文件

1,菜單欄添加自定義內容:

查找:
<li<!--{if $BASESCRIPT == 'faq.php'}--> class="current"<!--{/if}-->><a href="faq.php">{lang faq}</a></li>

后面加:
<!--{if $maxpmnum}--><li><a href="連接地址" target="_blank">文字說(shuō)明</a></li><!--{/if}-->
紅色為登錄后才可查看, target="_blank"為新窗口打開(kāi),如不需要可刪除

========================================================================
css_common 文件

1,底部與版面寬度相同:

查找
#footer { border-top: 1px solid {BORDERCOLOR}; background: {ALTBG2}; color: {TEXT}; padding: 12px 0; }

改為:
#footer { border-top: 1px solid {BORDERCOLOR}; background: {ALTBG2}; color: {TEXT}; padding: 12px 0; width: {MAINTABLEWIDTH}; }
{ALTBG2}為背景顏色,可根據需要修改


2,底部背景顏色改為圖片:

在文件末尾加上以下代碼:
#footer { background: url({IMGDIR}/圖片地址); }


3,頂部菜單欄靠左顯示:

查找:
#menu ul { float: right; padding: 4px 10px 0; border-right: 1px solid {TABLEBG}; }
改為:
#menu ul { float: left; padding: 4px 10px 0; border-right: 0px solid {TABLEBG}; }

4,頂部菜單欄鼠標指向出現下劃線(xiàn):

文件末尾添加上以下代碼:
#menu li a:hover { text-decoration: underline; }

5,瀏覽過(guò)的帖子標題改變顏色

文件末尾添加上以下代碼:
a:visited {text-decoration: none;color: #555;}
(#555為顏色代碼)


6,首頁(yè)最后發(fā)表寬度:
查找以下代碼
.forumlist td.lastpost { width: 260px; }
(調整260px)

7,鼠標指向導航欄下拉菜單文字背景顏色
查找以下代碼;
#menu li.hover, #menu li.current { background-color: {BGCOLOR}; border: 1px solid; border-color: {CATBORDER} {CATBORDER} {BGCOLOR}; }
(刪除以上代碼或更改 background-color: {BGCOLOR}; {BGCOLOR}改為顏色代碼)

8,版塊前面的有無(wú)新帖圖標
查找并且刪除以下代碼
.forumlist th { padding-left: 55px !important; }
                                        .forumlist h2 em { color: {HIGHLIGHTLINK}; }
                                .forumlist tbody th { background-image: url({IMGDIR}/forum.gif); background-repeat: no-repeat; background-position: 13px 50%; }
                                        .forumlist tbody th.new { background-image: url({IMGDIR}/forum_new.gif); }

9,版塊圖標如何居右顯示:
文件末尾加上以下代碼
.forumlist th img { float:right; margin-top: 8px;}

10,版塊距離如何增高:
查找;
padding: 1px 5px; border-bottom: 1px solid {TABLEBG}; background-color: {ALTBG1}; }
調整 padding: 1px (譬如將1改為10)

11,添加豎線(xiàn)
css.common文件添加
.forumlist td{border-left:1px solid {BGBORDER}}

12,菜單欄下拉界面改為一列顯示:

查找:
.headermenu_popup li { float: left; width: 7em; line-height: 24px; height: 24px; overflow: hidden; border-bottom: 1px solid {COMMONBOXBORDER}; }
去掉紅色內容

13,去掉登錄后名字左邊的小圖標:

查找并刪除
background: url(../../images/avatars/avataronline.gif) no-repeat 10px 40%;

====================================================================

主題列表頁(yè)

1,子版塊橫排添加版塊圖標:
/forumdisplay_subforum.htm
查找:
<th width="{$forum[forumcolwidth]}"$sub[folder]>
后面加: <a href="forumdisplay.php?fid=$$sub[fid]">{$sub[icon]}</a>


1,帖子在新窗口打開(kāi):
forumdisplay.htm
查找:
extra=$extra"$thread[highlight]>$thread[subject]</a>
改為:
extra=$extra"$thread[highlight] target="_blank">$thread[subject]</a>

3,主題列表字體大小及顏色
forumdisplay.htm
查找:
extra=$extra"$thread[highlight]>$thread[subject]</a>
將$thread[subject]
改為
<font size=4>$thread[subject]</font>或者<font style="font-size:14px;">$thread[subject]</font>
改變顏色 <font size=4>改為<font size=4 color="#ff0000"> #ff0000為紅色

4,有新回復無(wú)新回復部分出現換行:
css.common
查找:
.legend { border: 1px solid {BGBORDER}; background: {ALTBG1}; padding: 10px; margin: 10px auto; width: 550px; text-align: center; line-height: 35px; }
調整550px

5,添加豎線(xiàn):
css.common添加
.threadlist td{border-left:1px solid {BGBORDER}}

====================================================================

帖子內容頁(yè)面:

1,個(gè)人信息與內容之間的分割線(xiàn):
方法一、viewthread.htm
查找:
<td class="postauthor">
改為:
<td class="postauthor" style="border-left: 0 ; border-right: 1px solid {BORDERCOLOR};">
方法二:
css.common末尾加
.viewthread td.postauthor { border-right: 1px solid {BORDERCOLOR}; }

2,去掉只看該作者:
viewthread.htm
查找并刪除:
<!--{if !$authorid}-->
        <a href="viewthread.php?tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
       <!--{else}-->
        <a href="viewthread.php?tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
       <!--{/if}-->

3,按紐背景顏色(發(fā)表帖子等)
css.common
#postsubmit, button.submit { margin-right: 1em; border: 1px solid; border-color: #FFFDEE #FDB939 #FDB939 #FFFDEE; background: #FFF8C5; color: {NOTICETEXT};
修改紅色顏色代碼

4,編輯器背景顏色:
css_editor
查找:
#wysiwyg { font: {MSGFONTSIZE}/1.6em {FONT} !important; }
改為:
#wysiwyg { font: {MSGFONTSIZE}/1.6em {FONT} !important;background:#FFF; }

5,禁止管理人員給自己帖子加精華:
include/moderation.inc.php
查找
$threadlist[$thread['tid']] = $thread;
后面加
if($level > 0 && $adminid != 1) {
                       
                if($thread['authorid'] == $discuz_uid && $operation==digest){
                showmessage("抱歉!您不能將自己的主題加入精華,請返回。");
                        }
               
        }
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
編程語(yǔ)言css font-weight原理_html/css_WEB-ITnose
[popuppp]漂亮橫排美化\直排美化[7.0/7.1/7.2][2009-11-27]...
代碼學(xué)習群簡(jiǎn)易教程(6)
CSS樣式代碼縮寫(xiě)的方法和技巧
CSS 淘寶導航代碼集合(附使用技巧)
各大網(wǎng)站CSS代碼初始化集合
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久