How and Why I install joomblog with some of my personal modifications

GO AHEAD AND READ THE ARTICLE BUT IT MAY BE UPDATED SOON. JOOMBLOG 2.3RC1 MAY HAVE FIXED THE DOUBLE REGISTER PROBLEM. I AM LOOKING INTO IT - edited 6/11/2006

If you haven't heard of Joomblog yet you should check it out. It uses native Joomla internals. This keeps it small, fast and very compatible with other extensions. It takes the place of extensions like Akocomment, mosCE or Discussbot, etc. Joomblog currently has four extensions to install:

com_joomblog_2.2 RC4.zip - main component

mod_joomblog_2.2 RC4.zip - module for registering/moderating users to blog

bot_joomblog_2.2 RC4.zip - bot to allow comments

plug_cbjoomblogtab 1.0.zip - Community Builder Plugin

You can read all about Joomblog and download it from www.joomlafreeware.com

My main gripe with Joomblog is that it requires each user to register as a blogger. That means all of your users have to register in Joomla/CB and then register to blog. That is great for a low traffic site but if you are using Community Builder chances are you are hoping for high traffic, high user enrollment and low administration. My solution to this is to only show the Joomblog module to registered users and edit a line in
joomblog_register.php

those are just file line numbers down the left side.

58 //Now Register the User
59 $query = "insert into `#__joomblog_users` "
60 ." (`userid`, `block`, `register_date`) values"
61 ." ('$my->id',0,'$now')";
62 $database->setQuery( $query );
63 $database->query();
64 if($database->getErrorNum()) {echo $database->stderr(); return;}
65
66 {cls_joomblog::my_alert(($_JBLOG_SUCCESS_REGISTER ? $_JBLOG_SUCCESS_REGISTER : "Registration "
67 ."Success. You can create your own blog.")); return;};
68 }

the culprit is on line 61 one as of Joomblog 2.2 RC4

change it from
." ('$my->id',1,'$now')";
to this
." ('$my->id',0,'$now')";

and you are done. Now when people click on register as blogger they are automatically registered and can get to work.