WordPress.org

Ready to get started?Download WordPress

Forums

Bp Force Profile
[resolved] doesn't work with social plugin (6 posts)

  1. mmln
    Member
    Posted 1 year ago #

    I want my site members to login/register with social login (twitter/facebook) and upon login/register I want to force them to fill mandatory buddypress profile fields.
    When I enable 'Social Login' (http://wordpress.org/extend/plugins/oa-social-login/) and BP Force Plugin, I am getting error.

    Warning: Cannot modify header information - headers already sent by (output started at /home/XXXX/public_html/YYYY/wp-content/plugins/buddypress/bp-themes/bp-default/header.php:3) in /home/XXXX/public_html/YYYY/wp-includes/pluggable.php on line 876

    http://wordpress.org/extend/plugins/bp-force-profile/

  2. rc183
    Member
    Plugin Author

    Posted 11 months ago #

    I will try this.

    Thank you for your help

  3. matthias.s
    Member
    Posted 11 months ago #

    Hi.

    I've the same Problem... But without Social Plugin.

    The Error: Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/htdocs/page/wp-content/plugins/buddypress/bp-themes/bp-default/header.php:3) in /mnt/web/htdocs/page/wp-includes/pluggable.php on line 876

    Please fix it, because the plugin could be very, very useful for BP-Admins :-)

  4. andreivictor
    Member
    Posted 11 months ago #

    Hi,

    For the 'Cannot modify header information - headers already sent ...' error you need to edit the file bp-fp-loader.php and replace the line:

    add_action('bp_enqueue_scripts' , 'bp_fp_launch'); - line 147

    with

    add_action('template_redirect' , 'bp_fp_launch');

  5. matthias.s
    Member
    Posted 11 months ago #

    Wooohooo!!! Cool! It works...

    Thanx @andreivictor

  6. rc183
    Member
    Plugin Author

    Posted 7 months ago #

    Thank you for your help andreivictor. I have added your fix in the last version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic