Blog

Adding Custom Fonts to EDDiStamper

All three new Stamper plugins (EDDiStamper, PDF Stamper, and Download Monitor Stamper) come with the three standard PDF fonts: Helvetica, Times New Roman, and Courier. Not much to get excited about, I know. Whereas EDDiMark and WaterWoo (plugins based on TCPDF, not SetaPDF-Stamper) have built-in font uploaders with more instant gratification, the integration with Seta is a bit more complicated, and so you’ll need to use a little code. Whether you add the code into a custom plugin, your child theme functions.php file, or by using the more plug-n-play Code Snippets plugin doesn’t matter. Before using the following example code, we have started by creating a “fonts” folder inside the wp-content/uploads/eddistamper/ folder. We put our Comic Sans (yes!) TTF file inside the fonts folder. You can see that path reflected in line 6 of the code below. So, put the continue reading…

colorful sunset

Flu and the Trail

We’re now at least a couple months into the surreal shitshow called “COVID-19” (a coronavirus). I’ve spent the past week and a half-sequestered very remotely, not just because of the misanthropy I’ve felt more and more while scanning the news and social media, but to enjoy the wild, help build an off-grid house, and perhaps survive (and help others survive) the pandemic I’ve been warning friends about since I was a nurse in Portland in the oughties. This type of thing was bound to happen, and it’s too bad more people aren’t more prepared. (That said, not many of us have the resources to be prepared.) While cutting wood, plastering, and painting over the past week, various unrelated COVID-19 impacts have come to mind. Having gotten more and more worried about hoarding, I came to town yesterday to stock up continue reading…

woman hiking in Utah

Where trails come from, where they go…

I subscribe to Wired Magazine in digital form, where I learn all sorts of neat things each day. This morning I spent over an hour watching a video produced by Wired, where an astrophysicist explains gravity to five people, ranging from beginner to expert. What a brilliant way of teaching/learning a topic, by helping someone realize how much they don’t know, and expanding on a concept bit-by-bit over an hour. (I was about at the grade-schooler’s level of understanding, haha. How far can you follow the concept? By expert level, my mind was blown.) This afternoon, an opinion piece popped into the Wired newsletter. It’s right up my alley. If you’ve been reading my blog lately, you probably know I’ve been subjecting readers to an achingly long rant about conservationism vs. the modern “opt outside” movement…. about Leave No Trace continue reading…

Watermarking with NGINX

