[buddypress-trac] [BuddyPress] #4342: Register and Activate disappear when they should not after new install

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jul 11 13:04:00 UTC 2012


#4342: Register and Activate disappear when they should not after new install
-------------------------------+------------------------------
 Reporter:  mikedonovan2011    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Core               |     Version:  1.5.6
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


Comment:

 > I create a new empty “Register” page (the slug is register). Register
 appears on the menu, which I expected. But clicking on it takes me to a
 fully formed page with fields. Is this right?

 No. And in fact, I can't reproduce this. With a page at
 example.com/register/, but with the Register == None at BP > Pages,
 example.com/register/ is blank (with the "Edit this page" link from WP).

 Could you be more specific about "latest versions" of WP and BP? Do you
 mean the latest stable versions, or the latest dev versions? Are you
 running WP Multisite?

 As for the "disappearing" issue, it's by design. The default main menu is
 generated with wp_page_nav(), which just gives a list of pages. We assumed
 that most people would not want to have the Activate and Register pages in
 their main nav (it doesn't make sense for users who are already members,
 after all). So we use the function `bp_core_exclude_pages()` to take them
 out. Before you'd linked them to BP's Activate and Register actions, BP
 didn't know about them, so they weren't removed - thus the "disappearing"
 pages. This may be a bit confusing in your case, but the majority of users
 will simply allow the BP setup wizard to create and associate the pages on
 their behalf, so they'll never run into the issue.

 bp-default supports WP custom nav menus, so if you want to include
 Activate and Register in your menu, you can create your own at Dashboard >
 Appearance > Menus. (Or you can remove/modify our bp_core_exclude_pages
 filter.)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4342#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list