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.
181
Archived fixes / Re: Send a message, reply to a message
« on July 18th, 2013, 09:06 AM »
Well, that's kind of what drove me to the thought above, I know it works when there's a buddy in the contact list, but I can envisage no buddies = a call to lMD with no items in it... hence the error in question (note that I did check the error log here so I know it is related to an empty list being sent to lMD and lMD not returning until after it's tried to do the query because it never actually tests that the requested list is non-empty)
182
Archived fixes / Re: Send a message, reply to a message
« on July 18th, 2013, 08:02 AM »
Looks at first glance like a bug in the contact-list code sending an empty list to loadMemberData, or lMD not filtering an empty list and returning safely. Or both.
Also your assertion is vastly incorrect, almost no software uses ?action=something URLs.
Also your assertion is vastly incorrect, almost no software uses ?action=something URLs.
183
Archived fixes / Re: Password flood bug from rev 1879
« on July 18th, 2013, 07:18 AM »
I think SMF's is right and I forgot to reverse the sign when rewriting it.
184
Features / Re: More sidebar complications...
« on July 18th, 2013, 06:24 AM »
Regarding the PS... running OS X on virtual machines is tricky at best. VirtualBox just sits there and complains if you try to run OS X as a guest VM when you're not already on OS X (I tried this before)
185
Archived fixes / Re: Password flood bug from rev 1879
« on July 18th, 2013, 06:22 AM »
OK, quick history. It was a bug in SMF 2.0.x, patched in the 2.0.4 patch as per http://custom.simplemachines.org/upgrades/index.php?action=upgrade;file=smf_patch_2.0.4.tar.gz;smf_version=2.0.3 (see the edit to LogInOut)
Now, if I remember rightly, the issue stemmed from the situation where the system tried to prevent ongoing brute forcing of an account; in theory you're supposed to have a few attempts before you're pushed to the account reminder page, but if those attempts to log in aren't within a given period of time, you're free to do it again. This is fine because it's a balance between account access and security and not preventing legitimate users from being adversely affected.
I think I was trying to make it more readable than the SMF version at the time. Oh, and no, the Elk version is not magically 'more readable', packing more crap into fewer lines does not make it more readable. I deliberately tried to make it *easier* to read rather than having to make sense of all the combinations of brackets, however it looks like I screwed up the operator ordering.
Now, if I remember rightly, the issue stemmed from the situation where the system tried to prevent ongoing brute forcing of an account; in theory you're supposed to have a few attempts before you're pushed to the account reminder page, but if those attempts to log in aren't within a given period of time, you're free to do it again. This is fine because it's a balance between account access and security and not preventing legitimate users from being adversely affected.
I think I was trying to make it more readable than the SMF version at the time. Oh, and no, the Elk version is not magically 'more readable', packing more crap into fewer lines does not make it more readable. I deliberately tried to make it *easier* to read rather than having to make sense of all the combinations of brackets, however it looks like I screwed up the operator ordering.
186
Features / Re: More sidebar complications...
« on July 17th, 2013, 03:23 AM »
So, here we are in a hotel room with decent wifi and we thought we'd check out the sidebar. We have an iPad 2 and an iPad 3 (so, one 1024x768 and one 2048x1536 retina display) both running Safari with iOS 6.1.3, neither has been modified or running dev code at this time.
Here's where it gets funky. On the iPad 3 (retina one), I don't see a sidebar displayed, even in landscape. It's hidden and I have to unhide it, which is fine. The iPad 2 on the other hand, shows the sidebar all the time, even in portrait mode, even after refreshing the page. Both iPads are using wedge.org while logged in so it's not a guest account vs member account. Admittedly the other account is not a beta tester or admin but I fail to see why that would make a difference.
Also, I assume the sidebar button is positioned at the top of the viewport when going to a page? I don't entirely know what is intended but here's what I'm seeing on iPad 3: the button appears at the top of the page for wherever I go to. So for this page for example, I came here from other navigation and arrived at #new, so looking at the last post and the sidebar button is aligned with the last post.
Now, aligning it with the top of the page when the user lands somewhere is neat - provided it follows them. Otherwise they could easily jump to the mid point of a page and then not be able to find the sidebar again because the button is somewhere on the page. Now, if it is supposed to follow my movements, it's not doing that. I did, while writing a long post, see the sidebar button manifest itself on the far right of the page just above the quick reply area, but only for a short while before it disappeared to who knows where - I was writing a long post and didn't see where it went.
Wait, if I'm in the editor and delete a line of text, such that I force the content to come back down to me (e.g. long post, I double-hit enter to make new lines then delete those lines) the button will appear on the far right of the page but will move if I cause the editor to scroll in any direction.
It's interesting but it seems unreliable to me :( (it's a shame because I can see how hard you've worked but I keep finding things that cause it to break)
Here's where it gets funky. On the iPad 3 (retina one), I don't see a sidebar displayed, even in landscape. It's hidden and I have to unhide it, which is fine. The iPad 2 on the other hand, shows the sidebar all the time, even in portrait mode, even after refreshing the page. Both iPads are using wedge.org while logged in so it's not a guest account vs member account. Admittedly the other account is not a beta tester or admin but I fail to see why that would make a difference.
Also, I assume the sidebar button is positioned at the top of the viewport when going to a page? I don't entirely know what is intended but here's what I'm seeing on iPad 3: the button appears at the top of the page for wherever I go to. So for this page for example, I came here from other navigation and arrived at #new, so looking at the last post and the sidebar button is aligned with the last post.
Now, aligning it with the top of the page when the user lands somewhere is neat - provided it follows them. Otherwise they could easily jump to the mid point of a page and then not be able to find the sidebar again because the button is somewhere on the page. Now, if it is supposed to follow my movements, it's not doing that. I did, while writing a long post, see the sidebar button manifest itself on the far right of the page just above the quick reply area, but only for a short while before it disappeared to who knows where - I was writing a long post and didn't see where it went.
Wait, if I'm in the editor and delete a line of text, such that I force the content to come back down to me (e.g. long post, I double-hit enter to make new lines then delete those lines) the button will appear on the far right of the page but will move if I cause the editor to scroll in any direction.
It's interesting but it seems unreliable to me :( (it's a shame because I can see how hard you've worked but I keep finding things that cause it to break)
187
Archived fixes / Re: Ignoring Users
« on July 17th, 2013, 02:23 AM »
Well, there are several things that apply to this.
Firstly, yes, as far as I'm concerned it is a bug. I believe (though I can't remember for certain) that SMF hid the signature too under those circumstances. If it doesn't, it should. I agree that Wedge should.
However, for the abusive signature thing, there are other things to consider. Namely that if the signature is irritating, there are recourses available to site managers that aren't in SMF, namely if a signature is huge and irritating, the odds are that it's going to generate a warning for someone - whereupon the warning system will allow a moderator or admin to issue a warning just to remove the signature. Of course, if the admin or moderator is abusing their power, there's not really a great deal you can do about it.
Don't forget that you have the option to hide everyone's signature, which may or may not be appropriate.
Perhaps there is grounds for a 'hide this person's signature' without hiding their posts.
Firstly, yes, as far as I'm concerned it is a bug. I believe (though I can't remember for certain) that SMF hid the signature too under those circumstances. If it doesn't, it should. I agree that Wedge should.
However, for the abusive signature thing, there are other things to consider. Namely that if the signature is irritating, there are recourses available to site managers that aren't in SMF, namely if a signature is huge and irritating, the odds are that it's going to generate a warning for someone - whereupon the warning system will allow a moderator or admin to issue a warning just to remove the signature. Of course, if the admin or moderator is abusing their power, there's not really a great deal you can do about it.
Don't forget that you have the option to hide everyone's signature, which may or may not be appropriate.
Perhaps there is grounds for a 'hide this person's signature' without hiding their posts.
188
The Pub / Re: Decluttering/rejigging the top menu a little
« on July 13th, 2013, 12:53 PM »
Hmm. That could get quite expensive... is there not a way we can combine the inserts together? Or perhaps have a situation where the notifications system can be told not to do it and let the calling context manage it for bulk cases? (For newsletters, there's already stop/resume code, adding more to that is not a huge issue)
189
The Pub / Re: Decluttering/rejigging the top menu a little
« on July 13th, 2013, 08:57 AM »
Something like this but prettier. Your inbox would be available in a dropdown like the notifications stuff is. Don't know about the profile area. It's late, I've been crunching a lot of code today and my brain hurts (and I'm supposed to be sleeping as we're supposed to be off in like 4 hours time and I'm not 100% packed yet!)
I'd encourage Logout be moved up there too but short of putting it under the user's name, I didn't know where to put it. Avatar is optional.
I'm thinking in mobile mode we might actually have them running vertically rather than horizontally.
I'd encourage Logout be moved up there too but short of putting it under the user's name, I didn't know where to put it. Avatar is optional.
I'm thinking in mobile mode we might actually have them running vertically rather than horizontally.
190
The Pub / Re: Decluttering/rejigging the top menu a little
« on July 13th, 2013, 08:09 AM »
I think I should do a mockup of how I think it should look, that would probably help a great deal. Certainly better than the fart-arsing I've been doing all day! (And the code's still buggy with a bug I can't fix without reorganising a vast amount of code which I really don't have time for right now, bah!)
191
The Pub / Re: Decluttering/rejigging the top menu a little
« on July 12th, 2013, 05:45 PM »Or you can just revert the responsive sidebar to the dull one, if you're so insistent that you don't like my new ones...
Rest of the post = TL;DR for now.
Re: footnotes, I thought they already behave like that for any block type or something..?
* Arantor stops trying to convey the essence of what he was trying to say, has a site to finish building, laters.
192
Other software / Re: Powered by SMF footer
« on July 12th, 2013, 05:34 PM »But when it comes to SMF itself, I'm sure if it became more widespread, bots would simply get smarter and look for ?action=whatever in the URL, or whatever is SMF-only that doesn't relate to using footer text, really...
As opposed to a straight up Google search for the phrase 'powered by SMF' which will guarantee to find you SMF installations. By the way, Xrumer knows about this. It also does similar for the other main forum software.
Removing the credit is something that can be done for SMF, but not for Wedge -- unless we establish some kind of paid 'authorization' to do that per site, right now there's no other way to get known (and thus used) than through this kind of exposition, of course...
193
Other software / Powered by SMF footer
« on July 12th, 2013, 09:43 AM »
Something I've been noticing for a while, but it's only recently that I've had enough information to form any kind of hypothesis about it.
The biggest way of sites getting found is by having the 'Powered by SMF' in the footer. Not a specific version but simply that footer. I have a number of SMF sites that have questions that haven't been changed in months - but that the bots just haven't found the sites. All the sites are in Google but they're not being picked up by the spam bots at all.
It's one more trait to discouraging spam, giving them something less to target. The other software has essentially the same problem: if you have powered-by-whatever in the footer that's common to most installs, it's an easy way to be found.
Of course, this is at odds with the implied advertising of software where the footer is used to indicate what the software is that the site is running in order to get some cheap promotion, but perhaps it's reason to consider something else instead that can't be searched by Google. I don't know what that would entail at this stage but it's something to think about. Meanwhile I'm quite happy being low-spam ;)
The biggest way of sites getting found is by having the 'Powered by SMF' in the footer. Not a specific version but simply that footer. I have a number of SMF sites that have questions that haven't been changed in months - but that the bots just haven't found the sites. All the sites are in Google but they're not being picked up by the spam bots at all.
It's one more trait to discouraging spam, giving them something less to target. The other software has essentially the same problem: if you have powered-by-whatever in the footer that's common to most installs, it's an easy way to be found.
Of course, this is at odds with the implied advertising of software where the footer is used to indicate what the software is that the site is running in order to get some cheap promotion, but perhaps it's reason to consider something else instead that can't be searched by Google. I don't know what that would entail at this stage but it's something to think about. Meanwhile I'm quite happy being low-spam ;)
194
The Pub / Decluttering/rejigging the top menu a little
« on July 12th, 2013, 09:24 AM »
Suggestion, sort of sparked by something Antechinus said on Elk: bringing the profile and PM stuff under one heading...
How about we bring a new top level menu item into play, whose top level heading is the user's own display name? Under it would be the profile stuff, plus the PM stuff and if we wanted to go really crazy we could put the notifications thing there too. Or bring it all together under the notifications popup.
This has a lot of interesting implications that all tie together - I guess the comment I made about the menu bar being hidden on mobile fell into the ether.
So, let's back up. If you're on mobile, you won't see the menu bar because it'll be in the sidebar and most people won't check that because that's how most people are. If they can't see it, they won't check it most of the time simply because if it's not there, it's not relevant to them.[1] And so people who predominantly use mobile won't see that they have personal messages.
Solution 1: send a notification about PMs. It reduces the priority of having messages in the top level menu, there's simply less burning need to have them up there (though I'm not saying they have to go, but they do get to lose some of their otherwise premium status)
Solution 2: pull profile and PMs out of the menu. Pull them up by the notifications area. Maybe even give PMs a similar interface to the notifications one for showing the inbox, and a similar set of controls for configuration and sending a new message. We can also refit the access-to-own-profile from there and make it easier for people to get to their own configurable items. I'm thinking this would ultimately be in line with overhauling the profile anyway.
Solution 2 means we get to separate the profile and messages items which don't really fit in the menu anyway if you stop and think about it, they're just there because there isn't anywhere else for them and it means we have less need to pull the menu out of page layout in mobile because there's less of it and it means what gets up there can be more meaningful to the *site*.
Consider: you get to show: Home, Admin, Media, Members, Logout. (We could even move the login/out options up there, too) Unlike the profile and so on which relate to YOU, these things relate to the SITE. To me this just makes more sense to have as principle navigation. We can still do PMs-getting-notifications and in fact probably should convert it to that if feasible[2] and that would also solve some issues WRT navigation if the menu bar is going to be hidden. (And we get to streamline preferences for PMs, potentially, if not. I dunno. I just think it'd be a nice way to tackle it.)
Pulling this stuff off the menu also means that we don't do weird things like highlighting the profile tab when you're not viewing your own profile which seems semi logical a thing to do but it's also not really so logical when you stop to think about it. The button is highlighted even though you're not actually *there*, on the place you'd be if you'd pressed the button yourself.
As a follow-on to this, I'd consider putting a 'What's new' option or similar on the menu in their place. I'm not sure whether that would be pulling in Unread Posts or Unread Replies or both in some fashion but I'd certainly bring them out of the sidebar to that point.
At this point I'm mindful that the sidebar is increasingly for 'less important content' in which case I'm trying to discourage major navigational items from being hidden - unread posts/unread replies is useful navigation, if not quite as 'major' as perhaps it might be. But if it were on the top level menu, that makes things a bit different.[3]
And now, just because it's that point in time, I'm going to invoke the devil just to reinforce my point.
(click to show/hide)
If it makes you feel any better you can safely ignore the spoiler above and let the arguments stand on their merit. But if you can tolerate my pointing out what the competition does and why they do it and why we should follow a similar path, read it.
@Nao: Random question. I was going to use footnotes in the above spoiler tag but then I realised that footnotes will be pulled out of the spoiler and into the footer list along with the rest. Should footnotes adhere to the same parenting like they do with quotes (i.e. staying inside the quote they were made in?) or have their current behaviour?
How about we bring a new top level menu item into play, whose top level heading is the user's own display name? Under it would be the profile stuff, plus the PM stuff and if we wanted to go really crazy we could put the notifications thing there too. Or bring it all together under the notifications popup.
This has a lot of interesting implications that all tie together - I guess the comment I made about the menu bar being hidden on mobile fell into the ether.
So, let's back up. If you're on mobile, you won't see the menu bar because it'll be in the sidebar and most people won't check that because that's how most people are. If they can't see it, they won't check it most of the time simply because if it's not there, it's not relevant to them.[1] And so people who predominantly use mobile won't see that they have personal messages.
Solution 1: send a notification about PMs. It reduces the priority of having messages in the top level menu, there's simply less burning need to have them up there (though I'm not saying they have to go, but they do get to lose some of their otherwise premium status)
Solution 2: pull profile and PMs out of the menu. Pull them up by the notifications area. Maybe even give PMs a similar interface to the notifications one for showing the inbox, and a similar set of controls for configuration and sending a new message. We can also refit the access-to-own-profile from there and make it easier for people to get to their own configurable items. I'm thinking this would ultimately be in line with overhauling the profile anyway.
Solution 2 means we get to separate the profile and messages items which don't really fit in the menu anyway if you stop and think about it, they're just there because there isn't anywhere else for them and it means we have less need to pull the menu out of page layout in mobile because there's less of it and it means what gets up there can be more meaningful to the *site*.
Consider: you get to show: Home, Admin, Media, Members, Logout. (We could even move the login/out options up there, too) Unlike the profile and so on which relate to YOU, these things relate to the SITE. To me this just makes more sense to have as principle navigation. We can still do PMs-getting-notifications and in fact probably should convert it to that if feasible[2] and that would also solve some issues WRT navigation if the menu bar is going to be hidden. (And we get to streamline preferences for PMs, potentially, if not. I dunno. I just think it'd be a nice way to tackle it.)
Pulling this stuff off the menu also means that we don't do weird things like highlighting the profile tab when you're not viewing your own profile which seems semi logical a thing to do but it's also not really so logical when you stop to think about it. The button is highlighted even though you're not actually *there*, on the place you'd be if you'd pressed the button yourself.
As a follow-on to this, I'd consider putting a 'What's new' option or similar on the menu in their place. I'm not sure whether that would be pulling in Unread Posts or Unread Replies or both in some fashion but I'd certainly bring them out of the sidebar to that point.
At this point I'm mindful that the sidebar is increasingly for 'less important content' in which case I'm trying to discourage major navigational items from being hidden - unread posts/unread replies is useful navigation, if not quite as 'major' as perhaps it might be. But if it were on the top level menu, that makes things a bit different.[3]
And now, just because it's that point in time, I'm going to invoke the devil just to reinforce my point.
XenForo does this. IPB does this. Facebook does this. They do essentially what I'm proposing because of the reasons I'm proposing them: you pull stuff that isn't about the site out of the place where site content navigation is and you pull them together. Alerts/notifications and your profile and so on should be out of the way of site content precisely because they're not site content. They're your content and only directly have relevance to you, not to everyone. So they don't belong in the navigation that everyone has.
There is a larger argument here. I'm not advocating copying the competition. I'm advocating taking the same path they did for the same reason they did. Because form follows function. The profile and PM functions are not site content. They shouldn't be with site navigation. If that includes log in/log out navigation too, fine. Just get them the hell out of the main menu because they don't belong there. Make site navigation for the site content, not the user content. Pull that stuff out the way into the top of the page where users will always have access to it (much as they already do, except currently on mobile), we have the room, we already have UI/UX precedent for it with notifications (implicitly a USER function not a SITE function) and language selection (which is totally a user function anyway) up there, let's finish it up with making it consistent.
If it makes you feel any better you can safely ignore the spoiler above and let the arguments stand on their merit. But if you can tolerate my pointing out what the competition does and why they do it and why we should follow a similar path, read it.
@Nao: Random question. I was going to use footnotes in the above spoiler tag but then I realised that footnotes will be pulled out of the spoiler and into the footer list along with the rest. Should footnotes adhere to the same parenting like they do with quotes (i.e. staying inside the quote they were made in?) or have their current behaviour?
| 1. | This is a killer reason why auto hiding the sidebar is actually a bad idea and if you remember it was the key reason I didn't want the notifications in the sidebar, because being at the bottom means people aren't going to see it. The same argument can and should be made for the principle cross-site navigation: if it's hidden by default, it's a butt ache to navigate around. |
| 2. | Though I'm mindful of the consequences of this in terms of the code if you have PMs going to a bunch of people at once, especially if that's going to include announcements having the same code path. @Dragooon, what are your thoughts on this? How sane/insane is it to try and generate a large number of notifications for large numbers of users at a time? I know in the newsletter code we already have the continue/not-done code so we can stage it a bit better, but I'd rather not generate several queries for each notification if at all possible. But I don't remember how that part works. |
| 3. | See, then, if we kill those two items from the sidebar, we might as well remove the avatar from there too. Time too while we're at it. These things are simply not that useful, doubly so on a sidebar that only some users will even see anyway. |
195
Features / Re: More sidebar complications...
« on July 11th, 2013, 12:06 AM »
Yes it all appears to be working properly. I'm sorry that we didn't manage to reply within a reasonable feedback timeframe[1] but yes it is working properly on both desktop and iPad as far as I can tell with the few minutes of testing I've given it.
Also, side bug discovered with infinite scroll on a not-so-huge window, see attached.
Also, side bug discovered with infinite scroll on a not-so-huge window, see attached.
| 1. | We should add this as a rule, that all suggestions must have feedback within an hour and if no feedback is received, just proceed. Same with bug fixes, if no-one says it's got issues inside an hour, assume it's fixed. |