How to Build a Wiki in WordPress

Note: This article is for developers. It is an outline of steps that need to be taken to build the plugin.

  1. Define a custom-post-type so that this can live next to a the rest of the content on a site. Slug: wiki, of course
  2. Define shortcode [w pagename] that links to the correct page if available. If not, suggest alternatives and give option to create page.
  3. Enable front-end editing for this CPT.
  4. Expose revisions on the front-end.
  5. Add ability to define pages that will act as the header and one or more sidebars.
  6. Add widgets that do page menus, topic menus, etc.
  7. Create a [widget] shortcode
  8. Add custom user levels
  9. Add ability for non-privileged users to submit edits in a format that editors can just click to commit.

Being A Leader: It's All About Balance… Except When It Isn't

Being a leader requires you to balance a lot of different, often conflicting priorities. You even have to make the call between a balanced, diverse (safe) approach and going all in.

You will have much greater success if you stay in the center of your lane, but you will have a much shorter life, if you stay in the middle of the road.

Here are just a few things you have to balance. Feel free to add your own in the comments.

  1. Speak and act with confidence. Be humble.
  2. Never do yourself what someone else is willing and better able to do. Be a servent.
  3. Listen to wise council and to the heart of your people. Stand firm for what is right.
  4. Provide stability. Push your followers to achieve the impossible.
  5. You are here to make decisions now and make them stick. Don’t be rash.

 

Being A Leader: It’s All About Balance… Except When It Isn’t

Being a leader requires you to balance a lot of different, often conflicting priorities. You even have to make the call between a balanced, diverse (safe) approach and going all in.

You will have much greater success if you stay in the center of your lane, but you will have a much shorter life, if you stay in the middle of the road.

Here are just a few things you have to balance. Feel free to add your own in the comments.

  1. Speak and act with confidence. Be humble.
  2. Never do yourself what someone else is willing and better able to do. Be a servent.
  3. Listen to wise council and to the heart of your people. Stand firm for what is right.
  4. Provide stability. Push your followers to achieve the impossible.
  5. You are here to make decisions now and make them stick. Don’t be rash.

 

Saturday was Sick-day

Sick day = No post ūüôā

Plugin: Share Database and Uploads

Here is a really neat idea for a WordPress plug-in. Maybe someday I will have time to build it. In the mean-time maybe this will be inspiration for somebody to beat me to it.

Problem: You redesigned your site locally (like you should) but you don’t have live data to test against and anyway in many cases the server for your live site is configured slightly differently. In my case, I have to interact with a server environment that is very different. I can emulate it most of the time, but sometimes I really need to test on the live server.

Solution: Setup a separate site on the server for testing. Nice. But, I really want to test it with real data. That means copying everything over.

Wouldn’t be nice if the test site could just have read-only access to the production database and uploads folder? Then anything it needs to write can go to temporary tables on the side.

Things I Am Thankful For

I am thankful for all the standard things, God, family, nation, even country, health, an awesome job, my church, and a thousand other things. Those things that I have and will continue to mention year after year.

This year, though, I thought it might be fun to mention a few things that are not likely to make it in the top ten list. So here in no particular order:

  • Snow
  • Trees – especially when they change color
  • Birch – I love that white bark
  • My wife’s neck and shoulders
  • Humor
  • The Latin alphabet
  • The Korean alphabet
  • The Chinese languages
  • The ocean
  • Wood heat
  • Trackrecord app
  • WordPress
  • The WordPress community
  • Daisies
  • A blue sky
  • An overcast day – it really makes colors pop
  • Sleep
  • Maps and Wikipedia
  • Libraries

So many things to be thankful for and just getting started. What are some of the unusual things you are thankful for?

What Are You Thankful For?

It is thanksgiving in the US tomorrow and Canada is done being thankful already. Anybody know of other countries with a similar tradition?

Anyway, if you write or have written a post on thankfulness this year, would you let me know in the comments? I want to do a round up post. Probably on Friday.

Open Source Government

If there is one thing that liberals and conservatives, democrats and tea-party members, and everyone in between can agree on, it is that the government leaves a lot to be desired.

What is really awesome is to see businesses stepping up and filling the gaps often using new technology or new ways of thinking about old problems. This is awesome not just because the gap is getting filled, but also because it is getting filled by private companies.

If I don’t like how a company is doing things I can set up a competing company and do better. If the government is doing something, but not doing it well, I will have a hard time competing because they can tax my revenue to pay for their inefficiencies.

One company helping to open-source government a bit is Modria. They are keeping thousands of cases out of the very expensive court system, and helping thousands of people get the justice they seek while restoring relationships. More info here.

Yes, it is a bit expensive, and no I am not encouraging anyone to sign-up. I just thought this was a really cool way to use technology to make a formally government process a human process once again.

Movie Monday 2012-11-19

The Richest, Most Important, Most Powerful Person on Earth and What You can Learn from Her

To really capture in a photo how big a Sequoia is you have to get someone to stand next to it.

To help you understand how important this person is, I am going to select a few great people to stand next to her.

The Presidents of The United States

Bill Gates

J.C. Penny

Margret Thatcher

Monarchs of England

Albert Einstein

Lady Gag

Warren Buffet

The Rockefellers

Marissa Mayer

Okay, so a few on the list are a bit suspect, but all have or at one time did have an¬†immense¬†amount of power. You can probably name many others, but they are all like ants at the foot of Sagarmatha when compared to one young lady who carries the weight of the world and the future of the universe on her shoulders… or more likely… on her hip.

Who is this amazing lady!

She goes by many names. Mother, Mom, Mommy, and many use those names, but specifically I am referring to those mothers that choose to stay at home and bring up their children as their full-time job which includes things like homeschool and home-industry.

Women fought hard for the right to work in a Man’s world. They are still fighting to get fair pay. I strongly believe that women should be allowed to do any job. And they should certainly get paid at least as much for the same level of effort, hazard, skill, etc. Women are typically more qualified for most jobs than the men that they are competing with.

But women could do so much better! Why settle for equal pay doing something that has little lasting impact? Women in general are so much more talented than men. It really is a shame to waste that talent as the CEO of a multi-billion dollar corporation. There are plenty of men out there that can do a good enough job at that.

Men do not make good moms. They can’t handle it. The skills just aren’t there. Women’s brains and stamina are far superior. Sure that makes them more qualified for many other jobs, but again, what a waste of talent.

Training children well multiplies your impact on the world by the number of children you have to the power of 4 or more generations! That is huge!