WordPress.org

Ready to get started?Download WordPress

Forums

BP Profile as Homepage
Not redirecting (3 posts)

  1. etype76
    Member
    Posted 1 year ago #

  2. easilyamused
    Member
    Posted 1 year ago #

    Same problem,

    I'm trying to fix this right now.

    I already fixed two small bugs on line 16 and 23.
    bp_is_front_page should just be is_front_page now

    bp_is_front_page is deprecated.

  3. easilyamused
    Member
    Posted 1 year ago #

    If you change lines 75 - 80 with what i have below, it will always show you what you have selected when you go back to the settings page. Granted this is a small patch for what was already there. We should really query the database and pull the list of user types from there.

    <option value="" <?php if($opt_val == ''):?>selected="selected" <?php endif; ?>>No One</option>
    <option value="administrator" <?php if($opt_val == 'administrator'):?>selected="selected" <?php endif; ?>>Administrators</option>
    <option value="editor" <?php if($opt_val == 'editor'):?>selected="selected" <?php endif; ?>>Editors</option>
    <option value="author" <?php if($opt_val == 'author'):?>selected="selected" <?php endif; ?>>Authors</option>
    <option value="contributor" <?php if($opt_val == 'contributor'):?>selected="selected" <?php endif; ?>>Contributors</option>
    <option value="subscriber" <?php if($opt_val == 'subscriber'):?>selected="selected" <?php endif; ?>>Subscribers</option>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.