This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
4966
The Pub / Re: Wap is that?
« on February 11th, 2012, 06:18 PM »
Eh, my old Nokia 3330 didn't support much beyond XHTML-MP, but if it supports XHTML-MP, it supports enough to be usable...
4967
The Pub / Re: Wap is that?
« on February 11th, 2012, 05:10 PM »
That's the thing, though, most of the logic is simply around setting up different layers for wireless vs normal, nothing more. There's a few where it makes a difference to the actual logic (e.g. preferences for number of posts per page) but most of that can be accommodated separately.
I dunno, I might give it a try later on and see how successful it ends up being, especially since a lot of the places already have hooks that can be suitably utilised.
I dunno, I might give it a try later on and see how successful it ends up being, especially since a lot of the places already have hooks that can be suitably utilised.
4968
Plugins / Re: Lazy Load Inages
« on February 11th, 2012, 05:05 PM »
Installing Node.js on a server is a non trivial task, far more so than Ruby is - because Node.js isn't a drop-in for Apache or similar (unless they're doing something funkyweird in it) but that it conceptually IS the webserver as well as the application.
4969
The Pub / Re: Wap is that?
« on February 11th, 2012, 02:53 PM »
Thing is, WAP2 vs even something like Dragooon's theme, WAP2 is going to win in terms of bandwidth, and I would even argue it has the edge in terms of performance because you just don't have the elements loaded in the first place, hidden or otherwise, so it cannot be anything but faster.
That said, it might be viable to convert WAP2 into a plugin for those who really want it.
That said, it might be viable to convert WAP2 into a plugin for those who really want it.
4970
Plugins / Re: Lazy Load Inages
« on February 11th, 2012, 02:36 PM »Is there anything you have NOT discussed?? Oo
How could data-src not work well on IE..?
Ooh, the gallery is big on that.
4971
Plugins / Re: Lazy Load Inages
« on February 11th, 2012, 02:59 AM »
:whistle: http://wedge.org/pub/feats/7001/ideas-from-the-oddest-places/
In our case, the real bulk of images that this will affect are user supplied (pretty much all the base images are CSS driven), but I suppose it might make a difference.
Note that data-src is not wonderfully supported (IE, Imma looking atchu) but the idea is certainly worth experimenting with.
Also, please let me know if you have trouble with the buffer hook, because it's a buffer not a conventional hook and I have a slightly funny feeling it may not work properly.
In our case, the real bulk of images that this will affect are user supplied (pretty much all the base images are CSS driven), but I suppose it might make a difference.
Note that data-src is not wonderfully supported (IE, Imma looking atchu) but the idea is certainly worth experimenting with.
Also, please let me know if you have trouble with the buffer hook, because it's a buffer not a conventional hook and I have a slightly funny feeling it may not work properly.
4972
Features / Re: New revs
« on February 10th, 2012, 05:12 PM »
(41 files, 5KB)
Revision: 1313
Author: arantor
Date: 10 February 2012 16:12:13
Message:
! Minor typo in the moderation rules for 'matches' type matches. (Subs-Moderation.php)
! Attachments are no longer moderated on their own, but inherit the approval of the post they're attached to. As Nao says, if you want to have attachment approval, use the gallery. I *think* I got everything relating to attachment approvals and everything seems to work as expected at this point in time. (All the rest of the files in this commit.)
----
Modified : /trunk/SSI.php
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/Dlattach.php
Modified : /trunk/Sources/ManageAttachments.php
Modified : /trunk/Sources/ManageModeration.php
Modified : /trunk/Sources/ManagePermissions.php
Modified : /trunk/Sources/ModerationCenter.php
Modified : /trunk/Sources/MoveTopic.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/PostModeration.php
Modified : /trunk/Sources/Profile-View.php
Modified : /trunk/Sources/RemoveTopic.php
Modified : /trunk/Sources/ScheduledTasks.php
Modified : /trunk/Sources/Security.php
Modified : /trunk/Sources/Subs-Moderation.php
Modified : /trunk/Sources/Subs-Post.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/ModerationCenter.template.php
Modified : /trunk/Themes/default/Post.template.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/languages/EmailTemplates.english.php
Modified : /trunk/Themes/default/languages/EmailTemplates.french.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Errors.french.php
Modified : /trunk/Themes/default/languages/ManagePermissions.english.php
Modified : /trunk/Themes/default/languages/ManagePermissions.french.php
Modified : /trunk/Themes/default/languages/ModerationCenter.english.php
Modified : /trunk/Themes/default/languages/ModerationCenter.french.php
Modified : /trunk/Themes/default/languages/Post.english.php
Modified : /trunk/Themes/default/languages/Post.french.php
Modified : /trunk/Themes/default/languages/Reports.english.php
Modified : /trunk/Themes/default/languages/Reports.french.php
Modified : /trunk/Themes/default/languages/Who.english.php
Modified : /trunk/Themes/default/languages/Who.french.php
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/Themes/default/languages/index.french.php
Modified : /trunk/index.php
Modified : /trunk/other/install.sql
Modified : /trunk/other/unittest/tests/Class-UnitTest_tidyhtml.php
Revision: 1313
Author: arantor
Date: 10 February 2012 16:12:13
Message:
! Minor typo in the moderation rules for 'matches' type matches. (Subs-Moderation.php)
! Attachments are no longer moderated on their own, but inherit the approval of the post they're attached to. As Nao says, if you want to have attachment approval, use the gallery. I *think* I got everything relating to attachment approvals and everything seems to work as expected at this point in time. (All the rest of the files in this commit.)
----
Modified : /trunk/SSI.php
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/Dlattach.php
Modified : /trunk/Sources/ManageAttachments.php
Modified : /trunk/Sources/ManageModeration.php
Modified : /trunk/Sources/ManagePermissions.php
Modified : /trunk/Sources/ModerationCenter.php
Modified : /trunk/Sources/MoveTopic.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/PostModeration.php
Modified : /trunk/Sources/Profile-View.php
Modified : /trunk/Sources/RemoveTopic.php
Modified : /trunk/Sources/ScheduledTasks.php
Modified : /trunk/Sources/Security.php
Modified : /trunk/Sources/Subs-Moderation.php
Modified : /trunk/Sources/Subs-Post.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/Display.template.php
Modified : /trunk/Themes/default/ModerationCenter.template.php
Modified : /trunk/Themes/default/Post.template.php
Modified : /trunk/Themes/default/Profile.template.php
Modified : /trunk/Themes/default/languages/EmailTemplates.english.php
Modified : /trunk/Themes/default/languages/EmailTemplates.french.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Errors.french.php
Modified : /trunk/Themes/default/languages/ManagePermissions.english.php
Modified : /trunk/Themes/default/languages/ManagePermissions.french.php
Modified : /trunk/Themes/default/languages/ModerationCenter.english.php
Modified : /trunk/Themes/default/languages/ModerationCenter.french.php
Modified : /trunk/Themes/default/languages/Post.english.php
Modified : /trunk/Themes/default/languages/Post.french.php
Modified : /trunk/Themes/default/languages/Reports.english.php
Modified : /trunk/Themes/default/languages/Reports.french.php
Modified : /trunk/Themes/default/languages/Who.english.php
Modified : /trunk/Themes/default/languages/Who.french.php
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/Themes/default/languages/index.french.php
Modified : /trunk/index.php
Modified : /trunk/other/install.sql
Modified : /trunk/other/unittest/tests/Class-UnitTest_tidyhtml.php
4973
Features / Re: Post moderation
« on February 10th, 2012, 04:05 PM »
Egad... now I realise the full horror of some of the internals.
The permissions I need to think about, because the permissions as set up can actually tell a user *before they try to post* that the post will be moderated. Need to figure out if there's a way I can quickly derive a subset that will be able to warn users ahead of schedule.
Meanwhile... {db_prefix}approval_queue is going to need some surgery, especially since it still actually has a calendar field in it >_<
The permissions I need to think about, because the permissions as set up can actually tell a user *before they try to post* that the post will be moderated. Need to figure out if there's a way I can quickly derive a subset that will be able to warn users ahead of schedule.
Meanwhile... {db_prefix}approval_queue is going to need some surgery, especially since it still actually has a calendar field in it >_<
4974
Features / Re: Post moderation
« on February 10th, 2012, 03:23 PM »
Well, I'm currently in the middle of stripping out attachment approval stuff, and while I'm not sure we need the 'post has attachments' rules at this stage, I'll certainly bear them in mind for later :)
4975
Features / Re: Post moderation
« on February 10th, 2012, 02:34 PM »At 'worst', you can always add a rule saying 'if post has an attachment...'. Maybe even extra rules like 'attachment over X bytes', 'attached image over X pixels' or 'attachment that is of the image/doc/zip type'.
4976
Features / Re: New revs - Public comments
« on February 10th, 2012, 01:22 PM »
I'll fix it locally, I have other stuff to add yet ;)
4977
Features / Re: New revs - Public comments
« on February 10th, 2012, 12:52 PM »Or, just change the text string to say "starts with regex"...?
4978
Features / Re: New revs - Public comments
« on February 10th, 2012, 01:14 AM »
It's not the first commit from Nao regarding hooks. Nao was the one who added the facility for hooks to be able to load files, and to fix the bugs in the initial versions of add_integration_function in SMF where sometimes you'd end up with things being registered when they weren't supposed to be.
4979
Features / Re: New revs
« on February 9th, 2012, 11:19 PM »
(5 modified, 2KB)
Revision: 1309
Author: arantor
Date: 09 February 2012 22:19:29
Message:
! Stupid bug from a missed $modSettings change. (Post2.php)
+ Regexp match on body/subject filter is more capable now, instead of just blindly searching for regexp matches, it's possible to separate out (for UI purposes, mostly) whether to match based on start/end/contained-by/full-match, and do that in a case sensitive or insensitive fashion. But full regexp is still available for complex cases. (ManageModeration.php, Subs-Moderation.php, ManageModeration.template.php, ManageSettings language file)
----
Modified : /trunk/Sources/ManageModeration.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/Subs-Moderation.php
Modified : /trunk/Themes/default/ManageModeration.template.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
Revision: 1309
Author: arantor
Date: 09 February 2012 22:19:29
Message:
! Stupid bug from a missed $modSettings change. (Post2.php)
+ Regexp match on body/subject filter is more capable now, instead of just blindly searching for regexp matches, it's possible to separate out (for UI purposes, mostly) whether to match based on start/end/contained-by/full-match, and do that in a case sensitive or insensitive fashion. But full regexp is still available for complex cases. (ManageModeration.php, Subs-Moderation.php, ManageModeration.template.php, ManageSettings language file)
----
Modified : /trunk/Sources/ManageModeration.php
Modified : /trunk/Sources/Post2.php
Modified : /trunk/Sources/Subs-Moderation.php
Modified : /trunk/Themes/default/ManageModeration.template.php
Modified : /trunk/Themes/default/languages/ManageSettings.english.php
4980
Development blog / Re: Back in the Saddle
« on February 9th, 2012, 08:28 PM »
At some point I'd add that but not right now, as discussed in more depth in the main discussion about this in the Features board.