Skip to:
Content
Pages
Categories
Search
Top
Bottom

$bp->activity->table_name gives a blank

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of nicholmikey
    nicholmikey
    Participant

    @nicholmikey

    After of hours of hair pulling that I deserve as a BP newbie, i discovered that if I hook into bp_init this works fine.

    add_action( ‘bp_init’, ‘save_your_activity’ );

    The problem was with saving things to the activity stream using bp_activity_add, the save() function in bp_activity_classes.php was putting out bad sql that was missing the table name.

    I feel much better now.

    Avatar of Virtuali
    Virtuali
    Participant

    @gunju2221

    We have all been through hours of trial and error :)

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.