[buddypress-trac] [BuddyPress Trac] #9149: Add link to GH docs for the bp-signups (a.k.a. Managing Signups) page/screen help tab

buddypress-trac noreply at wordpress.org
Mon May 6 12:24:49 UTC 2024


#9149: Add link to GH docs for the bp-signups (a.k.a. Managing Signups)
page/screen help tab
-------------------------+-------------------------------------------------
 Reporter:  emaralive    |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  12.5.0
Component:               |    Version:  12.4.1
  Administration         |   Keywords:  has-screenshots has-patch dev-
 Severity:  normal       |  feedback
-------------------------+-------------------------------------------------
 The link to be added is:
 {{{
 https://github.com/buddypress/buddypress/blob/master/docs/user/administration/users/signups.md
 #manage-pending-user-accounts
 }}}

 This is represented by inserting the following into
 **{{{BP_Members_Admin::signups_admin_load()}}}**, of which the method is
 found around **[https://github.com/buddypress/buddypress/blob/master/src
 /bp-members/classes/class-bp-members-admin.php#L1808 Line 1808]** of
 **class-bp-members-admin.php**:
 {{{
 $manage_pending_ua = sprintf(
         '<a href="%1$s">%2$s</a>',
          esc_url(
 'https://github.com/buddypress/buddypress/blob/master/docs/user/administration/users/signups.md
 #manage-pending-user-accounts' ),
          esc_html__( 'Managing Pending User Accounts', 'buddypress' )
 );
 }}}

 Additionally, the plan is also to replace the way the link to the
 **Support Forum** is currently represented with the following:
 {{{
 $this->bp_forum = sprintf(
         '<a href="%1$s">%2$s</a>',
         esc_url( 'https://buddypress.org/support/' ),
         esc_html__( 'Support Forums', 'buddypress' )
 );
 }}}

 The reason for the **{{{$bp_forum}}}** property is because there are 2
 other class methods
 (**{{{BP_Members_Admin::members_invitations_admin_load()}}}** and
 **{{{BP_Members_Admin::user_admin_load()}}}**) that contain links to the
 **Support Forum** and can be replaced with the **{{{$bp_forum}}}**
 property. I did not replace those links because I was only tasked to add a
 link to the appropriate GH document, of which placement is within the
 **{{{BP_Members_Admin::signups_admin_load()}}}** method.

 Having stated the above, the screenshots represent the help tab for the
 bp-signup page/screen **before** (screenshot-
 win10-me-2024.05.05-08_50_45.png) and **after** (screenshot-
 win10-me-2024.05.05-09_00_43.png). The patch represents the initial
 proposed change.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9149>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list