Asterix_ita
05-23-2012, 11:34 AM
Hi guys,
I wanted to use print_membergroup_row in the options forum
I created one plugin
Product: My addon
Hook location: forumadmin_edit_form
Title: my plugin forum
Execution order: 5
Plugin php code:
print_membergroup_row($vbphrase[mylabelphrase], 'forum[cts_reportgr]', 2, $forum['cts_reportgr']);
with this plugin I get the list of groups with checkbox, but I can not save selections and when I get back in the option forums are all unchecked
If I used this plugin
Product: My addon
Hook location: forumadmin_edit_form
Title: my plugin forum
Execution order: 5
Plugin php code:
print_input_row ($vbphrase[mylabelphrase], 'forum[cts_reportgr]', $forum['cts_reportgr']);
the entered values are saved.
I know it should be a trivial thing, but until now I never used print_membergroup_row and then of course I miss the code.
Thank you for your help
I wanted to use print_membergroup_row in the options forum
I created one plugin
Product: My addon
Hook location: forumadmin_edit_form
Title: my plugin forum
Execution order: 5
Plugin php code:
print_membergroup_row($vbphrase[mylabelphrase], 'forum[cts_reportgr]', 2, $forum['cts_reportgr']);
with this plugin I get the list of groups with checkbox, but I can not save selections and when I get back in the option forums are all unchecked
If I used this plugin
Product: My addon
Hook location: forumadmin_edit_form
Title: my plugin forum
Execution order: 5
Plugin php code:
print_input_row ($vbphrase[mylabelphrase], 'forum[cts_reportgr]', $forum['cts_reportgr']);
the entered values are saved.
I know it should be a trivial thing, but until now I never used print_membergroup_row and then of course I miss the code.
Thank you for your help