Sorry if this is already possible but I haven't found it.
It would be useful if you could have default settings for forums so every time you create a new forum they inherit these settings by default.
This would be especially useful for the "Priority of Forum Access node grants in this forum" setting because it would be common for this to be the same on all forums and is something that needs advanced knowledge of the sites setup.
Comments
Comment #1
salvisExpand the Template fieldset, [Load] an existing forum that has the settings that you want to reuse, check the
[X] Use the selected forum's settings as defaults for new forums and containers.
checkbox under Templates and click on the [Save] button.
Comment #2
agileware commentedThanks, I didn't even notice that fieldset. Long day.
Comment #3
bnubbz commentedIs there a way to have it automatically load a template? It would convenient for what I am doing. I can even modify the module if I need to ... PHP is my friend.
Comment #4
salvisThe other checkbox preselects the template, but it doesn't load it, because if it did, you wouldn't be able to look at the current settings of the forum you're in. You have to click the [Load] button.
Comment #5
bnubbz commentedIs there a function or something I can call to simulate clicking the [Load] button? I know this sounds weird but it will help me with what I am doing ... I have a concept of a project and each project has a book, forum, photo & video galleries, etc ... associated with it. When I create a project forum I want to automatically give it the permissions for the project template. However, I am modifying the module to accept parameters for auto-saving while only changing the required fields to make it quicker, then the user can go back later and make any other modifications to the forum they want.
I want the permissions to be set when I set the name, parent, etc ... for my quick-n-dirty forum creation process. I want to simply send in a parameter of whether or not I want to auto-load the permissions from the template. Any suggestions would be greatly appreciated :-)
Comment #6
salvisThe _forum_access_forum_form_after_build() function in forum_access.admin.inc does this.
You may be able to form_alter the $form_state (so that the if condition is TRUE) and the function may kick in automatically. You'll have to experiment.