[Flagging addon] Category for flagged content not saving
When I choose to "create discussions" for flagged content, it gives me a dropdown to select a default category to funnel the discussions into. When I try to save it to any category, it won't let me. Help?
Best Answers
-
hgtonight MVP
I am able to select "Create Discussions" and select a category to use. It apparently saves. Plugins.Flagging.CategoryID does not get saved to my config. Setting this manually makes the plugin work as expected.
$Configuration['Plugins']['Flagging']['CategoryID'] = '27';
I will look into a proper patch.
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
5 -
hgtonight MVP
Proper patch for
/plugins/Flagging/views/flagging.php
@@ -22,7 +22,7 @@ <li> <?php echo $this->Form->Label('Category to Use', 'Plugins.Flagging.CategoryID'); - echo $this->Form->CategoryDropDown('CategoryID', C('Plugins.Flagging.CategoryID')); + echo $this->Form->CategoryDropDown('Plugins.Flagging.CategoryID', C('Plugins.Flagging.CategoryID')); ?> </li> </ul>
This is already fixed in the 2.1b1 branch.
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
1
Answers
Is this on 2.0.18.8?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
It is.
I am able to select "Create Discussions" and select a category to use. It apparently saves. Plugins.Flagging.CategoryID does not get saved to my config. Setting this manually makes the plugin work as expected.
I will look into a proper patch.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Proper patch for
/plugins/Flagging/views/flagging.php
This is already fixed in the 2.1b1 branch.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.