Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 801 through 825 (of 1,091 total)
  • Author
    Search Results
  • #26611
    abysshorror
    Member

    @modemlooper hi. First of all I’d like to thank you for this plugin :)

    I have a few questions tho:
    1) I have enabled privacy on my activity stream but if I mention an user who’s not a friend of mine he stills sees the mention and gets the notification. Also, the activity update shows up in `/activity`
    2) Could it be possible to adapt the plugin to use the bp-follow plugin ? I’d like to switch from friends to following/followers scheme

    Thank you very much again

    cwhittl
    Member

    All my users are getting notified correctly when someone mentions them but when they go to click on the link
    http://www.MYDOMAIN.us/members/USERNAME/activity/mentions/” it says “Page Not Found”… Any ideas?

    #126540
    modemlooper
    Moderator

    1) users can edit their own profile link is below the profile tab
    2) post this topic in the followers plugin forum
    3) when you create a user it bypasses the WordPress activation sequence. You will need to create a custom solution. An easy way is to use the BuddyPress notification system and send a site wide message telling all users to change their password.

    #126538
    hgpt
    Member

    Okay I found a way around this. I used the code supplied via one post, the one that said you should place the code in the functions.php file of your theme which would make all new registered users notifications setting turned off. Only problem was then… when I cut the ability for users to updated there profile setting it also allowed them to change the notification settings. Which would allow users to turn them back on.

    So I headed to the BuddyPress plugin files and started searching. Looking for files with the names “Settings” in them I opened them all up and started searching for anything mentioning “Notifications” settings. Here are the two pieces of code that I found in the files and removed them. Went to my test user account, then to settings, and the ability to update/change my “Notifications” settings from their could no longer be seen. Worked… so here are the 2 pieces of code to look for an remove.

    First:
    `// Add Notifications nav item
    $sub_nav[] = array(
    ‘name’ => __( ‘Notifications’, ‘buddypress’ ),
    ‘slug’ => ‘notifications’,
    ‘parent_url’ => $settings_link,
    ‘parent_slug’ => $this->slug,
    ‘screen_function’ => ‘bp_core_screen_notification_settings’,
    ‘position’ => 20,
    ‘user_has_access’ => bp_core_can_edit_settings()
    );`

    Second:
    `/** Notifications *************************************************************/

    function bp_core_screen_notification_settings() {
    global $bp;

    if ( bp_action_variables() ) {
    bp_do_404();
    return;
    }

    if ( isset( $_POST ) ) {
    check_admin_referer(‘bp_settings_notifications’);

    if ( isset( $_POST ) ) {
    foreach ( (array)$_POST as $key => $value ) {
    if ( $meta_key = bp_get_user_meta_key( $key ) )
    bp_update_user_meta( (int)$bp->displayed_user->id, $meta_key, $value );
    }
    }

    bp_core_add_message( __( ‘Changes saved.’, ‘buddypress’ ), ‘success’ );

    do_action( ‘bp_core_notification_settings_after_save’ );
    }

    bp_core_load_template( apply_filters( ‘bp_core_screen_notification_settings’, ‘members/single/settings/notifications’ ) );
    }`

    #26360
    hgpt
    Member

    Okay I apologize to bring kind of an old subject back up, but when looking online I never really got a definite answer I really understood on how to disable all e-mail notifications sent out by BuddyPress. I need to do this because my hosting will see too many mails sent out as “mass mail” and can suspend my account.

    So I found one topic that suggested looking at my BP Plug-in files for any that have the words “notifications” in them. Here is a part of one file I found, I was hoping if someone hear could tell me if this is the line of code I need to edit.

    The code was found in : buddypress/bp-messages/bp-messages-notifications.php

    ` foreach( $recipients as $recipient ) {
    if ( $sender_id == $recipient->user_id || ‘no’ == bp_get_user_meta( $recipient->user_id, ‘notification_messages_new_message’, true ) )
    continue;`
    This is what caught my eye mainly…
    `( $sender_id == $recipient->user_id || ‘no’ == bp_get_user_meta( $recipient->user_id, ‘notification_messages_new_message’, true ) )`

    Where it says “true” would changing that to false or no set them up by default to receive not email notifications? Or is this for the in-site notifications?

    #126480
    @mercime
    Participant

    Go to admin dashboard menu BuddyPress > Components > Account Settings – should be checked to avoid errors in the meantime – Allow your users to modify their account and notification settings directly from within their profiles.

    This has been fixed in trunk as a solution to a different issue but involving bp_get_settings_slug as well.

    #126437
    Jonathan
    Member

    Of course, just looking at things from the hosting side of things.

    If you create 300+ accounts for use as ‘products’ and any of them are even slightly active, notifications will be generated which will in turn send e-mail to the fake e-mail address. Unless the web host in question has it set to blackhole all failed e-mail attempts, there’s going to be quite a backlog in the mail queue.

    Using the plugin to allow multiple e-mail addresses for a specific @domain.ext would allow the user to use the same e-mail for all accounts and simply receive the mail instead of loading up the mail queue. If the mail queue is setup to simply drop the mail after one attempt, it may not be that big of a deal, but most are not and continue to try for 24-48 hours.

    #126270

    In reply to: Data Protection Act

    lofer
    Member

    Hi

    Just saw this today. I would suggest (and I am no legal expert so you would have to get these opinions confirmed by an appropriate person/organisation) that the limits to the application of the DPA depend very much on both the purpose of your site, the nature of the personal information you are gathering and the subsequent purposes to which you will put the data.

    Classically I understand that if you were to request core personal demographic data (i.e. age, dob, income rations and all that malarkey) for a “Social Connections” site then you would need to ensure the elements of both your security and PURPOSE are clear to the users.

    Data Protection is largely concerned with the false gathering and/or use of data i.e. asking for it for one purpose and using it for another – selling it on to a third party without notification. Essentially it aims to protect people from having their personal information willfully (or negligibly I think) shared with third parties.

    So essentially you’d need to be clear for WHAT purpose you were gathering the information, what it would be used for, who it would intentionally be shared with and crucially, that the user provides the information of their own free will in clear knowledge of the above.

    You also need to have a robust procedure in place for gathering, securing and deleting personal information.

    That said, I do not think that individual websites have to register with the DPA unless certain thresh holds are met which I am unaware of. If you are seriously concerned that you might need to engage more fully with the DPA then, check out the following websites at:

    http://www.ico.gov.uk/
    http://www.ico.gov.uk/for_organisations/data_protection.aspx (Good publications here)
    and
    http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications.aspx

    There was also some recent EU stuff on cookies used on websites which might be worth digging into.

    Hope that helps!

    rigids.php6
    Member

    I need to perform 2 actions
    1. I would be tweaking the event manager plugin to show invitation where an Event Host can send Private invitation to other members. Can anyone tell me how to send a message in buddypress, I need mail() in php equivalent in Buddypress(messaging system of buddypress)
    2. Admin able to send Buddypress email message to all members
    Is there any function that can send a mail within resulting a notification to user the primary email id id(xxxx@yahoo.com)

    #26035
    Websheen
    Member

    Hi,

    On clicking ‘Add Friend’, I get:

    Fatal error: Call to undefined function bp_get_settings_slug() in /homepages/……/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php on line 17

    and line 17 in the bp-friends-notifications.php says:
    “$settings_link = bp_core_get_user_domain( $friend_id ) . bp_get_settings_slug() . ‘/notifications’;”

    Also, going back a page the button then says “Friendship Requested” (but nothing shows up on the friends side!).

    Does anyone know of such issues occuring, and how to fix it?

    Thanks
    Karmel

    #125215
    Muhang
    Member

    @DJPaul I’ve cleared all cache browser and SO, searched logs from server and nothing.
    I’ve been going around this for hours, it looks like that w3tc messed with permalinks, or I’m wrong.

    One error is occurring since I’ve disabled & deleted w3tc which is this one
    Call to undefined function bp_loggedin_user_id() but has to do with live notification.

    If I do site/members/username , it works perfect but if I go back to site/community/members/username gives me 404. I do config options for the pages & parents.

    link to site/community/members (groups) is reachable but if you try to access single it gives 404

    I don’t have any clue what’s happening. Any idea that can help?

    #25688
    gg565
    Participant

    Hi guys

    Problem 1)
    I’ve noticed after updating to BP 1.5 that entries in My Groups list which express time since last active as ‘Active x days/months ago ago’
    I’ve noticed the same problem on this site if you search ‘ago ago’ in the search box.
    Any ideas on how to fix? Looks a bit unprofessional and may be responsible for problem 2…
    Problem 2)
    I have Group Email Subscription plugin installed. However, if I enable the option for group admins to override user preferences on mail notifications, this option appears on the Group List, and the increased amount of text overspills into the box below, creating an almighty clutter. Is it the plugin’s fault, or something to do with BP itself?

    Many thanks

    G

    fancyfiber
    Member

    First thanks to Boone Gorges for the direction on how to get started with this. And for those looking for a complete answer. Add this code (or similar) to your Theme functions.php file (my apologies if there is a better way to paste code…first time posting here):

    function set_default_notifications($user_id, $key, $user) {
    $valueyes = 'yes';
    $valueno = 'no';
    
    $new_messages = bp_get_user_meta_key('notification_messages_new_message' );
    bp_update_user_meta( $user_id, $new_messages, $valueyes );
    
    $new_notices = bp_get_user_meta_key('notification_messages_new_notice' );
    bp_update_user_meta( $user_id, $new_notices, $valueno );
    
    $group_invite = bp_get_user_meta_key('notification_groups_invite' );
    bp_update_user_meta( $user_id, $group_invite, $valueyes );
    
    $group_update = bp_get_user_meta_key('notification_groups_group_updated' );
    bp_update_user_meta( $user_id, $group_update, $valueno );
    
    $group_promo = bp_get_user_meta_key('notification_groups_admin_promotion' );
    bp_update_user_meta( $user_id, $group_promo, $valueyes );
    
    $group_request = bp_get_user_meta_key('notification_groups_membership_request' );
    bp_update_user_meta( $user_id, $group_request, $valueyes );
    
    $mention = bp_get_user_meta_key('notification_activity_new_mention' );
    bp_update_user_meta( $user_id, $mention, $valueyes );
    
    $reply = bp_get_user_meta_key('notification_activity_new_reply' );
    bp_update_user_meta( $user_id, $reply, $valueyes );
    
    $send_requests = bp_get_user_meta_key('notification_friends_friendship_request' );
    bp_update_user_meta( $user_id, $send_requests, $valueyes );
    
    $accept_requests = bp_get_user_meta_key('notification_friends_friendship_accepted' );
    bp_update_user_meta( $user_id, $accept_requests, $valueno );
    do_action( 'bp_core_notification_settings_after_save' );
    
    }
    add_action('bp_core_activated_user', 'set_default_notifications', 10, 3);
    #24641
    SilverP
    Member

    Our setup per the “When asking for support…” questions
    1. WordPress 3.2.1
    2. directory install
    3. installed in subdirectory
    4. upgrade from a previous version of WordPress? No
    5. Problems before update? User blogs were disappearing
    6. BP version 1.5.1
    7. Upgraded from 1.2.?
    8. Plugins installed and activated: problems were observed with no other plugins activated, presently WangGuard 1.2.1, Antisplog 1.1.1, Backup Buddy 2.2.28, bbPress 2.0, Blogs Directory 1.1.3 (temporary until this problem resolved), CloudFlare 1.1.8, WPMU DEV Update Notifications 2.1.3
    9. standard BuddyPress themes
    10. I’ve not modified the core files; I’m new and not the only network admin.
    11. custom functions in bp-custom.php? No
    12. bbPress 2.0
    13. errors in your server’s log files. – don’t know
    14. Which company provides your hosting? – don’t know
    15. server running cloudflare-nginx, PHP/5.3.6

    I’ve updated the network.

    If I enable the Site Tracking component of BP, the page
    http://blogsite.mainsite.tld/blogs shows only 26 user blogs/sites.
    There’s no obvious patterns to which sites are included and which are skipped.
    If I create a new site, it is shown.

    If I disable the Site Tracking component and enable the plugin
    Blogs Directory 1.1.3, all user blogs are listed. The page title is malformed
    but all the blogs are there.

    The activity page updates correctly, this issue seems to be confined to the BP blogs listing.

    I searched the forums here and haven’t found a problem like this.
    Any ideas?

    #25154
    schteev
    Member

    how do i remove the menu items ‘settings’ / ‘general and notifications’ from the main Buddypress user bar at the top of the screen.

    My theme is broken and im waiting for the developer to fix these pages (im using Woothemes Canvas child theme, which will be updated in 5 weeks)
    In the meantime I want to disable these options.

    Anyone know where I can find them in the code? I cant find much with a search of the files.. It seems to be in several places.. :s

    Many thanks!!

    mrjarbenne
    Participant

    Invite Anyone does have email functionality, but one of it’s key features is exactly what you are looking for. As the admin of a group (hidden or otherwise), you will see an invite members button that allows you to comb through and checkmark a list of users, or start typing their username in an autocomplete textfield to send invitations. Users receive a notification when they have been invited.

    I use this with Friends turned off (I use BP-Followers instead)

    #121940

    In reply to: Couple Thoughts

    alanchrishughes
    Participant

    Ahhhh, that is working now, thank you very much @boonebgorges

    The only other big thing I think is a problem and could be very confusing to people as I mentioned before, if User A posts on a group activity wall it then appears on their profile activity wall and User B can comment on it there and it will also appear on the group’s activity wall. People might not like that and thinking they were only commenting on their buddy’s wall. However, if User A comments on a blog or forum post, it also appears on their profile activity wall and people can still comment on it, but it then doesn’t appear on the original blog.

    I’m sure some people would like it one way or the other, I personally think blog, group, and forum posts should only then appear as notifications on a user’s activity wall without the option for others to comment on so that users are certain where their comments are appearing and avoid confusion and possible embarrassment.

    Either way it is just an inconsistency that has confused me at least and might be confusing others as well.

    #123108

    In reply to: Couple Thoughts

    alanchrishughes
    Participant

    @boonebgorges I’m also using BP 1.5 (fresh out of the box installation) and it does work to an extend, it removes the notifications from the top, but adds them to the bottom of the activity stream like I described on the trac page, and it breaks the reply button until your refresh the page. I’ve tried both pasting your code in my functions.php file and creating a bp-custom.php plugin file. Both have the same results.

    This fix, and a comment form on friends pages, would be the only two little tweaks it would take to reproduce a fb experience, right now it is reproducing the twitter experience so it is already copying something anyways, giving both options to BP users would be great. And with what you just suggested Boone people could say “oh they’re just trying to copy digg” which I understand would be frustrating, but it honestly isn’t that big of a deal, you would be copying the system but people would be implementing it to their own little situations and needs which would be completely authentic and new. Like comparing tv stations to youtube, it is copying the idea but at the same time it is completely unique because you are bringing the tv station to the users to create more diverse content.

    #123312
    MCas86
    Member

    I fixed it by commenting out all the instances of it. go through each folder within your buddypress plugin and comment out the lines that have

    $settings_link = bp_core_get_user_domain( $receiver_user_id ) . bp_get_settings_slug() . ‘/notifications/’;

    or similar. I just went through each one and searched for “bp_get_settings_slug”, commenting out everytime it was found.

    Hope this helps someone until there is a fix.

    Thanks.

    Micheal Kennedy
    Participant

    I’m trying to put the notifications in a new sub nav, but I can’t get it to work. This is what I have:

    add_filter('wp_nav_menu_items','custom_nav_items',10,2);
    function custom_nav_items($menu, $args) {
    global $bp;
    $args = (array)$args;
    if ( is_user_logged_in() ) {
    if ( $args != 'primary' )
    return $menu;
    $customNav = '<li class="menu-item menu-item-type-post_type menu-item-object-page ss-nav-menu-item-5 ss-nav-menu-item-depth-0 ss-nav-menu-reg ss-nav-menu-mega-alignRight customNav"><a>loggedin_user->domain .'">'. $bp->loggedin_user->fullname .'</a>
    <ul class="sub-menu sub-menu-1">
    <li class="menu-item menu-item-type-custom menu-item-object-custom ss-nav-menu-item-depth-1"><a>loggedin_user->domain .'">View Profile</a></li>
    <li class="menu-item menu-item-type-custom menu-item-object-custom ss-nav-menu-item-depth-1"><a>loggedin_user->domain .'profile/edit/">Edit Profile</a></li>
    <li class="menu-item menu-item-type-custom menu-item-object-custom ss-nav-menu-item-depth-1"><a>loggedin_user->domain .'settings/change-avatar">Change Photo</a></li>
    <li class="menu-item menu-item-type-custom menu-item-object-custom ss-nav-menu-item-depth-1"><a>loggedin_user->domain .'settings/">Edit Settings</a></li>
    <li class="menu-item menu-item-type-custom menu-item-object-custom ss-nav-menu-item-depth-1"><a href="'. wp_logout_url( bp_get_root_domain() ) .'">Logout</a></li>
    <ul>
    </li>
    <li class="menu-item menu-item-type-post_type menu-item-object-page ss-nav-menu-item-5 ss-nav-menu-item-depth-0 ss-nav-menu-reg ss-nav-menu-mega-alignRight"><a href="#">Notifications';
    if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) {
    '<span>' echo count($notifications) '</span>'
    }
    echo '</a>';
    echo '<ul>';
    if ( $notifications ) {
    $counter = 0;
    for ( $i = 0; $i < count($notifications); $i++ ) {
    $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : '';
    '<li>' echo $notifications[$i] '</li>'
    $counter++;
    }
    } else {
    '<li><a href="#">No new notifications</a></li>'
    }
    echo '</ul>';
    echo '</li>';
    if( function_exists('my_bp_adminbar_notifications_menu') ) my_bp_adminbar_notifications_menu();
    return $menu.$customNav;
    } else {
    $loggedoutNav = '<li class="menu-item menu-item-type-post_type menu-item-object-page ss-nav-menu-item-5 ss-nav-menu-item-depth-0 ss-nav-menu-reg ss-nav-menu-mega-alignRight"><a style="font-weight: bold;color: red" href="signup/">Sign Up!</a></li>';
    return $menu.$loggedoutNav;
    }
    }

    I’m also trying to stick “Messages (#)” up there, too, but haven’t tried yet.

    Anyone know why it’s not working?

    #25038
    Iforum
    Member

    Ok, you know the profile bar that is always scrolls down with you where ever you go? You know where your avatar, Username, and Notifications are located and over to the right is the search bar. This did not happen on my site. The bar is there, but it is missing lots of stuff and it doesn’t spread all across the top. You can see the problem here: http://soclo.org

    Support will be greatly appreciated!

    #122478

    I tried xprofile_get_field_data() but it didn’t work, maybe I’m just too dumb.. :)

    So I tried it using MySQL, here is my function wp_new_user_notification, I edit wp-includes/pluggable.php

    function wp_new_user_notification($user_id, $plaintext_pass = ”) {
    $user = new WP_User($user_id);

    $user_login = stripslashes($user->user_login);
    $user_email = stripslashes($user->user_email);
    $buddypress_fields = $user_id;

    // The blogname option is escaped with esc_html on the way into the database in sanitize_option
    // we want to reverse this for the plain text arena of emails.
    $blogname = wp_specialchars_decode(get_option(‘blogname’), ENT_QUOTES);

    $message = sprintf(__(‘New user registration on your site %s:’), $blogname) . “rnrn”;
    $message .= sprintf(__(‘Username: %s’), $user_login) . “rnrn”;
    $message .= sprintf(__(‘E-mail: %s’), $user_email) . “rnrn”;

    // Add Custom Fields from buddypress table to admin email – Start

    $buddypress_result_ = mysql_query(“SELECT
    wp_bp_xprofile_fields.name,
    wp_bp_xprofile_data.value
    FROM wp_bp_xprofile_fields, wp_bp_xprofile_data
    WHERE
    wp_bp_xprofile_data.user_id = $user_id
    AND
    wp_bp_xprofile_fields.id = wp_bp_xprofile_data.field_id
    ORDER BY
    wp_bp_xprofile_data.field_id”);

    while($buddypress_row = mysql_fetch_array($buddypress_result_))
    {
    $fields = $buddypress_row;
    $fields_value = $buddypress_row;
    $message .= $fields . “: rn”;
    $message .= $fields_value . “rnrn”;
    }

    // Add Custom Fields from buddypress table to admin email – End

    @wp_mail(get_option(‘admin_email’), sprintf(__(‘[%s] New User Registration’), $blogname), $message);

    if ( empty($plaintext_pass) )
    return;

    $message = sprintf(__(‘Username: %s’), $user_login) . “rn”;
    $message .= sprintf(__(‘Password: %s’), $plaintext_pass) . “rn”;
    $message .= wp_login_url() . “rn”;

    wp_mail($user_email, sprintf(__(‘[%s] Your username and password’), $blogname), $message);

    }

    PJ
    Participant

    I installed BuddyPress for a company’s intranet and noticed a lot of people complained the site was difficult to use. Baffled, I embedded a slideshare.net walkthrough on the start page which helped people get going, but some complained it was too lengthy. BuddyPress is super easy, but there are tech laggards out there.

    How have you improved the BuddyPress default theme to help users get on board, update profile and notification settings, and start participating in discussions? Did you add helper text on your pages or create tutorial video? If you have examples of “getting started” guides for your community, please share here. Thank you.

    #121086

    In reply to: Fishbook Help

    favtm
    Participant

    Hey folks, I’m lost here. I have Fishbook installed with BuddyPress, and the only time I can see the admin bar (whatever menu name you want to give it, the one with My Account, Dashboard & Notifications) only shows up when I scroll down.

    preview: http://myfilmnetwork.com/sample-page/
    username: mfn
    password: future

    Currently, 0 plugins installed, I reinstalled WordPress, then BuddyPress then Fishbook, and the issue remains. I did the trick of moving the header.php file from the BP Default folder into the Fishbook folder (by the way the above file names are no longer correct since BP 1.5) but with or without the header file, the issue remains. I remember testing out BP several months ago, and I didn’t have this menu problem with Fishbook then. I vaguely remember having to install a plugin to customize the menu buttons, specifically for Fishbook, but I can no longer find that plugin.

    Let me know your thoughts, thanks a lot.

    #24271
    ribena_wrath
    Member

    Hi all

    My site is nearing completion now :) Buddypress is a great tool…but no way near as ‘plug in and go’ as the creators maintain…

    Probably my last request is those user links on the Buddypress bar at the top of the page. I have tried looking into how they are linked, but to no avail. I want them as links if possible? IE, I need to insert them into a menu, but it is a lot harder then it should be. In the link, how do we make the link a universal one, instead of directed at my username?

    So the links I need are…

    activity > mentions, personal, favorites, groups
    forums > topics started, replies, favourite topics,
    groups > memberships, no pending invites,
    settings > general, notifications,
    profile > view, change, settings,
    log out
    notifications

    My next port of call is to remove the links from above are also in the profiles. Just to make it cleaner to use the site, and view profiles.

    Thanks for your help guys

    Dan

Viewing 25 results - 801 through 825 (of 1,091 total)
Skip to toolbar