← Back to team overview

mahara-contributors team mailing list archive

[Bug 803747] Re: Do not display the username to a person registering for an account

 

The display_name() function can take a $nameonly variable

So maybe we could go display_name($USER, null, true) and then change the
display_name function's line from

$addusername = $username || !empty($userto->admin) ||
!empty($userto->staff);

to

$addusername = $username || (!empty($userto->admin) && $nameonly ==
false) || (!empty($userto->staff) && $nameonly == false);

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/803747

Title:
  Do not display the username to a person registering for an account

Status in Mahara ePortfolio:
  Triaged

Bug description:
  The account denial email (master) in
  htdocs/auth/internal/lang/en.utf8/auth.internal.php shows the username
  after the name of the administrator. That should not happen.

  Accound denial email:
  As this is an email that looks like it's bein sent from a direct user, it's weird that it is more impersonal than the other.

  Hi Name,

  Your registration attempt at Mahara has been denied.

  Reason:

  "No students accepted"

  --
  Regards,
  Kristina Hoeppner (kristina)

  -------------------------------------------

  Note: Some of the wording may differ when you look at the text
  depending on whether the change for bug #803733 was accepted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/803747/+subscriptions


References