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.
1006
Plugins / [Plugin] Re: Notifications system (1.0)
« on April 10th, 2013, 10:52 PM »
Yes, I gave it permission. I may be many things but not that naive (I hope :P)
1007
Features / Moderation Centre overhaul
« on April 10th, 2013, 01:49 PM »
So, I've been thinking about what to do with this. The moderation centre is one of those things that the other platforms have and yet I find all of them fairly depressing and uninteresting places. I'd like to say they were functional, but I'm not even sure that's entirely true. I certainly know of no-one who actually *likes* SMF's mod centre.
I have already made some changes, stripping out the way warning history was shown and removing the latest news block[1] but the more I look, the more I think a deeper change is actually required.
So, here's what I'm thinking. I expect to keep a mod centre, as such, but substantially transform how we interact with it. First up, not on the menu. I'm not convinced you need to access it that regularly. In fact, what I want to do is pull it onto the board index.
Have each major section (reported posts, membergroup requests, unapproved posts) as a virtual board. Not physical boards (too messy, causes unnecessary extra logic elsewhere in ensuring access is maintained etc.) but virtual ones, that don't consume ids, but appear on the board index. This would also mean having an idea of whether there are new things to read or not but this doesn't strike me as a significant deal.
More interestingly this would probably encourage people to actually get involved with things there because they'd know what was going on.
Then pull the logs (warning log, moderation log) as 'sub-boards'. Mechanically would be redirection boards without having to do an actual redirection. Not hard (SimpleDesk did it)
As for placement. I think I'd be inclined to keep it as a single category that the admin can move around. But if people *really* feel a burning need for it to be per-board placement that's something we can work on.
I'd also be inclined to pull this stuff into the unread posts area too if there are new items not yet read. I'd want to keep them separate from the rest of the unread items, so there's no need to splice the two together.
As far as anything else goes, for the most part it would function much as it does right now, though I'd probably clean up the look to be more like other areas.
One last idea, food for thought... do we want to get into the situation where a user who opened a report can be allowed to comment on it later?[2]
I have already made some changes, stripping out the way warning history was shown and removing the latest news block[1] but the more I look, the more I think a deeper change is actually required.
So, here's what I'm thinking. I expect to keep a mod centre, as such, but substantially transform how we interact with it. First up, not on the menu. I'm not convinced you need to access it that regularly. In fact, what I want to do is pull it onto the board index.
Have each major section (reported posts, membergroup requests, unapproved posts) as a virtual board. Not physical boards (too messy, causes unnecessary extra logic elsewhere in ensuring access is maintained etc.) but virtual ones, that don't consume ids, but appear on the board index. This would also mean having an idea of whether there are new things to read or not but this doesn't strike me as a significant deal.
More interestingly this would probably encourage people to actually get involved with things there because they'd know what was going on.
Then pull the logs (warning log, moderation log) as 'sub-boards'. Mechanically would be redirection boards without having to do an actual redirection. Not hard (SimpleDesk did it)
As for placement. I think I'd be inclined to keep it as a single category that the admin can move around. But if people *really* feel a burning need for it to be per-board placement that's something we can work on.
I'd also be inclined to pull this stuff into the unread posts area too if there are new items not yet read. I'd want to keep them separate from the rest of the unread items, so there's no need to splice the two together.
As far as anything else goes, for the most part it would function much as it does right now, though I'd probably clean up the look to be more like other areas.
One last idea, food for thought... do we want to get into the situation where a user who opened a report can be allowed to comment on it later?[2]
| 1. | Seriously, what was up with that? I don't know any moderator that would be able to use that information, since only the admin could do anything with it. Was the hope that admins would magically be able to see it and do something with it? |
| 2. | I know at least one person asked me for a facility in SimpleDesk where reported posts would be diverted to the helpdesk for that very reason. |
1008
Plugins / [Plugin] Re: Notifications system (1.0)
« on April 10th, 2013, 01:31 PM »
Other than being Webkit only, and don't actually appear to work for me (the example about grabbing tweets from Twitter didn't show me a single notification even when I specifically gave it one to test)
1009
Features / Re: Mail entities and stuff.
« on April 10th, 2013, 01:15 PM »
Problem: stuff can be passed through sendmail TWICE. You'd have to ensure it's only passed to the rewrite function the first time. (Look in the source for mentions of the 'hotmail_fix', since that's the trigger to send it through again)
As far as special handling goes, you're right. You're absolutely right. Consider: if a post contains these things, it's still going to get sent so why should it matter if $txt contains them too?
As far as special handling goes, you're right. You're absolutely right. Consider: if a post contains these things, it's still going to get sent so why should it matter if $txt contains them too?
1010
Features / Re: Things I'm currently working on... (And not making progress on.)
« on April 10th, 2013, 03:51 AM »
Just to add, this commit is now 43 modified, 4 added >_< And it's possibly going to get even worse yet. I think I can stave off much more in the way of profile structure changes (other than already documented), which is basically moving things around.
But I can see I will need to do something with the moderation area which means I might have to figure out what to do with the moderation centre if nothing else. I have a few interesting ideas on how to tackle this, which will help. But I think it'll all end up having to be one mahoosive commit :(
But I can see I will need to do something with the moderation area which means I might have to figure out what to do with the moderation centre if nothing else. I have a few interesting ideas on how to tackle this, which will help. But I think it'll all end up having to be one mahoosive commit :(
1011
Plugins / [Plugin] Re: Notifications system (1.0)
« on April 9th, 2013, 05:09 PM »You don't have to use permissions for that...
I'd say there are things that should be left to the user's discretion, rather than the admin's.
Oh, I agree, but there are things admins will want to change the defaults for. For example, there is currently no way to reset the default PM mode from the admin panel. Nor is there a way to override notifications to set things for people by default (the number of people who want to opt everyone in to notifications on everything is slightly frightening but there are some legitimate cases for it)
For instance, what if I don't want users to access my profile? Or I'm okay with that, but not with reading my latest posts? Or my galleries? Or my posting statistics..?
Things that can be stored in data fields:
- topic data: set a 'fallback' topic for a particular topic; if it's locked, Quote and Reply buttons will still show up, but will be redirect to said fallback topic.
Though the concept of a fallback topic is an interesting one. I'm not sure what the UI would look like but it's interesting nonetheless. What Elk proposes is 'quote to new topic' which is a different variation on the theme.
Of course, all that matters here, is making a suitable UI for these... And I'm not exactly the greatest at UIs, I'm afraid, so it's not even in my to-do list I think...!
Posted: April 9th, 2013, 04:41 PM
Actually, I'd quite like a data field on messages too, I can have some fun warning stuff in there, but I can safely live without that for now ;)
1012
Plugins / [Plugin] Re: Notifications system (1.0)
« on April 9th, 2013, 04:14 PM »
Yes, that was intentional - but we can't really remove it until we also fix up notifications for topics and replies and stuff (and have a way for users to unsubscribe from boards/topics/whatever on a selective basis)
1013
Features / Re: Things I'm currently working on... (And not making progress on.)
« on April 9th, 2013, 04:11 PM »
Ugh this is getting complicated.Quote I had a look at that last night while trying to figure out what to do with the profile area, and I actually find it a bit confusing to navigate - there's just so much there to look at. (Mind you, it's still nowhere near as bad as vB 3's profile area which is even more complicated)
What I'm planning on right now is not a serious overhaul, not really, more just moving things around a bit. For instance so far I turned 'Actions' into 'Manage Account', moving Account Settings, Track User, Group Membership, Show Permissions and the new Infractions entry on it.
I'm also thinking about splitting the forum profile stuff into a few pages, perhaps signature on its own page complete with shiny bbcode editor and preview function. But that's as far as I've got with it.Quote Of course I looked it up. It uses ISO-630-1, but only a specific subset of that for countries that are supported. The key point, which doesn't matter for the three languages we have right now, is that it's supposed to be the country, not the language, that is referenced. If you look back at the older commits showing the list of old languages => code mappings, you'll see for example I ended up mapping Arabic to a country because 'Arabic' doesn't have a matching country code.Quote Seems to me to add more complexity than is actually necessary :/Quote We're talking about two different things. You're talking about the rel="alternate" language indicator, I'm talking about the one on the <html> element itself. rel="alternate" can just use the locale setting with _ replaced with -, while the <html> element one has to conform to the proper language code.Quote That's something else then. It has never randomly disabled itself for me, not once. Nor have plugins, actually.
The rule for disabling a plugin is straightforward; on startup, it looks at the list of plugins that are currently enabled, and verifies that the folder exists and that folder/plugin-info.xml exists. If either of these fail for any reason, the plugin will be disabled. But these are the only circumstances that should be causing automatic dropout of plugins.
Re: profile area, all I'd like to say is that my plans for it are to make it close to the noisen.com profile style, i.e. have more info on the main page, and/or split stuff into immediately-loaded tabs, and more importantly, have a preview of the last couple of posts they sent. Perhaps we can do without profile comments at this point (1.0), though...
What I'm planning on right now is not a serious overhaul, not really, more just moving things around a bit. For instance so far I turned 'Actions' into 'Manage Account', moving Account Settings, Track User, Group Membership, Show Permissions and the new Infractions entry on it.
I'm also thinking about splitting the forum profile stuff into a few pages, perhaps signature on its own page complete with shiny bbcode editor and preview function. But that's as far as I've got with it.
NB: is it me, or does lang_paypal always match the region code...? I suppose you looked it up first, right..?
I'd suggest going for a route that tests whether two languages have the same two-letter code
I looked into the w3 standards page, and it got complicated... They only give two-letter examples, but the format specifies a Language-Code, which in turn links to a page that explains it can either be a two-letter code, or anything that's acceptable, such as 'en-GB', or even 'x-klingon'... (Ah, geeks...)
- In a similar fashion, the debug option in the admin area, the one that shows debug info at the bottom of the page, regularly disables itself in my local install. I've never, ever disabled it manually. But I just had a look, and no surprise, it's disabled. I remember re-enabling it two weeks ago... Always enabling db_show_debug, not touching the other options (e.g. 'Admin only')...
The rule for disabling a plugin is straightforward; on startup, it looks at the list of plugins that are currently enabled, and verifies that the folder exists and that folder/plugin-info.xml exists. If either of these fail for any reason, the plugin will be disabled. But these are the only circumstances that should be causing automatic dropout of plugins.
1014
Features / Re: Things I'm currently working on... (And not making progress on.)
« on April 9th, 2013, 06:21 AM »
I've done some jiggling of the menu arrangement, I'm almost happy with what I have, but I'm seriously contemplating doing what I did with the admin menu, as in a nice shiny happy icons arrangement... Similar to http://custom.simplemachines.org/mods/index.php?mod=698 but not quite the same.
1015
Features / Sources/notifiers
« on April 9th, 2013, 05:33 AM »
I'd kind of like to see Sources get a new folder to put new (core) notifiers in. Right now there's only the Likes notifier in core but I'm expecting things like personal messages and replies and stuff get (core) notifiers and I think having that in its own folder would be nice and tidy.
Only really affects me, Nao, Dragooon and anyone else who uses/makes core notifiers.
Only really affects me, Nao, Dragooon and anyone else who uses/makes core notifiers.
1016
Features / Re: Things I'm currently working on... (And not making progress on.)
« on April 9th, 2013, 05:29 AM »
OK, so I've hit something of a wall... I'm going to need to make more extensive changes than I thought because of the mess (and it is a mess, frankly) that is the profile area. It seems all over the place, like having separate view/issue warning areas. While I'm diving in there, I'm going to be making broader changes to reorganise things. I'll be talking more about this when I get there!
1017
Off-topic / Re: Doctor Who
« on April 9th, 2013, 03:47 AM »
And the best bit is that the epic speech was completely lampshaded by a much more powerful emotional moment.
1018
Features / Re: Miscellaneous/WIP screenshots
« on April 9th, 2013, 12:18 AM »Pete, do you mean you've modified the template header..?
// If the user is banned from posting, inform them of it.
elseif (!$showed_banned && isset($_SESSION['ban']['cannot_post']))
{
$showed_banned = true;
echo '
<div class="windowbg wrc alert" style="margin: 2ex; padding: 2ex; border: 2px dashed red">
', sprintf($txt['you_are_post_banned'], we::$is_guest ? $txt['guest_title'] : we::$user['name']);
if (!empty($_SESSION['ban']['cannot_post']['reason']))
echo '
<div style="padding-left: 4ex; padding-top: 1ex">', $_SESSION['ban']['cannot_post']['reason'], '</div>';
if (!empty($_SESSION['ban']['expire_time']))
echo '
<div>', sprintf($txt['your_ban_expires'], timeformat($_SESSION['ban']['expire_time'], false)), '</div>';
else
echo '
<div>', $txt['your_ban_expires_never'], '</div>';
echo '
</div>';I'm still not really in a position to commit anything so it's not like there's any immediate pressure on it - the reality is that even after I get it completed, there's going to be a *lot* of testing going on.
I can understand hiding the full set of flags by default if we have many, 3 may be a tad too many, but what to replace it with..? A flag of the current language, plus an arrow to indicate a popup can be shown...?
1019
Features / Re: Things I'm currently working on... (And not making progress on.)
« on April 8th, 2013, 07:01 PM »Yes, good!
It's still saying hreflang="en" in index.template.php, should I update it myself..? Just so I don't forget...
I've been fighting for half an hour on my local install trying to figure out why my notifications disappeared. Turns out if was because all plugins had been disabled. Then I re-enabled them, played again, and ten minutes later... Bam, they were disabled, once again, all of them! I don't know why... The only thing I did today, was to move my forum to a different folder, and update the database to reflect it. I can understand the first time they got disabled, but not the second...
I'm still not sure what the difference is going to be between warning and infractions, but I trust it'll be better...
Oh, regarding that... I've split it into three different functions, return_raw, return_xml and return_json, which do exactly what they say. It adds about 120 bytes to the source file, but it also has the benefit of variable parameters, so... It's all good I'm guessing. I chose camel_case because, well, redirectexit doesn't say redirectExit, does it..? :^^;: And that's a bit similar to it, I'd say...
1020
Features / Re: Miscellaneous/WIP screenshots
« on April 8th, 2013, 06:47 PM »
Also, I played around with the display, making the notification bit full width rather than partial width, and collapsing the different languages by default.