I've recently added a new category that includes over 50 forums, and I'm now in the process of trying to reorder some of them. However, I've found the current reordering feature to be quite basic—it only allows moving forums one position up or down at a time. I believe a more user-friendly method for sorting forums could greatly enhance usability. Perhaps introducing a drag-and-drop functionality or a numeric field for direct edits could be beneficial.
To expedite the process on my end, I've implemented a small modification in my forum. However, my expertise in modifying phpBB templates is still quite limited. I'll share this modification with all of you, hoping it might inspire someone to complete the necessary template changes.
Any assistance or guidance on this would be greatly appreciated!
If anybody want my temporal trick. You have to change this.
includes/acp/acpforums.php
Search:
Code: Select all
$this->parent_id = $request->variable('parent_id', 0);
Code: Select all
$this->move_steps = $request->variable('move_steps', 0);
Code: Select all
$move_forum_name = $this->move_forum_by($row, $action, 1);
Code: Select all
$move_forum_name = $this->move_forum_by($row, $action, $this->move_steps);
Search:
Code: Select all
'U_MOVE_UP' => $url . '&action=move_up',
'U_MOVE_DOWN' => $url . '&action=move_down',
Code: Select all
'U_MOVE_UP' => $url . '&action=move_up&move_steps=1',
'U_MOVE_DOWN' => $url . '&action=move_down&move_steps=1',
Now, yo have to copy the link url on the down or up icons:
You will have something like this:
Code: Select all
http://localhost:8000/adm/index.php?i=acp_forums&sid=83a113e14b157afb3fe7a759d96f9e4e&icat=7&mode=manage&parent_id=1&f=46&action=move_down&move_steps=1
&action=move_down&move_steps=1