jeffacubed
Forum Replies Created
-
Update (20170510):
As a test, I reverted back to a VERY old version of GD bbPress Toolbox (4.0.2), & when that version is used, then only x1 email (no duplicates) are sent out, regardless of whether a new topic has an attachment or not.
My deeper sense, is this is a deep (newer…) bug within either BuddyPress &/or bbPress around how attachments are triggered w/in the activity stream, BUT I wanted to start here in case you had any other suggestions,, particularly as the duplicate email for new topics issue goes away if I use GD bbPress Toolbox 4.0.2. This project has LOTS of users, so the duplication of emails is a substantial problem on new topics. For now, I’ve reverted back to bbPress Toolbox 4.0.2, though that is not a stable, long-term sol’n.
My intuition tell me that this is (once again) a deeper bbPress problem/bug, but I’m (currently) at a loss around how to proceed?
Deeply technical (&/or simple) suggestions/insights VERY welcome!
-Jeff
Vancouver, CanadaForum: Plugins
In reply to: [WP Idea Stream] Commenting bug under BuddyPress groups (multisite)@ssebech – I dug into this IdeaStream > BuddyPress commenting issue quite deeply. Initially I thought it was related to multisite, but then I did a fresh, single-site install of WordPress (4.6.1 w/ twentysixteen theme) + IdeaStream (2.3.2) + BuddyPress (2.6.2) w/ x2 users (1-admin role, 1-subscriber role). What I found:
1. any user can comment on any users Idea (admin > subscriber, or subscriber > admin)
2. I activated BuddyPress, then enabled IdeaStream for x1 PUBLIC test group. Everything I found in point-1 was still true (any user can comment on any users Idea (admin > subscriber, or subscriber > admin)
3. I then made a second BuddyPress group, this time a PRIVATE group. Here’s when the commenting anomaly comes into play. An admin can comment on a subscriber’s idea, but not the reverse (a subscriber-role CANNOT comment on an admin (or any other user role’s) Idea IF the BuddyPress group is set to private (or hidden). A subscriber can still comment on their own IS Idea in “private” or “hidden” BuddyPress groupsI then installed a role-management plugin, & gave the subscriber user the capabilities option called manage_options – & then that subscriber could comment on any other users Ideas (though granting “manage_options” capabilities to a typical subscriber-role is not recommended, outside of testing purposes).
So, basically commenting on IdeaStream Ideas (if a BuddyPress group is set to “private” or “hidden”) will not work for any user w/ a role less-than “admin”. I know there is a solution to this, but I’m at a loss on “next-viable-steps”. -Jeff
- This reply was modified 9 years, 7 months ago by jeffacubed.
- This reply was modified 9 years, 7 months ago by jeffacubed.
Forum: Plugins
In reply to: [WP Idea Stream] Commenting bug under BuddyPress groups (multisite)@ssebech – I’ve noticed the exact same IdeaStream commenting bug you describe (IdeaStream within a BuddyPress Group, using WP 4.6.1 Multisite) “They can only successfully post comments on their own Ideas. The super-admin can post comments on any Ideas of any authors.” All of my other group areas (home, forums) function as expected (i.e. any logged-in user can comment). This seems to be specific to IdeaStream on BuddyPress, w/in a multisite setup.
Did you have any luck resolving this? -Jeff
Forum: Plugins
In reply to: [BuddyDrive] Conflict with WPMLHi folks – I seem to have stumbled onto the same BuddyDrive + WPML “URL collision” that both @radar013 & @ulrichstettler have described. I thought I’d see if there were any further time/dev thoughts on where the source of a sol’n might be, either with WPML or on the BuddyDrive development fronts? I’ve tried rolled back version of BuddyDrive (back to v1.3.0) & the URL collision between WPML & BuddyDrive looks to not be related to BuddyDrive 2.0.0.
I also know that @imath is handing over the baton for BuddyDrive ongoing dev support, so any initial thoughts on this specific WPML / BuddyDrive conflict/issue @mrpritchett? If anyone has any insight as to where some sort of intermediate sol’n to allow WPML & BuddyDrive to co-exist, I’d be willing to go deeper to see where the code-collision(s) might be happening. BuddyDrive is a “very” impressive & valuable plugin for BuddyPress & I can appreciate the amount of work that has gone into it’s development, so many thx for making BuddyDrive!
I’ll make some inquiries over @ WPML, though overall WPML support for BuddyPress is understandably quite limited, & may be even more so with core-code changes to BuddyPress Groups, BPNavMenus, etc in BP 2.5.x & 2.6.x.
Ping/email/share w/ me with any suggestions &/or if anyone has any additionals insights around solutions (temporary &/or permanent) to make BuddyDrive & WPML “play nice together”. -Jeff
Hi petrockblog,
If you ever happen to figure this out, in terms of making this ‘topic Thumbnails’ work w/ GD bbPress attachments I’d be curious to hear you solution. I keep meaning to dig into the ‘topic thumbnails’ code deeper, but from what I can decipher:
/*Function that retrieves the first image associated with the topic*/ function bee_catch_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); $first_img = $matches [1] [0]; return $first_img; }Topic Thumbnails looking for the first ‘inline’ image (which GD Attachments does not produce…) so the plugin fails to find an image. In bbPress 2.3, you can manually add an inline image (& the thumbnails plugin then picks it up) but the sol’n is kinda awkward to explain to bbPress forum users.
If you have any suggestions/idea let me know, as otherwise this thumbnails plugin is rather slick for bbPress topics/forums/etc.
-Jeff
Right on Ron + thx √
I’m planning to rollout some multisite-testing w/ BP 1.7 RC 1 this week using your dev-version of Genesis Connect (linked above). In doing so, I’ll take a closer look to verify that item #2 (Public Message & Private Message buttons are in duplicate) is still reproduce-able.
-Jeff
Whoa – great catch/call yzqlang – I’d forgotten abou the buddypress group documents plugin, as support for buddypress 1.5+ had dropped off some time ago. Another developer has picked up the plugin, which you can find the most recent (15/5/2012) version here
Ajamm – I’ve tested the above group-documents w/ buddypress 1.6.4 + WordPress 3.5.1 – & everything I’ve tested works A’OK with pdf attachments into the group activity stream. All documents attachments, from the activity stream, get collected under a new group ‘tab’ (which you can name whatever you like). Overall, I’d have to say it’s a great add-on/integration w/ the bp-activity-plus plugin.
I also want to test this out w/ bp 1.7 beta2, just to be sure of longer-term compatibility.
Thx all √
Forum: Plugins
In reply to: [GD bbPress Attachments] "Deleting Attachments" Settings not savingIt sounds like our changing the ‘delete/detach for moderators/authors’ drop-down option is a known bug, & will be addressed in the next update for this plugin. See link below to the dev4press forums:
dev4press forums
Before I tackle
Still dont know how to make them open in a new window. If you find an answer to this, please share!
Were you able to get the attached pdf’s to at least show/list in the activity stream? Using your method (ajamm) I seem the pdf’s going to the bpfb folder (so that’s working) – but what I don’t see (quite yet) is any list of the pdf’s in the activity stream. I get an activity event when I upload a pdf now (good!), but I don’t see the pdf, even when I revert back to the Buddypress default theme – curious. I’ll keep digging.
I’m using WP (multisite) 3.5.1, bp 1.6.4
-Jeff, Vancouver (Canada)
As a follow up I did find on WPMU
I did find that I could add more file types by adding them in these two files:
js/bpfb_interface.js LINE 213 “allowedExtensions”: [‘jpg’, ‘jpeg’, ‘png’, ‘gif’, ‘pdf’],
and
lib/class_bpfb_binder.php. There is LINE 163
$uploader = new qqFileUploader(array(‘jpg’, ‘jpeg’, ‘png’, ‘gif’, ‘pdf’));Which 100% works to get .pdf’s uploading to the bpfb ‘media-folder’ but there’s no list/thumbnails for the pdf’s.
Somewhere, in the activity-plus source code, there must be a way to generate small thumbnails for attached pdf? Solving this would make this bp-plugin top notch in my books!
Jeff
Forum: Plugins
In reply to: [GD bbPress Attachments] "Deleting Attachments" Settings not savingI’m having the exact same issue, using bbpress 2.2.4, wp 3.5.1 gd attachments 1.9.1.
I’m not entirely sure where to start as far understanding why this is happening…
Once uploaded and attached, attachments can be deleted. Only administrators and authors can do this.
My intuition tells me that this is tied in somehow to a disconnect between the user roles in WordPress & GD bbpress attachments. Regardless of any changes I make for moderators or authors, the only option for each always comes back to the default ‘Don’t allow to delete’
As far as I can tell, all other functions (that I’ve tested/used) for this plugin work 100% as expected.
Any help/insight would be welcome.
-Jeff
Hi ajamm – any chance you could share your <custom-code> for enhancing the ability of the ‘BuddyPress Activity Plus’ plugin to handle the uploading of .pdf’s?
Cheers,
Jeff
Well thx Ron – that makes sense √
After a full Buddypress 1.7 RC comes out, I’ll dig a bit deeper to see if that duplication issue still remains when I’m using GC 1.2 w/ Agency. In the longer-run, I can see how GC might not 100% be required to integrate BP w/ Genesis (or any theme for that matter) – but there are still some GREAT parts of GC that I’m very attached to – particularly the ‘widget area before Buddypress’. Again, one can always define new widget areas, but GC just did that particular one so well!
-Jeff
I’ve got a few clients/projects that are running on BP 1.6.4, WP 3.5.1 (multisite), BBP 2.2.4 + GC 1.2 (on Genesis Agency Theme) that I’ve slowly started to test w/ BP 1.7 (beta-1). The only potential issue I’ve noticed on GC 1.2 (activated) + BP 1.7 (beta-1) is that a number of things appear in duplicate – for example:
1. Join Group / Leave Group buttons are in duplicate
2. Public Message & Private Message buttons are in duplicate
3. Any updates to a Groups activity stream are in duplicateOutside of those ‘duplicate’ observations, everything I’ve tested w/ BP 1.7 (beta-1) & GC 1.2 seems to works a’ok – in fact everything seems noticeably ‘faster’. Turning GC 1.2 ‘off’ makes all of the duplication issue(s) go away – but I also loose many of the GC (css & php) deep customizations that I’ve made. As BP 1.7 moves to a RC, I’ll take a deeper look to see what could be happening with the duplication, but I’m sure Ron will likely resolve that much faster than I could! I did read through the link above that Ron has suggested & noticed that Boone had mentioned
Theme compat errs on the side of caution and loads these static assets. But if your theme has also loaded its own version of these files, it may create conflicts in styling, and more importantly, it may cause certain AJAX events to be fired twice.
So that may explain the duplication(s) I’m seeing. Regardless, BP 1.7 (beta-1) looks like a major step forwards √ Great work! Ron – thx for creating GC to begin with – that plugin became a corner-stone for a number of BP projects over the past year √
In the end, I’ve basically answered my own question!
$y[‘avatar’] = get_avatar($user->ID,$size = ’30’);
Substitute ’30’ with whatever avatar size you’d like to display.
Useful link on get_avatar function here