Skip to:

External Group Blogs [BP 1.2.7, WP3.0.4]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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;
    $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.

    a short update on the date problem – i realised 40 years ago would be consistent with a timestamp of 0. therfore, a second conjecture:
    rss feeds from Blogger don’t like being chopped up into `$feed_item`.

    the solution was to use the feed provided at Other ones don’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘External Group Blogs [BP 1.2.7, WP3.0.4]’ is closed to new replies.
Skip to toolbar