Skip to:
Content
Pages
Categories
Search
Top
Bottom

[New Plugin] BuddyPress Group Forum Extras


  • rich! @ etiviti
    Participant

    @nuprn1

    Download from WordPress Plugin Repo: BuddyPress Group Forum Extras

    A collection of bbPress plugins to bring a little more forum feel to the group forums.

    • Signatures (html tags are still limited to: a strong i )
    • BBCode Lite (or option for Shortcode if internal only bbpress)
    • Ajaxed Quote (requires theme edit on topic.php)

    I’m also looking to add the following:

    • Report Post to Mod (use notification/messaging system to group mods)
    • Support Forums (run nongroup forums)
    • Best Answer or bb-reputation (Karma)
    • Signatures administration to include defines set of html tag or bbcode

    Theme Edit is Required to use Ajax Quote

    groups/single/forum/topic.php

    Before the link:

    <a href="#post-<?php bp_the_topic_post_id() ?>" title="<?php _e( 'Permanent link to this post', 'buddypress' ) ?>">#</a>

    Please add this action:

    <?php do_action( 'bp_forum_extras_topic_links' ) ?>

    If you run an external bbPress – the bbcode subplugin will convert bbcode to html whereas the shortcode subplugin is for internal bbpress as it just hooks the wordpress shortcode filter on the post content. Also – the signature subplugin will use the same bb_get_option name as _ck_’s original bbpress plugin.

    Please let me know about any issues and any bbpress plugin requests to convert

