Updates

  • John Walker posted an update in the group Group logo of UpdatesUpdates 5 hours, 43 minutes ago

    2018 June 20

    Updated the Akismet Anti-Spam plug-in to version 4.0.8.  This is
    a trivial update to change some messages in the administration
    pages to clarify the privacy settings.  We have no local code in
    this plug-in.  Committed the changes (Build 155).
    
    Updated the Titan Framework plug-in to version 1.12.  We don't
    use this plug-in directly; it is required by the TinyMCE Comment
    Field plug-in which uses it to manage its configuration pages. 
    The update is minor, consisting mostly of fixes to the colour
    picker component, which we don't use.  We have no local code in
    this plug-in.…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 3 days, 7 hours ago

    2018 June 17

    After experimenting with various window widths on the desktop
    with the test system, I have developed the following changes to
    ~/theme/ratburger/ratburger.css code which overrides the styles
    for narrow screens for the administration bar.
    
    In the case for screen widths of 782 pixels and less, for
    #wpadminbar .ab-sub-wrapper, ul, and ul li, I set the position
    of the drop-down list to static.  This causes the drop-down list
    to be right aligned with the right edge of the screen rather
    than with the notification bubble.  This gives us a bit more
    space for notifications.
    
    Also…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 4 days, 8 hours ago

    2018 June 16

    Notifications in the drop-down list for new comments and likes
    for posts with very long titles could result in the notification
    being truncated, which caused the user name to disappear off the
    left of the drop-down list.  I added a new function,
    rb_trimtext(), in ~/theme/functions.php which performs a "nice"
    truncation of a string argument to a specified length.  If the
    string length is less than or equal to the trim length, it is
    unchanged. Otherwise, it is trimmed to the length and then, if
    the trim caused a word to be split, the fragment of the word is
    removed from…

    [Read more]

    • I was wondering if just letting the colors relay the information is better.
      People know now that a certain color means “Like” or “Comment” so “Member [space] Post String” is enough. In other words a full sentence is not needed. Or just an abbreviation such as “L” for like, “C” for Comment, “U” for update to group.

    • Thanks you for all the work. The third Sunday in June is Founder’s Day, right?

    • “I was wondering if just letting the colors relay the information is better.”

      That’s a bit too obscure for my taste. It may be fine for people who use the site all the time, but where are new users supposed to learn the colour code?

      I have changes to the style sheet under test which should improve the presentation of notifications on narrow screen devices. They will show the complete notification on tablets and as much as will fit on mobile phones, truncating the title of the post at the right rather than the name of commenter or liker at the left as is presently don…[Read more]

    • Maybe you could put a dialog box that pops up whenever someone drafts a post heading that goes over 90 characters, just to advise them that their post heading will be truncated on many devices ?

    • Thanks a heap for all your time plowing through the code. Ratburger.org runs really well, predictably and reliably. Every time I encounter a problem I can know the problem is on my end, and, sure enough, it turns out that there is a problem on my end. This is way better than looking for glitches while thinking the problem is probably on the site.
      User-friendly, it is.

    • Well, the post heading will not be truncated except in the notification drop-down menu. In the post itself, in the sidebar, and elsewhere (including the notification page), it will be wrapped onto multiple lines with no problem. It’s just in the drop-down menu where, due to constraints of the style definition, mostly imposed due to mobile devices with narrow screens, that each notification must fit in a single line, than the truncation takes place.

      Personally, I think WordPress has gone way too far trying to accommodate the limitations of mobile devices. In doing so, they have…[Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 6 days, 8 hours ago

    2018 June 14

    Users can see a list of groups of which they're members from the
    Avatar/Groups/Memberships menu item, but there's no
    corresponding capability from the main menu.  The link in the
    avatar menu goes to:
        .https://www.ratburger.org/members/{USERNAME}/groups/
    so we should be able to add a link to the menu as a Custom Link
    item of:
        /members/%author%/groups/
    using the gimmick we added on 2018-04-29 to expand %author% to
    the nicename of the currently-logged in user.  (On reflection,
    "%author%" probably wasn't the best name for this macro, but
    I'll leave it for the…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week ago

    2018 June 13

    Updated the Disable Emojis plug-in to version 1.7.1.  This is a
    completely trivial update which makes no changes to the code at
    all but simply changes the headers to claim that the plug-in is
    "(GDPR friendly)".  Well, duh--the plug-in does not collect or
    use any user-specific data, so the GDPR does not apply to it at
    all.  The only reason for applying this update is to get rid of
    the nag on the administrator dashboard.  Committed the changes
    and published on GitHub (Build 153).
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 1 day ago

    2018 June 12

    We got another of those:
        PHP Fatal error:  Uncaught Error: Call to undefined
            function get_header() in ~/theme/ratburger_devel/index.php:17
    500 errors, this time from an IP address (158.69.251.77) from a
    Canadian ISP which was crawling the site with a Java program
    called "crawler4j".  (Why?  There is no "why" on the Internet).
    This turns out to be the same as the ones seen on 2018-06-10 in
    unused themes, but this time in the actual theme we're using.
    
    It turns out these errors can be provoked by calling many of the
    files within the theme directly from a URL…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 2 days ago

    2018 June 11

    Removed commented-out debug code in the additions made yesterday
    for "follow" comments.
    
    Updated ~/plug/rb-my-comments/readme.txt to indicate that this
    locally-developed plug-in (which handles the list of comments
    made by a user) has been tested with WordPress 4.9.6.  Committed
    the change (Build 151).
    
    Committed the changes for "follow" comments (Build 152).
    
    Published the changes for Builds 151 and 152 on GitHub.
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 3 days ago

    2018 June 10

    A script kiddie trying to crack the site, hailing from IPv4
    address 133.242.54.221, in a block registered to Sakura Internet
    Inc. of Japan, which appears to be a big publicly-traded ISP,
    was trolling around for vulnerabilities.  One of the pages he
    hit was /wp-content/themes/twentyseventeen/404.php in the
    "twentyseventeen" theme, which we don't use.  This resulted in a
    500 error:
         PHP Fatal error:  Uncaught Error: Call to undefined
                           function get_header()
    which cried out to me from the error_log.  Well, obviously, I'm
    not concerned about a…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 4 days ago

    2018 June 9

    It has long seemed to me that we were too aggressive in trimming
    posts and comments in groups to produce the extracts which are
    shown before the user clicks "Read more".  The extract is based
    upon a character count, trimmed to the nearest word in shoddy
    BuddyPress fashion.  The length of the extract is set in:
        ~/plug/buddypress/bp-activity/bp-activity-functions.php
    function bp_activity_get_excerpt_length(), whose canned result
    of 358 characters can be overridden by setting a filter for
    "bp_activity_excerpt_length".  I added such a filter in:…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 5 days ago

    2018 June 8

    Updated the Really Simple SSL plug-in to version 3.0.1.  This is
    a minor tweak and bug fix update which shouldn't affect the way
    we use the plug-in in any way.  We have no local code in this
    plug-in.  Committed the changes and published on GitHub (Build
    149).
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 1 week, 6 days ago

    2018 June 7

    It looks like the BuddyPress update is working on the production
    site, so I'm stopping the test site until we need it again.
    
    Today's project is seeing if there's something we can do about
    the ridiculous narrow text rivers we get when quoted text is
    nested deeply (which happens frequently when comments start
    quoting other comments that quote comments...).  This is a
    particularly acute problem on narrow screen devices such as
    tablets and mobile phones, but it looks silly even on desktops
    with modest size windows.  In ~/theme/style.css we define:
        blockquote {…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks ago

    2018 June 6

    Made a backup AMI:
        Ratburger Backup 2018-06-06  ami-0f15233e433d59258
            /           snap-07234bc73926eca00
            /server     snap-0082a0547bdae4e0e
            
    Integrated the code from raw to allow optional IP address range
    authentication in the ~/rb/.htaccess file.  Note that due to the
    quintessential absurdity of Apache, there are separate blocks of
    commented out code for the two kinds of authentication.  This is
    commented out in production; we carry it around commented out
    since it makes it easier to set up the raw site from a snapshot
    of the production…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks ago

    I have just (2018-06-06 18:54 UTC) installed the version 3.1.0 update to BuddyPress. This is an incremental bug fix release which corrects many problems introduced in the 3.0.0 major release (some of which we’ve already fixed here).

    BuddyPress runs the groups, notifications, mentions, and other “social” features of the site. I have tested each of our local modifications in BuddyPress on the test server. Finding no problems, I decided to deploy the update here, on the production server. If you notice anything strange in these areas, please report them as comments on this group or…[Read more]

  • Bryan G. Stephens posted an update in the group Group logo of UpdatesUpdates 2 weeks, 1 day ago

    And here I thought this would be the Rodent-Latin problem.

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 1 day ago

    2018 June 5

    Updated the User Role Editor plug-in to version 4.43.  This is a
    minor bug fix update.  We have no local code in this plug-in.
    Committed the changes and published on GitHub (Build 144).
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 2 days ago

    2018 June 4

    Updated the Stop Spammers plug-in to version 7.1.  This is a
    minor bug fix update.  I integrated our two blocks of local
    code, none of which conflicted with the changes.  Committed the
    changes to the repository and published on GitHub (Build 143).
    
  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 3 days ago

    2018 June 3

    It's been another day with no bugs reported in the WP Ulike
    plug-in version 3.3.1 update, so I'm going ahead and committing
    it to the Git repository and publishing on GitHub (Build 142).
    
    We won't be needing the raw.ratburger.org test site for a while
    (I hope!), so I stopped the instance to avoid running up CPU
    fees.
    
    Made a mirror backup to Juno.
    
    Made a backup AMI:
        Ratburger Backup 2018-06-03  ami-031b2b2b72a3860f3
            /           snap-0e21c2d0ebeaa20f5
            /server     snap-0a178dce2727cb8dc
    
    Saved current firewall block list with:
        service iptables…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 4 days ago

    2018 June 2

    On narrow screen devices (tablets and mobile phones) some @media
    code in ~/plug/wp-ulike/assets/css/wp-ulike.css set padding for
    .wpulike-notification .wpulike-message which resurrected the
    ugly wide box for the number of likes which we fixed elsewhere
    in this CSS file a few days ago.  I just commented out all of
    the narrow screen code and it appears to work fine with Safari
    on both an iPad and iPhone.  Note that this has to be fixed in
    the "minimised" file wp-ulike.min.css as well.  I just hand
    edited the file and commented out the offending code rather than
    go through…

    [Read more]

  • John Walker posted an update in the group Group logo of UpdatesUpdates 2 weeks, 5 days ago

    2018 June 1

    Integrated the latest version of
    ~/plug/wp-ulike/inc/general-hooks.php on raw into the update kit
    to be applied to RB.  Did a test application of the kit with a
    copy of the production ~/plug/wp-ulike directory on RB and
    verified that the results were identical to the directory on raw
    with the exception of some debug code on raw that we won't
    install on the production system.
    
    On RB, deleted the ~/plug/wp-ulike/wp-assets directory.  This is
    a directory of images for the plug-in's Web page which was
    accidentally included in the 3.3.0 update then deleted in
    3.3.1.  Due to…

    [Read more]

  • Load More