Skip to:
Content
Pages
Categories
Search
Top
Bottom

{…} excerpt feature for Forum posts

  • @mikepratt

    Participant

    Love the fact that new posts to forums make the activity feed but, as opposed to new blog posts, these entries do not get auto “excerpted” You can see an example of this at http://buglenotes.com where I recently added a forum post called

    “Former Supe LTG Willard Scott passes”

    We have members who will undoubtedly leave really long forum posts/replies and you can imagine what this will do to the activity feed. Thinking there might be a simple hack to implement what was done with blog posts but I haven’t figured it out yet

Viewing 15 replies - 1 through 15 (of 15 total)
  • @mikepratt

    Participant

    Can someone tell me where the bp_create_excerpt is? I have looked in every file can’t find it. I’m sure it’s under my nose

    @burtadsit

    Participant

    /mu-plugins/bp-core.php

    Mornin’ Mike. (It’s morning for me. I keep explaining that I don’t live in a human time frame..)

    @burtadsit

    Participant

    Hmmm. Now that I’m thinking about that and looking at that fn, it should use the mu excerpt for the post if it exists. Doesn’t. Might help with your problem. Users can create a ‘tuned’ excerpt. That’s the purpose of having a separate excerpt box. ‘eh?

    That would be for blog posts. You were talking about forum stuff. Totally off topic. Hey, get off my back. It’s early for me.

    @mikepratt

    Participant

    I don’t know I missed that function. My plan is to attack the activity filters (bp_create_excerpt claims to fake excerpts if nec) and apply this to forum posts somewhere in the process. Hopefully this is all that’s needed given the activity feed just deals with content and shouldn’t care if it has been truncated to an excerpt. Hoping.

    Aren’t you in MI?

    @mikepratt

    Participant

    love to IM if u can. AOL IM: mikejpratt

    @nicolagreco

    Participant

    @mike, why use a bp function? create a function that cut the text after a limited number of letter and then apply a filter!

    I think it’s more simple.. as you want ;)

    if you want i can write a plugin, but i’m a lot busy, i think i can work on it on 7 Jen..

    Nicola

    BP Guru

    @mikepratt

    Participant

    Nicola – I’d love a plugin if you find the time. I’m not sure where you plan on applying the filter? After all the other Activity filters are applied in Site_Wide_Activity or before?

    @burtadsit

    Participant

    @Mike yes I’m in Michigan. Wanna be in Arizona these days. OK, but a bunch of us are on irc.freenode.net #buddypress. I usually have that running.

    @mikepratt

    Participant

    Burt – just tried you on IRC. any shot at a little help solving a nagging problem tomorrow? I am at wits end

    @burtadsit

    Participant

    Hey Mike. Ya gotta say my name hey ‘burtadsit’ then it flashes my pigdin client. I see you were in there an hour ago. What prob?

    @nicolagreco

    Participant

    @mikepratt

    Participant

    Thanks Nicola. Can’t wait to add it once I get bbPress re-installed. Major issues getting back to where I was

    @nicolagreco

    Participant

    @mikepratt i developed a plugin that cut the excerpt BPDEV-FORUM-EXCERPT. Look it working here:

    http://buddypressdev.org/groups/plugins-extendings/forum/

    as you can see, it shows only the first 140 word without cutting them and adding 3 consecutive fullstop..

    Trying BPDEV-FORUM-EXCERPT - 1 post
    updated 50 seconds ago
    Latest by Nicola Greco: Mike i developed for you this plugin that cut the excerpt of the last post forum!
    You can set how long must the excerpt be. I'm writing...

    if you click on it it shows the entire content ;) look here http://buddypressdev.org/groups/plugins-extendings/forum/topic/13

    BP Guru

    @mikepratt

    Participant

    who is better than you , Nicola? Many Thanks

    @nicolagreco

    Participant

    i’ll add it as soon as possible,

    now i’ve a problem with bpdev-flickr 0.91 it doesn’t update user meta :S

    (SOLVED)

    Nicola,

    BP Guru

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘{…} excerpt feature for Forum posts’ is closed to new replies.
Skip to toolbar