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.
4621
Bug reports / Re: SMF bug 4905 (signature length verified before preparsecode)
« on March 1st, 2012, 10:34 PM »
And most of the reason is to keep it inside the sig limit, I'd have used the site names if I had room...
4622
Features: Forward thinking / Re: Removing deprecated code
« on March 1st, 2012, 10:32 PM »
No, they won't upgrade yet. There are still hosts running 5.2 which is a few years old as it is.
4623
Bug reports / Re: SMF bug 4905 (signature length verified before preparsecode)
« on March 1st, 2012, 10:04 PM »
It seems a touch prone to abuse, partly because it means images and links can be spammed in ways not normally possible.
4624
Archived fixes / Re: Fixed SMF bugs
« on March 1st, 2012, 07:49 PM »
To a degree, this is why SMF always suggests use of repair_settings.php to fix everything.
As far as the attachment pruning, I seem to recall 0 being ignored as it falls foul of empty(), though it is a little unlikely to want to prune everything. I'm not sure it is a bug as a result. But I can look into it.
As far as the attachment pruning, I seem to recall 0 being ignored as it falls foul of empty(), though it is a little unlikely to want to prune everything. I'm not sure it is a bug as a result. But I can look into it.
4625
Archived fixes / Re: Fixed SMF bugs
« on March 1st, 2012, 05:58 PM »It's just an equivalent of (?!\w)
4626
Bug reports / SMF bug 4905 (signature length verified before preparsecode)
« on March 1st, 2012, 05:55 PM »
To clarify: preparsecode will do some operations to any bbcode to sanitise it (like strip 'html' bbcode from non admins), but it will also do expansions on things like /me and reformat certain URL type bbcodes to use full URLs.
This is a particularly tricky situation - because while a signature may be shorter than the limit, by the time it's preparsed it will may well go over the limit - and it may prevent subsequent saves to the signature too (if for example a URL is expanded, and it goes from limit - 1 to over the limit, you won't be able to save that signature even unchanged), and that's before we get into the realms of dealing with the line breaks becoming br tags.
What we might have to do is move the preparsecode before the length test, but proceed to flatten line breaks to a single character for the purposes of fairness.
This is a particularly tricky situation - because while a signature may be shorter than the limit, by the time it's preparsed it will may well go over the limit - and it may prevent subsequent saves to the signature too (if for example a URL is expanded, and it goes from limit - 1 to over the limit, you won't be able to save that signature even unchanged), and that's before we get into the realms of dealing with the line breaks becoming br tags.
What we might have to do is move the preparsecode before the length test, but proceed to flatten line breaks to a single character for the purposes of fairness.
4627
Archived fixes / Re: Fixed SMF bugs
« on March 1st, 2012, 05:45 PM »
Well, yeah, but doesn't prevent it being possible. I have encountered people doing numbers in bbcode in the past, doesn't seem to me as it would take much in the way of imagination for them to go one step further and use symbols given half a chance.
I have no idea if it would work or not, though ;)
I have no idea if it would work or not, though ;)
4628
Archived fixes / Re: Fixed SMF bugs
« on March 1st, 2012, 04:03 PM »
Yes, that is what it is ultimately about, however at the time (and now, really), I figured it was only about stopping those characters rather than \b, though \b should work just fine.
And actually, theoretically, there could be a bbcode that contains a character that matches \b... it would be ugly of course but not impossible.
And actually, theoretically, there could be a bbcode that contains a character that matches \b... it would be ugly of course but not impossible.
4629
Archived fixes / SMF bug 4742 (forum stats disabled but still accessible)
« on March 1st, 2012, 03:54 PM »
I'm inclined to agree - if the forum stats aren't being tracked, there's not really a lot of point leaving the page available.
Fixed in Wedge r1414.
Posted: March 1st, 2012, 03:48 PM
Fixed in Wedge r1414.
4630
Archived fixes / Re: SMF bug 4755 (registration disabled still shows links to register)
« on March 1st, 2012, 03:54 PM »
Fixed in Wedge r1414.
4631
Archived fixes / SMF bug 4836: linktree_inline is missing
« on March 1st, 2012, 03:54 PM »
This is a quirky one. Back in the mists of time, you used to be able to get a linktree that looked like a folder tree (each line was a new row, with folders and branches and stuff) but it was removed in 2.0 - but there was some legacy code attached to it.
Now, RC4 removed the actual UI option for it but left the lang string and a few related bits, but they can all go as well.
Fixed in Wedge r1414.
Now, RC4 removed the actual UI option for it but left the lang string and a few related bits, but they can all go as well.
Posted: March 1st, 2012, 03:17 PM
Fixed in Wedge r1414.
4632
Features / Re: New revs
« on March 1st, 2012, 03:53 PM »
(16 files, 5KB)
Revision: 1414
Author: arantor
Date: 01 March 2012 14:53:19
Message:
! SMF bug 4836 (linktree_inline legacy items) (install.sql, Display.php, MoveTopic.php, Post.php, Themes language file)
! SMF bug 4755 (registration disabled but links still shown) (SSI.php, index.template.php, Login.template.php, index and Login language files)
! SMF bug 4742 (forum stats disabled but still accessible) (Stats.php, Errors language file)
! Minor improvement to maintenance manage-members template. (ManageMaintenance.template.php)
----
Modified : /trunk/SSI.php
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/MoveTopic.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Stats.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/InfoCenter.template.php
Modified : /trunk/Themes/default/Login.template.php
Modified : /trunk/Themes/default/ManageMaintenance.template.php
Modified : /trunk/Themes/default/index.template.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Login.english.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/other/install.sql
Revision: 1414
Author: arantor
Date: 01 March 2012 14:53:19
Message:
! SMF bug 4836 (linktree_inline legacy items) (install.sql, Display.php, MoveTopic.php, Post.php, Themes language file)
! SMF bug 4755 (registration disabled but links still shown) (SSI.php, index.template.php, Login.template.php, index and Login language files)
! SMF bug 4742 (forum stats disabled but still accessible) (Stats.php, Errors language file)
! Minor improvement to maintenance manage-members template. (ManageMaintenance.template.php)
----
Modified : /trunk/SSI.php
Modified : /trunk/Sources/Display.php
Modified : /trunk/Sources/MoveTopic.php
Modified : /trunk/Sources/Post.php
Modified : /trunk/Sources/Stats.php
Modified : /trunk/Sources/Subs.php
Modified : /trunk/Themes/default/InfoCenter.template.php
Modified : /trunk/Themes/default/Login.template.php
Modified : /trunk/Themes/default/ManageMaintenance.template.php
Modified : /trunk/Themes/default/index.template.php
Modified : /trunk/Themes/default/languages/Errors.english.php
Modified : /trunk/Themes/default/languages/Login.english.php
Modified : /trunk/Themes/default/languages/Themes.english.php
Modified : /trunk/Themes/default/languages/Themes.french.php
Modified : /trunk/Themes/default/languages/index.english.php
Modified : /trunk/other/install.sql
4633
Archived fixes / Re: SMF bug 4755 (registration disabled still shows links to register)
« on March 1st, 2012, 02:34 PM »
The login page just asks them to login (I also took away the 'please register' link from there too) - but I suppose I could add a message telling them that registration is disabled.
What I'm inclined to do is leave it how it is right now (without the extra hint) and see how people feel about it in a practical environment.
What I'm inclined to do is leave it how it is right now (without the extra hint) and see how people feel about it in a practical environment.
4634
Archived fixes / Re: SMF bug 4755 (registration disabled still shows links to register)
« on March 1st, 2012, 02:25 PM »
But now at least there isn't a registration button, nor is there the 'Please login or register' message (it's now just 'Please login' for registration disabled)
4635
Bug reports / SMF bug 4887 (audio CAPTCHA doesn't work in IE9)
« on March 1st, 2012, 02:22 PM »
Well... this one's curious. It's not for the same reason as SMF has, that it doesn't work. The popup has a broken object in it - and there are params present, so I'm not entirely sure what the problem is but it is broken in IE9 (though the direct link works fine)
The popup is also too small in both FF and IE9 causing it to have scrollbars (which has an... interesting... effect if you try to click on the scrollbars)
Also, the fact that the popup closes on click does cause the CAPTCHA to close in FF instead of playing.
The popup is also too small in both FF and IE9 causing it to have scrollbars (which has an... interesting... effect if you try to click on the scrollbars)
Also, the fact that the popup closes on click does cause the CAPTCHA to close in FF instead of playing.