Re: External Group Blogs [BP 1.2.7, WP3.0.4]
OK, got round to fixing this, after moving to bp_external_activity… the timestamp issue has mysteriously solved itself, but to get the posts to show up on the feed i had to edit some code
this is the offending bit:
`$author = $rss_item->get_author();
if ( !$userdata = get_userdatabylogin( strtolower( $author->get_name() ) ) )
$user_id = 0;
else
$user_id = $userdata->ID;`
$author is not an object, says PHP. i conjecture this is a problem with my feed which means that $rss_item->get_author() doesn’t work, and $author is left NULL. can anyone confirm/deny this is how it works? the documentation is… terse.
anyway, i wrapped it in an if statement:
` if ($author != NULL) {
`…
`} else {
$author = “A user”; `
will this work? needless to say i am a novice.