- 博客(0)
- 资源 (8)
空空如也
ECSHOPQQ新浪微博支付宝登录插件utf8
首先
admin includes languages这3个文件放到您网站的跟目录覆盖
覆盖前须知admin目录为后台目录如果改动请修改此目录名称在覆盖。后面的 admin 都代表 后台目录
images文件放到您模板文件夹下覆盖
----------------------------------修改 1
如果有修改的话 请修改 user.php
以下 代码段
大概 在 30 行
// 不需要登录的操作或自己验证是否登录(如ajax处理)的act
$not_login_arr =
array('login','act_login','register','act_register','act_edit_password','get_password','send_pwd_email','password', 'signin', 'add_tag', 'collect', 'return_to_cart', 'logout', 'email_list', 'validate_email', 'send_hash_mail', 'order_query', 'is_registered', 'check_email','clear_history','qpassword_name', 'get_passwd_question', 'check_answer');
在 'check_answer' 后面 添加 'oath' , 'oath_login'
结果 如
$not_login_arr =
array('login','act_login','register','act_register','act_edit_password','get_password','send_pwd_email','password', 'signin', 'add_tag', 'collect', 'return_to_cart', 'logout', 'email_list', 'validate_email', 'send_hash_mail', 'order_query', 'is_registered', 'check_email','clear_history','qpassword_name', 'get_passwd_question', 'check_answer' , 'oath' , 'oath_login');
--------------------------------修改 2 添加调用接口
文件路径 = user.php
插入代码 = 【调用代码.php】
位置:可参考我给的user.php里面的代码位置(搜索"第三方登录",这个位置就是你要插入 “调用代码.php” 的位置)
--------------------------------修改 3 插入菜单项
// admin 为 你的后台目录
文件路径 = admin/includes/inc_menu.php
插入代码 = $modules['11_system']['website'] = 'website.php?act=list';
位置 = 随意
--------------------------------修改 4 检查权限的
文件路径 = admin/includes/inc_priv.php
插入代码 = $purview['website'] = 'website';
位置 = 随意
-------------------------------修改 5 插入 语言包 这样 菜单 管理就出来了!!!
文件路径 = languages/zh_cn/admin/common.php
插入代码 = $_LANG['website'] = '第三方登录插件管理'; //名字你可以自己定
位置 = 随意'
-------------------------------修改 6 调用代码,在您模板文件下的user_passport.dwt文件 找到对应的位置加调用代码,参考:
<tr>
<td align="right" valign="middle"> </td>
<td colspan="2" valign="middle"><table width="360" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td height="30" colspan="4">使用合作网站账号登录:</td>
</tr>
<tr>
<td><a href="user.php?act=oath&type=qq"><img src="images/qq_login.gif"/></a>
</td>
<td><a href="user.php?act=oath&type=weibo"><img src="images/sina_login_logo.gif"/></a>
</td> <td><a href="user.php?act=oath&type=alipay"><img src="images/alipay_login.png"/></a>
</td>
</tr>
</tbody></table></td>
</tr>
----------------------------安装过程---------------------
打开你的商城后台 , 在【系统设置】里面 看到
【第三方登录插件管理】
------------------------- 操作流程 开始-------------
第一此使用此插件需要 进行一次 初始化工作, 进入到【系统设置】-》
【第三方登录插件管理】 找到 右上方按钮 【初始化插件】 点击 初始化成功,
接下来就是安装 QQ 淘宝 新浪微博插件 就可以使用了
2015-08-22
ecshop2.7.3供应商插件
ecshop2.7.3供应商插件
1:新增加/data/daili_config.php
2:修改供应商基本信息。密码
alter table ecs_suppliers add column company_name varchar(64) not null default '',add column people varchar(32) not null default '',add column tel varchar(15) not null default '',add column mobile varchar(15) not null default '',add column email varchar(64) not null default '',add column address varchar(128) not null default '',add column user_name varchar(64) not null default '',add column pwd varchar(35) not null default '',add column website varchar(128) not null default '',add column qq varchar(15) not null default '',add column status tinyint(1) unsigned not null default '0';
alter table ecs_suppliers add column add_time varchar(64) not null default '0';
alter table ecs_suppliers add column last_login int(10) not null default '0';
alter table ecs_suppliers add column last_ip varchar(32) not null default '';
2:
alter table ecs_article add column suppliers_id mediumint(8) unsigned not null default '0';
3:
alter table ecs_goods add column sstatus tinyint(1) unsigned not null default '0';
4:
alter table ecs_article add column sstatus tinyint(1) unsigned not null default '0';
5:admin/includes/lib_goods.php
6:admin/goods.php
7:admin/templates/goods_info.htm goods_list.htm
8:admin/includes/inc_menu.php
9:languages/zh_cn/admin/goods.php
10:增加languages\zh_cn\daili目录
11:daili/includes/init.php inc_menu.php lib_goods.php lib_main.php
12:alter table daili_order_goods add column suppliers_id smallint(5) unsigned not null default '0';
13:flow.php增加定单商品供应商
14:新建data目录2个打印模板
2015-08-22
服务器安全配置指南PDF
第一章:硬件环境
第二章:软件环境
第三章:系统端口安全配置
第四章:系统帐户及安全策略配置
第五章:IIS 和 WEB 站点文件夹权限配置
第六章:FTP 服务器安全权限配置
第七章:Email 服务器安全权限配置
第八章:远程管理软件配置
第九章:其它安全配置建议
第十章:篇后语
2013-10-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人