Forum Replies Created
-
In reply to: Preview button for forum posts?
If anyone is interested in porting the Live Comment Preview plugin for bbPress (poke @etiviti Rich!), here’s where to look:
i’m not a huge fan of this plugin that since it pings the server on each keystroke. (personally, i use markitup on bbpress)
In reply to: [New Plugin] BuddyPress Group Forum Extrasi see the point and since viper’s bbcode shortcode does not include the same set – not all the buttons would work.
i’ll write a new set of bbcode shortcodes that will work with the buttons and update that subplugin.
In reply to: [New Plugin] BuddyPress Group Forum ExtrasProblem with quoting when a forum topic is paginated.
The reply form is only on the last page so you can only quote what page has the form at the bottom
you’ll need to modify your template to display the reply textarea on each page (simple as removing an if statement on topic.php)
Just a short program note…
This plugin causes WP/MU to die when BuddyPress is disabled
yeah i noticed this yesterday… fix in the development version (if i checked it in otherwise i have it locally for the next update)
In reply to: [New Plugin] BuddyPress Group Forum Extrasi’m not sure (i’d really need more info from you and the steps, data entered into a post reply, raw db data for the post content, etc)… the only common filter is
group_forum_post_text_before_savein which this plugin replaces the bbcode with html before db insert.looking at tweetstream and the function
tweetstream_topicReplyandtweetstream_twitterItthat pushes out to twitter – maybe it is not escaping properly.twitter revoked my api access for using tweetstream – so not something i can test out.
—
I did notice one thing tweetstream sets the _before_save filter at priority 9 – where as bbcode is at priority 11. And it looks like tweatstream only sends the topic_title content (something i’m not filtering on at all)
In reply to: Use Forums without Groups?Taking a forum analogy Groups could be analogous to being the sub forums such as those we have on CSSCreator it is a forum but within that forum we have sub forums labeled ‘Beginners CSS’, ‘Layouts & styling’ etc so these are in fact BP groups and in the forum analogy you do not need to join that sub forum to post to it and as you state you do not need to join BP groups either to post to their forum.
This *Sub-Groups” taxonomy is something I would find useful in BP – (actually would close the door on the whole “normal forums thing”) – group tags is not the perfect solution as I’d like to have inherited properties of the subgroups. Also a support forum while generic is helpful to be disassociated with a group – i think the activity stream, members, etc is too much when a member of a community just wants resolution to an issue with the site, product, whatever-is-being-offered. (my experience is moderating a 500k+ userbase traditional forum with 1k+ subforums arranged in hierarchy state)
but if i can have my cake and eat it too – i think subforums within a group would be the bee’s knees too
In reply to: [New Plugin] BuddyPress Group Forum Extrasany other plugins installed (try disabling them until it works again)? maybe something is causing another conflict. please let me know (and if wpmu or single)
or test out the development version of the plugin, i have changed up the loading of the plugin
In reply to: [New Plugin] BuddyPress Group Forum Extrashere is the javascript that updates the textarea, maybe tinymce renames/overwrites it? i’m not sure. i’ll install it and see if it is anything simple
ok, tried it out – it won’t work as tinymce is some iframe whatever stuff.

