There is a basic set of AJAX functions for use in the ACP provided by this file: https://github.com/phpbb/phpbb3/blob/de ... le/ajax.js
I noticed that the AJAX-based row_up and row_down functions are only currently implemented on the Manage Forums page in the ACP. It AJAX-ifies the Move-Up and Move-Down buttons so no page reloads occur when re-ordering forums.
There are many other areas in the ACP where these same Move-Up and Move-down buttons are used to order items, but still work the old-fashioned way with page reloads for each click:
* Smilies (acp_icons.html)
* Topic Icons (acp_icons.html)
* Custom Profile Fields (acp_profile.html)
* Manage Group Positions (cap_groups_position.html)
* Permissions Roles (acp_permission_roles.html)
* Module Management (acp_modules.html)
* Manage Report/Denial Reasons (acp_reasons.html)
It would make sense, and be more consistent, that this functionality be extended to all of the above, rather than just the Forums Management alone as it currently stands in the Dev branch.
[RFC] Extend Existing Implementation of AJAX in ACP
[RFC] Extend Existing Implementation of AJAX in ACP
Has an irascible disposition.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Extend Existing Implementation of AJAX in ACP
Yes, and maybe add Move to Top and Move to Bottom functions, too.
Steve
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
-
- Registered User
- Posts: 523
- Joined: Sat Apr 22, 2006 10:29 pm
- Contact:
Re: [RFC] Extend Existing Implementation of AJAX in ACP
+1Pony99CA wrote:Yes, and maybe add Move to Top and Move to Bottom functions, too.
Steve
- Jessica.
- Registered User
- Posts: 144
- Joined: Wed Feb 09, 2011 8:17 pm
- Location: Pennsylvania, USA
- Contact:
Re: [RFC] Extend Existing Implementation of AJAX in ACP
Can it maybe be a drag and drop instead? Might be easier than ajax move up and down, because you still have to click a lot of times if you want to move a forum to a place that's far up (or down)
Re: [RFC] Extend Existing Implementation of AJAX in ACP
That would probably be something for jQuery UI: http://jqueryui.com/
We should however make sure that you can't just drag & drop something by accident.
We should however make sure that you can't just drag & drop something by accident.
Re: [RFC] Extend Existing Implementation of AJAX in ACP
+1
Agree seeing as how Ex made a mod to add this function to te forumlist not sure why it can not be used for the acpJessica. wrote:Can it maybe be a drag and drop instead? Might be easier than ajax move up and down, because you still have to click a lot of times if you want to move a forum to a place that's far up (or down)
Re: [RFC] Extend Existing Implementation of AJAX in ACP
Thought I should add that the AJAX implemented in the ACP is also, quite broken!
Whenever a button presents the AJAXified Confirm dialog in a modal, it does not work. So Purging the Cache does not work, deleting various things such as modules, bbcodes, etc. do not work.
http://tracker.phpbb.com/browse/PHPBB3-11442
Whenever a button presents the AJAXified Confirm dialog in a modal, it does not work. So Purging the Cache does not work, deleting various things such as modules, bbcodes, etc. do not work.
http://tracker.phpbb.com/browse/PHPBB3-11442
Has an irascible disposition.
Re: [RFC] Extend Existing Implementation of AJAX in ACP
I really think we should give this a shot: http://api.jqueryui.com/sortable/
The up/down arrows just don't cut it anymore in 2014
The up/down arrows just don't cut it anymore in 2014
Re: [RFC] Extend Existing Implementation of AJAX in ACP
+1PayBas wrote:I really think we should give this a shot: http://api.jqueryui.com/sortable/
The up/down arrows just don't cut it anymore in 2014