插件用途:
本插件可用于各行业名片收录、企业名片展示等。
功能简介:
提供二级分类和二级区域设置
可选用独立头尾部或是主站模板头尾部
可限制用户组发布
可设置消耗积分发布
可设置免审核用户组(不在免审的其它组发布需审核)
可设置多个插件管理员(任何成员均可设置,不需要特定用户组)
支持门户、论坛或任意DIY页,进行插件数据调用
支持手机版
支持伪静态
。。。
DIY数据调用说明使用方法:(提醒:必须先安装好组件和插件,只安装组件无法独立运行) 首先进入网站后台----工具----DIY 模块分类缓存(打勾)
确定后,等待提示更新完毕。 (提醒:必须看到更新完毕的提示,否则无法正常使用组件)
进入门户 --- 模块模板 --- 添加--- 模块分类选择对应插件模块。(找不到,说明没安装主插件,或是没有更新DIY模块分类缓存)
提交后,看见2个填写框。
模板名称:随便填写,自己知道即可。 内容框,先清空 替换为以下代码并提交:(有动手能力的站长,也可以自己设计其它样式) ==========================代码开始(滚动样式)========================== - <style type="text/css">
- #demo {background:#FFF;overflow:hidden;width:100%;}
- #demo img {border:3px solid #F2F2F2;height:100px;width:200px}
- #indemo {float:left;width:800%;}
- #demo1 {float:left;}
- #demo2 {float:left;}
- </style>
- <div id="demo">
- <div id="indemo">
- <div id="demo1">
- [loop]
- <a href="{url}"><img src="{pic}" border="0"/></a>
- [/loop]
- </div>
- <div id="demo2"></div>
- </div>
- </div>
- <script>
- <!--
- var speed=10;
- var tab=document.getElementById("demo");
- var tab1=document.getElementById("demo1");
- var tab2=document.getElementById("demo2");
- tab2.innerHTML=tab1.innerHTML;
- function Marquee(){
- if(tab2.offsetWidth-tab.scrollLeft<=0)
- tab.scrollLeft-=tab1.offsetWidth
- else{
- tab.scrollLeft++;
- }
- }
- var MyMar=setInterval(Marquee,speed);
- tab.onmouseover=function() {clearInterval(MyMar)};
- tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
- -->
- </script>
复制代码
==========================代码结束========================== 前台任何可diy页面上找对应的模块,把模块拖拉到网页上即可
不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian\.html$ plugin.php?id=xlwsq_card&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_list_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_card:xlwsq_card&a=$1&b=$2&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_card:xlwsq_card&a=$1&b=$2&bc=$3&sc=$4&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_card:xlwsq_card&a=$1&b=$2&bc=$3&sc=$4&page=$5&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_card&a=$1&b=$2&bc=$3&sc=$4&paixu=tj&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ plugin.php?id=xlwsq_card&a=$1&b=$2&bc=$3&sc=$4&paixu=rq&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_([0-9]+)\.html$ plugin.php?id=xlwsq_card&mod=view&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_user\.html$ plugin.php?id=xlwsq_card:xlwsq_card_user&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_user_add\.html$ plugin.php?id=xlwsq_card:xlwsq_card_user&p=add&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^mingpian_user_favorites\.html$ plugin.php?id=xlwsq_card:xlwsq_card_user&p=favorites&%1
复制代码 =====================Nginx Web Server规则=====================
- rewrite ^([^\.]*)/mingpian\.html$ $1/plugin.php?id=xlwsq_card last;
- rewrite ^([^\.]*)/mingpian_list_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card&a=$2&b=$3 last;
- rewrite ^([^\.]*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5 last;
- rewrite ^([^\.]*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&page=$6 last;
- rewrite ^([^\.]*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&paixu=tj last;
- rewrite ^([^\.]*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&paixu=rq last;
- rewrite ^([^\.]*)/mingpian_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_card&mod=view&sid=$2 last;
- rewrite ^([^\.]*)/mingpian_user\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card_user last;
- rewrite ^([^\.]*)/mingpian_user_add\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card_user&p=add last;
- rewrite ^([^\.]*)/mingpian_user_favorites\.html$ $1/plugin.php?id=xlwsq_card:xlwsq_card_user&p=favorites last;
复制代码 =====================IIS6规则 =====================
- RewriteRule ^(.*)/mingpian\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card
- RewriteRule ^(.*)/mingpian_list_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card&a=$2&b=$3
- RewriteRule ^(.*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5
- RewriteRule ^(.*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&page=$6
- RewriteRule ^(.*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&paixu=tj
- RewriteRule ^(.*)/mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card&a=$2&b=$3&bc=$4&sc=$5&paixu=rq
- RewriteRule ^(.*)/mingpian_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card&mod=view&sid=$2
- RewriteRule ^(.*)/mingpian_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card_user
- RewriteRule ^(.*)/mingpian_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card_user&p=add
- RewriteRule ^(.*)/mingpian_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_card:xlwsq_card_user&p=favorites
复制代码 =====================IIS7(或7以上)规则 =====================
- <rule name="mingpian1">
- <match url="^(.*/)*mingpian.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card" />
- </rule>
- <rule name="mingpian2">
- <match url="^(.*/)*mingpian_list_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card&a={R:2}&b={R:3}" />
- </rule>
- <rule name="mingpian3">
- <match url="^(.*/)*mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}" />
- </rule>
- <rule name="mingpian4">
- <match url="^(.*/)*mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&page={R:6}" />
- </rule>
- <rule name="mingpian5">
- <match url="^(.*/)*mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_tj.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&paixu=tj" />
- </rule>
- <rule name="mingpian6">
- <match url="^(.*/)*mingpian_list_([0-9]+)_([0-9]+)_([0-9]+)_([0-9]+)_rq.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card&a={R:2}&b={R:3}&bc={R:4}&sc={R:5}&paixu=top" />
- </rule>
- <rule name="mingpian7">
- <match url="^(.*/)*mingpian_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card&mod=view&sid={R:2}" />
- </rule>
- <rule name="mingpian8">
- <match url="^(.*/)*mingpian_user.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card_user" />
- </rule>
- <rule name="mingpian9">
- <match url="^(.*/)*mingpian_user_add.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card_user&p=add" />
- </rule>
- <rule name="mingpian10">
- <match url="^(.*/)*mingpian_user_favorites.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_card:xlwsq_card_user&p=favorites" />
- </rule>
复制代码
|