Forum Replies Created
-
In reply to: After upgrade, I had an error about forum.
yes, step through each upgrade but current BP you may need to install bbPress and then convert forums
In reply to: After upgrade, I had an error about forum.EEK!
There have been many changes between these versions. Did you by chance backup your database before upgrade? You need to do an incremental upgrade. Also, current BP doesn’t use it’s own forum anymore and you have to install bbPress separately.
https://codex.buddypress.org/getting-started/upgrading-buddypress/
In reply to: CSS issue?.item-avatar a { background: none; background-color: none; }Users should be able to visit below url to edit settings
SITE-URL/members/USERNAME/settings/
In reply to: Allow html in sitewide notices?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.
In reply to: Allow html in sitewide notices?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');I think issue is needing the id in the <head>
In reply to: [Resolved] Notifications IncludeYou 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 = count($notifications); echo '<li>'.$notifications[$i].'</li>'; } echo '</ul></div>'; echo '<span id="notifications-badge">'.$badge.'</span>'; } } ?>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.
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 APIs and creating admin UI for accessing the site content. The code base for BP is huge so it takes time to make those types of core changes that won’t break existing sites. Also it takes coding hours. Everyone who contributes to BP are all volunteers so, it is when these people have time to give that things like CPTs may happen.
Trust me, CPTs for BP content types has been a major discussion in the past and will likely be in the future.
In reply to: Bp-default theme not visibleWhat version of BP?
The bp-default theme is getting deprecated in BP 1.9.
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.
In reply to: bp-custom code not workingthe 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.
In reply to: Extended Profiles deletedback up current db before if you decide to go that route
In reply to: bp-custom code not workingTry
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
In reply to: How to Remove Public MessagingDisable @mentions
In reply to: Extended Profiles deletedMy guess is that plugin deleted the profile field out of the database and BP is choking because its required.
In reply to: Extended Profiles deletedDid you try manually creating a new Name field?
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
In reply to: Guys….. What is the point of including filters if…There is a bit of discussion on this in a trac ticket https://buddypress.trac.wordpress.org/ticket/3856
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 BuddyPress folder, go to plugins page in admin and delete and reinstall BuddyPress.
Never remove or delete anything out of the BuddyPress plugin folder.
In reply to: Block user (free alternative?)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 certain users.
It would make a great plugin to allow users to block specific users from getting messaged.
In reply to: Block user (free alternative?)if you look through my code starting at line 89 you can see where I’ve removed message button and filtered out non friends from sending messages.
https://github.com/modemlooper/BuddySuite/blob/master/includes/buddysuite-user-settings.php
In reply to: How to import previous blog activityIn reply to: Backend service /baas connectionNot sure about kinvey but read up on installing WordPress on the cloud