-
@modemlooper updated the Add custom filters to loops and enjoy them within your plugin page, on the BuddyPress Codex 10 years, 11 months ago
-
modemlooper replied to the topic How do I let users edit profile without having to go to the backend? in the forum How-to & Troubleshooting 10 years, 11 months ago
Users should be able to visit below url to edit settings
SITE-URL/members/USERNAME/settings/
-
modemlooper replied to the topic Allow html in sitewide notices? in the forum How-to & Troubleshooting 10 years, 11 months ago
I suggest not having the html in the popup. You should edit the popup with a link so it takes a user their notifications page. Notifications in next BP update will work like that out of the box.
-
modemlooper replied to the topic Allow html in sitewide notices? in the forum How-to & Troubleshooting 10 years, 11 months ago
function bp_disable_kses_notices() {
if( current_user_can('manage_options') ) {
remove_filter( 'bp_get_message_notice_text', 'wp_filter_kses', 1 );
remove_filter( 'messages_notice_message_before_save', 'wp_filter_kses', 1 );
}
}
add_action('init','bp_disable_kses_notices'); -
modemlooper replied to the topic I need to get just the content string and just the activity update string in the forum Installing BuddyPress 10 years, 11 months ago
I think issue is needing the id in the <head>
-
modemlooper replied to the topic [Resolved] Notifications Include in the forum How-to & Troubleshooting 10 years, 11 months ago
You would need to add some sort of css to style the output
<?php
if ( $notifications = bp_core_get_notifications_for_user( bp_loggedin_user_id() ) ) {if ( $notifications ) {
echo '<div id="notifications-header"><ul>';
for ( $i = 0; $i < count($notifications); $i++ ) {
$badge =…[Read more] -
modemlooper replied to the topic I need to get just the content string and just the activity update string in the forum Installing BuddyPress 10 years, 11 months ago
To add to why $post->post_title() doesn’t work is because BP is using page.php and then filtering the_content. It bypasses the WP system. This was to get it to fit into any WP theme. This tosses SEO and graph tags out the window.
-
modemlooper replied to the topic I need to get just the content string and just the activity update string in the forum Installing BuddyPress 10 years, 11 months ago
It was coded a specific way (to have efficient db access) in the beginning and slowly over its life there have been changes to make it more WordPress in design. Using CPTs just hasn’t been dealt with yet. The main focus in the past have been making it work without WP multisite and adding theme compatibility. There have been some work on component…[Read more]
-
modemlooper replied to the topic Bp-default theme not visible in the forum How-to & Troubleshooting 10 years, 11 months ago
What version of BP?
The bp-default theme is getting deprecated in BP 1.9.
-
modemlooper replied to the topic I need to get just the content string and just the activity update string in the forum Installing BuddyPress 10 years, 11 months ago
You can only get activity info while in a loop. There isn’t a clean way to do it because bp activity is not a custom post type.
-
modemlooper replied to the topic bp-custom code not working in the forum How-to & Troubleshooting 10 years, 11 months ago
the number tells WP in what sequence to place your function when an action fires. 999 is just a super high number to force it at the end after everything else.
-
modemlooper replied to the topic Extended Profiles deleted in the forum How-to & Troubleshooting 10 years, 11 months ago
back up current db before if you decide to go that route
-
modemlooper replied to the topic bp-custom code not working in the forum How-to & Troubleshooting 10 years, 11 months ago
Try
add_action( ‘bp_setup_nav’, ‘vm_setup_nav’, 999 );
Could be that your function is running before BP has created the nav items but in functions.php the items are created
-
modemlooper replied to the topic How to Remove Public Messaging in the forum How-to & Troubleshooting 10 years, 11 months ago
Disable @mentions
-
modemlooper replied to the topic Extended Profiles deleted in the forum How-to & Troubleshooting 10 years, 11 months ago
My guess is that plugin deleted the profile field out of the database and BP is choking because its required.
-
modemlooper replied to the topic Extended Profiles deleted in the forum How-to & Troubleshooting 10 years, 11 months ago
Did you try manually creating a new Name field?
-
modemlooper replied to the topic Search results not showing up with front page set to Buddypress Activity page in the forum How-to & Troubleshooting 10 years, 11 months ago
BuddyPress hijacks the WordPress loop and replaces content with component content. So, any posts returned are wiped out and replaced
You could try a custom second loop but there may be issues
-
modemlooper replied to the topic Guys….. What is the point of including filters if… in the forum How-to & Troubleshooting 10 years, 12 months ago
There is a bit of discussion on this in a trac ticket https://buddypress.trac.wordpress.org/ticket/3856
-
modemlooper replied to the topic [Resolved]I remove groups options and I get blanc page in my site! please help! in the forum How-to & Troubleshooting 10 years, 12 months ago
I’m confused. Did you delete a folder out of the BuddyPress plugin or did you just uncheck groups from settings or both?
Rename wp-content/plugins to plugins-off and then try to access your admin.
This will disable all plugins and let you back into site. Once back into site, rename folder back to plugins. If you deleted anything from the…[Read more]
-
modemlooper replied to the topic Block user (free alternative?) in the forum How-to & Troubleshooting 10 years, 12 months ago
you should put any code that is not theme related into bp-custom.php https://codex.buddypress.org/plugindev/bp-custom-php/
It was basically line 106-141 but it won’t work if you cut and paste. You will need php knowledge to make it work.
That function will just block a message from getting sent for non friends. You would need to edit it for only…[Read more]
- Load More
@modemlooper
Active 9 months, 3 weeks ago