Closed Bug 682913 Opened 13 years ago Closed 13 years ago

Build WP theme for Gary's blog

Categories

(mozilla.org Graveyard :: Webdev, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: malexis, Assigned: malexis)

References

Details

Designs are here:

http://mozilla.tyflanagan.com/artwork/GaryKovacsBlog/Moz_GaryKovacsBlog.psd.zip

Craig, let us know if you need anything else to get started on this.
Hey Craig, any updates on this?
(In reply to Mike Alexis [:malexis] from comment #1)
> Hey Craig, any updates on this?

None yet, sorry. I'm swamped with writing and haven't been able to start on the blog theme, though I hope to work on it this week (probably over the weekend). So I should have something to show you first thing next week and we can hopefully be live by the 15th or 16th. Will that work?
Hey Craig,
Checking in again. Sorry I didn't respond earlier. We had an all hands last week so tons of distractions. Hoping to get this live this week. Let me know if that works.
Thanks for picking this up again, Mike.  Would be great to get this live asap.  Quick question - will this automatically syndicate to planet?  Thanks!
(In reply to Melissa Shapiro [:shappy] from comment #4)
> Thanks for picking this up again, Mike.  Would be great to get this live
> asap.  Quick question - will this automatically syndicate to planet?  Thanks!

Not sure. Craig, can you confirm what's needed to get this blog's feed to show up on planet.mozilla.org?
I've finally cleared some time in my schedule this week to work on the blog theme, which is nearing completion. Apologies for the delays. The work in progress is staged (with dummy content) at http://wpstage.focalcurve.com/gary-kovacs/ and I'll be continuing to push updates there, aiming to wrap it up by tomorrow.

For planet.m.o, all you'll need is the blog's RSS feed URL, once the actual blog is created on the network. That URL will be "http://blog.mozilla.com/gary-kovacs/feed" but obviously that's a 404 right now. I'm not sure how sites get added to planet or who handles that, but presumably an admin will just have to add the new feed; it won't be automatic.
Hi Craig - Thanks so much. We should have the "optional" content to your shortly. 

In the initial blog mockups Gary's photo was included next to "A Little Bit About Gary." Can we update this with his photo?

I can send it to you if you don't have it already. 

Thanks!
I've committed the code to SVN in r95303 and r95307.

This includes two new plugins: Wickett Twitter Widget to display recent tweets in the sidebar, and Twitter Facebook Social Share to add the Facebook and Twitter buttons on each post (it also supports Google Plus, if you like).

The original mockup shows customized Facebook and Twitter buttons on each post, but unfortunately this isn't readily possible. To show the counts of how many times a post has been shared on each service, each button has to be served remotely in an embedded frame, which means we have little to no control of its presentation. Or we can do fully customized buttons of our own, but they won't be able to display the counts. So it's kind of a choice of one or the other. With this sharing plugin we can easily fetch the remote buttons and automatically add them to each post, and it provides a few more options too. If you'd rather sacrifice displaying the counts in favor of a more customized button design, I can build the buttons into the theme, though it won't have quite as much flexibility as the plugin offers.

The original mockup also shows a "Follow" button under the sidebar tweets. That's a standard feature of the hosted Wordpress.com Twitter widget, but (annoyingly) it isn't part of the self-hosted version of that same widget. I didn't find any other widget that offered the features shown in the mockup, so short of creating our own, we may have to sacrifice the follow button (note that the title does link to the twitter profile at least). If the follow button is an important requirement I can work on building a custom widget to include it, but that will take more time. Perhaps we can add it at some later date but I didn't want to delay this launch any longer.

Gary's bio in the sidebar will just be an instance of the standard Text widget, but it requires a bit of simple HTML to achieve the formatting of the title and image as well as the Facebook button. We'll need to upload the image to the blog as well, and we'll need to get the image URL once it's been uploaded so we can't really complete that until the blog is up and running (obviously we'll need the bio text as well).

So the steps for launch should be:

1. Push the code from SVN to production
2. Make the theme available to network blogs
3. Create the new blog at blog.wordpress.com/gary-kovacs/ and add Mr. Kovacs as an author (presumably at admin level)
4. From the new blog's dashboard, activate the theme (it's titled "Gary Kovacs' Blog - Nova")
4. Activate and configure the plugins
5. Add the widgets to the sidebar

I can provide the HTML for the bio and more detailed instructions for configuring the plugins, or I can set everything up myself if I can get temporary admin access, which might be simpler.
Hey Craig, we can get you temporary admin access to set all this up. I logged in the WP admin panel and I don't think I have the perms to do this. Shannon can you help?
Hi Mike - Happy to help. I don't think I can grant someone access, however. That usually goes through IT. I will file a bug. 

Thanks!
Ping. I haven't heard anything more about this in a few weeks. Does someone know the status?
Hi Craig - 
For the one line bio: 
Gary Kovacs is the CEO of Mozilla.  He loves the Web.  And Hockey. 

For more about Gary: 
Gary Kovacs, CEO of Mozilla on Mozilla, the Web, and occasionally life



What needs to happen next? I will file a bug to give you temp admin access to the Mozilla blog - anything else?
Is there an update here? We would like to get this going ASAP. What else do we need to do?
Reassigning to Mike Alexis for next steps. Mike, if Craig isn't available for taking care of comment 12 - can Steven Garrity step in to help?

Also, we'll need to figure out if this goes back through security and infra review before publishing, since there isn't really staging or a regular release schedule for the blog (let's work on solving that separately).
Assignee: craigcook.bugz → malexis
(In reply to mcbmoz from comment #14)
> Reassigning to Mike Alexis for next steps. Mike, if Craig isn't available
> for taking care of comment 12 - can Steven Garrity step in to help?

I'm available and waiting. If I can get admin access (LDAP is craigcook@gmail.com) I can have everything set up in a matter of minutes, then someone will need to revoke my access (an admin can't delete himself, alas). Or else I can walk someone else through the last few and provide the content.
Everything is up and running at http://blog.mozilla.com/garykovacs/, just a few last details:

1. We need to have the plugins "Twitter Facebook Social Share" and "Wickett Twitter Widget" network activated so they'll be available to this blog. I don't know if they've passed security review so that may be a separate issue as well. You can certainly blog without them so they shouldn't hold up anything. Wickett Twitter Widget is what displays recent tweets in the sidebar, and the Social Share plugin adds the sharing buttons at the end of each post. They can be activated and added at any time, or you can live without them if those features aren't essential.

2. Adding the Facebook "Like" button in the sidebar under Gary's bio requires embedding a snippet of JavaScript via the standard WordPress text widget, but that code is getting stripped automatically when I try to add it. I'm certain this is a security issue at the server end (the button works on my own server with the same theme installed) so you may just have to live without that Like button. But if you really want the Like button we'll have to find a solution.

The code to add is:

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-href="http://blog.mozilla.com/garykovacs" data-send="false" data-layout="button_count" data-width="225" data-show-faces="false" data-font="trebuchet ms"></div>
Can we also add an affiliates button to his blog?
(In reply to Shannon Prior from comment #17)
> Can we also add an affiliates button to his blog?

We should be able to, we just need the code. And hopefully it won't be stripped the same way the Facebook button is being stripped but we won't know that until we try. Can you get me the code for a button to add?
Both buttons added.
Thanks Craig!

Shannon, can you review here: http://blog.mozilla.com/garykovacs/

Let us know if we can close this as resolved.
can we make one more change - under a little bit about gary and add this" 

""Gary Kovacs, CEO of Mozilla on Mozilla, Firefox and discovering, experiencing and connecting on our own terms." 

Instead of what is there? Then I think we can call this closed :)
This is perfect and we are good to go. 

One last thing - can we get this behind staging until we are ready to post? Also, is this automatically syndicated to planet?
(In reply to Shannon Prior from comment #24)
> This is perfect and we are good to go. 
> 
> One last thing - can we get this behind staging until we are ready to post?
> Also, is this automatically syndicated to planet?

Shannon, there isn't a staging environment for the blog right now, so we'd have to take down and go through a review once more. Do you have an ETA for when Gary will publish his first post? knowing that will help us figure out the right solution.

I've opened a new bug for syndicating to planet bug 698023
Blocks: 698023
Thanks, Chrissie. I think we want to take the blog down for now. But one question - how much time does review take to add to the process (hours, days, weeks, etc.) ? This will help us determine if this is the best route. 

Thx!
Adding mrz, Michael Coates & Cory to respond with estimates to comment 26
Spoke with Shannon in real life.  Theme's already been approved.  There is no time delay in getting it back online.
My side confirms it's been deactivated.
Yes, theme was approved per bug 680148
Closing as fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.