Ticket #57 (fixed enhancement)
Making a new forum is a 2 step process
- Created: 2010-06-25 17:56:05
- Reported by: Reines
- Assigned to: quy
- Milestone: 1.5.8
- Component: usability
- Priority: normal
Currently when adding a new forum, a new forum called "New Forum" is created, and then the user must edit its name/description/permissions.
This results in a "New Forum" being visible to everyone for however long it takes for the name/description/permissions to be edited correctly.
This would be much better if the user had the option to chose the name/description/permissions before creating the forum, making this a 1 step process.
Reines 2010-06-30 21:54:41
- Milestone set to 2.0-beta1.
Reines 2011-02-25 00:51:17
- Milestone changed from 2.0-beta1 to 2.0-alpha5.
Studio384 2013-10-08 20:42:13
- Owner set to Studio384.
Studio384 2013-11-18 17:09:13
Mmm, can we move this ticket over to 1.5.6, for adding a "Forum name" field, it requires 3 lines to be changed, nothing to much to do if you ask me.
Studio384 2013-12-05 12:31:38
- Milestone changed from 2.0-alpha5 to 1.5.6.
Someone against 3 changed rules to do this in 1.5?
Franz 2013-12-05 16:07:43
Franz 2014-01-08 23:15:11
- Milestone changed from 1.5.6 to 1.5.7.
Immediately redirect to edit the new forum after adding. I can do a pull request if you are okay with it.
$db->query('INSERT INTO '.$db->prefix.'forums (forum_name, cat_id) VALUES(\''.$db->escape($lang_admin_forums['New forum']).'\', '.$add_to_cat.')') or error('Unable to create forum', __FILE__, __LINE__, $db->error());
$new_fid = $db->insert_id();
redirect('admin_forums.php', $lang_admin_forums['Forum added redirect']);
redirect('admin_forums.php?edit_forum='.$new_fid, $lang_admin_forums['Forum added redirect']);
Franz 2014-04-08 03:08:09
Awesome, that would be nice!
Submitted pull request. Maybe Yannick has a better solution.
- Owner changed from Studio384 to quy.
- Status changed from open to fixed.
Franz 2014-10-20 11:50:43
- Milestone changed from 1.5.7 to 1.5.8.