b2 Sucks

So b2 has a few little ‘bugs’. basically its a piece of unmaintaned shit. I went to post my ‘fixes’ in the forum and found out you have to login to post anything, so frig em, ill jsut post them here for my own refernece.

To import blog stuff from blogger, just follow the steps they say in the blogger-2-b2.php file to get a heap of files that contain your blogger posts. Then you gotta do a few things to the b2 mysql database tables.
1) Change the int(10) value to BIGINT(20) for the post ID fields, in both the wp_posts (ID, post_author, post_date, post_content, post_title, post_category) and b2comments tables.
2) Do a search for ‘intval’ (without quotes) in the blog.header.php file and b2template.functions.php file. In both files, comment the line out thats says somthign like p$ = intval(p$).

So basically you gotta find every occurance of intval and get rid of it IF it is changeing the post ID value to an INT, we dont want this anymore cause we are using BIGINT.

*sigh* thats it – i think – this thing could still be dodgy.

Add a Comment Trackback

11 Comments

  1. monday, 29 september, 2003 13:55 MAT
    brett – your blog is CRAP!!

  2. monday, 29 september, 2003 14:00 MAT
    COULD still be dodgy??? IT IS DODGY!!

  3. monday, 29 september, 2003 14:00 MAT
    it’s worse than dodgy – IT’S CRAP!!

  4. monday, 29 september, 2003 14:10 MAT
    is it gonna log this comment right away? if it does – then MAYBE it’s not crap – but regardless this is probably just CRAP!!

  5. monday, 29 september, 2003 14:13 MAT
    *snort!*

  6. monday, 29 september, 2003 14:14 MAT
    i really, REALLY, really hate it when you snort.

  7. mm, cockmonkey LMAO

    I like the looks of it now and girls with dirty mouths are funny.

  8. yo brett!!!!

    you gots a new blog!! and i can comment on it wheeeeeeeeeeeeee!!!

    watch me comment…. wheeeeeeeeee!!

  9. just remove the L and let the definition speak for itself.

  10. hey, you’re blog thingy just abused me and called me cowboy. screw you blog thingy.

  11. why is the blog thingy needing to moderate my comment. moderate this blog!!

Add a Comment