Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Miguel López

    (@atallos)

    You’re right, I have solved this in the latest version 1.5.2.

    Thanks to you.

    Thread Starter Christian Wach

    (@needle)

    @atallos: thank you for the quick response.

    One more thing to consider: on line 438 (line 439 in 1.5.2), you ought to be hooking in to bp_custom_profile_edit_fields_pre_visibility rather than bp_custom_profile_edit_fields, so that the items in the edit screen render in the correct order.

    Cheers,

    Christian

    Thread Starter Christian Wach

    (@needle)

    While I’m on a debugging mission here, I should mention that the function bxcft_remove_xprofile_links should be hooked to bp_setup_globals because the filter you’re trying to remove has not yet been applied at bp_init. Line 1104 in 1.5.2.

    Cheers,

    Christian

    Thread Starter Christian Wach

    (@needle)

    I should mention that my observation about the bp_custom_profile_edit_fields_pre_visibility hook only applies to BP 1.7.

    Cheers,

    Christian

    Plugin Author Miguel López

    (@atallos)

    Thank you again!!! You’re right.

    I have changed to this hook bp_custom_profile_edit_fields_pre_visibility only if it exists for users who are still using prior versions of Buddypress.

    I have also changed to bp_setup_globals. Great debugging!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Playing nicely with other plugins’ is closed to new replies.