诺哈程序二代程序[木柚修改第二版] 已知问题修复方式
本文最后更新于511 天前,其中的信息可能已经过时,如有错误请发送邮件到97376394@qq.com

伪静态

        本规则适用于宝塔面板,其他管理系统没试过。用伪静态时,将下方的代码复制到宝塔面板的这个输入框里面:

QQ截图20200311220144.png
保存成功后,到后台——系统配置——其他配置,打开伪静态。以下是伪静态规则:

<?xml version="1.0" ?>
<rules>
	<clear/>
	<rule name="index_rewrite">
		<match url="^bbs/index.html"/>
		<action type="Rewrite" url="bbs/index.asp"/>
	</rule>
	<rule name="qindex_rewrite">
		<match url="^(.*/)*index_([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/index_{R:2}.asp"/>
	</rule>
	<rule name="Column_rewrite">
		<match url="^(.*/)*Column-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/Column.asp?id={R:2}"/>
	</rule>
	<rule name="Forum_rewrite">
		<match url="^(.*/)*Forum-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/Forum.asp?forum={R:2}"/>
	</rule>
	<rule name="City_rewrite">
		<match url="^(.*/)*City-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/City.asp?forum={R:2}"/>
	</rule>
	<rule name="Family_rewrite">
		<match url="^(.*/)*Family-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/Family.asp?forum={R:2}"/>
	</rule>
	<rule name="Topic_rewrite">
		<match url="^(.*/)*Topic-([0-9]+)-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/Topic.asp?forum={R:2}&amp;topic={R:3}"/>
	</rule>
	<rule name="fenlei_rewrite">
		<match url="^(.*/)*Forum-sort-([0-9]+).html"/>
		<action type="Rewrite" url="{R:1}/Forum_sort.asp?id={R:2}"/>
	</rule>
	<rule name="Profile_rewrite">
		<match url="^Profile-([0-9]+).html"/>
		<action type="Rewrite" url="/bbs/home/Profile.asp?id={R:1}"/>
	</rule>
</rules>

家族排版

        之前封包的时候,家族排版的数据没有调过来,如果家族区没有排版的时候,可以使用下面的排版。

QQ截图20200311221321.png
这个程序的排版方式也是比较简单的,使用WML方式即可。下面的代码就添加家族页面即可。(添加之前,要删除家族之前的排版)

标签:WML

排序:10

代码:

{TopLogin}    <div class="userinfotop">        <li><a href="index.asp?nuoha=(nuoha)"> <img src="/style/images/home.png" alt="." /></a>        </li>      家族区     <y><a href="javascript:window.history.back();"><img src="/style/images/fh.png" alt="."/></a></y>    </div>

标签:WML

排序:20

代码:

<ul class="chaxun_list"><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=10&amp;nuoha=(nuoha)" style="color: #4BCA95"><i class="iconfont cx-ico icon-yuanfens"></i>情感网缘</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=11&amp;nuoha=(nuoha)" style="color: #F36759"><i class="iconfont cx-ico icon-fensi"></i>名人粉丝</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=12&amp;nuoha=(nuoha)" style="color: #70A6F7"><i class="iconfont cx-ico icon-yingshi"></i>影视动漫</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=13&amp;nuoha=(nuoha)" style="color: #FF9966"><i class="iconfont cx-ico icon-xiaoyuan"></i>同城同校</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=14&amp;nuoha=(nuoha)" style="color: #990033"><i class="iconfont cx-ico icon-xiuxian"></i>娱乐休闲</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=15&amp;nuoha=(nuoha)" style="color: #99CC99"><i class="iconfont cx-ico icon-xuexiziliao"></i>文学艺术</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=16&amp;nuoha=(nuoha)" style="color: #9966CC"><i class="iconfont cx-ico icon-gexing"></i>时尚个性</a></li><li style="width: 25%"><a href="/Bbs/Forum_sort.asp?id=17&amp;nuoha=(nuoha)" style="color: #333333"><i class="iconfont cx-ico icon-qinziAPPtubiao-"></i>其他家族</a></li></ul>

