![]() |
|
Thread Tools |
#1
|
||||
|
||||
Disallow .gif for message attachment?
Hi all!
I'd like to do two things: 1) Disallow .gif when folks upload images. Default currently allows jpg, jpeg, png, gif. How do I do that? 2) Only allow URL - not direct from computer - as that would take space on my server. How do I only show the URL tab and disable the "upload from computer" tab? Thanks in advance! Paula No members have liked this post.
|
#2
|
|||
|
|||
/admincp/attachment.php?do=types
disable gif Message Attachment Options set to 0 for attachment inputs
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#3
|
||||
|
||||
Hi Snakes and thanks for taking the time to help!
Is this something I do in admincp or do I download and edit the attachment.php? If the latter, I'm not sure what or where to put "disable gif"? --------------- Added 07 Oct 2018 at 07:35 --------------- I would like to allow pdf files, but it appears I can't upload - even directly from a URL.... No members have liked this post.
Last edited by gsk8; 07 Oct 2018 at 07:35. |
#4
|
|||
|
|||
Admincp option
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
#5
|
||||
|
||||
![]() No members have liked this post.
|
#6
|
||||
|
||||
Look in the sidebar on the left, for a section called "Attachments." Using the "Attachment Manager" you can define which extensions you wish to allow on your installation, and using the "Attachment Permissions" you can set the permissions for each extension for each usergroup, including disabling any extension for any usergroups you desire.
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#7
|
||||
|
||||
Ohhhhhh....I was looking the whole time in the entire admincp > Options area...I did realize it was on the left sidebar the whole time.
![]() Thanks Snakes and Mark! --------------- Added 10 Oct 2018 at 16:11 --------------- By the way, I tried "liking" both your posts, but got the message:
No members have liked this post.
|
#8
|
||||
|
||||
Yeah, we lose more likes that way...but glad you got it solved.
![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 06:41.