Advertisement:

Author Topic: Restriction of uploads to separated boards  (Read 1017 times)

Offline konvdummy

  • Semi-Newbie
  • *
  • Posts: 12
Restriction of uploads to separated boards
« on: November 02, 2019, 10:50:05 AM »
Hello,

is it possible (with a mod or something else) to restrict the uploads only to a few kind of chosen boards ?

Best
Rafael

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,598
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Restriction of uploads to separated boards
« Reply #1 on: November 02, 2019, 11:05:16 AM »
When you say uploads.  Uploads of what exactly, do you mean attachments?

Offline konvdummy

  • Semi-Newbie
  • *
  • Posts: 12
Re: Restriction of uploads to separated boards
« Reply #2 on: November 02, 2019, 01:32:18 PM »
I mean uploads of pictures in themes, and I want to allow this only for two of maybe 15 boards.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,598
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Restriction of uploads to separated boards
« Reply #3 on: November 02, 2019, 05:28:45 PM »
I'm not aware of a mod that does this, I did take a quick look but didn't see anything.  Hopefully someone with more knowledge will come along with a answer to whether it's doable or not.  Sorry.

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,091
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Restriction of uploads to separated boards
« Reply #4 on: November 02, 2019, 05:31:50 PM »
Until someone chimes in willing to do a mod for it, consider using membergroup permissions?

Offline Antechinus

  • SMF Friend
  • SMF Master
  • *
  • Posts: 25,038
  • Master of BBC Abuse
Re: Restriction of uploads to separated boards
« Reply #5 on: November 02, 2019, 07:32:01 PM »
Easy to do in principle. All you'd need is some code to prevent displaying the attachment options unless board_id = whatever.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,775
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Restriction of uploads to separated boards
« Reply #6 on: November 03, 2019, 02:46:03 AM »
Actually, using Board Permissions and Deny -permissions - this shouldn't need any modding what so ever.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline konvdummy

  • Semi-Newbie
  • *
  • Posts: 12
Re: Restriction of uploads to separated boards
« Reply #7 on: November 03, 2019, 09:25:08 AM »
Okay, thanks.
I will try this.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,775
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Restriction of uploads to separated boards
« Reply #8 on: November 03, 2019, 09:40:17 AM »
Not knowing how your permissions are now, can't tell you specifically what to do - but basically, create a new board permission profile, assign it to the boards you don't want to allow uploading to, and change the permissions in this new profile as needed to disallow or deny the upload permission.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas