drcoach (@drcoach)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • In reply to: s2member integration

    @drcoach

    Member

    First, thanks to all for the thought and information you’ve put out here. As someone who is trying to do exactly what wood2695 is attempting – it’s really helpful. I have just tried wood2695’s suggestion of adding the code given to

    in /bb-admin/options-wordpress.php, I added

    $wpRoles = array(

    ‘administrator’ => __(‘WordPress Administrator’),

    ‘editor’ => __(‘WordPress Editor’),

    ‘author’ => __(‘WordPress Author’),

    ‘contributor’ => __(‘WordPress Contributor’),

    ‘subscriber’ => __(‘WordPress Subscriber’),

    ‘s2member_level4’=> __(‘s2Member Level 4’),

    ‘s2member_level3’=> __(‘s2Member Level 3’),

    ‘s2member_level2’=> __(‘s2Member Level 2’),

    ‘s2member_level1’=> __(‘s2Member Level 1’)

    );

    and then in /bb-includes/functions.bb-users.php, I added

    static $wordpress_userlevel_map = array(

    ‘administrator’ => 10,

    ‘editor’ => 7,

    ‘author’ => 2,

    ‘contributor’ => 1,

    ‘subscriber’ => 0,

    ‘s2member_level4’=> 0,

    ‘s2member_level3’=> 0,

    ‘s2member_level2’=> 0,

    ‘s2member_level1’=> 0

    );

    However, after I did that my forum turned to a white page for both logged in and logged out users. Any ideas?

Viewing 1 replies (of 1 total)