-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 10 years, 10 months ago
what are the other 4 parameters?
They won’t help because it’s the count that you really need, and that is passed to the function. Everything else in the function is useless with reference to what you want to do.
To see how it all works, take a look at the BP core code, the notifications component section in…[Read more]
-
Henry Wright replied to the topic Page Not Found Permalinks Issue in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @alice-kaye
That’s a huge list of plugins. My first thought is that the problem will be related to one of those. If that’s not the case, then the problem is likely to be your set-up. The easiest option in this case would be to set up a test site, activate all of those plugins and then do some testing to see if you can reproduce the problem.
-
Henry Wright replied to the topic Page Not Found Permalinks Issue in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @alice-kaye
That’s a huge list of plugins. My first thought is that the problem will be related to one of those. If that’s not the case, then the problem is likely to be your set-up. The easiest option in this case would be to set up a test side, activate all of those plugins and then do some thorough testing to see if you can reproduce the problem.
-
Henry Wright replied to the topic [Resolved] Admin Bar non showing when logged out in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @medianp
If you remove all custom code you’ve added, activate Twenty Fifteen and disable all plugins aside from BP, does the admin bar still fail to display?
-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 10 years, 10 months ago
Like the comment count, I’m not sure there’s anything for mentions either. The function responsible for outputting the count you currently see for ‘unseen’ mentions is
bp_activity_format_notifications(). It accepts 5 parameters, one of them being$total_items. That variable is what’s used when outputting the text “You have X new mentions”.But…[Read more]
-
Henry Wright replied to the topic Is this a bug with Notifications? in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @mcpeanut,
Bug confirmed at my end using Twenty Twelve, WP 4.1.1 and BP 2.2.1. No plugins installed.
Can you open a ticket on Trac, reporting what you’ve found?
-
Henry Wright replied to the topic how to disable stay on page confirmation popup from registration page in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @jaremilus
The stay-on-page prompt isn’t a BuddyPress thing. I think it’s coming from your browser. Alternatively, it might be from a plugin, if you have a plugin installed with that kind of functionality.
-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 10 years, 10 months ago
Ah right! That seems to be quite an old resource, goes back to BuddyPress 1.5, I think.
Yeah, bp_activity_get_comment_count() will return the comment count for a particular activity item.
Sounds like you’re looking for a ‘notification’ count for activity comments? So for example, if I comment on an activity you’ve posted, the count will be 1. If…[Read more]
-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 10 years, 10 months ago
Hey @mcpeanut
bp_friend_get_total_requests_count(), bp_notifications_get_unread_notification_count() and messages_get_unread_count() are actually functions. I do believe each returns a count. Regarding comments, are you looking for a function that gets the comment count?
-
Henry Wright replied to the topic Implement new blogs on Main Blog in the forum How-to & Troubleshooting 10 years, 10 months ago
I want the member sites (subsites, http:example.com/blogs) , to use the same theme (header,footer,etc) as the main site, and not open as a separate site.
You can manage that kind of thing from the Network Admin Themes Screen.
-
Henry Wright replied to the topic Need Support in the forum Ideas 10 years, 10 months ago
Hi @aymanomar85
Regarding the left and right arrows, BuddyPress doesn’t support that kind of form element ‘out-of-the-box’. I’m not even sure it’s a HTML element? You’ll most probably need to use JavaScript to accomplish that.
-
Henry Wright replied to the topic Buddypress group image – rtmedia in the forum Third Party Plugins 10 years, 10 months ago
Closing as a [duplicate]
-
Henry Wright replied to the topic Media uploads with custom taxonomy in the forum Creating & Extending 10 years, 10 months ago
You wouldn’t necessarily need to hook into BuddyPress functions. Instead, the main thing to do would be to upload the file, associate that file with a BuddyPress member, and record any associated data for that upload (the user’s choice from your option list).
Check out this article for getting started with…[Read more]
-
Henry Wright replied to the topic Media uploads with custom taxonomy in the forum Creating & Extending 10 years, 10 months ago
Plupload isn’t a plugin, rather, it’s an ‘upload’ library used in WordPress core. It’s a great way of uploading media. We’ve all used it even though we might not know it because it’s the tool that powers the media uploading when you go to WP admin > Media > Add New
-
Henry Wright replied to the topic Media uploads with custom taxonomy in the forum Creating & Extending 10 years, 10 months ago
@lbpp OK so the short term approach would be to write a HTML form with the option list and file upload button as form elements. Then, server-side, you’d have your processing script which processes the $_POST data after the user has submitted.
There’s 101 ways to do that. Plupload springs to mind as the most elegant solution because you can do all…[Read more]
-
Henry Wright replied to the topic Media uploads with custom taxonomy in the forum Creating & Extending 10 years, 10 months ago
Hi @lbpp
Check out the Attachments API (which is currently in the pipeline and should be available in the 2.3 release). As you’ll see, this kind of thing will be far easier going forward.
-
Henry Wright replied to the topic Need Support in the forum Ideas 10 years, 10 months ago
Ok cool. What have you tried so far?
-
Henry Wright replied to the topic Implement new blogs on Main Blog in the forum How-to & Troubleshooting 10 years, 10 months ago
Is this the kind of thing you’re looking for?
-
Henry Wright replied to the topic Need Support in the forum Ideas 10 years, 10 months ago
Where will you be getting the data from?
-
Henry Wright replied to the topic Some of my users profiles are not loading in the forum How-to & Troubleshooting 10 years, 10 months ago
You seem to be doing everything right. Disabling plugins and reverting to the default theme (Twenty somethings) usually resolves the problem.
Are you seeing the problem on both localhost and on your online server?
- Load More
@henrywright
Active 1 year, 10 months ago