Breaking News
Oprah Quitting TV Show In 2011

More Site Notes

That BBCode thing wasn’t working, so I killed it, re-enabled HTML and the ability to embed images. Just use a standard <img> tag as seen here. Whenever I upgrade Wordpress it tends to kill the hack I put in to read img tags, so if you ever see it disappear this means I forgot and just send me an email saying so.

Some of you said you couldn’t edit your comments. If you’re logged in, I think you should be able to do so.

Use the comments to this post to test/respond to all your crazy requests.

Both comments and pings are currently closed.

12 Responses to “More Site Notes”

  1. Repack Rider says:

    I found that a bb code link killed the post, although it would accept an italic tag. Also, there was some confusion in the preview between html and bb.

    I can live with html, although it is so clumsy I have to keep a text file with all the tags. I take it that we are html image enabled. Well, I’ll give it a little test…

    http://i419.photobucket.com/albums/pp271/repackrider/avatar235.jpg

  2. Jamie says:

    Don’t put the hack inside of kses.php. Instead you can override that stuff in your wp-config.php. Just add:

    define(’CUSTOM_TAGS’, true);

    And then copy and paste the $allowedposttags and $allowedtags arrays from wp-includes/kses.php into your wp-config.php file, changing whatever you want in them. That way upgrades won’t override your changes.

    That or switch to Drupal where you put in what tags you want inside the admin pages, then you to can be like the White House! There’s even a nice module that allows you to use BBCode tags for Drupal.

    • I’ll do that later today. Drupal is overkill, went down that road already.

      • Jamie says:

        I’ve been using it for my personal blog for over 3 years now and love it. I was on WP before that and got tired of having things break with every single minor security update. It was even worse with Crooks and Liars and the hacks I had in there for WP to have decent roles for comment moderators. Every security update meant taking 3-4 hours of coding, since WP always changes so much that I can’t do simple patches with versioning control. Now when a security update comes out for Drupal I just run a patch command and send the changes. All done in under 10 minutes.

        But yeah – for a simple blog it can be over kill. What I would love to do ,if I ever get time, is write a blogging platform pretty much like Moveable Type and their use of static files, except all in PHP so it’s a lot easier for people to install. Most of the “dynamic” stuff a majority of blogs need can easily be included via a javascript load of extra files, pretty much how HuffPo does it now. That way more bloggers could easily stay with cheaper shared hosting and not have to worry about the Digg takedowns, etc. as much.

  3. Rheinhard says:

    Thanks, Oliver. We who have had multi-linky posts eaten salute you!

  4. cj says:

    So does this mean we have to get an account with Wordpress to be able to edit comments?

    Geez, I only want to do drive by stalking and commenting, not move in next door.