Home> CMS Tutorial> PHPCMS> body text

What should I do if phpcms v9 visitors cannot upload pictures?

藏色散人
Release: 2020-02-12 10:16:16
Original
2528 people have browsed it

What should I do if phpcms v9 visitors cannot upload pictures?

What should I do if phpcms v9 visitors cannot upload pictures?

phpcms v9 Permissions for visitors to upload attachments

Solution:

Step 1: The system default backend management member group cannot modify the permissions for visitors to upload attachments; solution :

Find phpcms/modules/member/templates/member_group_edit.tpl.php

80 and comment out line 85

 
Copy after login

that is, the visitor

will not be judged Step 2:

Comment: \modules\attachment\attachments.php Line 22:

//判断是否登录 if(empty($this->userid)){ //showmessage(L('please_login','','member')); }
Copy after login

Step 3: Update cache

The above method uploads attachments to all visitor classes applicable to all!

Related recommendations:phpcms tutorial

The above is the detailed content of What should I do if phpcms v9 visitors cannot upload pictures?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!