Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • ndh01
    Participant

    @ndh01

    I found I have to declare it in my theme as noted here https://buddypress.trac.wordpress.org/ticket/6570:

    bp_set_theme_compat_feature( 'legacy', array(
    	'name'     => 'cover_image',
    	'settings' => array(
    		'components'   => array( 'xprofile', 'groups' ), /* or you can only use array( 'xprofile' ) to restrict the cover image to users */
    		'width'        => 1170,
    		'height'       => 225,
    		'callback'     => 'swifter_theme_cover_image', /* function that will return to BuddyPress the css to attach to the theme_handle */
    		'theme_handle' => 'swifter',
    	),
    ) );

    ndh01
    Participant

    @ndh01

    It doesn’t work for me, perhaps because I’m using gravity forms for user registration.


    ndh01
    Participant

    @ndh01

    Henry,

    Yes, I tested but it didn’t work because the new_member activity is created when the user is activated. So if( bp_get_user_last_activity( $user->ID ) == ” ) is never true when they log in.


    ndh01
    Participant

    @ndh01

    Thanks guys!


    ndh01
    Participant

    @ndh01

    Looks like I need to create new meta because the new_member activity is created when the account is activated.

    Thanks for your help!


    ndh01
    Participant

    @ndh01

    @shanebp I haven’t tested yet. There is an activity entry for ‘new_member’ that gets created. Not sure if that is when they first login or or first activate. Unfortunately, that entry might already be there when I check. Will take a look.


    ndh01
    Participant

    @ndh01

    Hi Shane,

    Sorry for the delay in responding. Thank you for the help. My custom actions are now registering on the admin screen.


    ndh01
    Participant

    @ndh01

    @henrywright
    I was hoping that there was a hook in either BP or WP that I could reassign the posts to but I can’t find anything.


    ndh01
    Participant

    @ndh01

    Henry, did you find out an answer to your question? I tested that posts (in my case a few custom post types) do indeed get removed when a user removes their account. In my case, I would like to auto reassign to a different ID when a user deletes their account.

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar