Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 451 through 475 (of 638 total)
  • Author
    Search Results
  • #127538
    Tristan
    Participant

    I recently changed my theme, but was experiencing the same problem on my previous theme BP Columns 1.5.3. Below is what I’m currently running:

    Wordpress 3.3.1

    Theme:
    Frisco for BuddyPress 1.5.04

    Plugins:
    BuddyPress 1.5.2
    bbPress 2.0.2
    BP-NotificationWidget 1.4
    BP-Registration-Options 3.0.3
    BuddyPress Moderation 0.1.6
    Buddypress Sitewide activity widget 1.1.3.3
    Calendar 1.3.1
    Email Users 3.4.1
    File Gallery 1.7.3
    oEmbed for BuddyPress 0.52
    U BuddyPress Forum Attachment 1.2.1
    Visual Form Builder 1.9.1
    WP-FB-AutoConnect 2.2.0
    WP-Filebase 0.2.9.10
    WP-Polls 2.62
    WP Survey And Quiz Tool 2.8.3

    #127513
    @ChrisClayton
    Participant

    @abysshorror I know, a proper privacy plugin is something ALOT of users want, including myself – but sadly, this plugin does not achieve that and i don’t think their is an easy way to force the plugin to hide activity… (if it was that easy, we’d already have a real privacy plugin and wouldn’t be having this conversation. lol)

    i remember reading a reply from @modemlooper (though, i might have mis-read it, or something) on his plugin’s forum before he closed it stating that he wasn’t putting proper activity privacy into the plugin because the core devs are supposedly working on a privacy component and it’s something that needs to be in core.

    Hi, Mercime. I am using Salutation by para.llel. us It has been recently revamped for use with Buddypress and I can see that many members seem to be doing fine. I am sure it is something I have done. I have changed only one setting under buddypress and that is ‘hide admin bar for logged out users’. I messed up initially on my pages set-up, so had to go back and re-install bp to get the permalinks working right. Now everything but this section works – it throws me out to google and says it is a broken link:

    Oops! This link appears to be broken.
    Suggestions:
    Go to http://www.­atlantagardening­forum.­com
    Search http://www.atlantagardeningforum.com for members admin settings general

    I will try switching back to bp default and see what happens.

    #127198
    i8theworld
    Member

    I believe this is resolved. It was google apps after all. I didn’t realize the MX records on the new hosting server hadn’t been changed. Thanks for the thoughts.

    #127197
    i8theworld
    Member

    I see. I sent a test email, and it said `SMTP server error: Temporary local problem – please try later` so I will try the php mail option and see what its test says. By the way, I am on justhost, and my dns is an addon associated.

    #127196
    i8theworld
    Member

    @aces I’m sorry, I’m not a coder. I installed the plugin, but what do you mean see the debugging info? Should I switch to use php instead of wp, or is there some other setting you are speaking of? As I said in the posting, I was thinking google apps mail settings on the dns might be the problem.

    #127195
    aces
    Participant

    I would install https://wordpress.org/extend/plugins/wp-mail-smtp/ and see what debugging information it provides when sending a test email

    Then google for the errors….

    #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’ ) );
    }`

    #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!

    #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?

    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);
    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.

    #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);

    }

    #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.

    #120086
    jetlej
    Participant

    Progress: I found the BP function in the core and figured out how to alter it to achieve the effect, but I can’t figure out how to do this in the function.php file instead of altering the core file.

    The function:

    `function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = 0, $date_notified = false ) {
    global $bp;

    if ( empty( $date_notified ) )
    $date_notified = bp_core_current_time();

    $notification = new BP_Core_Notification;
    $notification->item_id = $item_id;
    $notification->user_id = $user_id;
    $notification->component_name = $component_name;
    $notification->component_action = $component_action;
    $notification->date_notified = $date_notified;
    $notification->is_new = 1;

    if ( !empty( $secondary_item_id ) )
    $notification->secondary_item_id = $secondary_item_id;

    if ( !$notification->save() )
    return false;

    return true;
    }`

    and adding the following above return true; made it work:

    ` if ( $component_name == ‘messages’ ){
    return false;
    }

    if ( $component_action == ‘friendship_request’ ){
    return false;
    } `

    #119922
    wendymerritt
    Participant

    1. WordPress v. 3.2.1
    2. WordPress is the root install of my shared hosting package with Hostgator
    3. If a directory install, is it in root or in a subdirectory?
    4. I was already running the current version of WordPress
    5. Yes, everything was functioning correctly before the upgrade
    6. BuddyPress v. 1.2.10
    7. I think I was previously using BuddyPress v. 1.2.9
    8. The plugins that are currently active on the domain are:
    BuddyPress Announce Group
    E-Newsletter
    Social Profiles Widget
    WordPress Amazon Associate
    WP-Cycle
    The plugins that are currently active on the network are:
    Akismet
    BackupBuddy
    Biblefox for WordPress
    BP Groupblog
    BuddyPress
    BuddyPress Badge
    BuddyPress Classifieds
    BUddyPress Mobile
    BuddyPress Sitemap Generator
    Flexi Pages Widget
    Genesis Connect
    Genesis Favicon uploader
    Genesis Simple Edits
    Genesis Simple Menus
    Google Calendar Events
    Membership Premium
    Multisite User Management
    Tiny MCE Advanced
    WPMU DEV Update Notifications
    9. Genesis theme with the GenesisBuddy Add-on
    10. Have you modified the core files in any way? No
    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? We don’t use bbPress
    13. Please provide a list of any errors in your server’s log files. My server Error Log file is empty
    14. Which company provides your hosting? Hostgator
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Linux

    #119898
    acurran
    Member

    My 3 step solution to this problem is as follows:

    1. Install plugin – BuddyPress Pending Activations (https://wordpress.org/extend/plugins/buddypress-pending-activations/)
    2. Make hack to plugin function bp_pending_activations_admin() so that it sends an email when a user is activated:
    $resendusers = $wpdb->get_results( $wpdb->prepare( “SELECT u.ID, u.user_login, u.user_email, m.meta_value FROM ” . CUSTOM_USER_META_TABLE . ” m, “. CUSTOM_USER_TABLE .” u WHERE u.ID = m.user_id AND m.meta_key = ‘activation_key’ AND u.ID IN ({$userids})” ) );

    foreach ( $resendusers as $resend ) {

    /* Activate the signup */
    $user = apply_filters( ‘bp_core_activate_account’, bp_core_activate_signup( $resend->meta_value ) );

    /* If there was errors, add a message and redirect */
    if ( $user->errors ) {
    echo ‘There was an error activating this account, please try again: ‘. $resend->user_login;
    } else {
    $to = $resend->user_email;
    $subject = “Your ?????? Account Has Been Activated!”;
    $message = “Your account has been activated. Go to http://??????/ and sign in with the username and password that you created when you signed up.nnWelcome to ?????!”;
    $admin_email = get_site_option( “admin_email” );
    $from_name = “??????????”;
    $message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
    wp_mail( $to, $subject, $message, $message_headers );
    }
    3. Redirect activation email to admin (to use as a noitification for admin instead of automatically sending activition key to user) by adding this to functions.php:
    function change_activation_email_to($content) {
    return get_site_option( “admin_email” );
    }
    add_filter( ‘bp_core_activation_signup_user_notification_to’, ‘change_activation_email_to’);

    So the when a new user signs up, they do not get any activation email. That goes to the admin instead. You will need to change the wording in your template to let the user know that they have to wait for manual approval. Admin logs in to WP admin and goes to Pending Activitations and activates the user. An email is sent to user to let them know they have been activated.

    #119711
    r-a-y
    Keymaster

    Various notification settings are scattered throughout the BuddyPress codebase; each setting is saved as user meta.

    To disable them, you have to set each one to “no” for each member.

    eg. To disable email notifications for a member, you can use:
    `update_user_meta( $user_id, ‘notification_messages_new_message’, ‘no’ );`

    You’ll have to pass the user’s ID for the `$user_id` variable.

    In BP 1.2.9, to find notification settings, try looking at /plugins/buddypress/bp-X.php, where X is each component’s main loader and search for “notification_settings”, then grab the meta key and rinse and repeat:
    eg. https://buddypress.trac.wordpress.org/browser/tags/1.2.9/bp-messages.php#L254

    #118553

    In reply to: Frisco Child Theme

    David Carson
    Participant

    If anyone can help test browser compatibility for this theme, especially IE 7/8/9, I’d be very grateful. You can report issues here or on GitHub at https://github.com/davidtcarson/frisco/issues

    P.S. I’m pinging you @InterMike just to make sure you get notified about my last post with theme options info and custom.css usage. … I messed up your username in that post so you probably didn’t receive notification.

Viewing 25 results - 451 through 475 (of 638 total)
Skip to toolbar