Password Protect Posts Created via Gravity Forms
A quick little plugin that sets the password for posts created via Gravity Forms. This came about as the result of a faculty request today. In this case it’ll grab the first form field and use that for the password. You could hardcode it into the plugin itself but I thought this gave a bit more flexibility. With this option you can make that field something that the user could set or you can make it hidden and set it consistently for all submissions.
Simple but maybe handy for someone else.
There are a bunch of these out there but the ones I knew of didn’t quite do what was needed by the Focused Inquiry faculty involved in this project. They wanted a couple things to be possible. The ability to link to specific elements via URL and have them expand. The URL to those elements to remain consistent even if the order of the elements was changed. An “email this URL” link to enable faculty to send the URL to students Plus/Minus indicators based on expanded/collapsed. Most shortcode plugins I’ve seen either don’t have an ID for the collapse element or make it sequential (which changes if you shift the order). Neither works well for a URL that needs to be consistent. I’ve never seen one to do the email element. In my head, I made this way harder than it needed to be. It ends up being just two shortcodes- one for the collapsible container and one for the item-level elements. I found this Bootstrap snippet that did most of the functional Bootstrap stuff that I needed. I found a script to let me expand elements via URL parameters. I reminded myself what a freaking mailto link structure looked like. Now I just had to figure out what variables needed to be set in the shortcode and how the […]
I was looking to have some people in my class publish lesson plans to their WPMU blogs via Google Docs. So I consulting the dean of WPMU, The Right Reverend Jim Groom, and he made it look so easy. Yet, I failed. Feeling stupid I started drinking looked at the differences in our set up. I began to worry it was because I wasn’t using dynamic subdomains. I reached such a depth of despondency that I actually read one of the error messages from Google itself. It said “Hey Dummy, you haven’t turned on XML-RPC publishing for that blog. Why don’t you go turn it on?” I did and everything now works. There’s a video on how to do that below in case it helps. pub2wpmu