<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms轻松三步搞定游客投稿

时间:2020-12-21

dedecms如何搞定游客投稿;很多时候怕麻烦;需要让游客投稿;而且无审核的显示文章;这个方法相当简单,只用屏蔽掉几行代码就可以了。。。

先找到这三个文件
/member/article_add.php

/member/article_add_action.php

/member/archives_addcheck.php


1、把前两个文件里面的

注释掉
//CheckRank(0,0);
 
2.把/member/article_add_action.php里的(感谢straw指出错误,以前写错了。)

注释掉
//if($cInfos['sendrank'] > $cfg_ml->M_Type){
//$row = $dsql->GetOne("Select membername From dedecp_arcrank where rank='".$cInfos['sendran/k']."' ");
//$dsql->Close();
//ShowMsg("对不起,需要[".$row['membername']."]才能在这个频道发布文档!","-1","0",5000);
//exit();
//}

 

一上的是以前大家都知道的。
3、最后/member/archives_addcheck.php文件中 还有个等级验证

  注释掉
//if($cInfos['sendrank'] > $cfg_ml->M_Type){
//$row = $dsql->GetOne("Select membername From dedecp_arcrank where rank='".$cInfos['sendrank']."' ");
//$dsql->Close();
//ShowMsg("对不起,需要 [".$row['membername']."] 才能在这个频道发布文档!","-1","0",5000);
//exit();
//}

5.7版本可以使用 频道模型 内容模型管理 进行设置;点击文章内容模型 会员许可投稿级别 修改 为游客发布

0
首页
案例
关于
联系