eviL<3 wrote:and he said he didn't like them, because they make moderation less personal. And i have to agree.
It's true. But moderator posts was an example as an another. You can have some other utilities with post models.
I used this cool feature on phpBB2, and Patrick on phpBBhacks.com opened one day this
MOD request. So I thrust myself
Ooh, ajax. I would however suggest you preload the data and use javascript only. I'd only use ajax if it's too expensive to preload it, which is not really the case here. The thing is that using ajax is quite complex, so it should be avoided. Mind you, i havn't seen the code yet, this is just a general thought of mine.
I am completely agree with you on this general point.
At the beginning, I wanted to do as you say, but I used Ajax in this case, for two main reasons:
- The first: On posting form, if I would have to preload, there were several things to keep. (message and subject field, files attachments, box options ...)
In addition, if I used the preload solution, my code would be more complicated, I would have to do more modifications in the phpBB3 core, whereas with Ajax, all the MOD is controlled in a file function. I only need to include my file function and launch my function to generate the dropdown list

- The second: With Ajax, the MOD is much faster to use. When you write a post and that you need to include a model, it's very nice to switch very quickly between each language.
I hope that you will be abble have the time to take a quick look on my code, to give me your comments
