I really don’t post often enough. And when I do, I have no profound thoughts. Like tonight. Not profound at all. But maybe useful if you’re running Joomla/Mambo with both Community Builder and LoudMouth.
The problem is (as far as I can tell) that LoudMouth adds an “avatar” column to the jos_users table. Thus, when Community Builder calls for the avatar using $user->avatar, it references this value rather than the one under jos_comprofiler. Upshot: if you upload an image for your Community Builder profile, you won’t be able to see it.
The way to see this image again is to hack the following file:
components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php.
Look for the following line: $uimage=$user->avatar;
Add the following code above it:
$avatar_query = "select avatar from jos_comprofiler where user_id = $user->id";
$avatar_result = mysql_query($avatar_query);
$avatar_row = mysql_fetch_row($avatar_result);
$user->avatar = $avatar_row[0];
Then when you call $uimage=$user->avatar; you’ve got the correct value in place.
Now, I imagine there’s probably a nicer way to do this, but I can’t be bothered to figure it out right now. At least this works!
uh, is this for that 3D IM service they’re advertising on xanga these days?
September 28th, 2006 | Permalink
have you ever found anything (be it a joomla extension or some alternative platform w/ or w/o extensions) that does a good email list web forum integration?
September 30th, 2006 | Permalink
Yahoogroups/Google Groups?
Several years ago, I looked for an email list/web forum solution, and I ended up not finding anything I really liked. I’m sure there’s something good out there… Just nothing that I ever really liked.
Anyone else know of anything better? I’d love to hear myself!
September 30th, 2006 | Permalink
yeah.. that’s what we’d all like to get away from actually.
patrick’s been wanting to dump yahoogroups for a while.
October 1st, 2006 | Permalink