vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Disallow .gif for message attachment? (https://vborg.vbsupport.ru/showthread.php?t=326788)

gsk8 10-06-2018 02:20 AM

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

snakes1100 10-06-2018 09:21 AM

/admincp/attachment.php?do=types
disable gif

Message Attachment Options
set to 0 for attachment inputs

gsk8 10-07-2018 04:43 AM

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 [DATE]1538897759[/DATE] at [TIME]1538897759[/TIME] ---------------

I would like to allow pdf files, but it appears I can't upload - even directly from a URL....

snakes1100 10-07-2018 12:04 PM

Admincp option

gsk8 10-08-2018 02:58 AM

:confused:Unfortunately I cannot find in the Admincp > Settings anywhere where I can disable gif or allow pdf..

MarkFL 10-08-2018 04:25 AM

Quote:

Originally Posted by gsk8 (Post 2596674)
:confused:Unfortunately I cannot find in the Admincp > Settings anywhere where I can disable gif or allow pdf..

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.

gsk8 10-10-2018 02:10 PM

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. :D

Thanks Snakes and Mark!

--------------- Added [DATE]1539187904[/DATE] at [TIME]1539187904[/TIME] ---------------

By the way, I tried "liking" both your posts, but got the message:

Quote:

You must 'Like' someone else's post before liking any more by xxxxx.

MarkFL 10-10-2018 03:26 PM

Yeah, we lose more likes that way...but glad you got it solved. :)


All times are GMT. The time now is 03:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01828 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete