-
shanebp replied to the topic [Resolved] Timestamps in members timezone in the forum How-to & Troubleshooting 10 years, 4 months ago
@colabsadmin @henrywright-1 @djpaul
Here’s a plugin: https://github.com/shanebp/BP-Timezones
Currently it only uses this filter hook:
‘bp_get_message_thread_last_post_date’Hook suggestions ?
-
Boone Gorges replied to the topic Optimize by removing blank lines and comments? in the forum How-to & Troubleshooting 10 years, 10 months ago
I agree with what the folks above have said. You could probably shave a few milliseconds off of the time it takes for the PHP interpreter to compile BP into bitcode. If you’re serving billions of pageviews, this might be worthwhile. But generally, there are far more effective ways to increase performance. @henrywright-1 makes some good…[Read more]
-
Asynaptic replied to the topic Optimize by removing blank lines and comments? in the forum How-to & Troubleshooting 10 years, 10 months ago
@henrywright-1 Thanks Henry, I’m familiar with the usual steps you outline. Just curious if removing comments and blank lines would make a significant difference π
-
shanebp replied to the topic [Resolved] Timestamps in members timezone in the forum How-to & Troubleshooting 10 years, 11 months ago
Ah, didn’t notice that instruction, just looked at the code.
( It’s surprising how many plugins leave in that kind of code. )>Iβm new to wordpress/buddypress so writing a plugin isnβt going to happen anytime soon
You’ve already done a good chunk of the work.
If you and/or @henrywright-1 want to draft a plugin, I’d be wil…[Read more] -
Rocio Valdivia replied to the topic function that breaks the BP AJAX in the forum How-to & Troubleshooting 10 years, 11 months ago
Thanks @henrywright-1, and that was what I did, I was the one that added the prefix:
buddyboss_childtheme_
to my function, but the point is that if I use the word “core” inside the title of a function, the ajax stop working π -
shanebp replied to the topic Guys….. What is the point of including filters if… in the forum How-to & Troubleshooting 10 years, 11 months ago
The OP is mixing 2 ideas.
1. He complains that filters on saving data aren’t retro-active.
2. He wants the activity strings to be built dynamically instead of hardcoded into the database.Re 1 – I don’t know of any filter on save that will handle prior existing data. The very idea is unworkable. Instead use a filter on the…[Read more]
-
Hugo Ashmore replied to the topic Codex (conditional) template tag page MIA in the forum Requests & Feedback 10 years, 11 months ago
@henrywright-1 Thanks for fielding.
I have removed those links, as Henry says the codex is currently undergoing general review and update.
Checking the revision history on that page showed me those links were added two years ago, and there is no corresponding page I can find, I suspect what was actually intended was that those links be inline…[Read more]
-
Hugo Ashmore replied to the topic Call to undefined function bp_is_my_activity() – Codex article in the forum How-to & Troubleshooting 10 years, 12 months ago
@henrywright-1 no the article is new at least for this current codex project and as with all pages we welcome comments and suggestions, it’s a basic set of guidelines designed to keep some uniformity to pages and submissions
I looked for that function but it doesn’t exist and the activity loop filters it’s loop if it sees bp_displayed_user_id()…[Read more]
-
Hugo Ashmore replied to the topic Call to undefined function bp_is_my_activity() – Codex article in the forum How-to & Troubleshooting 10 years, 12 months ago
@henrywright-1 thanks for spotting that, the whole aspect of auditing the codex pages for outdated references is a very slow & laborious one.
In the codex guide page I added I left two snippets of code at the bottom to be used to add flags to the top of pages if issues are spotted, but equally yes if you’re confident that somethings wrong or…[Read more]
-
Paul Wong-Gibbs replied to the topic Future of BuddyPress? in the forum Miscellaneous 10 years, 12 months ago
Hello! This thread is mostly accurate, but just to wrap things up —
@jjj has been working at 10up.com since August, and I’ve been at Automattic since the beginning of 2013. John and I had been contributing to BuddyPress for years before we started at Automattic. Our day jobs don’t affect our contributions to BuddyPress, and as @henrywright-1…[Read more]
-
Been Young replied to the topic 1 folder avatar per 1 user, it not good. How to fix it? in the forum How-to & Troubleshooting 11 years ago
@henrywright-1 Thanks for reply,
Ticket has been created. https://buddypress.trac.wordpress.org/ticket/5249#ticket -
@mercime replied to the topic [Resolved]The redirect which takes logged in users away from site root page in the forum How-to & Troubleshooting 11 years ago
there is a redirect in place which takes members away from example.com when they are logged in.
@henrywright-1 Redirecting logged in members away from home page is not default behavior, so not sure why it’s happening in your installation – plugin scripts?
-
@mercime replied to the topic Confirmation Message in the forum Installing BuddyPress 11 years ago
@henrywright-1 Thanks, don’t know why I missed that. @derock299 you can change strings using this http://blog.ftwr.co.uk/archives/2010/01/02/mangling-strings-for-fun-and-profit/
-
@mercime replied to the topic @-mentions in comments and blog post text in the forum How-to & Troubleshooting 11 years ago
@henrywright-1 Nope, did not get notifications for @ mentions in blog post and blog comment. Trac ticket and patches welcome π
-
bp-help replied to the topic Members directory dropdown sort issue (possible bug) in the forum Installing BuddyPress 11 years, 1 month ago
@henrywright-1
I would suppose it is handled by the registration since a non-activated user is issued a URL. To me this seems like a security issue but I would like to get more feedback on this. Thanks! -
Number_6 replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
@henrywright-1 That’s not a bad idea. That would be the best solution granting that it creates the new line in time for the video to render – but how will I apply CSS to something that doesn’t automatically have a class/ID (still learning my CSS here).
-
Number_6 replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
@henrywright-1 No. But I can. My first concern regarding this thread was to suggest that the BP core be changed to do this anyway – but as my luck would have it (if I understood you), that’s a WP feature and not a BP feature. Which is sad because I’ve been using annoying-ass shortcodes from a plugin to put my Youtubes in my other blogs.
Thanks…[Read more]
-
Number_6 replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
Yes, but intercepting that embed code before it’s “printed” on the activity stream is possible. I don’t know how to read PHP, but this is how this fellow did it:
-
Number_6 replied to the topic oEmbed needs line breaks? in the forum Ideas 11 years, 1 month ago
Hi @henrywright-1
I had no idea that Buddypress relied on any 3rd-party support.What I do know is that someone was nice enough on WP forums to write me up a plugin that adds wmode=”opaque” to the resulting Youtube embed codes – so I’d imagine there wouldn’t be much of a problem with BP’s oEmbed files from adding something on both ends of the…[Read more]
-
Brimfulof replied to the topic Registration Process in the forum How-to & Troubleshooting 11 years, 1 month ago
Hi,
I’m trying to edit the message body and I’ve managed using your code @henrywright-1 but in the process I have lost the link that they need to click on. I’m obviously missing a variable, can you help me identify what it is?
This is the code I have:
#-------------------------
[Read more]
# Edit activation email
#----------------------------
function… - Load More
@henrywright-1
Active 9 years, 9 months ago