though, i do have markitup on bbpress with ajax quote – works with no problems
In reply to: [New Plugin] BuddyPress Group Forum ExtrasBuddyPress Forums Extras – ShortCodes -> will retain the bbcode style markup when editing. You could use Viper BBCode shortcode set and then modify that to include more bbcodes rules
As for font color – i just realized it is not in the allowed_tags list – i’ll add it in for the BBCode (noshortcode) and Signatures
In reply to: [New Plugin] BuddyPress Group Forum Extrashere is the javascript that updates the textarea, maybe tinymce renames/overwrites it? i’m not sure. i’ll install it and see if it is anything simple
previous_content = jQuery("textarea#reply_text").val();
jQuery("textarea#reply_text").val( previous_content + data );where data is the quoted text.
also i notice bp-tinymce does hook on
add_filter( 'bp_forums_allowed_tags'this may cause another problem with extra html i add for bbcode (strike, cite, u, etc….)In reply to: [New Plugin] BuddyPress Group Forum Extrasthe function explicitly appends a div around the sig when called – although only if a sig is saved against the profile. but also check if the sig per-person per-page option is enabled (maybe it was already displayed on the current page?)
you can download the group forum extras – but you don’t have a need for all of that. this code snippet will enable wp shortcodes on post content
add_filter( 'bp_get_the_topic_post_content', 'do_shortcode' );In reply to: [New Plugin] BuddyPress Group Forum ExtrasCan you please wrap the signature in a <div> with a special ID or class so that we can style it appropriately?
Right now it just looks like part of the forum reply.
i kept it the same as _ck_’s for external bbpress, so it should be:
<div class="signature">but the css style is hardcoded into her plugin
i’m all ears for a better way so that anyone can style it.
In reply to: [New Plugin] BuddyPress Group Forum ExtrasOne thing I did track down is that forum extras is conflicting with
https://wordpress.org/extend/plugins/custom-field-template/
(other than bp probably the most important plugin I use and the best in it’s class) Allows me to easily create my own custom meta boxes on a per post_type basis.
a quick look at the plugin and reveals the problem i had earlier with wpmu and creating new blogs/admin. Seems some plugins call
require_once(ABSPATH . 'wp-admin/includes/template.php');outside of WP_ADMIN (in ‘init’ action) which will causes a function conflict with bp-internal-bbPress. I’m not sure if I have a solution for this – might be a wait until bbPress is a plugin (so they can resolve the naming conflicts)A hacking the core solution would be wrapping the checked and selected functions in /wp-admin/includes/template.php and wp-content\plugins\buddypress\bp-forums\bbpress\bb-admin\includes\functions.bb-admin.php
if ( !function_exists('checked') ) {if ( !function_exists('selected') ) {However the buttons do not appear on Group wire or when sending direct messages of one user to another.
One great improvement for the future could be adding images straight from our computer, instead of using a URL.
That is expected behavior – this only modifies stuff in the group forums
as for uploading – that would be more of an album plugin to handle the process and hosting – this is just basic bbcode
Are you able to edit the signature admin items now?
In reply to: [New Plugin] BuddyPress Group Forum Extrasseems the problems i’m hitting now are conflicts with calling internal bbpress and some functions having the same name on the wp side of thing (or now just wpmu). so i need to know if you are on wpmu or single
also try enabling display_errors and error_reporting and see if that provides any fatal errors
In reply to: [New Plugin] BuddyPress Group Forum Extrastagging the fix now
I also enabled the ability restrict the sig html tags – strip_tags syntax
<i><em><a><strong>and bbcode. only caveat is using bbcode converts to em, so make sure<em>is in the list of allowed tags.
In reply to: [New Plugin] BuddyPress Group Forum ExtrasI just fixed that error on the sig admin page – i’ll update it later today
In reply to: [New Plugin] BuddyPress Group Forum Extrasok got it… bp_is_blog_page() returns true even if in the wpmu-admin area. i’ll push up a fix later today, i want to see about adding some other stuff
In reply to: [New Plugin] BuddyPress Group Forum Extraswhat page did that occur on?
In reply to: [New Plugin] BuddyPress Group Forum Extrasok, found and i *believe* fixed the problem. just checked it into trunk – will give it one more go around before tagging 0.1.4
(just a naming conflict due to including some bbpress code – so now just excluding loading the plugin on certain pages
if ( bp_is_register_page() || bp_is_activation_page() || bp_is_user_blogs() || bp_is_blog_page() )In reply to: [New Plugin] BuddyPress Group Forum Extrasok, found the error…
Fatal error: Cannot redeclare checked() (previously declared in
\xampplite\htdocs\wpmu\wp-content\plugins\buddypress\bp-forums\bbpress\bb-admin\includes\functions.bb-admin.php:1261) in
\xampplite\htdocs\wpmu\wp-admin\includes\template.php on line 382i need to grab a beer and dinner – and i’ll get this fixed tonight, sorry about that issue. I never use MU
In reply to: [New Plugin] BuddyPress Group Forum ExtrasOK, sounds like a MU thing. I’ll download and and check it out now
In reply to: [New Plugin] BuddyPress Group Forum ExtrasIf the plugin is activated, then the registration to buddypress is not possible. 404 error on registration activation page.
i’m unable to duplicate that… this slug => /register/ works for me with various subplugins activated. anymore details to help out?
(also the /activate/ page works fine too)
In reply to: [New Plugin] BuddyPress Group Forum ExtrasWould this hook into the existing BP “Favorites” system?
Not really – since BP Favorites is against the activity stream. At one point I thought about adding in the activity replies/comments on a forum component/type to the related topic but no clean way to pull the info out of the activity table – i’m still looking into it though, would be nice to pull it in
the only hook i can do is on
bp_activity_add_user_favorite(and remove), then check the activity component/type for forum, then add it to the bbpress favorites system. – at least in theory.but to avoid confusion of the two different ‘favorites’ – would rename the internal bbpress favorites to ‘watch topic’ or something like that.
In reply to: [New Plugin] BuddyPress Group Forum ExtrasFirst, 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)
In reply to: [New Plugin] BuddyPress Group Forum ExtrasI’ve never used a child theme yet, so i don’t know the answer to that one. i can take a look this evening