Search found 50 matches

by Jhong
Wed Sep 08, 2010 4:43 am
Forum: [3.x] Discussion
Topic: Translations -- use GNU GetText please
Replies: 29
Views: 51246

Re: Translations -- use GNU GetText please

there are php classes/libraries you can use for gettext if gettext isn't compiled into PHP itself. I think that's how WordPress does it.
by Jhong
Thu Sep 02, 2010 1:41 am
Forum: [3.x] Discussion
Topic: [Usability] Reducement of confirmation pages / Allow undo
Replies: 37
Views: 73963

Re: [Usability] Reducement of confirmation pages / Allow und

I don't think there are any additional XSS concerns with using An AJAX postback rather than a confirm -- you can send a use-once security hash with each request (and receive a new one back). If all AJAX postbacks are handled by a single back-end receiver, it should be quite easy to implement the sec...
by Jhong
Wed Sep 01, 2010 7:27 am
Forum: [3.x] Discussion
Topic: [Usability] Reducement of confirmation pages / Allow undo
Replies: 37
Views: 73963

Re: [Usability] Reducement of confirmation pages / Allow und

Yes you can, if you're doing a soft delete or moving to a recycle bin. In fact, I thought that was the original intention of this topic. Presenting confirmation dialogs, just using a new way.... how does that aid usability? I use Gnome (Ubuntu) for my daily work, and when I hit delete on a file, it ...
by Jhong
Wed Sep 01, 2010 6:04 am
Forum: [3.x] Discussion
Topic: [Usability] Reducement of confirmation pages / Allow undo
Replies: 37
Views: 73963

Re: [Usability] Reducement of confirmation pages / Allow und

Why add another click? All that does is use AJAX for AJAX' sake -- you still have to click a confirm box. I'd lean towards just modifying the page state based on whether an action had been performed. i.e.: User clicks post delete button Button turns to a spinner for a second while the request is sen...
by Jhong
Wed Sep 01, 2010 5:54 am
Forum: [3.x] Discussion
Topic: Please improve function and global var namespacing
Replies: 13
Views: 29666

Re: Please improve function and global var namespacing

In that case perhaps call it a deprecation layer rather than a compatibility layer. In WordPress they have a deprecation layer -- there are also hooks to inform authors that they are using deprecated functions (or include files): http://codex.wordpress.org/WordPress_Deprecated_Functions_Hook That sa...
by Jhong
Wed Sep 01, 2010 2:23 am
Forum: [3.x] Discussion
Topic: Front End Load Speed improvements
Replies: 2
Views: 10019

Re: Front End Load Speed improvements

I'm not sure if a single, monolithic JS file is very do-able. It would make MODDing harder. What would likely happen is that the file would get constantly recompiled whenever a MOD needed to change the execution order of JS or add a snippet based on a new activity on the current page. (in addition t...
by Jhong
Wed Sep 01, 2010 2:14 am
Forum: [3.x] Discussion
Topic: Plugins / Hooks Section in ACP
Replies: 3
Views: 11279

Re: Plugins / Hooks Section in ACP

Yes, a mod author should have a fair idea if it is critical whether his action should come first or last, or somewhere in-between. I don't think most end-users have the ability to debug mod conflicts to a level that would suggest modifying execution order. Furthermore, the order incompatibility is g...
by Jhong
Wed Sep 01, 2010 2:00 am
Forum: General Development Discussion
Topic: Mobile Style for phpbb.com
Replies: 10
Views: 28649

Re: Mobile Style for phpbb.com

Wow there have been a number of responses in the last few days. I find as GravityDK mentioned that STG's mobile theme does the job nicely on mobile devices. The issue I find on the phpBB site is that I sometimes wish to either reply to a pm or a thread. When using the standard ProSilver style on a ...
by Jhong
Wed Sep 01, 2010 1:53 am
Forum: [3.1/Ascraeus] Merged Event Requests
Topic: [RFC|Implemented] page_header hook
Replies: 9
Views: 29404

Re: [RFC] page_header hook

This is great. However, I think for loading scripts and CSS files a more elegant solution is needed. At the minimum, two hooks, for "before other scripts" and "after other scripts", but even better would be a load_phpbb_script() function where you could specify priority and depen...
by Jhong
Wed Sep 01, 2010 1:51 am
Forum: [3.x] Discussion
Topic: Login after register
Replies: 23
Views: 61828

Re: Login after register

Maybe an option saying 'Would you like to Auto-Login After Registration'? Suggest not to over-complicate this -- if it ends up in displaying more options to the user, or stuffing the ACP with even more options, it doesn't provide much benefit. I think sensible defaults make more sense than trying t...