vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   disabling 3rd party image links etc. by usergroup (https://vborg.vbsupport.ru/showthread.php?t=167823)

snoopy5 01-15-2008 05:50 PM

disabling 3rd party image links etc. by usergroup
 
Hi

I need to disable specific image upload functions which are available outside of the ACP.

Currently, one usergroup can insert images from other sites by
  • inserting the img tag
  • just copy & paste that image
  • Inserting an URL

With these 3 options, you break any kind of image upload restriction that you set in ACP. i.e. pixel width of images for a basic usergroup. So this needs to be addressed in my forum asap. Otherwise the whole control of image uploads by usergroup in ACP is worthless

How can I do this within the code, so that users of the standard usergroup can only upload images according to the ACP settings, but nothing else. No copy&paste, no url?

Or did I oversee something in the ACP?

Thanks in advance

Gamezod 01-15-2008 06:01 PM

Quote:

Originally Posted by snoopy5 (Post 1422016)
Hi

I need to disable specific image upload functions which are available outside of the ACP.

Currently, one usergroup can insert images from other sites by
  • inserting the img tag
  • just copy & paste that image
  • Inserting an URL

With these 3 options, you break any kind of image upload restriction that you set in ACP. i.e. pixel width of images for a basic usergroup. So this needs to be addressed in my forum asap. Otherwise the whole control of image uploads by usergroup in ACP is worthless

How can I do this within the code, so that users of the standard usergroup can only upload images according to the ACP settings, but nothing else. No copy&paste, no url?

Or did I oversee something in the ACP?

Thanks in advance

Dont know if this would help what your after... but whilst setting usergroup permissions you are able to stop a user group from using the:
[img]https://vborg.vbsupport.ru/[/img]

vB code... This will stop them being able to insert images within posts, signatures etc without uploading and following upload guidelines set in the ACP.

Hope this is helpful, I think it is appropriate to what you are looking for there.

snoopy5 01-15-2008 06:48 PM

Quote:

Originally Posted by Gamezod (Post 1422025)
Dont know if this would help what your after... but whilst setting usergroup permissions you are able to stop a user group from using the:
[img]https://vborg.vbsupport.ru/[/img]

vB code... This will stop them being able to insert images within posts, signatures etc without uploading and following upload guidelines set in the ACP.

Hope this is helpful, I think it is appropriate to what you are looking for there.

But as far as I know, if I disable this option in ACP, every user can still copy & paste an image into his posting by using "STRG C" and "STRG V"

Or am I wrong?

Gamezod 01-15-2008 11:17 PM

As far as im lead to believe it shouldnt allw them to do it with that disabled, Although i have not personally done it myself..

BUT... When it is copied into a post it is posted into it as HTML, which is automatically converted into VB code upon posting. VB should then pick up on the fact that the Img tag is disabled and will only display the link to the image rather then actually showing it.

I might be completly wrong there, but that is what i am myself led to believe, but i would try it out test it a bit, and see if it works for you.

snoopy5 12-16-2008 09:12 PM

Quote:

Originally Posted by Gamezod (Post 1422025)
.. but whilst setting usergroup permissions you are able to stop a user group from using the:
[img]imageurlhere[/img]

vB code... This will stop them being able to insert images within posts, signatures etc without uploading and following upload guidelines set in the ACP.

Hope this is helpful, I think it is appropriate to what you are looking for there.


Where do you see this?

I do not see any setting in the usergroup permissions for this. I only can disallow this for signatures. But this does not have any conseqences for normal postings.

Can you show me where I can do this also for normal postings?

snoopy5 01-12-2009 06:58 AM

anybody?


All times are GMT. The time now is 07:33 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.01115 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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