Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 25 results - 576 through 600 (of 772 total)
  • Author
    Search Results
  • Roger Coathup
    Participant

    Do you mean, you want to send an email to everyone when a new (blog) post is posted, or when any kind of item is posted to the activity stream?

    For the first you can hook a function on to the WordPress ‘save_post’ action. In that function, you can iterate over every member (see https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/ for guidance), and for each member you use the BP messaging API ( messages_send_message() ) to send them an email.

    For the second – you can’t seriously want to email everyone, any time anything is posted to the activity stream: the system and your users would be swamped – However, if you still do, check out some of the action hooks that are called when activity items are saved: https://codex.buddypress.org/developer-docs/action-reference/activity-streams/

    #136761
    Haraldo88
    Member

    Hi, rossagrant. First, thanks VERY much for this informative response. This is the information I’ve been looking for.

    I’m pretty much in disbelief that BP cannot do what it says in black-and-white it will do (send notifications by email when messages are composed and the “to all users” box is checked). Why hasn’t someone removed this misleading text, I’m wondering? Oy. Oh well, lesson learned, moving on…

    I guess I need to go 3rd Party now. But you’ve identified a key point: Are the Users opted-in? Based on the BP account settings, I believe they are in principle (unless they checked “No”, and I don’t think I have no way of knowing if they did). So I guess I have two choices:
    A. Import all users into a 3rd-party email app and take a chance and send out a notice. Or,
    B. Install an email sign-up widget at the top of all my sidebars (or Header or wherever) and start from scratch building a list with whoever signs up from that day forward.
    (A) solves an immediate marketing problem but seems risky. (B) is the safest but means I’ve wasted all this time thinking I could do something that I couldn’t (or more accurately, that my *former* dev team said I could do), and now I’m already 700+ users into it.

    ***Any other options I’m missing?

    Thanks again for this valuable input. I appreciate it.

    H

    #136759
    rossagrant
    Participant

    Haraldo, there is nothing wrong with your install, there is NO built in way to message all users in BP. The site notification will merely place a widget type notice at the top of your sidebar for all logged in users, which thy can then choose o close. It isn’t emailed or passed as a private message.

    There are a couple of old plugins for this such as: https://wordpress.org/extend/plugins/buddypress-mass-messaging/screenshots/

    It’s an option that is useful, HOWEVER, I would strongly recommend you export your users to CSV. Again export plugins are available and import people into a 3rd party email service like Mailchimp.

    This is far better for email marketing, however in itself is a bit tricky, as unless your members have signed up or opted into a list, it’s technically breaking the T&C’s of all 3rd party mail apps.

    The problem with sending email direct from your server is if you get people unwittingly or deliberately labelling your mail as junk/ spam in clients like hotmail, yahoo and gmail, the ip address of your server can get blacklisted.

    At that point NO mail at all from your server is going to get through to those services, not just for the accounts that labelled you as spam but your server will be blocked and mail won’t reach anyone with a hotmail address etc.

    Sounds dramatic but it could kill your community if you aren’t careful.

    You should always use a 3rd party.

    Rules are still incredibly stringent though. You are generally allowed one spam complaint in every 1000 emails sent.

    Hope that helps!

    #136758
    Haraldo88
    Member

    UPDATE: I cannot get Notice to All Users to work in my BP 1.5.5 (for email delivery). When doing Messages > Compose, it works fine when sending to a single user (email message received in their inbox). But when sending same message to same user AND checking the “This is a notice to all users” box, it does NOT work, not even to the same single user! (but am getting “Notice sent successfully!” confirmation) I want to be able to send an EMAIL message to all users via the built-in BP “Email Notification” system. It specifically says (on the front end): “Send a notification by email when: … Messages > A new site notice if posted”. And my test users do have the “Yes” btns checked for this.

    Any ideas why the BP solution is not working? (FYI: there are 700+ users, and I do not have these users in a 3rd-party email capture system) I’ve Googled for “Why does Notice to All Users not work in BuddyPress?”, and most results are 2-3 years old, with no one really explaining why this should not work. Why would BP have this function if it does not work? Or, alternatively, what am I doing wrong? Any advice appreciated. THANKS!

    #136040
    b1gft
    Participant

    The search facility is not working on the site, well it kind of does, but only shows blog entries. what I do is use the tags and get the closest word to your problem and click on it and see what comes up. Of course first ask on the support forum, but I find, on my questions anyway, that only about 20% are answered. On the email notification, again I dont think it works, so to get over this, I will make some comment on a post I am interested in or want to find a problem on. Then when I return to the BP site, I log in and go to my activity page, and that shows all the posts I have being involved with, so I am able to follow it that way.

    There is a few bugs with BP own site, another one is my username is shown as “deleted user”, while my username is B1gft. I posted about it and again they said they have seen a lot of members that had this problem, again they said they knew about it, but again it was not fixed.

    #134470
    Bandreus
    Member

    digging into the error log scared me :|

    I replicated the bug, and these are the last few lines from the error log:

    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_posts
    SET post_modified = '2012-05-12 22:48:46',
    post_modified_gmt = '2012-05-12 20:48:46'
    WHERE post_status='publish'
    AND ( ID = 418 OR ID = 347 OR ID = 348 OR ID = 365 OR ID = 366) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_post_modified
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_postmeta
    SET meta_value = '399'
    WHERE meta_key = 'live_viewers'
    AND ( post_id = 365) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_live_streams_viewers
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query  SELECT   wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_name = 'regolamento-forumobbligatorio' AND wp_2_posts.post_type = 'topic'  ORDER BY wp_2_posts.post_date DESC  made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT post_id FROM wp_2_postmeta, wp_2_posts WHERE ID = post_id AND post_type = 'topic' AND meta_key = '_wp_old_slug' AND meta_value = 'regolamento-forumobbligatorio' made by require, require_once, do_action, call_user_func_array, wp_old_slug_redirect
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT ID FROM wp_2_posts WHERE post_name LIKE 'regolamento-forumobbligatorio%' AND post_type = 'topic' AND post_status = 'publish' made by require, require_once, do_action, call_user_func_array, redirect_canonical, redirect_guess_404_permalink
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_2_options WHERE option_name = 'super_simple_google_analytics_item' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, super_simple_google_analytics_print_code, get_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.term_id = 3 LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.slug = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.name = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_posts  WHERE (post_type = 'page' AND post_status = 'publish')  AND ( ID  44 )    ORDER BY menu_order,wp_2_posts.post_title ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, call_user_func, wp_page_menu, wp_list_pages, get_pages
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id)
    INNER JOIN wp_2_postmeta AS mt1 ON (wp_2_posts.ID = mt1.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'live_streams_stream' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = 'live_viewers'
    AND  (mt1.meta_key = 'status' AND CAST(mt1.meta_value AS CHAR) = 'live') ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value+0 DESC LIMIT 0, 50 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email , um.meta_value as last_activity FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC LIMIT 0, 15 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_comments JOIN wp_2_posts ON wp_2_posts.ID = wp_2_comments.comment_post_ID WHERE comment_approved = '1' AND wp_2_posts.post_status = 'publish' ORDER BY comment_date_gmt DESC LIMIT 5 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Comments->widget, get_comments, WP_Comment_Query->query
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'topic' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value DESC LIMIT 0, 10 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT * FROM wp_options WHERE option_name = 'blogname' made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_logo, get_blog_option
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT user_id, user_login, user_nicename, display_name, user_email, meta_value as caps FROM wp_users u, wp_usermeta um WHERE u.ID = um.user_id AND meta_key = 'wp_2_capabilities' ORDER BY um.user_id made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_authors_menu
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_posts
    SET post_modified = '2012-05-12 23:27:39',
    post_modified_gmt = '2012-05-12 21:27:39'
    WHERE post_status='publish'
    AND ( ID = 342 OR ID = 343 OR ID = 360 OR ID = 361 OR ID = 405) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_post_modified
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_postmeta
    SET meta_value = '920'
    WHERE meta_key = 'live_viewers'
    AND ( post_id = 342) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_live_streams_viewers
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 10 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_2_options WHERE option_name = 'super_simple_google_analytics_item' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, super_simple_google_analytics_print_code, get_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.term_id = 3 LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.slug = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.name = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_posts  WHERE (post_type = 'page' AND post_status = 'publish')  AND ( ID  44 )    ORDER BY menu_order,wp_2_posts.post_title ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, call_user_func, wp_page_menu, wp_list_pages, get_pages
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 4 made by require, require_once, include, get_header, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->slideshow_home, cc_slidertop, slider, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_header, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->slideshow_home, cc_slidertop, slider, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 3 made by require, require_once, include, do_action, call_user_func_array, CC_Theme_Generator->default_homepage_last_posts, cc_list_posts, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, do_action, call_user_func_array, CC_Theme_Generator->default_homepage_last_posts, cc_list_posts, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id)
    INNER JOIN wp_2_postmeta AS mt1 ON (wp_2_posts.ID = mt1.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'live_streams_stream' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden') AND (wp_2_postmeta.meta_key = 'live_viewers'
    AND  (mt1.meta_key = 'status' AND CAST(mt1.meta_value AS CHAR) = 'live') ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value+0 DESC LIMIT 0, 50 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email , um.meta_value as last_activity FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC LIMIT 0, 15 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_comments JOIN wp_2_posts ON wp_2_posts.ID = wp_2_comments.comment_post_ID WHERE comment_approved = '1' AND wp_2_posts.post_status = 'publish' ORDER BY comment_date_gmt DESC LIMIT 5 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Comments->widget, get_comments, WP_Comment_Query->query
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'topic' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value DESC LIMIT 0, 10 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_options WHERE option_name = 'blogname' made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_logo, get_blog_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT DISTINCT b.blog_id, b.id, bm1.meta_value as name, wb.domain, wb.path FROM wp_bp_user_blogs b, wp_blogs wb, wp_bp_user_blogs_blogmeta bm1 WHERE b.blog_id = wb.blog_id AND b.blog_id = bm1.blog_id AND bm1.meta_key = 'name' AND wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = '0' AND b.user_id = 11 ORDER BY b.blog_id made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_blogs_menu, bp_blogs_get_blogs_for_user, BP_Blogs_Blog->get_blogs_for_user
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT b.blog_id) FROM wp_bp_user_blogs b LEFT JOIN wp_blogs wb ON b.blog_id = wb.blog_id WHERE wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = '0' AND user_id = 11 made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_blogs_menu, bp_blogs_get_blogs_for_user, BP_Blogs_Blog->get_blogs_for_user, BP_Blogs_Blog->total_blog_count_for_user
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_bp_notifications WHERE user_id = 11 AND is_new = 1 made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_notifications_menu, bp_core_get_notifications_for_user, BP_Core_Notification->get_all_for_user
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT user_id, user_login, user_nicename, display_name, user_email, meta_value as caps FROM wp_users u, wp_usermeta um WHERE u.ID = um.user_id AND meta_key = 'wp_2_capabilities' ORDER BY um.user_id made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_authors_menu
    #133313
    Will
    Member

    Hi @mercime – thank you for your reply.

    I think I wasn’t so clear. I want to receive notifications but I wouldn’t like to be notified when someone else reply a comment where I was mentioned. That’s make sense? :P

    E.g. @userx post a comment mentioning me. Every time someone reply HIS comment I got an notification.

    I would like to be notified when someone mention me or reply an update mine but wouldn’t like to be notified when someone reply an update where I was mentioned.

    Any ideas on that? Thanks!

    mysmallbizu
    Participant

    Is there a way to isolate the notifications from the other profile settings?

    I’m using amember V4 to manage registration and subscriptions everything is working correctly except for 1 thing… The “settings” menu in the subscribers user profile goes to a blank white page “404” is the error I get.
    for example…

    http://www.mysmallbizu.com/directory/subscribersusername/settings/

    The other issue is that because amember is handling the login and registration/ username and password etc. I’d only like the user to be able to edit their notifications from this menu… Not their U and P: is there a way to do this?

    #127831
    zlippard
    Member

    Nevermind, I was able to get it to work. After installing and activating the BuddyPress plugin, I noticed on the WordPress plugin page at the top there was a notification to run the installation wizard. After going through the steps and finalizing the install, the BP pages loaded perfectly! I would recommend to have some sort of notification on the actual BP pages that the user needs to run the installation wizard first because there’s really nothing that tells the user what to do after installing the plugin and the blank pages don’t help. ;)

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

Viewing 25 results - 576 through 600 (of 772 total)
Skip to toolbar