Bläddra i källkod

支持游客投稿,移除不必要繁限制,由管理员决定投稿定制化

tags/6.3.2
叙述、别离 2 månader sedan
förälder
incheckning
8b656df33d
18 ändrade filer med 2 tillägg och 21 borttagningar
  1. +0
    -1
      src/admin/templets/mychannel_add.htm
  2. +0
    -1
      src/admin/templets/mychannel_edit.htm
  3. +1
    -1
      src/install/sql-dftables.txt
  4. +1
    -1
      src/install/update.txt
  5. +0
    -1
      src/user/album_add.php
  6. +0
    -1
      src/user/album_edit.php
  7. +0
    -1
      src/user/archives_add.php
  8. +0
    -4
      src/user/archives_do.php
  9. +0
    -1
      src/user/archives_edit.php
  10. +0
    -1
      src/user/archives_sg_add.php
  11. +0
    -1
      src/user/archives_sg_edit.php
  12. +0
    -1
      src/user/article_add.php
  13. +0
    -1
      src/user/article_edit.php
  14. +0
    -1
      src/user/buy.php
  15. +0
    -1
      src/user/buy_action.php
  16. +0
    -1
      src/user/check_card.php
  17. +0
    -1
      src/user/soft_add.php
  18. +0
    -1
      src/user/soft_edit.php

+ 0
- 1
src/admin/templets/mychannel_add.htm Visa fil

@@ -74,7 +74,6 @@
}
?>
</select>
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span>
</td>
</tr>
<tr>


+ 0
- 1
src/admin/templets/mychannel_edit.htm Visa fil

@@ -75,7 +75,6 @@
}
?>
</select>
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span>
</td>
</tr>
<tr>


+ 1
- 1
src/install/sql-dftables.txt Visa fil

@@ -480,7 +480,7 @@ CREATE TABLE `#@__member` (
`loginip` char(46) NOT NULL default '',
`checkmail` smallint(6) NOT NULL default '-1',
`loginerr` tinyint NULL DEFAULT 0,
`send_max` int DEFAULT '1',
`send_max` int DEFAULT '0',
`user_money` decimal(10, 2) unsigned NULL default 0.00,
`pmid` int(8) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`mid`),


+ 1
- 1
src/install/update.txt Visa fil

@@ -101,7 +101,7 @@ DELETE FROM `#@__sysconfig` WHERE `#@__sysconfig`.`varname` = 'cfg_vdcode_member
ALTER TABLE `#@__arctype` CHANGE COLUMN `iscross` `cross` tinyint(1) NOT NULL DEFAULT 0 AFTER `ishidden`;
ALTER TABLE `#@__admin` ADD COLUMN `loginerr` tinyint NULL DEFAULT 0 AFTER `loginip`;
ALTER TABLE `#@__member` ADD COLUMN `loginerr` tinyint NULL DEFAULT 0 AFTER `checkmail`;
ALTER TABLE `#@__member` ADD COLUMN `send_max` int NULL DEFAULT 1 AFTER `loginerr`;
ALTER TABLE `#@__member` ADD COLUMN `send_max` int NULL DEFAULT 0 AFTER `loginerr`;

-- 6.2.3
INSERT INTO `#@__sysconfig` (`varname`, `info`, `groupid`, `type`, `value`) VALUES ('cfg_bizcore_api', 'DedeBIZ Core接口服务器', 1, 'string', 'http://localhost:8087');


+ 0
- 1
src/user/album_add.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
if ($cfg_mb_album == 'N') {
ShowMsg("系统关闭了图片功能,您浏览的功能不可用", "-1");
exit();


+ 0
- 1
src/user/album_edit.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
if ($cfg_mb_album == 'N') {
ShowMsg("系统关闭了图片功能,您浏览的功能不可用", "-1");
exit();


+ 0
- 1
src/user/archives_add.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/userlogin.class.php");
require_once(DEDEINC."/customfields.func.php");


+ 0
- 4
src/user/archives_do.php Visa fil

@@ -14,7 +14,6 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0;
$channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 1;
//删除收藏
if ($dopost == "delStow") {
CheckRank(0, 0);//禁止游客操作
$type = empty($type) ? '' : HtmlReplace(trim($type), -1);
$tupdate = '';
if (!empty($type)) {
@@ -30,7 +29,6 @@ if ($dopost == "delStow") {
}
//添加投稿
else if ($dopost == "addArc") {
CheckRank(0, 0);//禁止游客操作
if ($channelid == 1) {
$addcon = 'article_add.php?channelid='.$channelid;
} else if ($channelid == 2) {
@@ -54,7 +52,6 @@ else if ($dopost == "addArc") {
}
//修改投稿
else if ($dopost == "edit") {
CheckRank(0, 0);//禁止游客操作
if ($channelid == 1) {
$edit = 'article_edit.php?channelid='.$channelid;
} else if ($channelid == 2) {
@@ -134,7 +131,6 @@ else if ($dopost == "delArc") {
}
//查看文档
else if ($dopost == "viewArchives") {
CheckRank(0, 0);//禁止游客操作
if ($type == "") {
header("location:".$cfg_phpurl."/view.php?aid=".$aid);
} else {


+ 0
- 1
src/user/archives_edit.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEMEMBER."/inc/inc_catalog_options.php");


+ 0
- 1
src/user/archives_sg_add.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/userlogin.class.php");
require_once(DEDEINC."/customfields.func.php");


+ 0
- 1
src/user/archives_sg_edit.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEMEMBER."/inc/inc_catalog_options.php");


+ 0
- 1
src/user/article_add.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/userlogin.class.php");
require_once(DEDEINC."/customfields.func.php");


+ 0
- 1
src/user/article_edit.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEMEMBER."/inc/inc_catalog_options.php");


+ 0
- 1
src/user/buy.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__).'/config.php');
CheckRank(0, 0);//禁止游客操作
$menutype = 'mydede';
$menutype_son = 'op';
$_menu_buy = true;


+ 0
- 1
src/user/buy_action.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
$dopost = isset($dopost)? $dopost : '';
$menutype = 'mydede';
$menutype_son = 'op';


+ 0
- 1
src/user/check_card.php Visa fil

@@ -7,7 +7,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
$svali = GetCkVdValue();
if (strtolower($vdcode) != $svali || $svali == "") {
ShowMsg("验证码不正确", "-1");


+ 0
- 1
src/user/soft_add.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/userlogin.class.php");
require_once(DEDEINC."/customfields.func.php");


+ 0
- 1
src/user/soft_edit.php Visa fil

@@ -9,7 +9,6 @@
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
CheckRank(0, 0);//禁止游客操作
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/customfields.func.php");
require_once(DEDEMEMBER."/inc/inc_catalog_options.php");


Laddar…
Avbryt
Spara