所有问题解决方案
我们都已亲身测试

IDCSystem“免责申明”插件使用设置

首先我们需要进入IDCSystem后台 –【功能应用插件管理】–【插件应用市场】,下载安装免责申明插件

然后我们需要进入IDCSystem后台 –【销售前台模板管理】–【主题市场】,更新现有的销售前台模板
(例如:我使用的销售前台模板是蓝色魅影,那我只需要重新安装蓝色魅影的销售前台模板即可。)

最后在IDCSystem【功能应用插件管理】–【免责申明】– 点击“编辑”,进入免责申明插件设置界面。

在免责申明插件设置界面,可以启用/停止该插件,可以直接编辑申明内容,也可以编辑html格式的申明内容

编辑并保存申明内容后,我们的插件就设置完毕了。让我们来看看启用该插件后的效果吧

在销售前台用户注册界面多了一栏选项“同意《商家服务协议》”,如果未勾选该选项,是无法完成注册的

点击商家服务协议,可以看到后台设置的免责申明内容

在管理中心注册用户界面也同样存在这个选项,如果未勾选该选项,也是无法完成注册的

点击商家服务协议,同样可以看到后台设置的免责申明内容


若是在销售前台中注册的时候,没有看到免责申明的话,可以在销售前台的文件中user.js文件中添加一下代码,并且在原本的swin前面加上注释号。

  1. swin.dialog({ title: “用户注册”, autoOpen: false, resizable: false, width: 500, modal: true, buttons: { “提交注册”: function () { if ($(“#chkAgreeService”).attr(“id”) != undefined && !$(“#chkAgreeService”).prop(“checked”)) { processing(“正在处理”); showResults(“必须同意商家服务协议才能注册!”, 3000, ‘close’); return; }; userReg(1, rurl); }, “登 陆”: function () { userLogin(0, rurl); }, “关 闭”: function () { $(this).dialog(“close”); } } }).dialog(“open”);
  2.         $.post(‘/files/js_plugin/disclaimer/index.ashx?action=getconfig&t=’ + new Date(), function (data) {
  3.             var enable = data.substr(0, 1);
  4.             if (enable == “1”) {
  5.                 swin.find(“#rform”).append(‘<p><strong style=”width:108px;”>           </strong> <input type=\”checkbox\” id=\”chkAgreeService\” style=\”vertical-align: middle;width:13px;height:28px;margin-left:0px;margin-right:0px;\”/> <label for=\”chkAgreeService\” style=\”width:30px;cursor:pointer;font-size:14px;display: inline;\” >同意</label><a href=\”javascript:void(-1);\” id=\”showcontent\” style=\”  text-decoration: none;  font-weight: bold;font-size:14px;color:blue;\”>《商家服务协议》</a></p>’);
  6.                 $(“#showcontent”).click(function () {
  7.                     $(“#suwin”).html(data.substr(1));
  8.                     $(“#suwin”).dialog({
  9.                         title: ‘商家服务协议:’, autoOpen: false, resizable: false, height: 600, width: 550, modal: true, buttons: {
  10.                             “关 闭”: function () { $(this).dialog(“close”);}
  11.                         }
  12.                     }).dialog(“open”);
  13.                 });
  14.                 $(“#chkAgreeService”).css(“cursor”, “pointer”).click(function () {
  15.                     if ($(this).prop(“checked”)) $(this).attr(“checked”, “checked”);
  16.                     else $(this).removeAttr(“checked”);
  17.                 });
  18.             }
  19.         });

赞(0)
未经允许不得转载:无忧解决网 » IDCSystem“免责申明”插件使用设置

登录

找回密码

注册