Viewing 25 replies - 1 through 25 (of 198 total)

  • r-a-y
    Keymaster

    @r-a-y

    Nice work!

    I’ve only tried the AJAXed quote so far, but it works as advertised.

    A suggestion for AJAXed quote, perhaps add a link to the post that’s mentioned for the “said” text.

    Also couldn’t BBcode be enabled across all components and not just the forums? I had a similar port of _ck_’s BBcode plugin doing this.


    modemlooper
    Moderator

    @modemlooper

    Love it was adding the tinymce to forums today. This will be good to


    rich! @ etiviti
    Participant

    @nuprn1

    A suggestion for AJAXed quote, perhaps add a link to the post that’s mentioned for the “said” text.

    nice, i’ll add that in there

    Also couldn’t BBcode be enabled across all components and not just the forums? I had a similar port of _ck_’s BBcode plugin doing this.

    If you use internal only bbpress – then just install Viper’s Shortcode BBCode and it works in buddypress activity updates (some reason buddypress does not include the shortcode filter on forum content – but that subplugin will enable it)

    if external, then just hook this filter on whatever _before_save stuff bp_forum_extras_bbcode_it (but i can add a small option to do this).

    Love it was adding the tinymce to forums today

    i have markitup working on an external bbpress but i noticed someone already wrote a markitup wordpress plugin – i was going to see what it takes to extend that into BP


    shazril
    Participant

    @shazril

    Exactly what i’m searching for! Thanks for making it.

    I’ve installed the plugins but when I click ‘Forum Extra’ link in dashboard, the plugins admin page doesn’t show up.

    any suggestion?

    i’m running WP single user with latest buddypress.


    3sixty
    Participant

    @3sixty

    <deleted post asking about missing dialogs etc. because I didn’t realize there were subplugins I had to activate>

    Doh!


    rich! @ etiviti
    Participant

    @nuprn1

    I’ve installed the plugins but when I click ‘Forum Extra’ link in dashboard, the plugins admin page doesn’t show up.

    A blank page with just a title (or a WSOD)? make sure you enable the subplugins (ie, BuddyPress Forums Extras – Quote)

    If it works, then the Forums Extra admin page would look like this:

    Group Forum Extras

    Ajaxed Quote enabled.

    where do users enter their signatures? I don’t see the field anywhere:

    Under the member profile page, click the profile tab, then in the subnav menu – next to Change Avatar is ‘Change Signature’

    mybuddypressurl/members/memberusername/profile/forum-signature/


    rich! @ etiviti
    Participant

    @nuprn1

    also an indirect feature of quotes is notification to the quoted member. (since the forum_activity_update will register the @mention )


    3sixty
    Participant

    @3sixty

    etiviti,

    1. I think a lot of us got thrown off by the sub-plugin thing… maybe good to include a “instructions for dummies” that emphasizes you have to activate sub-plugins…

    2. BBcode and quotes are bulletproof. The addition of @mentions was ingenious. THANK YOU!!

    3. Signatures don’t work for me. I keep getting a “Signature removed!” error every time I try to post a sig. I’m just using plain text, no tags.

    Update: Signature strangeness continues… I did a “vanilla” install of WPMU 2.9.2 and BP 1.2.2.1. I could add a signature successfully ONCE, but when I went back to change it, I got the “Signature Removed!” error again.


    rich! @ etiviti
    Participant

    @nuprn1

    message me the contents of the sig you are trying to save – i’m on single but i’ll install wpmu and see if i can’t replicate the issue. (what are the max lines/max length set to?)


    3sixty
    Participant

    @3sixty

    etiviti, The contents of the sig were “test sig”. And I cannot set the max lines/max length… it just says “settings saved” but the fields remain blank.

    just heard from a user who had the same issue as me – cannot set sig.

    I’ll message you this info as requested, but wanted to post it here in case anyone else has the same issue.


    rich! @ etiviti
    Participant

    @nuprn1

    Ok, *believe* I found the issue. I just tagged up 0.1.2 – so grab it when the site updates and please let me know if everything is working.


    modemlooper
    Moderator

    @modemlooper

    when you quote shouldn’t it put the text into the box? i’m not getting this to work. The quote button is there when you click it moves down to box but nothing is entered.


    rich! @ etiviti
    Participant

    @nuprn1

    ok tagged 0.1.3 as another bug on saving the sig settings popped up

    when you quote shouldn’t it put the text into the box? i’m not getting this to work. The quote button is there when you click it moves down to box but nothing is entered.

    I’d need some more info (do you have firebug? anything on net and xhr?) – but clicking “Quote” won’t onfocus to the textarea, so it shouldn’t move down. Do you have any other plugins installed that manipulate the textarea?


    modemlooper
    Moderator

    @modemlooper

    nope, vanilla install I have set up to test plugins. Only thing activated is BP and your plugins.

    http://tempsg.com/buddypress

    EDIT It’s behaving like the #link

    Maybe the do action is in the wrong place?


    modemlooper
    Moderator

    @modemlooper

    bizarre it just asked to update and so I did and now it works


    rich! @ etiviti
    Participant

    @nuprn1

    javascript file is coming up 404… grab a new copy off the repo


    3sixty
    Participant

    @3sixty

    Eureka! it works. Thanks again for this great plugin.

    Btw, the sigs won’t work UNTIL you update the admin settings and choose a max length / max lines. May be best to set a default value for that?


    stwc
    Participant

    @stwc

    No love here for sig lines or bbcode (in principle), but I was trying to port ajaxed quote myself with no luck, so that’s a great help. Thanks!


    rich! @ etiviti
    Participant

    @nuprn1

    Btw, the sigs won’t work UNTIL you update the admin settings and choose a max length / max lines. May be best to set a default value for that?

    believe i fixed that in the latest (0.1.3 – i just tested on a fresh install/new db) and it caught the _ck_ default values of 3 lines and 300 chars. if anyone else that installs – please verify this for me.

    linking the ‘said’ to the post has proven not to be so trivial. since in the doing ajax i don’t have a reference to the topic template global and topic_permalink. Then on the bb_ side of things – that will return the internal bbpress install location. i may setup a hidden field like i do for nonce and pass it in via the ajax post


    gregfielding
    Participant

    @gregfielding

    Dumb child theme question here for your code…

    If I create the same groups/single/forum/ folder arrangement in my child theme, then copy topic.php there and make your changes, will that work?


    rich! @ etiviti
    Participant

    @nuprn1

    I’ve never used a child theme yet, so i don’t know the answer to that one. i can take a look this evening


    gregfielding
    Participant

    @gregfielding

    Thanks Rich!

    Don’t want to be tinkering with this every time there is a buddypress upgrade…


    r-a-y
    Keymaster

    @r-a-y

    @gregfielding

    The answer to your Q is yes – you can use a child theme for topic.php.


    gregfielding
    Participant

    @gregfielding

    Rich,

    2 more dumb questions…

    First, where is the “@ mentions” part in the BBCode that @3sixty is referring to?

    Second, should we be activating both BBCode and Shortcode sub-plugins?

    My bbpress install is inside buddypress (so not external).

    Thanks!


    rich! @ etiviti
    Participant

    @nuprn1

    First, where is the “@ mentions” part in the BBCode that @3sixty is referring to?

    Technically when Ajaxed Quote is enabled and someone quotes a post in the forums – the activity-update-filter will pick up the @username mention – thus if the user has the notifications turn on – they will get an email about it.

    Second, should we be activating both BBCode and Shortcode sub-plugins?

    No

    Activate the “Forum Extras – BBCode” if you want to parse the bbcode into html prior to database update. (useful if you have external but also ok for internal). I’m a fan of this method as the process happens pre-save but when a user goes back to edit a post – they’ll see html

    Or

    Activate the “Forum Extras – Shortcode” and then Viper’s Shortcode BBCode wordpress plugin – this will retain the shortcode bbcode markup in the database. All this does does is enable the shortcode filter hook on the bbpress post content. (buddypress already hooks shortcode filter on activity updates) – Downside to this approach if you ever deactivate the shortcode – you’ll see the bbcode markup instead of filtering to the html equivalent but when a user edits a post – they see bbcode instead of html.

    Hopefully not too confusing. I’ll update the documentation in the next release (working on getting bbpress favorites enabled)

Viewing 25 replies - 1 through 25 (of 198 total)
  • The topic ‘[New Plugin] BuddyPress Group Forum Extras’ is closed to new replies.
Skip to toolbar