07 Feb 2006

A sneak peak at unofficial K2 updates

Let’s make this entry short and simple. The list represent the suggested updates on the next K2 release which are still unofficial and it will be reviewed and revised by Mike himself. There are still few pending fixes, patches, featured request that are still not been applied due lack of time to test it on my side.

I figured that we eliminate all the major bugs in r163 first before doing some nasty tweaking.

Suggested updates on next K2 release

  1. Sidebar.php, line 144: Remove sb-links nested list if link list not available.
  2. Fix K2Bugs #203: Subpage heading appears even when there’s no content on the page due to attachments.
  3. Featured Request #204: Flickr RSS icon.
  4. Fix K2Bugs #194: Top Navigation is not displayed on Archive Pages
  5. Fix K2Bugs #196: Del.icio.us display problem
  6. Fix K2Bugs #207: Short PHP tag
  7. Fix K2Bugs #195: “register/site admin” tab not displayed correctly in IE
  8. Fix K2Bugs #161: Link Images on sidebar (linked via the “Image URl” in the Links Module) display dark borders around them
  9. Comments.php line 36: Remove <a> anchor “comments” already defined in line 34
  10. Comments.php line 51: <a> anchor “comment-<?php comment_ID() ?>” already defined in line 50
  11. Sidebar.php line 197: Add <div class=”clear”></div>
  12. Style.css line 709: Fix invalid blockquote selector background property value.
  13. K2Bugs #199: Patch for event onload

Still pending and not applied

  1. Exclude aside on sidebar Latest post if inline asides
  2. K2 scheme Author
  3. Feature Request #209: Del.icio.us linkrolls or delicious Cached ++
  4. K2Bugs #189: Yet another style sheet fixes
  5. Reordering sidebar modules

Any comments or suggestions?

UPDATE: According to Mike, Chris is currently doing some work on functions.php.

UPDATE: Commit the above changes to revision 166.

UPDATE: Download K2 Revision 167 released.

15 Comments

  1. [...]   1 to 5 of 5  Heilemann4 hours ago edited I just uploaded r167, which is entirely Zeo’s thing. I’ll let him do the talking (there’s an error on his site as I write this, be patient).  Jamshid3 hours ago Please change the link also — it lead to r163 for now. lisa1 hour ago edited The link to Zeo’s site brings up a 404 not found page. So does the recent entry link to the post on the error page…. :( And I so wanted to see what was new.Edit: Never mind…. I see that Michael says to be patient…. Damn that’s hard to do… Oompa56 minutes ago Yeah me too! And just after I finish up my K2 mod. Back to editing :P. arman55 minutes ago zeo site still down at this moment. i’ll be waiting. ;P [...]

  2. Hi Zeo,
    Would you release an official diff? As some of us are using translated AND tweaked K2s, would make our life much easier…
    Thanks for the nice job done.

  3. Zeo, great! Some things are fixed now, thanks. BTW, how I can delete the >> symbol in del.icio.us — they make another view than other links.

  4. ZEO

    Eduardo, visit K2 unofficial diff. Seriously I don’t know who maintain it :P

    Jamshid, look for “raquo” inside delicious.php

  5. [...] K2 (the WordPress theme I use here) has been updated to r167. Details, diffs. [...]

  6. ZEO

    It seems that there’s a problem with WordPress blogs that gzip compression is enabled which cause LiveSearch error.

    If there’s any chance that your blog is using LiveSearch and WordPress gzip enabled, please remove ob_start ("ob_gzhandler"); from line 2, js/livesearch.js.php.

    Accept my deepest apologizes for any inconvenience that this may have caused.

  7. Hi,
    I confirm that there’s a bug with the ob_gzhandler. Thanks for the fix !
    Kind regards,
    Étienne

  8. By the way, I get this warning as well :

    
    Warning:  Cannot modify header information - headers already sent by (output started at E:\htdocs\wordpress\wp-content\themes\k2\js\livesearch.js.php:1) in E:\htdocs\wordpress\wp-content\themes\k2\js\livesearch.js.php on line 3
    
    

    I had to comment the whole “header” stuff, following the ob_gzhandler. I don’t know if it does matter or not.
    Bye !

  9. thanks Zeo, i will take a look there.

  10. ZEO

    Étienne, hmm I think it’s a white space issue. Try this changes.

    1. blockquote kinda mess up.
      style.css, line 718 change to

      
      blockquote {
              padding: 0 20px 0 50px;
              color: #333;
              background: #fff url('images/quote.png') no-repeat 10px 0%;
              border: none;
              }
      
      
    2. The flickr feed icon is slightly out of line with the other feed icons (Credit to gigi).
      style.css, replace:

      
      .sb-flickr img {
              border: 0px;
              padding: 5px;
              }
      
      

      with

      
      .sb-flickr div img {
              border: 0px;
              padding: 5px;
              }
      
      
    3. Wrong rss url for flickr (credit to stevester)

      Line 196 in sidebar.php change the link to:

      
      <a href="http://flickr.com/services/feeds/photos_public.gne?id=<?php echo get_option('flickrRSS_flickrid'); ?>&format=rss_200" title="RSS Feed for Flickr" class="feedlink">
      
      
  11. Zeo, it does not work (for me at least). With this code the quote.png image does not appear. I try to change the blockquote to the original R163

    blockquote {
    margin: 20px 0;
    padding: 0 20px 0 50px;
    background: url('images/quote.png') 10px top no-repeat;
    border: none;
    }

    but id also does not work. The only version which show the image is R167 code but it is in the middle of the quote, and I don’t like this way.

  12. Argh. Sorry. I try to change the custom.css instead of style.css. In this way it does not work. But with changes in style.css the way is good.

  13. Hi Zeo,

    Thank you very much ! It made the trick.

    Keep on the good wonderful work ;) !
    Regards,
    Étienne

  14. Hi,

    I’ve tried your K2 update, but I’m having a problem. I’m using it on a test blog so that I can modify the theme before upgrading my blog to WordPress 2.0, but I’m having a few problems…

    The test blog can be found here: http://wolphination.com/testblog . As you can see, the sidebar has decided to slide down below the text. I’m not sure if this is a bug in the theme or a corruption when I unzipped it, but I thought I’d let you know because it’d be great to see it fixed.

    Thanks!

    J_K9

  15. Update: The theme is now unbroken, because I removed a Lorem Ipsum post. Try the following with K2 r167 -

    Post Title: Lorem Ipsum Dolor Sit Amet

    Post body: The first 5 paragraphs of Lorem Ipsum (available here: http://lipsum.com/), adding a <!–more–> tag directly after the first paragraph.

    That should do the trick! :)

    Cheers,

    J_K9