Topic: Drag and Drop Forum Sorting (Preview)
This was a lot more work than I thought it would be.
It is still far from being perfect and i think I will need some input from you folks to improve it.
To get an impression I set up a dummy board that you might abuse (but not too heavily, please )
User:Test, Password: Test
Go to the admin and click on "forums dragndrop" in the Plugins section.
Should work with IE6 and of course Firefox
If you create test forums/categories please be so kind & go to the respective "regular" admin to delee it afterwards. Thanks.
This thing will immediately update the database when moving a forum/category. No warning, no dummy submit button, plain ajax in the background.
- The selection of the text fields of the forums/categories is really ugly.
This is because I have to steal the onmousedown handler from the drag script. I'd appreciate a solution for that
- If a forum is moved above all categories there is an alert because it is illegal.
However, the forum does not "snap back" afterwards because I was too stupid to find out how this could be done.
Again, if anybody has a clue...
- Deletion is not possible. Would be easy to do but I was wondering if this is not too dangerous in this pointy-clicky environment. What do you think?
- There is extra stylesheet for the divs and form fields. it is in the plugins/mod_forum_dragndrop folder.
Although this breaks with the general rules I prefer to have all mod/plugin files concentrated somewhere. Am I wrong?
For those who'd liek to help (and my, I would love some help) the source fles and readm are here:
Whoever is interested in this matter, please join in.