标签:WML

排序:30

代码:

<form id="search-form" name="g" method="get" action="Family_so_ok.asp" class="search-form"><div id="search-hidden-params"><input type="hidden" name="Sid" value="{Sid}"/> <input type="hidden" name="Yi" value="{Yi}"/></div><input id="search-word" type="text" name="name" class="search-input" placeholder="输入家族名称"/><input id="search-reset" type="reset" value=" " class="search-reset" style="display:none"/><button type="submit" class="search-btn"></button> </form>

标签:WML

排序:40

代码:

<div class="index-body backw mt15"><div class="index-title"><h2>家族大看台</h2><span class="more fr"><a href="/Bbs/My_family.asp?nuoha=(nuoha)" style="color: #EC5858; font-size: 15px;"><i class="iconfont icon-remen" style="margin-right:5px"></i>常回家看看</a></span></div><ul class="yl-list">{muui_20191115185931_1721_5_1008_0__10_5_}</ul><ul class="xk_list1">{muui_2_1113_5_区域:1008_0__20_1_.}

标签:WML

排序:50

代码:

</div><ul class="chaxun_list"><li style="width: 25%"><a href="/Bbs/Family_top_member.asp?&amp;nuoha=(nuoha)" style="color: #99CC99">规模排行</a></li><li style="width: 25%"><a href="/Bbs/Family_top_active.asp?nuoha=(nuoha)" style="color: #CC9966">活跃排行</a></li><li style="width: 25%"><a href="/Bbs/Family_top_click.asp?nuoha=(nuoha)" style="color: #663300">人气排行</a></li><li style="width: 25%"><a href="/Bbs/Family_top_link.asp?nuoha=(nuoha)" style="color: #CC9999">声望排行</a></li></ul><ul class="mod-icon-list"><li><a style="background: #ffb300;" href="/Bbs/Family_add.asp?nuoha=(nuoha)">申请家族</a></li><li><a style="background: #f80;" href="/Bbs/Family_ds.asp?nuoha=(nuoha)">待审家族</a></li><li><a style="background: #ff794c;" href="/Bbs/Family_list.asp?nuoha=(nuoha)">全部家族</a></li><li><a style="background: #f69;" href="/Bbs/Forum.asp?forum=18&amp;nuoha=(nuoha)">家族天地</a></li></ul>{BottomBack}

法院权限

        法院出现的BUG需要修改源文件,所以我将修改好的文件封了一个压缩包。大家可以自行下载。下载后覆盖即可!法院的默认权限是500(监察局长)、501(监察局副局长)。在社区管理——版主管理添加编号500/501编号的管理即可。

法院修复文件.zip

当然你也可以修改其他的职务编号,在上方修复包的三个文件里,就可以修改职务编号。

'监察局局长权限
dim rs88,sqwg
  set rs88=Server.CreateObject("ADODB.Recordset")
  rs88.open "select id from wap_duty_moderator where account="&useraccount&" and d_id='500'",conn,1,1
if not rs88.eof then
sqwg=1
else
sqwg=0
end if
rs88.close
set rs88=nothing
'监察局副局长权限
dim rs86,sqfj
  set rs86=Server.CreateObject("ADODB.Recordset")
  rs86.open "select id from wap_duty_moderator where account="&useraccount&" and d_id='501'",conn,1,1
if not rs86.eof then
sqfj=1
else
sqfj=0
end if
rs86.close
set rs86=nothing

在d_id后面的数字(500或501)就是职务编号。修改即可。

家帽问题

        在玩家加入家族后,该会员的贴子里面会出现错误,可以安装下面的家帽安装包,安装后,即可修复该问题。(本插件是由QQ:76607389制作,感谢大神!)

上传成功后访问 你的域名/bbs/install.asp

按照提示安装数据库  安装好数据库后  会要求用户删除数据库安装文件

点击确定就好了。

家帽修复文件.zip

        以上问题如果不会操作,可以联系我。

暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