If you do not know coolfilter is a module that allows users to embed video codes into posts and comments.

I was wondering if anyone knew of a way to limit embedding to certain user roles? It is costing me too much bandwidth to allow all people to embed. So I would like to limit it to Staff use only.

Any help would be greatly appreciated.

Comments

test127’s picture

I haven't used coolfilter, but I downloaded it and it looks like you can make a new (or use an existing) Input Format that only staff can use that allows coolfilter.

JordanMDL’s picture

How do I do that?

test127’s picture

Go to http://yoursite.com/admin/settings/filters or Administer->Site Configuration->Input Formats. Click the "Add input format" tab at the top of the page and create a new input format. I recommend first making it exactly like one of the other input formats you use (to make sure you have a functional starting point) and then modifying it to suit your needs. You can then set roles for each input format on their configuration pages.

JordanMDL’s picture

I removed cool filter and there is still the ability to add embedded objects to the site... I then tried adding limits to all the other filters aside from BBCode which not only has BBCode on it but it looks like the following:
* You can use BBCode help in the text, URLs will be automatically converted to links
* Web page addresses and e-mail addresses turn into links automatically.
* Textual smileys will be replaced with graphical ones.
* Lines and paragraphs break automatically.

More information about formatting options

Any suggestions to how I can? Aside from telling the users in the rules if they embed they will be banned. lol

lllkkk’s picture

It has nothing to do with the module. Just Create a new input format, which uses coolfilter, and goto http://YourURL/admin/settings/filters , make configure of the new input format, choose the right role.

-----------------------------------------------------------------------
my drupal site http://www.kylinx.net/

JordanMDL’s picture

I did that. But it still allowed user roles lower to embed.