• Content count

  • Joined

  • Last visited


About PeterUK

  • Rank
    Advanced Member

IPS Marketplace

  • Resources Contributor Total file submissions: 1

Profile Information

  • Gender Male

PeterUK's Activity

  1. PeterUK added a post in a topic: JavaScript Password Hashing   

    It's faster than comparitively it used to be, it's not faster than raw HTTP, but it isn't far off (excluding negotiating the initial connection). If you're talking about people using SPDY rather than just plain HTTPS, then that's a different matter as well.

    That being said, I am not advocating against using HTTPS all the time, I think that would be fine.
  2. PeterUK added a comment on a blog entry: Get Ready For IPS 4.0!   

    It heavily depends on the size of your actual posts as well.  Larger ones obviously take longer to convert.  We have around 5 million and a beefy server and the normal script for us would have been more than 48 hours of solid run time (I stopped running it after about 24 hours straight).
  3. PeterUK added a comment on a blog entry: Get Ready For IPS 4.0!   

    If you have a large board it may be worth checking out my converter for doing this.  I should note that it's completely unofficial but has positive reviews from those who have tried it and can leverage parallel processing on your linux server to speed things up.

  4. PeterUK added a comment: Remove chr(0xCA) from input   

    In my opinion it would be nice to just fix the description if 3.4.7 is released though, since it will be getting towards a "final product" as 4 nears release.  Although it's clearly not come up much, it's trivial to just make the description accurate to avoid future problems like this. :)
  5. PeterUK added a record in IP.Board   

    Remove chr(0xCA) from input
    It should be made more obvious (just by changing the option name in Admin CP), that this option actually strips 0xA0 and 0xAD, it doesn't seem like it strips 0xCA at all.  I just spent a couple of hours working with someone to try and find out why a specific character was always breaking and causing all text after it to never make it into the DB, and it was because the character contained 0xAD which was breaking stripped, breaking the character and also the whole rest of the text intended for that query.  It would have been much easier to realise this feature was the problem if the correct hex codes were listed.
    • 0 replies
  6. PeterUK added a file in Maintenance   

    Unofficial Multi-Threaded UTF-8 Converter v1.1.0
    With the release of IPB 4 coming in the future, one of the things that is going to hit people with large communities hard is the conversion to UTF-8 if you are not already there.  This can be a huge task, and with bfarber's converter , this works fine, but can be very slow as PHP can only run so quickly as it's bound by a single CPU thread.  On my forum, which is a total DB size of ~10GB, bfarber's single threaded script takes over 48 hours straight to run.  I found this amount of downtime for my live forum to be unacceptable, so I created a fork of his script and used PHP's fork functions to multi-thread it.  With 8 cores assigned to the script, I was able to convert this database in just 5 hours under testing.  When I did my live conversion, I assigned 12 cores and was able to do it in 3 hours.
    This script is aimed at people with large databases, where a conversion would normally take a significant amount of time, and people who are power users and understand server maintenance and configuration.
    Please ensure you carefully read the included readme.txt file, and the documentation in the PHP file for the settings.
    The database I converted was an IPB 3.4.5 database, but since this is based on bfarber's script from 2010, there's no reason this shouldn't work on pretty much any IPB version in the 3.x.x series, but I will only be officially supporting it on 3.4.5.
    This converter has the following enhancements over the original: [*]Multi-threading [*]Use of PDO directly for DB connections, which gives a small improvement over using IPB's library [*]Use of PDO prepared statements for multiple inserts meaning less data and less CPU time are used by MySQL [*]Ability to remap characters post-conversion [*]Easy to read exceptions thrown to STDERR on query failure [*]Useful ETA information based on the records already processed

  7. PeterUK added a record in IP.Board   

    Profile Likes Page Dropdown
    Issue is reproducible here on the official forums.
    Go to someone's "Likes" page on their profile, for example:
    and then click "Likes".  The issue is not reproducible if you go directly to a URL that opens the tab.
    Scroll down to where it says "Page 1 of 121" or whatever, and try to click it to open the pages dropdown, it doesn't work.  Change to Page 2 or to "Given" instead of "Received" and then back again and it will be working fine, but on initial load, it doesn't.  I presume it's some JS hook not happening when the "Likes" page is loaded with AJAX.
    • 0 replies
  8. PeterUK added a comment: Bad word filter - urls not filtered   

    You used to be able to use it for that though and that functionality was removed. This is an intentional change so this will be marked as Not a Bug.
  9. PeterUK added a comment: Minor Bug: SSL Login   

    I reported this as a bug but it's not really a bug, it just confuses people like it has done for you. I think you'll find if you view the source code of the page, the login form does in fact submit the data to a https, which is all that matters, but the https not being in the address bar makes some people think it's not secure when it is.
  10. PeterUK added a comment: Quoting in source mode ends up leaving whole post in quotes   

    If this forum has been updated, I can still produce this here.

    Quote a post while using source mode (even a single post with no nested quotes), then try and make your own post beneath the quote without going out of source mode, good luck.

    Firefox 19 here.
  11. PeterUK added a post in a topic: Editor Feedback   

    I know this seems like a huge thing to ask at this stage but why was CKEditor chosen? Did you consider using TinyMCE which does actually have a BBCode mode in its source mode and RTE available for it as well? I've not implemented either but it seems to do pretty much what you have CKEditor doing here but natively:
  12. PeterUK added a post in a topic: Editor Feedback   

    Phasing out BBCode and going for all-HTML down the road is a good thing, it just needs to work correctly.

    People get all sorts of annoyed when they go to edit a post and some new behind the scenes change which they don't care about totally messes it up and causes a load of work for them. Also in general, most users hate changes and it discourages them from posting because they don't want to bother getting to grips with something new.

    The most important thing though, and it's been said by everyone here, is it needs to have total backwards compatibility. Parsing some BBCode into HTML but they might not turn out exactly how the BBCode displayed things? Then don't parse them and save it that way, you need to save the original so that the content as it was intended to be displayed isn't lost because of some screw up made in conversion.

    I always love to upgrade our forums and get the latest features, but the biggest worry for me is always that some change that has been made (just like this) might cause our users to dislike the forum and thus posting will go downhill. It's also not IPS that takes the blame when this happens, our users hold us responsible and we suffer for it as well.
  13. PeterUK added a post in a topic: Standard Editor BBCode Buttons   

    While I would like to see the buttons back, I do understand why they're not.

    The editor is CKEditor, and it physically doesn't support having the RTE buttons turned on while RTE mode is turned off, including that functionality would mean ripping into CKEditor source to enable them and probably making it so that it was pretty impossible to keep the CKEditor base up to date because of all the changes. Someone should have really thought about this before promises were made to the community regarding it, because I believe Wolfie is correct in saying it will never happen.

    Not to mention that since CKEditor doesn't support BBCode the buttons would all have to be modified to insert BBCodes rather than HTML.
  14. PeterUK added a comment: section in URL Problems   

    It was marked as not a bug in the original report, so is this actually a duplicate or is this in fact a confirmation there may actually be a bug?
  15. PeterUK added a comment: section in URL Problems

About Me

Status Feed