Forum Replies Created
-
In reply to: “Invalid Post Type” when posting in group’s newsfeed
Not from deactivating, some plugins delete their data if you delete them from the plugins page, but you aren’t doing that.
In reply to: “Invalid Post Type” when posting in group’s newsfeedHi there, I’d first try deactivating all plugins apart from BuddyPress and see if that works.
In reply to: Tag friends in a photoNot seen this as a feature but this question should go to whoever is providing your support for images in BuddyPress – rtMedia or MediaPress?
In reply to: Activity Stream AdsI tried truelux’s code in the Nouveau activity-loop and that seems to work fine even when switching streams, why not use that? The key to it is to make sure you over-write the existing
while ( bp_activities() ) : bp_the_activity();which that code to get it working.In reply to: Upload Document on SiteWide Activity streamYour best bet is to ask rtMedia support for this as it’s not a feature of BP. Also I know you should be able to accomplish this with MediaPress. I know you can stipulate exactly what kinds of uploads are permitted.
I can’t replicate your issue, possibly it’s an issue with your theme, try running with 2017 to see if that changes it?
In reply to: BuddyPress Friend Request Button Not TriggeringWhich BP theme are you using: Nouveau or Legacy, just tested on Nouveau and I don’t see your issue.
In reply to: Restrict Users from deleting notificationsAh yes, slight correction required:
<?php $args = array( 'links' => array( bp_get_the_notification_mark_link( bp_displayed_user_id() ) ) );?>In reply to: Restrict Users from deleting notificationsYou are welcome.
When you get to edit the file you will see something like this:
<?php bp_the_notification_action_links(); ?>The extra code will need to go within a set of PHP tags just like the function call is.
So your code should end up looking something like this:
<?php $args = array( 'links' => array( bp_get_the_notification_mark_link( $user_id ) ) );?>place this in a new line before the modified function call:
<?php bp_the_notification_action_links( $args ); ?>In reply to: Restrict Users from deleting notificationsAh ok,
So first of all you need a child theme, there’s plenty on plugins available that wil set one up for you.
Next you need to know which BP Template is being used by going to Settings>BuddyPress>Options, here you will see it’s either set to Legacy or Nouveau.
Next create a directory in your childtheme called
buddypress/members/single/notificationsNext copy the file
plugins/buddypress/bp-templates/(bp-nouveau or bp-legacy)/buddypress/members/single/notifications/notifications-loop.phpto the notifications you created in your childtheme.You can then edit this file to add your changes. in here you will find the function call I mentioned for you to add the args to.
In reply to: BuddyPress Pages doesn’t Load ContentHi there, maybe these pages will help:
In reply to: Restrict Users from deleting notificationsIt looks like the function
bp_the_notification_action_links()accepts $args that would allow you to remove the delete link. So you could overload your `members/single/notifications/notifications-loop.php file to include something like the following:$args = array( 'links' => array( bp_get_the_notification_mark_link( $user_id ) ) );and add this to the function call:
bp_the_notification_links( $args )Something like that looks like it would work, not tested it though.
In reply to: Can You Help Me?Hi there, I don’t think BuddyPress will launch a front end post submission extension. You could raise this as a new enhancement request in Trac if you like but I’d not be very hopeful that this would be forthcoming.
In reply to: Registration ErrorIn reply to: Registration ErrorBy the looks of things this is a bug, the WP Function
get_privacy_policy_url()was introduced in WP Version 4.9.6 however the BP functionbp_signup_requires_privacy_policy_acceptance()does not check for that version before trying to executeget_privacy_policy_url(). Presumably you are using a previous version of WP and so this function is throwing an undefined function error. I’ll raise a bug report for this.A possible fix for this is to add the following line to
plugins/buddypress/bp-members/bp-members-template.phpline 2421, just after the functionbp_signup_requires_privacy_policy_acceptance()is declared:if ( version_compare( $GLOBALS['wp_version'], '4.9.6', '<' ) ) return false;In reply to: Registration ErrorHi there, what version of WordPress are you using?
In reply to: Redirection to profiel pageIn reply to: Buddypress not workingHi there,
Have you enabled extended profiles in Settings/BuddyPress?
If yes, deactivate the other plugins and see if that works?
Also, try using a default theme such as 2017.
In reply to: RedirectHi, How about trying https://wordpress.org/plugins/redirect-after-login/
In reply to: whitelist userHi there,
I’m afraid post moderation is not a feature of BuddyPress. Do you have another plugin adding that feature? if so that plugin’s creator would be the one to ask. This will probably come down to the users capabilties.
In reply to: Canceling the ajax for the Members pageIt’s possible to overload the members-loop.php file for your BP theme and remove that element.
I explain it here – https://buddypress.org/support/topic/member-directory/
In reply to: Registration not workingThey should simply be shown the site.com/register page it will display the “Check Email” message
In reply to: Registration not workingOk, then the next step is to go through the standard debugging steps by deactivating all other plugins apart from BuddyPress and see if registration works then, if it’s still the same try switching to the 2017 theme and test again.
In reply to: Registration not workingAh, that’s not the right way to do it, by doing that next time BuddyPress get’s updated your customisations will be over-written. The official way f doing it is to overload it by copying the file to the child theme directory and then editing it.
What you can do is download a fresh copy of BuddyPress and retrieve the original file.
Also see https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
In reply to: Registration not workingDid you put the edited file in you child-theme?
themes/childtheme/buddypress/members/register.php?If so you can simply rename this to something like register.old and the default register.phph will be picked up.