Make WordPress.org

Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • David Bisset 8:01 pm on May 16, 2013 Permalink | Reply  

    Things are in full swing now with the wp10 site. Spoke to Jen a few days ago, and i’m outlining (mostly technical) point here to get some additional feedback and discussion going:

    1. We are going to be extracting images from tweets and instagram posts with the #wp10 hashtag during the event, and displaying them “live” on the site. I have two rough but functional plugins in my GitHub account, so feel free to look those over or provide better alternatives. The key here is that photos are is extracted and placed into WordPress’s media library, which i think is a good way to archive things.
    2. Design isn’t yet established – Jen is reaching out to the potential designer as we speak – but generally speaking think of a pInterest or similar display that auto-updates on a page.

    I’m new relatively speaking to how things work with the servers and accounts, etc. So two potential questions I would like someone to educate me about as soon as possible:

    1. How does one get file-level (SFTP, etc.) access to the wp10 site?
    2. Most likely scripts will require traditional cron (not WP cron) to ping the social media channels every few minutes. Confirmation and thoughts on this would be appreciated.

    Thanks. Can’t wait to get this together in a quick and orderly fashion (crossing fingers).

     
  • Jen Mylo 11:59 pm on April 23, 2013 Permalink | Reply
    Tags: wordpress.net, wp10   

    David Bisset will be helping out with the wp10 site, adding him as an author here in case he needs to ask for help.

     
  • Jen Mylo 4:54 pm on April 23, 2013 Permalink | Reply
    Tags:   

    Not sure if this is new since the MP6 styling stuff making it onto the .org theme, but I haven’t noticed it before, so might be related. The alignleft doesn’t seem to be working on the .org news blog as shown here.

     
    • George Stephanis 4:57 pm on April 23, 2013 Permalink | Reply

      Yup, class got dropped from the css.

      • Jen Mylo 5:08 pm on April 23, 2013 Permalink | Reply

        Sooo….. can we get css-based alignment back for images? Pretty please? :)

        • Samuel Wood (Otto) 8:27 pm on April 23, 2013 Permalink | Reply

          It’s not a matter of getting them back, actually. I’m pretty sure that those classes were never in the main css there to begin with. Doesn’t look like anybody has ever used those before on the news blog.

          I’ll see about adding them in somehow.

  • Jen Mylo 7:52 pm on April 19, 2013 Permalink | Reply
    Tags: profiles, text change   

    On profiles under the activity stream where it… 

    On profiles, under the activity stream (where it lists core and plugins trac + forum activity, if it’s empty it says “This user currently does not have any WordPress activity.” It should probably say “This user currently does not have any WordPress.org activity.” to differentiate between stuff that happens here vs elsewhere that isn’t tracked by us.

     
  • Samuel Wood (Otto) 11:27 pm on April 3, 2013 Permalink | Reply
    Tags: , , shortcode, time   

    Time Shortcode for Make P2s 

    A couple of weeks ago, Siobhan pointed out to me the difficulties in talking about times for IRC meetups on the various P2 blogs. She suggested a shortcode to make it easier to specify times.

    So I wrote a first draft of a shortcode to make this a bit easier. It’s not perfect, but I figured to go ahead and tell people now, so that you all could go ahead and start banging on it and telling me what the problems are.

    Usage: [time] some-time-format-here [/time]

    By “some-time-format-here”, I’m being a bit generous. You can use pretty much any time format you can think of and it will attempt to figure it out. With extra emphasis on “attempt”.

    Stuff like this all works:

    • March 30, 2013 1pm UTC
    • April 4th at 1pm
    • April 4th around 1pm
    • April 4th 2012 1pm
    • next monday 1pm CDT
    • 1pm UTC

    Now, a few important points:

    • If you don’t specify a timezone, you’ll probably get UTC. This is just for now, until I work out a better way.
    • If it can’t figure it out, you’ll notice no change in your text. Hopefully.
    • If it gets really confused, it’ll probably say January 1st, 1970. :)
    • “Absolute” times are more likely to work than “relative” ones. Give a date, and year, and time, and timezone, and you’ll probably be good.
    • Timezones matter in terms of daylight savings. GMT is not the same as BST (British Summer Time).

    So, what’s the point? Well, if it can figure out what time you meant, then it’ll encode that and a bit of Javascript will then localize that time to the viewer of the make P2 in question on load, assuming their browser knows what timezone they’re in.

    So when I post “April 3rd, 2013 6:30pm CDT” (my current time) in the time shortcode, it’ll show this instead: April 3rd, 2013 6:30pm CDT. What you see there depends on where you live.

    Hopefully this will make it somewhat easier to schedule IRC meetups and such. Let me know when (not if) you break it. Happy to iterate.

     
    • Jerry Bates (JerrySarcastic) 11:37 pm on April 3, 2013 Permalink | Reply

      Awesome! Thanks Otto!

    • GaryJ 1:23 am on April 4, 2013 Permalink | Reply

      GMT isn’t scientifically defined, but glad to see a move to UTC output, the world standard for time since 1972…

      • Samuel Wood (Otto) 10:05 pm on April 4, 2013 Permalink | Reply

        Well, if you prefer, it will happily understand tz-zoneinfo style timezones just fine too. I just figured writing out America/Chicago for a timezone was a bit overkill.

    • Paul 10:40 am on April 4, 2013 Permalink | Reply

      you don’t know how helpful this is! thanks

    • Edward Caissie 1:27 pm on April 4, 2013 Permalink | Reply

      … and where do we get a chance to look at the code directly? Sorting out the reader’s time is something that is haunting me in a plugin I have that uses dates extensively.

      Being able to present different “content” based on the reader’s time would be extremely useful code to “borrow” ;-)

      • Samuel Wood (Otto) 1:33 pm on April 4, 2013 Permalink | Reply

        Ain’t nothing magical to it. I’ll send you a copy if you want.

        But basically, it first runs the time you give it through strtotime() with the post-date used as the “now” parameter, for handling of relative times. If that fails, then it uses date_parse() to try to figure out what time info you gave it, and the post-date to fill in the gaps. This lets it handle more types of relative times. Eventually, it gets an absolute time, hopefully. Then it returns the string with a time microformat wrapped around it, that looks like this: abbr class=”date” title=”2013-04-03T23:30:00+00:00″. It also returns it with the link to timeanddate.com.

        Next, it inserts some javascript code into the footer of that page that searches for those abbr date items, parses that title into components, and uses the javascript Date object to convert that from UTC into the browser’s local time. The JS does the replacement of the string in the abbr into the localized time string. The plugin never needs to know the browser’s time, the JS code handles that.

    • Jen Mylo 1:10 am on April 20, 2013 Permalink | Reply

      This sounds so scary to me after 5 years of dealing with time zones and travelers and proxies in the wordpress community. Will there be any indication that the time being displayed is a magic shortcode-determined time, or will it look like plain text? Maybe we could style it differently so it’s clear when it’s in use?

      • Samuel Wood (Otto) 2:39 am on April 20, 2013 Permalink | Reply

        It is styled differently. Look at use of it in the post above. It’s got those dotted lines under it because of the abbr tag, it links to the timeanddate.com automatically.. When you hover over it, you’ll see the UTC version of the time. It’s fairly obvious, I’d say.

        Also, it’s totally optional. If you don’t want to use it, don’t use the shortcode. I made it non-automatic for just this sort of reason. But I think it’s pretty robust, honestly. Try it out if you like. It works in comments too. :)

    • Ulrich 9:01 pm on April 22, 2013 Permalink | Reply

      This time is being shown wrong in my timezone. I think it is to due with the daylight saving time. It should be 22:00.
      http://pix.am/nk6c.png
      http://make.wordpress.org/docs/2013/04/18/dont-forget-that-due-to-daylight-savings-the/

      • Samuel Wood (Otto) 9:07 pm on April 22, 2013 Permalink | Reply

        No, it’s correct given what she wrote. She actually wrote the time in the shortcode as “18th April, 20:00 BST”. Thing is, “BST” (British Summer Time) is not the same as “UTC”.

        It’s a quirk of people in England, I think. They always seem to call their time “UTC”, even when it’s not.

        But it is converting correctly, given the time in the shortcode itself. Gotta put the right time in it to start with.

      • Samuel Wood (Otto) 9:15 pm on April 22, 2013 Permalink | Reply

        A simpler way of dealing with timezones is simply to learn what “Zoneinfo” style timezone you’re in and use that all the time. Then it deals with daylight savings automatically.

        I’m in the “America/Chicago” timezone. So I can do this:

        Original: April 22, 2013 4:14pm America/Chicago

        Shortcode: April 22, 2013 4:14pm America/Chicago

        Much easier.

  • Jen Mylo 3:15 pm on March 5, 2013 Permalink | Reply
    Tags: plugin repo, , ui   

    It would be good to list the plugin author(s) in the “About this Plugin” sidebar listing on review threads on pages like http://wordpress.org/support/topic/plugin-name

     
    • Jesper van Engelen 1:36 pm on March 29, 2013 Permalink | Reply

      I agree with this. In my opinion, it would be good to have a list of references to WordPress resources made in the topic in the sidebar. The links could easily be analyzed and differentiation different types of content could be easily made, allowing you to show a list for quickly navigating to related material, such as referenced Codex entries, plugins, forum topics and user profiles.

      • Jen Mylo 1:11 am on April 20, 2013 Permalink | Reply

        That sounds like a pretty different goal. I mostly am just looking for the author to be an apparent piece of metadata in this area.

  • Jen Mylo 7:44 pm on February 19, 2013 Permalink | Reply
    Tags: version, wp-admin   

    Make and Learn networks: both running 3.6 alpha, but show ‘update network’ alert in all admin screens. Any way to turn that off?

     
    • Andrew Nacin 7:46 pm on February 19, 2013 Permalink | Reply

      “Upgrade Network” is a database upgrade, not updating code. Only super admins see it. And yes, you can safely run it.

  • Jen Mylo 3:27 pm on February 2, 2013 Permalink | Reply
    Tags: authors   

    AddedInvited George to this blog with posting privs so he can post stuff including images around the sites that he’s working on here with us.

    Otto: The make network is set up so that adding a user can’t be done without the confirmation email. Can we reverse that, or at least turn on the option? A lot of times the emails seem to not get there.

     
    • Andrew Nacin 8:47 pm on February 2, 2013 Permalink | Reply

      I believe this would require a core enhancement to allow administrators to do this. Currently only super administrators can do this.

      • Jen Mylo 10:02 pm on February 2, 2013 Permalink | Reply

        Looks like I’m not being recognized as a superadmin anymore? Am proxied. Did something happen to my superadmin status after name change?

      • Jen Mylo 10:03 pm on February 2, 2013 Permalink | Reply

        Core change aside, could we just look into why people aren’t getting the emails?

  • Jen Mylo 12:13 pm on February 2, 2013 Permalink | Reply
    Tags: header, responsive   

    Responsive header for wordpress.org. George Stephanis worked on this a while back and Matt approved it, but it got lost in the shuffle. Let’s pick it back up. George, can you send Otto/Scott the code so they can test?

     
    • John Saddington 12:46 pm on February 2, 2013 Permalink | Reply

      :) yay.

    • George Stephanis 3:45 pm on February 2, 2013 Permalink | Reply

      http://dl.dropbox.com/u/5581009/make/header.html

      The menu markup is identical, I changed the search from from `input type=”submit”` to `button type=”submit”`

      I added in the ‘Menu’ item for narrower screen widths, and hid it on normal widths.

      I’m not completely happy with the narrow version of the menu, I’d be happier to see someone who actually knows about design make it look pretty — maybe some sort of accordion menu or the like. But we can turn off the narrower media query for the initial push, and address it as a v1.1

  • Jen Mylo 4:49 pm on January 29, 2013 Permalink | Reply
    Tags: menu,   

    @otto42: Could you add in a menu under the header to the spinoff of p2 you are running for the make sites? Working on a new theme for make sites in general, but in the meantime this would make it easier for teams to use a custom menu to organize stuff without adding more noise to the sidebar.

    They added a menu like this to Mike Admas’s team’s p2 at Automattic:
    Screen shot 2013-01-29 at 12.19.00 PM

    Tacked on top of content area like that and just using the standard colors/fonts already in this theme would be great.

    p.s. autocomplete for author mentions doesn’t seem to be working?

     
    • Jen Mylo 4:49 pm on January 29, 2013 Permalink | Reply

      Not sure why that image won’t show.

    • Samuel Wood (Otto) 5:16 pm on January 29, 2013 Permalink | Reply

      @jenmylo

      • Image has no src there, so not sure what the image is supposed to be.
      • Autocomplete works fine if you let the javascript load. Right now this is a minor https related problem on the make sites. Fixable though.
      • Jen Mylo 5:22 pm on January 29, 2013 Permalink | Reply

        I must be having js issues on this site, since the image got uploaded, autocomplete not working, when I hit post or reply I get an AYS about leaving the page, and even though I keep unchecking the Notify me of new posts by email, with every post I get an email to confirm a new subscription. Not happening on the other make sites, just this one.

    • Samuel Wood (Otto) 5:21 pm on January 29, 2013 Permalink | Reply

      NM, found the image.

      Yes, adding a custom menu space should be easy enough.

      • Jen Mylo 5:23 pm on January 29, 2013 Permalink | Reply

        Great, thanks!

        • Samuel Wood (Otto) 5:27 pm on January 29, 2013 Permalink | Reply

          @jenmylo Actually, turns out that there already is a custom menu space there, it’s just unstyled. Make a new custom menu and set it to “primary” and add whatever you like. Then I can add additional styling rules to make it look prettier.

          • Jen Mylo 6:02 pm on January 29, 2013 Permalink | Reply

            Cool, they must have added it and I never noticed, sorry for bothering you. No need to bother with styling, since working on a new theme anyway. Added it on the /community site and yeah, it’s not the best looking thing I’ve ever seen, but it really doesn’t need to be. :)

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel