Carl T. Holscher fights for the customers.

Tag: wordpress

Fix Publicize no longer publicizing your posts

Publicize, the part of Jetpack that pushes my posts to Social Mediaâ„¢ has stopped working recently. It turns out to be an issue with the plugin after the last update.
There is a manual fix from the developer.

If you’re comfortable editing files, you’ll need to go to *YOUR DOMAIN*/wp-content/plugins/jetpack/modules/publicize
Open the publicize-jetpack.php file and remove the lines shown here

I removed lines 362-380, saved the changes and now Publicize is working again. I’m sure they’ll include a fix in the next Jetpack update, but this will get you up and running again until then.

Updating my Books I’ve Read page with a little help from my friends

For as long as I’ve had my books I’ve read page up, I wasn’t entirely happy with it. So I decided to change the implementation to Jamie Rubin’s Shortcode method. Which was what my other method was based on anyway.

I learned how to create a child theme for WordPress so my changes wouldn’t get wiped out the next time the theme was updated. I downloaded the function.php file into it and pointed it at my Dropbox book list.

All was going well except I had an extra parenthesis on all the dates.
Example: This Could Help by Patrick Rhone (1/20/2015))

The last item on the list was missing its trailing parenthesis.
Example: This Could Help by Patrick Rhone (1/20/2015

Since I don’t speak code, I went looking for help from nerds greater than myself. They suggested two changes to make to the code and it worked perfectly.

Tony Giunta suggested changing line 21.
Original: $date = substr($second_part[1],0,-1);
Change: $date = $second_part[1];

Nick Wynja suggested changing line 54.
Original: echo "<li>$title by $author ($date)</li>\n";
Change: echo "<li>$title by $author ($date</li>\n";

I am not a coder. They both commented on the quality of the code. I’m sure these changes (and all of this code) could have been written better and I’m sure lots of people have solutions and versions they’d tout as being superior. But this works for me, and with their help I was able to get it working in my WordPress setup.

Here is my changed version on Github.

On Self-Hosting

I predict 2014 is the year when we see more popular services go away. Either because they’re unsustainable businesses or they’re bought up and immediately integrated into larger companies. Either way, they go away and all we’ve left with is a message saying how much we, the customers, mean to them.

Because of this I’ve started to bring some services in-house and run them on my server. The following tools are what I’ve chosen to use.

Author’s Note: I am not saying they are the best thing out there. Nor am I saying they are perfect for you. They’re just what I use. I use them. I like them. You may not.

With the pile of services that will host your text and images, I still prefer to host my blog. Congratulations! You’re here.

Blogs

Tech in the Trenches is hosted on a WordPress installation I run off a Dreamhost shared server. I’m not fancy.

With the recent demise of Google Reader and Feedly’s questionable decisions, I’ve decided to host my own RSS reader. Sure, there are plenty of good ones out there. But it’s not something I care enough about to pay for.

If I didn’t have RSS, life would go on. I would go back to keeping folders of links just as I did before RSS. I would also use the various social media networks to let the good stuff bubble up from the muck of the Internet.

RSS

To that end, I found TinyTinyRSS and decided to install it.

It’s small, flexible and has a plugin community around it. But the reason I found it is Dreamhost blogged about installing it. What’s easier than that?

So a few minutes after reading the post, I had TT-RSS setup.

Once it’s running I would recommend finding a different theme as I don’t care for the default. I’m using the Feedly theme out of habit. There’s also a Google Reader-style theme if you want to relive the glory.

While there is a native Android client it didn’t help me out on iOS.

To get it working on my iPhone, I am using the Fever plugin. This allows TT-RSS to authenticate as if it were Shaun Inman’s Fever. It works with Reeder, which I use. It also supports Mr. Reader and ReadKit according to the developer.

To make this work you have to enable API access in your tt-rss account preferences (Preferences -> Enable external API) before using the client. I missed this step and couldn’t figure out why it wouldn’t work.

Analytics

I don’t keep a close eye on my analytics. But I am curious every now and again when I get more than a few hits on a post where the traffic comes from.

Piwik works well for me. It gives me what Google Analytics provides without the threat of it going away.

Photos

This is almost constantly in flux. For years I used Gallery. It was stable and robust. But then it grew bloated. I prefer smaller tools and went looking for an alternative.

I decided on Piwigo. It feels lighter to me. I don’t a complex set of tools. I want a place to make albums and show them off. That’s it. It’s simple and it works for me. If you’re a Dreamhost user, both of these are available as one-click installs.

I’ve also been flirting with TroveBox (formerly OpenPhoto). They have a hosted option that will use your own storage but also charges a monthly fee.

They provide downloads and documentation to get the software setup on a variety of server setups.

GIFs

Yes, I keep some animated gifs at my disposal. To do this, I use Eat My GIF. It’s a ridiculously simple drop-in installation and now I have a place to throw GIFs to deploy as needed. Yes, I realize this is very silly. But I like it and it’s developed by a friend.

So don’t hate.
Hates Gonna Hate

What I’m not hosting

Email. I have no desire to run my own mail server. I use Gmail and am perfectly happy with it for now.

Social Media. I see the value of a distributed social media network. However, I am happy with Twitter/App.net/Facebook. I don’t need anything else.

I tried out Tent in the form of Tent.is, which now appears to be Cupcake.io, for a short time but I’m not enough of an ubernerd to hack it.

OwnCloud I had running for a while. But I found I didn’t really use it. Dropbox is still fine for me. It’s on my radar and I may use it again for something. But I just don’t have a need for it.

It’s easy to get carried away and start hosting things I don’t need to host. It makes more work for me to support and keep it updated and working. Sometimes the trade-offs are easier letting someone else do the heavy lifting.

Just because I can do it, doesn’t mean I should.

Are you all self-hosting anything interesting? Tell me about it over on Twitter or ADN.

Powered by WordPress & Theme by Anders Norén