#4757 closed defect (bug) (no action required)
"What's new" string in activity post form shows only first word of name
| Reported by: | funnycat777 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Members | Version: | 1.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
How to replicate:
WP 3.5
BP 1.6.2
- Go to profile, and change the name so that you have two words or more in your display name.
- Go to activity page. The activity comment will show, "What's new, ABC?", where it only shows the first word of the display name.
Attachments (1)
Change History (6)
#1
@
14 years ago
- Component Activity → Members
- Summary Activity comments remove the second part of the display name when there are spaces → "What's new" string in activity post form shows only first word of name
- Version 1.6.1 → 1.2
#3
@
13 years ago
I would like to try your workaround.
Where is activity/post-form.php located?
I cannot find a folder called activity nor the post-form.php template.
#4
@
13 years ago
If you are using a child theme of bp-default, copy /wp-content/plugins/buddypress/bp-themes/bp-default/activity/post-form.php to your theme. (Make sure you keep the subdirectory structure intact.)
Then, make your changes in your theme's post-form.php.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This has always been like that.
The rationale behind this is so it would emulate a first name. If you don't like this, you can either:
bp_get_user_firstname()tobp_get_loggedin_user_fullname()) within the template (activity/post-form.php) to use the full display name.