-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 6 months ago
Hi @lawlyet
If you’re up for helping to root out this problem, please add this debugging info as mentioned above:
We’re closing in on the problem, I think. One more debug addition, this time to bp-core/bp-core-cache.php:
http://pastie.org/10965063#12-14Pastie is broken at the moment, but hopefully it’ll be back up soon.
Thanks for you h…[Read more]
-
David Cavins replied to the topic Log In and Registration in the forum Installing BuddyPress 7 years, 7 months ago
The log-in page is a WordPress page. There is a guide on how to customize it:
https://codex.wordpress.org/Customizing_the_Login_FormThe registration page is created by BuddyPress and can be modified in many ways. You’ll need to understand theme compatibility and overriding…[Read more]
-
David Cavins replied to the topic Email Template removing HTML tags in the forum How-to & Troubleshooting 7 years, 7 months ago
Mail is complicated.
BP provides unsubscribe functionality, so you maybe don’t need to do that anymore. BP Email sends html emails when possible.
You might try filtering your messages in other ways. Have you read the “customizing emails” how-to? it includes an example of overriding the BP template so that the BP content is sent in your custom…[Read more]
-
David Cavins replied to the topic activate problem in the forum How-to & Troubleshooting 7 years, 7 months ago
Have you set up your BuddyPress pages?
If “Activate” is not set up, then WP will redirect you to your site’s home page.
-
David Cavins replied to the topic Homepage not loading after Plugin Activation in the forum Installing BuddyPress 7 years, 7 months ago
I believe that there are conflicts between BP and Paid Memberships Pro. If you activate BP and deactivate Paid Memberships, does the page load?
What does your debug log say? https://codex.wordpress.org/Debugging_in_WordPress
-
David Cavins replied to the topic Pending Activation in the forum Installing BuddyPress 7 years, 8 months ago
@djpaul: Nope. I’ve added lots of
fwrite()
statements to track behavior, but nothing in plugin form. Sorry. -
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 9 months ago
Hi @jmichaelp
No, we’ve not solved it, because most of us can’t recreate the issue. If you are comfortable doing some troubleshooting, please run the various
var_dump
s and tracing code I’ve added further on up in this thread and let me know what you find. Or, grant me administrator access to your site via FTP for a short time when I’m able to dig…[Read more] -
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
OK, maybe I could have administrator access to your site temporarily (or FTP access, whichever is easier for you)? You can find me on the buddypress channel in Slack, or email me at d_cavins76 [at] yahoo [dot] com.
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
You can remove the other statements if you want. We know what they’re doing. 🙂
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
We’re closing in on the problem, I think. One more debug addition, this time to
bp-core/bp-core-cache.php
:
http://pastie.org/10965063#12-14Thanks!
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
Thanks again for your help troubleshooting. Can you add a couple of debug statements to the function
prime_group_admins_mods_cache()
in the same class? It looks like the cache itembp_group_mods
is not being set properly; I’m trying to understand why that would be.Debug lines added here:
http://pastie.org/10965044#11,35Thanks!
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
@jeffwilliams-1 Not at all! If you’re feeling like chasing it down, give it a try. When your code change last time failed, it was probably because somewhere along the line, a
<
was encoded for the web as & l t ; so make sure that the changes to the file look visually like<?php
…Thanks!
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
Hi @jaumearagay & @JeffWillia.ms-
Thanks for posting the results of your testing. @jaumearagay, your results match what I expected. Can you try another test for me that checks the value after the foreach?
http://pastie.org/10964506Thanks for your patience as we figure this one out.
-David
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
HI @JeffWillia.ms-
Can you do the troubleshooting step requested above?
Thanks,
-David
-
David Cavins replied to the topic Group header file problems in the forum How-to & Troubleshooting 7 years, 11 months ago
Hi @jaumearagay–
Unhappily, I’m not able to reproduce your problem on my servers. Can you test something for me in your environment where we know the problem exists? I’d like to know what the value of
$group_mods
is before it’s passed to theforeach
inget_group_moderator_ids()
.I’ve added a
var_dump()
in this snippet:…[Read more] -
David Cavins updated the Template Updates 2.7 page, on the BuddyPress Codex 8 years ago
In BuddyPress 2.7 we introduce some new features that specifically require template adjustment.
These changes are of importance for theme developers who may have overloaded the templates to the themes directory […]
-
David Cavins replied to the topic Registration and activate page in the forum How-to & Troubleshooting 8 years, 1 month ago
Hi, you have to enable WP registration at Settings > General > Anyone Can Register:
http://www.wpbeginner.com/beginners-guide/how-to-allow-user-registration-on-your-wordpress-site/
-
David Cavins replied to the topic Is there a way to display BuddyPress profile on multiple pages? in the forum How-to & Troubleshooting 8 years, 1 month ago
Hi r083r7-
Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.
Check our…[Read more]
-
David Cavins replied to the topic These field options are invalid error in the forum How-to & Troubleshooting 8 years, 1 month ago
I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the
$_POST
payload looks…[Read more] -
David Cavins replied to the topic Registration and activate page in the forum How-to & Troubleshooting 8 years, 1 month ago
Hi isavarg-
You’ll have to be logged out to see the registration or activation page, otherwise they redirect to the home page. Have you tried it while logged out?
- Load More
@dcavins
Active 1 month, 2 weeks ago