Forum Replies Created
-
Thanks for updating your support post (the original post was nice and thorough, too) with a follow-up. Best of luck getting it resolved.
-David
Thanks for the response. i’m glad to hear you were able to come up with a setup that worked.
-David
In reply to: Category and tags conflictBased on your other forum post, I’m guessing this is also a Buddyforms question, and your best bet is to contact them for support:
https://themekraft.com/buddyforms/Hi @monetek-
Your best bet for support for Buddyforms is to talk to the developers directly. https://themekraft.com/buddyforms/
In reply to: Missing activity streams@dhsllc: Any idea what changed? Was there an update or other change to the site?
@saleaholic: Make sure that the pages exist, check that they’re selected in the BP Settings pane in wp-admin, and, finally, visit the WP Settings > Permalinks screen to make sure your permalink rules are up-to-date. Permalinks are the problem most of the time.
David
In reply to: Associate CPT to groupI’ve done something similar in the past that should get you started:
https://gist.github.com/dcavins/68554aae1d8b73260c30a31e28aeaebaHi, that’s not possible as far as I know. You could use http://mysite.com/members/me as your site’s home address, though, since it will redirect to a user’s profile if they’re logged in or otherwise present the user with a log in screen, then redirect to their profile.
-David
In reply to: User with multiple groups (bbpress)I’m confused about what you’re trying to do, but if you want to restrict access to forums, then, yes, private groups are an excellent option. First, create a forum in wp-admin, then create a private group. Then, in the group management tab, check the box “Yes, I want this group to have a forum” and select the forum you just created.
Then, only users who belong to private group will be able to use that forum.
In reply to: Please help! 404 Errors everywhereIt sounds like you need to change/update your permalink structure for your WordPress installation. Visit wp-admin > Settings > Permalinks to update.
-David
In reply to: No cover image option in buddypress settingsLooking at the source code, both items make a call to the function
bp_is_active(). For profile cover images, the check is
if ( bp_is_active( 'xprofile', 'cover_image' ) ) {)For groups,
if ( bp_is_active( 'groups', 'cover_image' ) ) {}.In both cases, the default is true, so I’d guess that your theme or another plugin is filtering that value, using one of these filter hooks:
bp_is_profile_cover_image_active
bp_is_groups_cover_image_active
bp_is_activeYou can quickly check by using something standard like twentythirteen as your theme and deactivating all plugins other than BuddyPress.
In reply to: Cannot add User to GroupThe user will have to be active in order to be shown in the group. Try logging in as this other user to make that user active.
I’m assuming that you see the user listed in the Manage > Members tab on the group?
In reply to: Group header file problemsI think I finally understand what is going wrong here. If you pass a bad group object to
bp_group_has_moderators()or don’t pass a group object and the global$groups_template->groupisn’t set, this error can occur.If you’ve had this problem, can you please respond telling me what theme you’re using? Furthermore, look in your theme where
bp_group_has_moderators()is called, and tell me if it’s being called with a$groupargument (likebp_group_has_moderators( $group_object )) or without an argument (likebp_group_has_moderators()).Do you also see an entry in your error log like the following or not?
Trying to get property of non-object in /Users/dcavins/Sites/develop.git.wordpress.org/src/wp-content/plugins/buddypress/src/bp-groups/bp-groups-template.php on line 2576Thanks for your help,
-David
In reply to: Group header file problemsHi @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 help with this!
-David
In reply to: Log In and RegistrationThe 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 templates:
So you could create your own copy of
buddypress/members/register.phpin your theme to make big changes, or potentially hook into the actionbp_before_register_pageto just add some html to top of the BP page.Best of luck.
In reply to: Email Template removing HTML tagsMail 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 template.
In reply to: activate problemHave you set up your BuddyPress pages?
If “Activate” is not set up, then WP will redirect you to your site’s home page.
In reply to: Homepage not loading after Plugin ActivationI 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
In reply to: Pending Activation@djpaul: Nope. I’ve added lots of
fwrite()statements to track behavior, but nothing in plugin form. Sorry.In reply to: Group header file problemsHi @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_dumps 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 into it myself.Thanks! We’d love to have access to a broken site to see what’s up.
-David
In reply to: Group header file problemsOK, 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.
In reply to: Group header file problemsYou can remove the other statements if you want. We know what they’re doing. 🙂
In reply to: Group header file problemsWe’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!
In reply to: Group header file problemsThanks 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_modsis not being set properly; I’m trying to understand why that would be.Debug lines added here:
http://pastie.org/10965044#11,35Thanks!
In reply to: Group header file problems@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!