The solution to the inability of phpcms v9 visitors to upload pictures
Editor to share with you phpcms v9 tourists can not upload pictures of the solution, I believe that most people do not understand, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!
What if phpcms v9 visitors can't upload pictures?
Phpcms v9 visitors upload attachment permission
Solution:
Step 1: the system default backend management member group cannot modify the permission for tourists to upload attachments; solution:
Find phpcms/modules/member/templates/member_group_edit.tpl.php.
8085 lines are commented out
That is, do not judge tourists.
Step 2:
Comment: line 22 of\ modules\ attachment\ attachments.php:
/ / determine whether to log in to if (empty ($this- > userid)) {/ / showmessage (L ('please_login','','member'));}
Step 3: update the cache
The above method is applicable to all tourists uploading attachments!
The above is all the content of the solution that phpcms v9 visitors cannot upload pictures, thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!