Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 851 through 875 (of 1,091 total)
  • Author
    Search Results
  • Mutuuj
    Member

    We will be releasing our custom BuddyPress profile widget in the next few hours – a combination of the BuddyBar profile widget and the Notifications widget.
    Its sleek, a great looker and helps ease navigation. Its free and will be hosted on WordPress.org. For those that can’t wait, you can download the plugin from our site, click here to dl

    Features include:

    * When a user is not logged in, no widget is displayed and the user will be presented with the default login
    * When a user is logged in, it shows all the users friends, groups and notifications with a count next to each
    * Displays the actual notifications below the widget.
    * Fixed ‘0’ count if there are no notifications.

    Installation:

    1. Upload the Mutuuj Widget folder to the `/wp-content/plugins/` directory
    2. Activate the plugin through the ‘Plugins’ menu in WordPress
    3. Drag the Mutuuj BuddyPress Profile Widget to a sidebar on the ‘Widgets’ page under the ‘Appearance’ menu

    #111706

    In reply to: Follow a Blog

    Nahum
    Participant

    i did something like this in a real round about way using the Buddypress Followers plugin. I was able to modify to only show the Follow Button on profiles if the profile owned a blog — Note* this will only work where members are only able to have 1 blog. It will not work in case of an admin that has various blogs — I was also able to modify the plugin to only show Blog Posts in the Users “Following” tab activity stream. And finally I was able to put the Follow button in the user blog sidebar. I had to disable the Follow/Following buttons everywhere except for the member profile and their blog.

    I like you all have been looking for something like this too. I like the idea of adding notifications for bp and email when someone you follow has added a blog post.

    #111274
    Brooker
    Member

    I have 1.2.8 and having the same issue, i took a look into pb-friends.php and the code seems correct…
    global $bp;

    if ( isset( $_GET ) )
    bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->friends->id, ‘friendship_accepted’ );
    }
    add_action( ‘bp_activity_screen_my_activity’, ‘friends_clear_friend_notifications’ );

    @r-a-y @DJPaul?????

    #111232
    r-a-y
    Keymaster

    There’s a `do_action` hook you can use:
    `xprofile_updated_profile` (located in /buddypress/bp-xprofile.php.)

    You could potentially use the wp_mail() function to send an email to the admin with this hook.

    Don’t know what a `do_action` is and how to make use of it?

    If you’re familiar with a tiny bit of PHP, here’s some articles that will help:
    http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/
    https://codex.wordpress.org/Plugin_API#Actions

    Here’s something quick you can try:

    `function my_update_profile_send( $id ) {
    $text = bp_core_get_user_domain( $id );
    wp_mail( ‘YOUR ADMIN EMAIL ADDRESS’, ‘Profile Updated’, $text );
    }
    add_action( ‘xprofile_updated_profile’, ‘my_update_profile_send’ );`

    Put the code snippet in your theme’s functions.php.

    aljuk
    Member

    On users’ profile, in settings / notifications, the following php error is output:

    `Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘bp_core_screen_notification_settings_title’ was given in /path-to-root/wp-includes/plugin.php on line 395`

    Is anyone else experiencing this? Can anyone recommend a course of action? thanks.

    #110408
    Nahum
    Participant

    I think still we’re off base with what I originally asked for. :) But that’s ok! All is welcome.

    In the new WP 3.1 Admin Bar, there is a “Comments” tab that lights up when there is a comment on the blog (i think) — I’m refereing to something like that integreated to bp_core_get_notifications_for_user( $bp->loggedin_user->id ) — to let blog owners on a multisite know that there have been comments made to their blog — the link then goes to edit-comments.php so the user can manage those new comments pending.

    *now that i’m revisting this thread, I’m remembering someone around here providing a tweak the bp-admin bar that added a flyout from the Blogs menu that did exactly this, I think. where are you thread!

    #109676
    littletechgirl
    Participant

    I am having this same issue. I get the email fine if the new user is created on the WordPress side, but if it is done through BuddyPress I do not get a notification. Any other ideas on this?

    #109579
    stwc
    Participant

    Thanks for this — a very good idea. Questions:

    Does setting various email notifications to disabled just a) set a default for all users or b) make it impossible for them to enable them? If (b), does it hide the option in the user-facing UI?

    #108486

    Problem is visible here: http://www.globalmeditationgroup[dot]com/groups/

    Platform 1.1.3 theme
    Wordpress 3.1
    Buddypress… whatever the newest version is, I installed it through wordpress… so I can’t imagine it would be in the wrong place.

    I haven’t done anything with multisite.

    Plugins:
    oh boy… here we go :)

    add new default avatar
    askimet
    all in one seo pack
    autochimp
    ban hammer
    bbpress integration
    bp group hierarchy
    bp xtra signup
    buddypress
    buddypress humanity
    comments cleaner
    dropdown menu widget
    feedburner feedsmith
    forum post notification
    google analytics for wordpress
    google xml sitemaps with multisite support
    gravatar signup encouragement
    login logger
    use google libraries
    user spam remover
    visitor maps and who’s online
    wordpress importer
    wp hide dashboard
    wp mail from

    Not sure what happened… any ideas would be most welcome! Thank you :)

    #108205
    Virtuali
    Participant

    @linkyou, add this to your theme’s css:

    `
    /* Inherit the default theme styles */
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );

    /* Inherit the default theme adminbar styles */
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
    `

    And put this in your functions.php

    `// Load the AJAX functions for the theme
    require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );

    // Load the javascript for the theme
    wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );

    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
    $params = array(
    ‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
    ‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
    ‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
    ‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
    ‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
    ‘comments’ => __( ‘comments’, ‘buddypress’ ),
    ‘close’ => __( ‘Close’, ‘buddypress’ ),
    ‘mention_explain’ => sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) )
    );
    wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );`

    Should put styles of the buddypress default theme into your theme. I would go into plugins/buddypress/bp-themes/bp-default/_inc/css/default.css and remove all the contents of:

    `/* > Global Elements


    */
    /* > Admin Bar


    */
    /* > Header


    */
    /* > Navigation


    */
    /* > Container


    */
    /* > Sidebar


    */
    /* > Content


    */`

    #108049
    Pisanojm
    Participant

    Ok… so @brajesh was able to point be in the right direction on this…

    The problem is that I was looking for a user ID of the person that sent the request that was trying to join the group… what I needed to do was SEARCH for my User ID in the wp-bp-notification table… this had the user’s id making the request listed as an ITEM not a userID (as the user ID was mine)…. once I deleted that it went away…

    FYI: You can find User IDs in the tables themselves or you can use a plugin called REVEAL ID to find IDs in the WordPress back end…
    https://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/

    Thanks Brajesh!

    joelito18
    Member

    I got wordpress 3.1
    Buddypress 1.2.8
    Hosted under Yahoo web hosting.

    ARe there other stuffs I need to install or configure? BUddypress defaults enables private messaging and accepting friend requests.

    When I try to create a message, or click the message link. the page redirect me to members directory.

    When i try to view or edit my own profile or others profile, still redirect to members directory.

    When I try to add friend. The other person receives notification. but click it will only redirect to members directory. Clicking the notification on the admin bar will just redirect to member’s directory as well

    I thought things will be easy install.

    this a fresh install. I installed wordpress 3.0.5 from Yahoo web hosting. Then it said new version is available i upgraded it to 3.1

    Then I installed plugins. buddypress 1.2.8

    use the default buddypress theme.

    Yahoo saves all the files in the blog folder (wp-admin, wp-content, wp-includes).

    Buddypress folder was automatically saved or installed under wp-content/plugins

    By default everything is enable, private messaging, extended profile and friend connections. I didnt change any settings.

    There is a link for these features on the admin bar but the messages, profiles and friend connections will just redirect me to members directory. Although the address on the link shows the proper link to messages, profiles.

    All my other users are Author

    here is the link http://www.irn.net.au

    you can log-in with username: guest password:guest – user role is subscriber

    Thanks guys in advance.

    #20551

    Is it possible to make hidden groups visible to a user that has been invited, but not yet joined? As it is now, the user receives a notification that they have been invited to a hidden group, but they can’t visit that groups page, or even see it in the group list until they have accepted the invite.

    Thanks!

    #20168
    4colourprogress
    Participant

    Hey guys,

    I’ve got my widgets set up so I can execute PHP commands in them and I’m trying to set up custom mail notifications in a drop down panel once users are logged in.

    I found something similar to what I’m looking for on the support forums here
    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-re-produce-notifications-in-a-custom-admin-bar/

    However it seems a little over complicated than what I’m looking for;

    I’m trying to tweak it to a simple if statement that just says either “you have no new messages” with an image of a red envelope above it, or “you have (number of) new messages” with an image of a green envelope.

    my site address is http://www.pixelcove.co.uk

    If anyone could give me some info regarding this I’d be grateful! I’ve spent hours editing individual lines but no luck so far lol

    Many Thanks

    #105425
    pcwriter
    Participant

    @jordynn

    To remove the notifications subnav item, add the following snippet to your functions.php file:

    `function remove_notifications_subnav(){
    global $bp;
    if ( $bp->current_component == $bp->settings->slug ) {
    bp_core_remove_subnav_item($bp->settings->slug, ‘notifications’);
    }
    }
    add_action( ‘wp’, ‘remove_notifications_subnav’, 2 );`

    This is a simple function taken from this post by @mariochampion
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-remove-and-add-items-in-bp_get_displayed_user_nav/?topic_page=2&num=15#post-71265

    Hope this helps! :-)

    #19916
    jordynn
    Member

    Is there a way to hide the notification settings tab in the user’s profile?

    I am working on a site (not live yet) for an association. I have private messaging and friends disabled, so my members do not need this notification feature… But it shows up with nothing for the user to configure, which is going to be confusing for them.
    (screen shot here: http://jordynnmackenzie.com/koperscastle/wp-content/uploads/2011/02/screenshot_bpissue_feb142011.jpg )

    Thanks for any help!
    WP: 3.0.5
    BP: 1.2.7

    #104632
    r-a-y
    Keymaster

    You need to override the new user admin email function:
    https://codex.wordpress.org/Function_Reference/wp_new_user_notification

    Then you need to call on some BuddyPress functions to grab the xprofile data.

    xprofile_get_field_data() (located in bp-xprofile.php) will help.

    If all this is foreign to you, short answer is “it’s possible, but requires coding” ;)

    #19622
    deadlyhifi
    Participant

    I’m trying to add a simple radio button to the signup form, and I’ve got as far as adding that to the signup form. On `bp_core_activate_account` the data goes into the meta of the `wp_signups` table. Then on activation that data is transferred into the `wp_usermeta` table – except the value of `notification_newsletter`.

    In the `newslettersignup_bp_activate` function I realise in the example below that I’m trying to pass in the POST data (which has long gone), but the data that is passed into that function only contains the user_id. Other examples of this process suggest that this is an array with all the registration meta in it – `print_r` returns nothing more than user_id.

    Why aren’t all the values in `wp_signups` -> `meta` transfered to `wp_usermeta` in the activation process? And what can I put into `update_user_meta` to get that value?

    My mind boggles, help gratefully accepted. Code snippet below:
    `/**
    * Add custom userdata from register.php
    */
    function newslettersignup_bp_signup_field( $usermeta ) {
    $usermeta = $_POST;

    return $usermeta;
    }
    add_filter( ‘bp_signup_usermeta’, ‘newslettersignup_bp_signup_field’ );

    /**
    * Update usermeta with custom registration data
    */
    function newslettersignup_bp_activate( $user ) {

    //print_r($user);

    update_user_meta( $user, ‘notification_newsletter’, $_POST );

    return $user;
    }
    add_filter( ‘bp_core_activate_account’, ‘newslettersignup_bp_activate’ );`

    #103479
    calvinhsu
    Participant

    @acaps2007
    What I’ve found finally:

    (It’s based on this article:
    http://easyoutsource.com/blog/how-to-code-a-custom-adminbar-in-buddypress/)

    So if you just set your adminbar to be hidden in css rather than completely disable it in the wp-config.php, you could use to call the notification menu.

    If you’ve completely disabled adminbar, then use the following code instead(it’s copied from bp-core-adminbar.php):

    <?php
    global $bp;
    
    if ( !is_user_logged_in() )
    return false;
    
    echo '<li id="bp-adminbar-notifications-menu"><a>loggedin_user->domain . '">';
    _e( 'Notifications', 'buddypress' );
    
    if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
    <span></span>
    <?php
    }
    
    echo '</a>';
    echo '<ul>';
    
    if ( $notifications ) {
    $counter = 0;
    for ( $i = 0; $i < count($notifications); $i++ ) {
    $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?>
    
    <li></li>
    
    <?php $counter++;
    }
    } else { ?>
    
    <li><a href=&quot;loggedin_user->domain ?>"></a></li>
    
    <?php
    }
    
    echo '</ul>';
    echo '</li>';
    ?>
    

    And as I have found out, the js effect (what you called the “mouse over” effect) is dealt automatically by bp-themes/bp-default/_inc/global.js

    In my case, I’m building a child theme of bp-default, so I don’t have to worry about js, just copy and paste css codes from bp-themes/bp-default/_inc/css/adminbar.css and adjust selectors accordingly.

    If you are not building a child theme of bp-default, then maybe you can try search in the global.js and make some copy and past.

    Good luck !

    #103461

    In reply to: Hide General Settings

    r-a-y
    Keymaster

    Add the following to your theme’s functions.php:

    `function ray_bp_remove_settings() {
    global $bp;

    // removing the existing settings tab
    bp_core_remove_nav_item( $bp->settings->slug );
    }
    add_action( ‘init’, ‘ray_bp_remove_settings’, 0 );

    function ray_bp_readd_settings() {
    global $bp;

    // add a new settings tab to use notifications as default tab
    bp_core_new_nav_item( array( ‘name’ => __(‘Settings’, ‘buddypress’), ‘slug’ => $bp->settings->slug, ‘position’ => 100, ‘show_for_displayed_user’ => false, ‘screen_function’ => ‘bp_core_screen_notification_settings’, ‘default_subnav_slug’ => ‘notifications’ ) );

    // bug in bp_core_remove_subnav_item(), we have to hack the screen function so it displays the notifications screen when you land on /settings/
    if ( $bp->current_component == $bp->settings->slug && $bp->current_action == ‘general’ )
    add_action( ‘wp’, ‘bp_core_screen_notification_settings’, 3 );

    // add back the subnav notifications tab
    $settings_link = $bp->loggedin_user->domain . $bp->settings->slug . ‘/’;

    bp_core_new_subnav_item( array( ‘name’ => __( ‘Notifications’, ‘buddypress’ ), ‘slug’ => ‘notifications’, ‘parent_url’ => $settings_link, ‘parent_slug’ => $bp->settings->slug, ‘screen_function’ => ‘bp_core_screen_notification_settings’, ‘position’ => 20, ‘user_has_access’ => bp_is_my_profile() ) );
    }
    add_action( ‘init’, ‘ray_bp_readd_settings’ );`

    Tested lightly. Encountered a few bugs, but this will work…

    #103099
    Virtuali
    Participant

    — if you want just a nav item for <i>inbox messages</i>, than a simple slug would be easy to add.

    If you want the entire notification tab there… same type of thing as before,

    function bp_adminbar_notifications_menu() {
    global $bp;
    
    if ( !is_user_logged_in() )
    return false;
    
    echo '<li id="bp-adminbar-notifications-menu"><a>loggedin_user->domain . '">';
    _e( 'Notifications', 'buddypress' );
    
    if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
    <span></span>
    <?php
    #102592
    David Carson
    Participant

    The next thing I’d do is deactivate BuddyPress to see if you’re still not getting new user notifications. If you can’t do this on your live site maybe create a test install in a subdirectory. This would help isolate whether it’s a BP or WP thing. You might want to check out the WordPress forums, too – https://wordpress.org/search/new+user+notification?forums=1

    Did you ever get these new user notifications? Or is it something that just started happening recently? Maybe it’s a plugin or customization issue specific to your setup.

    #102591
    reedjholmes
    Member

    Hi David, thanks for the suggestions.

    I double checked that my admin email was correct on the Settings page. The email account is hosted on the same server as the website (e.g. webmaster@scotiasurfer.com).

    I am receiving friend requests, etc., so the email is working. I’m just not getting the New User Registration notifications.

    I also tried to change the admin email to a gmail account. Still no luck getting the New User Registration notifications.

    Hi, I´m new to BuddyPress (not so much to WordPress) and I´m having a bit of trouble getting it to work as expected.

    Let´s go to the details…
    I´ve setup two different installations of WP(Multisite) + BP in two different servers.
    in both cases I get everything running with the exception of:
    — @mention email notification
    — friend request email notification
    — reply email notification
    strangely enough
    — private messages
    — new user regisistration
    — new user activation key
    get through and send the right emails

    just for the record
    Every user/profile used for testing purposes had a valid email address and all the notification emails checked in each profile configuration
    WP(multisite) 3.0.4 with a single site for now and followed the installation guide
    BP 1.2.7
    No other plugin installed or runing
    As I´ve said some Emails do go out (It´s not an email server problem) and just in case I´ve made some tests configuring SMTP but got just the same results.

    BuddyPress is a great application and seems to work lovely with WP.
    Is there a way to fix this problem and get those emails out?
    That would be fantastic.

    Please let me know of any possible tweak, tip, trick, hook or whatever may do the magic :)

    Thanks in advance,

    Andrés

    #102245
    Alex Azimov
    Participant

    hi Avi M,

    I am having the same problem. Also with Bluehost and initially I had a problem with activation e-mails. Nothing was sent and the new user could not activate the account as there were no e-mail of notification. Then I was advised to set up an e-mail account with them and still the problem persisted. After that I had install the Configure SMTP plugin which solved the activation e-mail problem only. Still there are no e-mails/notifications being sent sitewide. Can not figure out what I should do.
    Can you tell me if you installed any additional plugin for this at all? How did you set up an e-mail address from Bluehost. Before I set an e-mail address and started using the Configure SMTP plugin, the general @box…bluhost.com e-mail was used which apparently was the default address.

    Please share with us what you have done with bluehost.
    thanks in advance.

Viewing 25 results - 851 through 875 (of 1,091 total)
Skip to toolbar