HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Block Attachment Upload

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#52103 (In Topic #11385)
Avatar

Well-settled

Hi,

Working in the latest version of OC Portal. Things are working very well, but I have a question: I would like to block users from being able to upload attachments in all areas with the exception of their gallery. I have done this with the forums also, but do not know how to do it in the user's blog.

Can this be done, and if so, how?

Thanks very much.
Back to the top
 
Posted
Rating:
#52107
Avatar

Well-settled

Hi there,

I don't recall there being an option/permission for this but you could change the templates for it. Some code like this I think would work in I think ATTACHMENTS.tpl…

Code

{+START,IF,{$MATCH_KEY_MATCH,_WILD:galleries}}
(original template text goes in the middle here)
{+END}
Back to the top
 
Posted
Rating:
#52121
Avatar

Well-settled

Thank you very much…I will test that out and see what happens.

Much appreciate it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: