字体:  

怎样修改个人信息美化 Dz6.1.0冇边框正式版 ?

lamvinhhuy 发表于: 2008-5-11 04:19 来源: SupeSite/X-Space官方站

我的网站已经安装了[个人信息美化】, 像是这个图片一样
不过这个版本轴斜错误就是在个人信息里的 【个人空间】 【发短消息】 【加好友】 全都不见了。

有人知道怎样修改吗 ? 我要使用这个美化的信息面板, 同时加上【个人空间】 【发短消息】 【加好友】。。。

我使用这个面板的代码是

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

UTF-8版--安装方法:

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

1、修改register.php(主目录下文件)

①查找:
复制内容到剪贴板
代码:
        if($password != $password2) {
                showmessage('profile_passwd_notmatch');
        }
下面加:
复制内容到剪贴板
代码:
        if($qq = preg_match("/^([0-9]+)$/", $qq) && strlen($qq) >= 5 && strlen($qq) <= 12 && intval($qq) > 0  ? $qq : '') {
        } else {
                showmessage('请填写QQ号码,返回重新填写','javascript:history.back()');
        }
2、templates/default/register.htm(模块文件)

①查找:
复制内容到剪贴板
代码:
                <tr>
                        <th><label for="password2">{lang password_confirm} *</label></th>
                        <td>
                                <input type="password" name="password2" size="25" id="password2" onBlur="checkpassword2()" tabindex="5" />
                                <span id="checkpassword2"> </span>
                        </td>
                </tr>
下面加:
复制内容到剪贴板
代码:
                <tr>
                        <th><label for="qq">QQ *</label></th>
                        <td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
                </tr>
②再查找:
复制内容到剪贴板
代码:
                <tr>
                        <th><label for="qq">QQ</label></th>
                        <td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
                </tr>
把以上代码删掉!!(删除高级选项里的)


3、templates/default/viewthread.htm(模块文件)

①查找:
复制内容到剪贴板
代码:
{eval $postcount = 0;}
下面加:
复制内容到剪贴板
代码:
<SCRIPT>
<!--
function flip(ud, img) {
if (ud.style.display == "block") {
ud.style.display="none";
img.src = './images/sn-post/qqshow_1.gif';
}else{
ud.style.display="block";
img.src = './images/sn-post/qqshow_2.gif';
}
}
// -->
</SCRIPT>
②查找:
复制内容到剪贴板
代码:
                                <td class="postauthor">
                                        $post[newpostanchor] $post[lastpostanchor]
                                        <cite><!--{if $forum['ismoderator']}-->
                                 '
                                 '
                              一直到
                                 '
                                 '
                                                <!--{else}-->
                                                        $post[author]</cite>
                                                        {lang member_deleted}
                                                <!--{/if}-->
                                        <!--{/if}-->
                                </td>
改为:
复制内容到剪贴板
代码:
                                        {template snshow}
③再查找:
复制内容到剪贴板
代码:
                                        <div class="postinfo">
                                                <strong title="{lang post_copylink}" id="postnum$post[pid]" onclick="setcopy('{$boardurl}viewthread.php?tid=$tid&page=$page$fromuid#pid$post[pid]', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}-->{$post[number]}{$postno[0]}<!--{/if}--></strong>
                                                <!--{if MSGBIGSIZE || MSGSMALLSIZE}-->
                                                        <!--{if MSGBIGSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_bigfont'">{lang big}</em><!--{/if}-->
                                                        <em onclick="$('postmessage_$post[pid]').className='t_msgfont'">{lang middle}</em>
                                                        <!--{if MSGSMALLSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_smallfont'">{lang small}</em><!--{/if}-->
                                                <!--{/if}-->
                                                <!--{if $thread['price'] >= 0 || $post['first']}-->{lang poston} $post[dateline] <!--{/if}-->
                                                <!--{if $post['authorid'] && !$post['anonymous']}-->
                                                        <!--{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}-->
                                                <!--{/if}-->
                                        </div>
改为:
复制内容到剪贴板
代码:
                                        <div class="postinfo">
                                                <strong title="{lang post_copylink}" id="postnum$post[pid]" onclick="setcopy('{$boardurl}viewthread.php?tid=$tid&page=$page$fromuid#pid$post[pid]', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}-->{$post[number]}{$postno[0]}<!--{/if}--></strong>
                                                <!--{if MSGBIGSIZE || MSGSMALLSIZE}-->
                                                        <!--{if MSGBIGSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_bigfont'">{lang big}</em><!--{/if}-->
                                                        <em onclick="$('postmessage_$post[pid]').className='t_msgfont'">{lang middle}</em>
                                                        <!--{if MSGSMALLSIZE}--><em onclick="$('postmessage_$post[pid]').className='t_smallfont'">{lang small}</em><!--{/if}-->
                                                <!--{/if}-->
                                                <!--{if $thread['price'] >= 0 || $post['first']}-->{lang poston} $post[dateline] <!--{/if}-->
                                                <!--{if $post['authorid'] && !$post['anonymous']}-->
                                                        <!--{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}-->
                                                <!--{/if}-->
                                                <a href="###" onclick="pmwin('open', 'uid=$post[authorid]')">{lang send_pm}</a>
                                                <a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a>
                                                <a href="{$uchomeurl}/space.php?uid=$post[authorid]" target="_blank">{lang space}</a>
                                        </div>
④再查找:
复制内容到剪贴板
代码:
                                                                </fieldset>
                                                        <!--{else}-->
                                                                <div id="post_rate_div_$post[pid]"></div>
                                                        <!--{/if}-->
                                        <!--{/if}-->
                                </div>
                                <!--{if $post['signature'] && !$post['anonymous'] && $showsignatures}-->
                                        <div class="signatures" style="maxHeightIE: {MAXSIGROWS}px;">
                                                $post[signature]
                                        </div>
                                <!--{/if}-->
                        </td>
                </tr>
                <tr>
                        <td class="postauthor">
改为:
复制内容到剪贴板
代码:
                                                                </fieldset>
                                                        <!--{else}-->
                                                                <div id="post_rate_div_$post[pid]"></div>
                                                        <!--{/if}-->
                                                </div>
                                        <!--{/if}-->
                                </div>
                        </td>
                </tr>
                <tr><td style="vertical-align:bottom;border:0;">
                                        <!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['thread1'][$post['count']])}--><div class="ad_textlink1" id="ad_thread1_$post[count]">$advlist[thread1][$post[count]]</div><!--{else}--><div id="ad_thread1_$post[count]"></div><!--{/if}-->
                </td></tr>
                <tr><td style="vertical-align:bottom;border:0;">
                                        <!--{if $post['signature'] && !$post['anonymous'] && $showsignatures}-->
                                                <div class="signatures" style="maxHeightIE: {$maxsigrows}px;">
                                                        $post[signature]
                                                </div>
                                        <!--{/if}-->
                </td></tr>
                <tr>
                        <td class="postauthor" rowspan="2">
⑤再查找:
复制内容到剪贴板
代码:
                                        <!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
                                        <div class="imicons">
                                                <!--{if $post['msn']}-->
                                                        <a target='_blank' href='http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=$post[msn]&mkt=zh-cn'><img style='border-style: none;' src='http://messenger.services.live.com/users/$post[msn]/presenceimage?mkt=zh-cn' width='16' height='16' /></a>
                                                <!--{/if}-->
                                                <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target="_blank"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
                                                <!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
                                                <!--{if $post['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->
                                                <!--{if $post['taobao']}--><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&s=2"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a>');</script><!--{/if}-->
                                        </div>
                                        <!--{/if}-->
                                        <dl>{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
把以上代码删掉!!

⑥再查找:
复制内容到剪贴板
代码:
                                        <!--{if $admode && empty($insenz['hardadstatus']) && !empty($advlist['thread1'][$post['count']])}--><div class="ad_textlink1" id="ad_thread1_$post[count]">$advlist[thread1][$post[count]]</div><!--{else}--><div id="ad_thread1_$post[count]"></div><!--{/if}-->
把以上代码删掉!!



是UTF-8的
http://www.discuz.net/viewthread ... p;extra=&page=1


Capture4-6-2007-1.04.05 AM5-11-2008-3.13.23 AM.jpg


Capture4-6-2007-1.04.05 AM5-11-2008-3.13.23 AM.jpg

最新回复

天下蚂蚁 at 2008-5-11 04:50:08
先占个位置  还是不错的  
lamvinhhuy at 2008-5-11 14:23:20
有人能帮忙吗 ???