创意电子 发表于 2022-7-5 15:46:58

简易寻宠/宠物招领 2.01[带免费手机版(浏览版)]





可选独立头部或是主站模板的头尾部
提供2级分类、2级区域
支持图片批量上传
支持多个插件管理员设置(可审核、编辑、删除信息)
可设置允许发布信息的用户组
支持审核发布(也可设置免审核组)
支持批量管理操作
支持用户收藏、积分消耗查询
支持消耗积分发布(寻宠与招领可分开设置)
支持刷新排前
支持自助消耗积分置顶
提供5个自定义填写项
提供2套列表模板(电脑版)
内置手机触摸版,支持移动端访问
支持伪静态
不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
如有规则有错误,请联系QQ客服(不在线先留言,并先离线发送您的规则文件过来)。
添加规则后没生效,请尝试重启,重启,重启一下。


=====================Apache Web Server规则=====================(分割线不需要复制)


RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet\.html$ plugin.php?id=mini_pet
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html$ plugin.php?id=mini_pet&a=$1&b=$2&bc=$3&sc=$4&z=$5&c=$6&hr=$7
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html$ plugin.php?id=mini_pet&a=$1&b=$2&bc=$3&sc=$4&z=$5&c=$6&hr=$7page=$8
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_(+)\.html$ plugin.php?id=mini_pet&mod=view&sid=$1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user\.html$ plugin.php?id=mini_pet:mini_pet_user
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user_mylist\.html$ plugin.php?id=mini_pet:mini_pet_user&p=mylist&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user_add\.html$ plugin.php?id=mini_pet:mini_pet_user&p=add
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user_add2\.html$ plugin.php?id=mini_pet:mini_pet_user&p=add2
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user_favorites\.html$ plugin.php?id=mini_pet:mini_pet_user&p=favorites
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pet_user_xfjl\.html$ plugin.php?id=mini_pet:mini_pet_user&p=consumption


=====================iis6规则=====================


RewriteRule ^(.*)/pet\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet
RewriteRule ^(.*)/pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html\?*(.*)$ $1/plugin\.php\?id=id=mini_pet&a=$2&b=$3&bc=$4&sc=$5&z=$6&c=$7&hr=$8
RewriteRule ^(.*)/pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html\?*(.*)$ $1/plugin\.php\?id=id=mini_peta=$2&b=$3&bc=$4&sc=$5&z=$6&c=$7&hr=$8&page=$9
RewriteRule ^(.*)/pet_(+)\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet&mod=view&sid=$2
RewriteRule ^(.*)/pet_user\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user
RewriteRule ^(.*)/pet_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user&p=mylist
RewriteRule ^(.*)/pet_user_add\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user&p=add
RewriteRule ^(.*)/pet_user_add2\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user&p=add2
RewriteRule ^(.*)/pet_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user&p=favorites
RewriteRule ^(.*)/pet_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=mini_pet:mini_pet_user&p=consumption

=====================Nginx Web Server规则=====================
rewrite ^([^\.]*)/pet\.html$ $1/plugin.php?id=mini_pet last;
rewrite ^([^\.]*)/pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html$ $1/plugin.php?id=mini_pet&a=$2&b=$3&bc=$4&sc=$5&z=$6&c=$7&hr=$8 last;
rewrite ^([^\.]*)/pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)_(+)\.html$ $1/plugin.php?id=mini_pet&a=$2&b=$3&bc=$4&sc=$5&z=$6&c=$7&hr=$8&page=$9 last;
rewrite ^([^\.]*)/pet_(+)\.html$ $1/plugin.php?id=mini_pet&mod=view&sid=$2 last;
rewrite ^([^\.]*)/pet_user\.html$ $1/plugin.php?id=mini_pet:mini_pet_user last;
rewrite ^([^\.]*)/pet_user_mylist\.html$ $1/plugin.php?id=mini_pet:mini_pet_user&p=mylist last;
rewrite ^([^\.]*)/pet_user_add\.html$ $1/plugin.php?id=mini_pet:mini_pet_user&p=add last;
rewrite ^([^\.]*)/pet_user_add2\.html$ $1/plugin.php?id=mini_pet:mini_pet_user&p=add2 last;
rewrite ^([^\.]*)/pet_user_favorites\.html$ $1/plugin.php?id=mini_pet:mini_pet_user&p=favorites last;
rewrite ^([^\.]*)/pet_user_xfjl\.html$ $1/plugin.php?id=mini_pet:mini_pet_user&p=consumption last;




=====================IIS7(或7以上)规则=====================
<rule name="minipet1">
<match url="^(.*/)*pet.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet" />
</rule>
<rule name="minipet2">
<match url="^(.*/)*pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&z={R:6}&c={R:7}&hr={R:8}" />
</rule>
<rule name="minipet3">
<match url="^(.*/)*pet_list_(+)_(+)_(+)_(+)_(+)_(+)_(+)_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&z={R:6}&c={R:7}&hr={R:8}&page={R:9}" />
</rule>
<rule name="minipet4">
<match url="^(.*/)*pet_(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet&mod=view&sid={R:2}" />
</rule>
<rule name="minipet5">
<match url="^(.*/)*pet_user.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user" />
</rule>
<rule name="minipet6">
<match url="^(.*/)*pet_user_mylist.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user&p=mylist" />
</rule>
<rule name="minipet7">
<match url="^(.*/)*pet_user_add.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user&p=add" />
</rule>
<rule name="minipet8">
<match url="^(.*/)*pet_user_add2.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user&p=add2" />
</rule>
<rule name="minipet9">
<match url="^(.*/)*pet_user_favorites.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user&p=favorites" />
</rule>
<rule name="minipet10">
<match url="^(.*/)*pet_user_xfjl.html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=mini_pet:mini_pet_user&p=consumption" />
</rule>




=====================其它说明=====================


如要修改默认伪静态规则名(pet),以下静态链接里的 pet也要进行相应修改。(等号右边动态mini_pet不要改动)
例子:(把 pet 改为 chongwu)
原句:RewriteRule ^pet\.html$ plugin.php?id=mini_pet
改后:RewriteRule ^chongwu\.html$ plugin.php?id=mini_pet
提醒:修改的名称,不要和其它规则相同


页: [1]
查看完整版本: 简易寻宠/宠物招领 2.01[带免费手机版(浏览版)]