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.
History
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?

Immediately redirect to edit the new forum after adding. I can do a pull request if you are okay with it.
find:
$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());
after:
$new_fid = $db->insert_id();
find:
redirect('admin_forums.php', $lang_admin_forums['Forum added redirect']);
change to:
redirect('admin_forums.php?edit_forum='.$new_fid, $lang_admin_forums['Forum added redirect']);