The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disabling attachments/uploads per forum
I've been spending a little time this afternoon with Google and the VB.org search trying to find a solution to my problem. I am running VB 3.8.4, and I would like to disable attachments per forum. I realize that I can do it globally, and I also realize that I can do it with usergroups, however here is my issue. We have many sub-forums that are protected by permissions based around usergroup membership. Some are assigned, some are open to anyone joining. The point is that I have a single forum that I have need to disable users from attaching images to posts, but still allow the use of the img tag to hotlink. I don't want to have to burden my admin and moderator staff with the chore of editing that one forums permissions for 40 usergroups and then update it every time we edit or create a new usergroup.
I found some stuff that might have done what I wanted, but it was for VB 3.5, and the searches I have done seem to come up with nothing but explanations about how to disable it using usergroups. I even took a hack at trying to do it with a plugin, but I just don't know enough about VB coding interfaces to be very productive. Anyone have any good suggestions? |
#2
|
||||
|
||||
Have you tried "Forum permission manager" in this you can disable "Can Upload Attachments"
EDIT: Oh you did ... ignore this. . |
#3
|
||||
|
||||
I would do it with a plugin. Set 'canpostattachment' to false. So, for the newreply page, I woud use the newreply_start hook location and do something like:
PHP Code:
|
#4
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|