I am site we want to functionality where only admin can allow uploading log file for specific topic and uploaded log files can be visible to admin only not any user
Can anyone know how to achieve this . any help would be appreciated
The discussion revolves around the functionality of allowing admins to enable log file uploads for specific topics, with these files only visible to admins. Jaskaran initially requested this feature and pfaffman inquired about the type of log files being referred to.
Jaskaran clarified that admins should be able to allow users to upload log files for specific categories, but these files should only be visible to admins. pfaffman suggested sending the files via private messages (PM) to keep them hidden from users.
Jaskaran asked for clarification on sending files via PM, which Firepup650 explained and provided screenshot examples. Jagster also explained the concept of sending private messages and mentioned a broken plugin for private posts.
The discussion then shifted to file size limits for uploading log files via private messages. Jaskaran inquired about the maximum file size limit, and Jagster mentioned that the limit can be adjusted in the settings.
Jaskaran asked how to change the file size limit, which Jagster explained involves editing the app.yml file and rebuilding the application.
Finally, Heliosurge provided a plugin solution for private topics, where a configured group (in this case, “admin”) can view all topics.
I am site we want to functionality where only admin can allow uploading log file for specific topic and uploaded log files can be visible to admin only not any user
Can anyone know how to achieve this . any help would be appreciated
What log files are you taking about?
Do you mean upload files with an extension of log? There is a setting for upload files types for admins (or maybe staff).
In our problem , admin should allow user to add log file for specific category . and uploaded log file by user can only be visible to admin .
If you want it to be visible only to admin then they’ll need to send via pm, not a public topic.
Can you pls explain what is mean by send via pm
It means you haven’t ability hide some parts in a post that is visible only for admins. So users must send such information using private messages.
Here is a plugin that allows private posts but if I recall right it is broken.
What is the maximum file size limit for uploading log files via private messages?
That upload limit you have in settings. On my forum it is 150 MB, but if you haven’t change it it is much more lower, something like 5 MB — I really don’t remember.
But 1 MB big log file is… one awful long log.
can you pls tell how to change file size
Upload limit? Open app.yml and change value of upload_size. Rebuild after that.
And:
Here is a plugin for Private topics. Where you configure a group that can see the topics. Only the Op and configured group can see the topic. Group in your case “admin” can view all topics.