Search Results for 'wordpress'
-
Search Results
-
Hi everybody 😀
I am new, i am french, i live in ukraine, my website is not online for the moment, and.. i don’t know programmation… =/
Just i know to put snippet, incorpore code, plugin, and my spciality it’s the CSS 😀 (hum .. but not complex 3D animation)I search since one hour without find, because all the converse have more than 4/9 years, one snippet for the file .function for just the admin and one role can create a group,
+
For if one member go on the link create group, is redirect on one page i didSomebody can help me and do this snipet please ?.. =/
Sorry for my bad english !
Have a good day
AntorfacteLast version wordpress and budypress, php5, php7 in one week
A general question, not related to a live site at this point, just something I’m playing with.
With a fresh WordPress + BuddyPress install, under Users > Profile Fields, I’ve created a new field called Last Name.
New registrations are capturing the data correctly and it is stored in wp_bp_xprofile_data.
Is there any easy way of also getting that value into wp_usermeta.last_name as well?
Thanks in advance.
I need some custom notifications in my website. I have my code bellow, all work correctly, notification is added into database and displayed at the recipient, but without notification text

How i can fix this?
Thank youfunction custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'custom' ); // Return component's with 'custom' appended return $component_names; } add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' ); function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { // New custom notifications if ( 'custom_action' === $action ) { $custom_title = "You have new notification"; $custom_link = "domain.com"; $custom_text = "You have new notification"; // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); } return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 ); function bp_custom_add_notification( $receiver_user_id, $initiator ) { //$post = get_post( $comment_object->comment_post_ID ); //$author_id = $post->post_author; bp_notifications_add_notification( array( 'user_id' => $receiver_user_id, 'item_id' => $initiator, 'secondary_item_id' => $initiator, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } add_action( 'wp_insert_custom_notification', 'bp_custom_add_notification', 99, 2 );Hi,
I have a multisite install with one main domain and 3 sub domains. I have buddypress activated locally on each site rather than network-wide. I’m using the recently active members widget on one of my pages of one sub domain, but I want it to show only users from that same sub domain and not users from across the whole network. Is this possible?
Both wordpress and buddypress are running on the latest version.
Thanks!
Topic: Activation Send Delay
Hi everyone,
My friend and I are having issues with our Activation Email. While we are also sending emails by another plugin which is instant. We are using our own Host to send the emails.
Sometimes it gets sent straight away while some email providers it can take up to a day for them to get it.
Looked around and they also mostly are about Not Sending ours send just some are really late.
Does anyone else have this issue?
BuddyPress 4.1.0 – WordPress 5.0.3
Thanks.
Hi there!
I would like to display only member updates on the Activities page (Would like to avoid any other updates like profile changed, etc) – How can I achieve this? I have tried looking through the forums but unable to find a working solution – Nouveau has changed things?
Using the latest version of buddypress and wordpress.
any guidance please?
thanks