Opened 16 years ago
Closed 15 years ago
#654 closed defect (bug) (worksforme)
activity/recent posts widgets not showing excerpts correctly on i18n environment
Reported by: | takuya | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | 1.0 | |
Component: | Keywords: | activity, excerpt, i18n, utf8, dev-feedback, needs-patch, reporter-feedback | |
Cc: |
Description
activity feed is showing full contents if the content is not English, especially Japanese or perhaps Chinese.
I have several wordpress plugins to generate excerpts, or even a Japanese plugin to make sure excerpts generated when Kanji is used. But it seems it doesn't work on buddypress theme.
http://buddypress.org/forums/topic.php?id=1981
WordPress and wpmu does support automatic creation of excerpts when the_excerpts is used. But it seems buddypress's excerpt function isn't working properly.
Attachments (1)
Change History (16)
#2
@
16 years ago
- Keywords internationalization localization removed
- Summary changed from activity feeds not showing excerpts on i18n environment to activity/recent posts widgets not showing excerpts correctly on i18n environment
- Version set to 1.0
I'm using r1324, but this still happens.
#6
@
15 years ago
- Milestone set to 1.1.1
- Resolution fixed deleted
- Status changed from closed to reopened
I'm reopening this ticket as I found 1.1 is missing this r1325 fix.
#7
@
15 years ago
- Priority changed from major to minor
It seems 1.1 changed number(s) of characters in excerpts from 1.0.3 or previous versions, which I thought excerpt function is broken again. #1132 might fix.
btw, This functions requires the first plugin I posted to be in mu-plugins to work. I was hoping that plugin function is embed into bp-core.
#8
@
15 years ago
- Priority changed from minor to major
#1132 doesn't seem to fix. With version 1.1.1 I still see this bug. New image attached, where activity feed doesn't show excerpts but full post (content). Also I'm changing this to major.
#9
@
15 years ago
- Keywords dev-feedback added
John James Jacoby, is this something you could comment on? I mean the_excerpt I think is a Wordpress hook so maybe this should go there?
#10
@
15 years ago
It should not go to wordpress trac, as there's already fix (http://eastcoder.com/code/wp-multibyte-patch) for wordpress. This is buddypress specific issue. Everything works fine on WordPress, but not on buddypress.
In fact that it used to be working on 1.0.3, but 1.1.1 or 1.1.x broke it again in some way.
#12
@
15 years ago
Filter "bp_create_excerpt" is now applied to the $text value. You should be able to hook into that filter and change the output as needed? Is that enough to let you re-filter the content accordingly?
Also, bp_create_excerpt is now run through a number of WordPress filters to try to ensure that things are serialized correctly. See...
http://trac.buddypress.org/browser/branches/1.1/bp-core/bp-core-templatetags.php#L710
...and down below it for the filters.
#13
@
15 years ago
--- not "serialized correctly" but "filtered correctly" (was looking at the bp_is_serialized function when I typed it haha!
In Japan we have the following plugin. Could you take the following example and create new bp_create_excerpt function to make sure it works?