*** UPDATE *** As of November 2022 the information in this blog post no longer applies to the current versions of EDDiMark and WaterWoo. The post is provided for historical reference, but should be ignored by most people. A customer recently pointed out that serving watermarked files on a NGINX server needs to be done a little differently. He is using Kinsta hosting. I also confirmed the issue on a local NGINX server. By default, WaterWoo and EDDiMark try to place a PDF in the /tmp folder while watermarking takes place, then serve it (and delete the /tmp copy). Bottom line: Kinsta (or any NGINX server) does not allow user access to /tmp, and for good reason. “…you must not permit visitors to access to tmp nor config (the database dumps are stored in /tmp so a visitor can discover continue reading…

Death Valley rock formations

Rock or Wood?

I just spent a couple of gloriously mild days in Life Valley, canyoneering and hiking, conversing with and admiring a lot of rock. The Valley also had quite a bit of water in it due to some recent storms, but this time of year the plants and animals have retreated and it’s time for the rock to shine. And there’s a lot of rock. The Valley’s valleys, as they show (or don’t show) themselves from the car, are enshrouded, modest, and less-than-tantalizing by reputation. If one is brave and stupid enough to venture too far from the road on foot and with rope, they open in dizzying, hypnotic displays of color and texture, enfolding you. It’s not so much that they threaten to keep you against your will at that point, as that you threaten to stay against their will. continue reading…

High Sierra glacial basin

Nature : Museum

Discussing my latest backpacking trip with my guy, I came up with an analogy which I like very much, and which seems original and enlightening. I compared modern wilderness visits with museum visits of the recent past (pre-2010). My first memories of museums were of the Anchorage Museum as a young teen, then the Louvre and Musée D’Orsay, and the Met in NYC and Mutter Museum in Philly as an older teen. Even if relatively brief, I treasure those visits for several reasons. Be they small or petty reasons it doesn’t matter, the memories are large as a very deep breath. Memories of carefully-curated open space and light, surprises of color and subtle hushed sounds. Photos were disallowed and so I would stare without blinking in an effort to somehow memorize what I had seen, feelings and all. I tried continue reading…

lake powell invasive mussel shells

New West vs. Old West

I’ve been struggling with thoughts about conservationism, conservationism against the prevailing tide, and my tiny place in the thick of things, as well as a sore knee, since I got back from walking Utah in early June. Some reading, and going through my photos, is helping me finally collect my thoughts. I can’t remember where I was when a friend forwarded me a link from the Canyon County Zephyr, but I was definitely in Utah. I was probably in the backcountry still somehow indulging in LTE “connectivity,” but unable to read much because I was busy walking. But with a few clicks and paragraph licks, I distinctly gleaned a sense of being the outsider where I was. I looked up from the phone and had lost my bearing, my confidence. I suddenly felt woefully ignorant of the vast soulful and continue reading…

Another Vanagon Wiring Harness

I made another wiring harness for another 1983.5 (water-cooled) 1.9L (2.2 GoWesty rebuild) Westfalia van. You can see the first engine wiring harness I made here. My friend’s van started right up, but still needs a new throttle body to smooth out the idle. We knew this before we started. The original wiring harness was in even worse shape than mine, with several sections of burned wire and wire casing. Anyway, here’s some pics of the new one I made. The pics were taken just before the harness was installed, and final connections made, so there are some unfinished ends. But you get the idea. Update: as of December 2019 both these harnesses are working fine, and no regrets. Except I do regret driving through the flooded Necanicum River on Highway 101 last week because… I may have destroyed my continue reading…

I’m Not An Electrician, But

I haven’t written for a while and since I last wrote I’ve had a pretty marvelous adventure through Utah and Arizona on foot. Yet here I’m going to write about a Vanagon wiring project I just completed. I’m sorry if this is totally off-topic, boring, and a waste of your time. But I took on this wiring project I’ve been wanting to do for a long time and thought I’d share a couple thoughts that could help other folks. Old: New: This was a pretty straightforward project and I’m pleased with the results. One thing I discovered while working on it bothers me and I haven’t been able to confirm anyone else has this situation: the original ECU connector was pinned in reverse such that fuel injectors 1 and 2 were in 3 and 4 position and vice versa. I’ve continue reading…

view of sagebrush forest and a deep canyon in the distance

Tuckup Canyon Head Flora and Fauna

I topped out at Kanab Point, a very quiet and lonely place. I did consider introducing myself to the people truck-camped there, but got a definite vibe that it wasn’t the right time. It’s weird to have feelings like that, but I always listen to my gut. Probably a great idea when one is that remote, and without any rescue beacon. But it was good to know someone was there in case my tonsil decided to explode. And as I went through those thoughts in my head, the truck fired up and drove off, without so much as a backward glance. People can be so weird in the desert. I know if I had flagged them down they probably would have helped, but it just seems like a desert courtesy to howdy do and ask if water is required. Must continue reading…

Looking down on the Esplanade, trying to remember to look at my footing, not the scenery! What a gorgeous morning!

When I Almost Killed George Steck

TL;DR Lucky for him, George Steck is already dead. I was just very mad at him for a couple days for suggesting anyone hike this section of the Esplanade in the Grand Canyon. In hindsight I myself wonder what I was doing trudging through sometimes hip deep snow drifts in a blizzard to Monument Point. But nevermind that, it’s another story. This story starts at the Bill Hall Monument Point trailhead, where I began by borrowing a few small bottles of water from the back of a pickup truck loaded with several dozen gallons. Gee I wondered, what was that person told? Obviously not the weather forecast! What’s wonderful about snow and rain in the Grand Canyon is it means finding water isn’t such a chore. I knew in a matter of minutes I’d be going from 36º and snowing continue reading…

Cabin 140 on the North Rim

Hello from cabin 140 on the North Rim! I’m sleeping on the floor next to a heater that came on sometime in the night when the generator was at last repaired, and have been sizzling all night. The six other people in the cabin are snoozing away; they were up late drinking and celebrating their Rim to Rim hike, which somehow ended just before the snow hit. They had foresight to send a stranger ahead with a credit card to reserve this cabin and good doing. It was chaos bordering on riot yesterday evening in the main Lodge, with folks having pushed in despite the weather only to find no respite from the cold: 29° outside and no electricity in the Park. I was not as lucky as these six; first of all, I had to travel 4 times further continue reading…

two small honey-colored bark scorpions in the palm of a hand

A Walk from Hite to Ticaboo

Who even knows where Hite and Ticaboo are? You do? That’s awesome, you’re familiar with the epicenter of Utah’s slickrock coolness! Or maybe you have spent some time on a boat on Powell Lake. Boaters in southeastern Utah would be rudderly (utterly – get it?) familiar with these two tiny outposts. Not familiar? Let me show you. They’re both sorta out of the way places, and pretty much nobody walks between the two places. I thought about hitchhiking past this section, but I heard that Swett Canyon was neato, and was curious about getting a little closer to the southern foot of the Henry Mountains. I did not plan this part of my Colorado Plateau traverse beforehand; it was a problem to tackle in real time. It takes three days to do this walk if you go at it pretty continue reading…

Backpacking the Kokopelli Trail – Part 2

Return to Backpacking the Kokopelli Trail – Part 1 Day 5 – Ups and Downs April 13. Trigger warning: Skip the next two paragraphs if you hate annoying conservationist chatter… about cows. Depending on who you ask, our public lands are littered with hundreds of thousands of cattle, or free range beef just “grows on trees.” In Utah there is one cow for every four people, so you’re bound to run into them in the woods. Often ranchers take government subsidies to pay very little money to graze their stock on our public lands, which sometimes even includes National Parks! They become millionaires off our backs, then sell us a product that isn’t necessarily good for us, whether ethically or whether it contains ecoli or whether it clogs arteries. It just doesn’t seem right. Beyond that, sometimes ranchers poach grazing continue reading…

Old trail sign on the Kokopelli trail with sage prairie in background

Backpacking the Kokopelli Trail – Part 1

In the spring of 2019, I solo backpacked (self-supported) from Loma, Colorado to Moab, Utah on the Kokopelli Trail. Given it was a relatively high snow year and the wet weather forecast, this was sorta dumb. But I was determined to hike “the entire Colorado Plateau” after a geologist friend asked about the Hayduke. He was driving me to Vegas so I could pick up a rental car in 2016, just before the first time I hiked it. He seemed to challenge me when he said: “Why would the Hayduke not cover the entire Plateau?” I am not sure he was exactly throwing down that gauntlet, but that’s how I took it, and even after having hiked the Hayduke twice, once in each direction, I decided to put together my own hiking route which stretched the entire Plateau. I mapped continue reading…

mount morrisson sierra nevada

Dear PCT Class of 2019

I’m getting ready to go on a hike of my own, but I wanted to drop you a note to let you know it’s still snowing in the High Sierra. My 2017 blog post “Dear PCT Class of 2017” with tips about snow travel and whatnot definitely, definitely applies, since we got more snow (* see footnotes) this year than we did overwinter 2016/2017. I spent the winter shoveling, plowing, skiing, and snowshoeing in the Sierra, and I’ll tell you what: nobody who knows anything about avalanches or snow conditions (in brief, they suck) is going back there behind the Crest right now. I hope you read my 2017 letter and do all the other research and preparation you can, and don’t rush a thing. There are a lot of us who are very concerned for your safety. Remember that continue reading…

Phone Number as PDF Password

A customer asked about maybe using a customer’s phone number as the PDF password instead of their email or an admin-chosen string. Here is some example code which will get that done. Make sure to test it, and customize ad-lib to suit your purposes. function waterwoo_use_phone_as_password( $password, $order_id ) { $phone = ”; // start by maybe getting phone number from order ID $order = wc_get_order( $order_id ); $order_data = $order->get_data(); $phone = $order_data[‘billing’][‘phone’]; if ( ! isset( $phone ) || $phone == ” ) { // no phone number yet, try seeing if user is logged in and has a saved phone number: if ( is_user_logged_in() ) { $user = wp_get_current_user(); $phone = get_user_meta( $user->ID, ‘billing_phone’, true ) ? get_user_meta( $user->ID, ‘billing_phone’, true ) : ”; } } // you might want to manipulate the phone number to remove continue reading…

Frigga, Flemish, Floundering

(a cloudy story for you) The man who stalked me on the Hayduke is a meteorologist for the Belgian army. He asked how I understood what I understood about clouds and I told him I read the Cloudspotter’s Guide a couple times. I also look at clouds. I try to make sense of them. I also have a weird sense of barometry through pressure I feel in my ears, believe it or not. My ears ring and hurt me a lot, but the upshot is I’m very very good at predicting rain. This was the fateful day I decided to sorta hike with him for a couple miles and give him a chance. To be “friends.” Our last day, given the next we were going in different directions. It wasn’t a coincidence I was giving him a chance knowing we continue reading…

Select a page:
Little Package