Search Results for 'notification user id'
-
AuthorSearch Results
-
February 8, 2018 at 4:51 pm #270679
JC
ParticipantFirst sorry for my spelling in the above messages.
Outllook.com are blocking the emails because of this:
if ( ! empty( $tokens['unsubscribe'] ) && $tokens['unsubscribe'] !== site_url( 'wp-login.php' ) ) { $user = get_user_by( 'email', $tokens['recipient.email'] ); $headers['List-Unsubscribe'] = sprintf( '<%s>', esc_url_raw( bp_email_get_unsubscribe_link( array( 'user_id' => $user->ID, 'notification_type' => $email->get( 'type' ), ) ) ) ); }If yoy remove this if statement mails activation mails are sent. This code ir located ad buddypress/bp-core/bp-core.filters
It’s a new commit, that’s why it worked in previous versions.
To sum up, if you are using BuddyPress 2.9.3, users with Microsoft accounts will not receive the activation email.
I hope this get fixed in the next version.
February 1, 2018 at 6:09 pm #270528Carsten Lund
ParticipantHi there, thanks for your respond. The reason why I want to see my profile, is more a matter of having BP components like messages and notifications visible at all times, without adding them to the theme menu.
Another strange ting is BP’s redirection to the activity page, when activity component is active. Why does BP not allow users decide which page should be the landing page, when viewing own, and others profile?
And why do I need to install a third part plugin to have my profile as landing page after login?December 4, 2017 at 11:12 pm #269412In reply to: Custom BuddyPress email not always sending
bcanr2d2
ParticipantI am using WP Mail SMTP to get the mail to send without issues. But it seems to affect this particular email only, I am getting everything else as far as I am aware.
Here are my current active plugins – There is quite a long list.
I do use Autoptimize, so not sure if it’s affecting anything.
One of note, is Social Login, which when logging directs to their site, and redirects back to my site to log the user in via their social network, this is where it falls over and does not send this one email. It manages to send other emails related to the login, but it now gives me an idea to look into the code that sends this social email sign up notification.(BuddyDev) BP Auto Login on Activation (1.0.3)
Advanced Custom Fields (4.4.11)
Allow Multiple Accounts (3.0.4)
Autoptimize (2.2.2)
BP Profile Message UX Free (1.5)
BP xProfile Location (1.2)
BP XProfile WordPress User Sync (0.6.4)
BuddyDev Username Availability Checker (1.1.1)
BuddyExtender (1.0.1)
BuddyPress (2.7.4)
BuddyPress Member Type Generator (1.0.3)
BuddyPress Security Check (2.1.2)
BuddyPress Simple Terms And Conditions (1.3)
BuddyPress Xprofile Custom Fields Type (2.6.3)
BuddyPress Xprofile Member Type Field (1.0.4)
BuddyPress XProfile Validate with RegEx (0.1.2)
Cherry Parallax Plugin (1.1.0)
Cherry Plugin (1.2.8.1)
Child Theme Configurator (2.1.2)
Conditional Profile Fields for BuddyPress (1.1.9)
Contact Form 7 (4.6)
Contact Form 7 – Dynamic Text Extension (2.0.1)
Contact Form 7 Conditional Fields (1.0)
Contact Form 7 Get and Show Parameter from URL (0.9.7)
Contact Form 7 Honeypot (1.10)
Contact Form 7 Modules: Hidden Fields (2.0)
Contact Form 7 Shortcode Enabler (1.1)
Custom Hooks (1.0)
Custom Post Template By Templatic (1.0)
Custom Post Type UI (1.4.3)
Disable Comments (1.6)
Display Posts Shortcode (2.7.0)
FacetWP (2.7.4)
FacetWP – Map (1.0.5)
Flamingo (1.5)
GeoIP Detection (2.7.0)
GEO my WP (2.7)
Google Analytics Dashboard for WP (4.9.6.2)
List Plugins (1.4.4)
Meta Slider (3.4)
Optimize Database after Deleting Revisions (4.2.1)
Page-list (5.1)
PHP Compatibility Checker (1.4.0)
Popup Maker (1.4.20)
Shortcodes in Menus (3.2)
Social Login (5.2)
Stream (3.2.0)
String Locator (2.2.0)
Sucuri Security – Auditing, Malware Scanner and Hardening (1.8.3)
SuitePlugins – Advanced XProfile Fields for BuddyPress (1.0.3)
Theme Check (20160523.1)
Visual Builder for Contact Form 7 (2.0)
WPFront User Role Editor (2.13)
WP Mail SMTP (0.11.1)
WP Private Content Plus (1.13.1)
WP Smush (2.6.1)
Yoast SEO (4.3)December 3, 2017 at 6:29 am #269378In reply to: [Fixed] Groups Messages Disappear After Update
grimbot
Participantok.. it works again.. Not sure which step fixed it but here is what I did..
In the database area I clicked the Optimize, repair, and reset permission buttons.
In wordpress I cleared off some of the warning notifications I was getting about “Activity Stream” and “User Links” pages not having pages set for them..
I had those removed on purpose btw.
The code to hide the members directory doesn’t work anymore but someone said something about maybe being able to redirect traffic to that page to a password protected or otherwise restricted page.
So.. That should do it if you have the problem I did.. clear the page missing error for user links and activity and run the one click fixes on the database to reset permissions and such.
November 18, 2017 at 8:05 pm #269045In reply to: How to disable private message notification?
Boone Gorges
KeymasterThanks, @friendlygooners – I did read your previous post and visit your site, but what I’m saying is that I’m not sure what “mesage” or “notification” you are talking about. I currently see a partially-hidden item in the upper-right corner of the page, which ends in the sentence “Please reply if you are not a bot”. Is this the message that you are talking about?
If so, it appears that this element is created by your theme, Buddy. I don’t have access to the source of this theme, but I’m guessing that it uses some buggy logic to decide whether or not the notice should be shown. I’m unsure how to fix this bug in PHP because I can’t see the theme code. But you can hide this element with the following CSS:
.sidebar #message { display: none; }You may also want to add some styling so that the top menu doesn’t cover up your site’s content:
#content-wrapper { margin-top: 105px; }This may look different for logged-in users, so your mileage may vary.
November 18, 2017 at 7:36 pm #269036In reply to: How to disable private message notification?
Boone Gorges
KeymasterHi @friendlygooners – Can you clarify what you mean by “the sitewide notification still exist”? Do you mean that it’s still in the markup, even though you are hiding it with CSS? Or do you mean that there is an element other than
#sitewide-noticethat is showing to all users? Can you share the markup (oridattribute) from that additional element, so that we have a better sense of what needs to be hidden?November 18, 2017 at 7:33 pm #269035Boone Gorges
KeymasterHi @richardmiller-1 – The purpose of the @username part of the interface is to tell other users how to mention the user when posting new activity items, etc. It’s possible to change the value that’s displayed here, but if you do, and if users then use that text to “mention” others, then things like auto-linking of @-mentions and @-mention notifications will break, since BP doesn’t know by default how to search by display names.
If you just want to change the display, then you should copy the cover-image-header.php template to your own child theme, and then change the line you’ve referenced to:
<h2 class=”user-nicename”>@<?php echo bp_core_get_user_displayname( bp_displayed_user_id() ); ?></h2>It might be possible to retool some of the @-mention plumbing so that notifications etc work. You’d want to start by filtering
bp_activity_mentioned_users(), and copying some of the logic inbp_activity_find_mentions()but with modified regex + user lookup. (This is going to be hard because, among other things, display names are not necessarily unique across a network, so @Richard could refer to multiple people. But that depends on the nature of your network.)The h1 at the top of the profile page is generated in a weird way, as part of BP’s theme compatibility system. It’s not directly generated by BP, but comes from your WP theme; BP is faking the theme into thinking that the user’s display name is the title of the WP page, so that your theme’s page.php template outputs it as the_title(). There are various workarounds for this. One is to tap into BP’s template hierarchy, so that WP would use a separate template file for single member pages. See https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#single-member-pages for details. Basically, you’d copy page.php to buddypress/members/single/index.php, and remove the call to
the_title(). A simpler solution is to hide with CSS:.bp-user .entry-title { display: none; }September 21, 2017 at 12:10 am #268147In reply to: Contact user
xmginc
Participant@flashvilla, hope this helps:
I’m using Gravity Forms to display a contact form on each member profile page and dynamically populating a hidden field with the member’s email address.
Here’s info on dynamically populating a field in GF
Their example:
add_filter( 'gform_field_value_your_parameter', 'my_custom_population_function' ); function my_custom_population_function( $value ) { return 'boom!'; }I have changed this to:
add_filter('gform_field_value_bp_member_email', 'bp_member_email'); function bp_member_email($value){ return bp_get_displayed_user_email(); }In Gravityforms, I have then created a hidden field and in the advanced tab of that field, checked “Allow field to be populated dynamically” and entered the “Parameter Name:” as “bp_member_email”
Then, in the notifications, the “Send to Email” should be changed from a standard email to a Gravityform tag. You can get that by clicking the little arrow key beside many fields such as “From Name” box. Find the name of your hidden field and click that. It should give you something like this: {BP Member Email:7} where “BP Member Email” is the name I gave the hidden field – yours will be whatever you named it.
You’ll also need to embed the form to your child theme: /themes/yourchildtheme/buddypress/members/single/home.php
Details on how to embed into your theme can be found here. Example: (where 1 is the ID of your form and 12 is the starting tabindex)
<?php gravity_form(1, false, false, false, '', true, 12); ?>If this worked, you can view the source code of the member page and you’ll see the member’s email as an input value in the hidden field.
Hope this helps!
Please note: if you can’t have the person’s email displayed publicly in the source code for privacy (even though it’s not visible on the site), you will need an alternative method. Members on my site all have their emails visible so it’s not an issue for me.
September 15, 2017 at 3:49 am #268059In reply to: BuddyPress accounts connected between sites
Bradley Stevens
Participant@xmginc yep, so close. I just want users to get notifications and messages, and the same avatars and profile pictures network wide. That would expand the ability of buddypress tenfold.
Thanks for the info on WPMU. I hadn’t really heard of them, but this has my interest
June 28, 2017 at 9:21 am #266646wci
ParticipantHi Buddypress support,
I am still waiting to get my problem to solve.
While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
Please find this screen video helpful to solve my issue
> https://www.screencast.com/t/eMZEAnn9X2Please also find this info helpful as you stated you need those info too:
Please try to supply answers to the following questions.
1. Which version of WordPress are you running?
WP ver. 4.82. Did you install WordPress as a directory or subdomain install?
directory but as multisite3. If a directory install, is it in root or in a subdirectory?
subdirectory /public_html/wci4. Did you upgrade from a previous version of WordPress? If so, from which version?
no – Version 2.8.2 is in use5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
not sure but I guess it was working6. Which version of BP are you running?
Version 2.8.2 is in use7. Did you upgraded from a previous version of BP? If so, from which version?
no8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
(but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
Name Version Plugin URL
WP Easy Updates 1.1.1 http://ayecode.io/
AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
AffiliateWP 2.0.10 https://affiliatewp.com
AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
Akismet Anti-Spam 3.3.2 https://akismet.com/
All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
Autoptimize 2.2.0 http://autoptimize.com/
bbPress 2.5.12 https://bbpress.org
BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
BuddyPress 2.8.2 https://buddypress.org/
Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
Contact Form 7 4.8 https://contactform7.com/
Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
Delightful Downloads 1.6.6 https://delightfuldownloads.com
Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
Featured Image Generator 1.1.5 https://designilcode.com
FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
GeoDirectory Events 1.4.6 https://wpgeodirectory.com
GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
GeoDirectory Invoice 1.0 http://www.worldcheckin.com
GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
GeoDirectory 1.6.21 http://wpgeodirectory.com/
GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
Idea Factory 1.2 http://wpideafactory.com
If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
Leads 3.1.1 http://www.inboundnow.com/leads/
MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
WPML Multilingual CMS 3.7.1 https://wpml.org/
Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
TablePress 1.8 https://tablepress.org/
TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
WPML CMS Nav 1.4.20 https://wpml.org/
WPML Media 2.2.0 https://wpml.org/
WPML Page Builders 1.1.3 https://wpml.org/
WPML Sticky Links 1.4.1 https://wpml.org/
WPML String Translation 2.5.4 https://wpml.org/
WPML Translation Management 2.3.1 https://wpml.org/
WPML Widgets 1.0.6 http://jeroensormani.com
MailPoet Newsletters 2.7.10 http://www.mailpoet.com/9. Are you using the standard WordPress theme or customized theme?
customized theme10. Which theme do you use ?
GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)11. Have you modified the core files in any way?
No12. Do you have any custom functions in bp-custom.php?
Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
no build in. version in use is bbPress 2.5.1214. Please provide a list of any errors in your server’s log files.
[23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
[23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
[23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROMms_1_geodir_invoiceWHEREpost_id= von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
[23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
[23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 215. Which company provides your hosting?
hetzner – I am using a own dedicated server16. Is your server running Windows, or if Linux; Apache, nginx or something else?
LinuxJune 28, 2017 at 9:21 am #266640wci
ParticipantHi Buddypress support,
I am still waiting to get my problem to solve.
While using bbpress search forum then the search result is not displayed, but instead get forward to homepage.
Please find this screen video helpful to solve my issue
> https://www.screencast.com/t/eMZEAnn9X2Please also find this info helpful as you stated you need those info too:
Please try to supply answers to the following questions.
1. Which version of WordPress are you running?
WP ver. 4.82. Did you install WordPress as a directory or subdomain install?
directory but as multisite3. If a directory install, is it in root or in a subdirectory?
subdirectory /public_html/wci4. Did you upgrade from a previous version of WordPress? If so, from which version?
no – Version 2.8.2 is in use5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
not sure but I guess it was working6. Which version of BP are you running?
Version 2.8.2 is in use7. Did you upgraded from a previous version of BP? If so, from which version?
no8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
(but the problem occur even, if I deactiavete all plugins just using buddypress and bbpress together)
Name Version Plugin URL
WP Easy Updates 1.1.1 http://ayecode.io/
AffiliateWP – Lifetime Commissions 1.2.4 http://affiliatewp.com/addons/lifetime-commissions/
AffiliateWP – PayPal Payouts 1.1.7 http://affiliatewp.com/addons/paypal-payouts/
AffiliateWP – Recurring Referrals 1.6.2 http://affiliatewp.com/addons/recurring-referrals/
AffiliateWP 2.0.10 https://affiliatewp.com
AffiliateWP – Affiliate Area Tabs 1.1.5 https://affiliatewp.com/
AffiliateWP – Affiliate Dashboard Sharing 1.1.3 http://affiliatewp.com/addons/affiliate-dashboard-sharing/
AffiliateWP BuddyPress Pro 1.0.1 http://propluginmarketplace.com/plugins/affiliatewp-buddypress-pro
AffiliateWP – Direct Link Tracking 1.1.1 https://affiliatewp.com/add-ons/pro/direct-link-tracking/
AffiliateWP MLM 1.1.2 http://theperfectplugin.com/downloads/affiliatewp-mlm
AffiliateWP – Order Details For Affiliates 1.1.3 https://affiliatewp.com/addons/order-details-affiliates/
AffiliateWP Performance Bonuses 1.0.3.1 http://propluginmarketplace.com/plugins/affiliatewp-performance-bonuses
AffiliateWP Ranks 1.0.2 http://propluginmarketplace.com/plugins/affiliatewp-ranks
AffiliateWP Variable Rates 1.3 http://propluginmarketplace.com/plugins/affiliatewp-variable-rates
Akismet Anti-Spam 3.3.2 https://akismet.com/
All In One WP Security 4.2.8 https://www.tipsandtricks-hq.com/wordpress-security-and-firewall-plugin
Autoptimize 2.2.0 http://autoptimize.com/
bbPress 2.5.12 https://bbpress.org
BuddyPress Instant Chat 1.6 http://iamrichardphelps.com/
BuddyPress 2.8.2 https://buddypress.org/
Contact Form 7 Datepicker 2.6.0 https://github.com/relu/contact-form-7-datepicker/
Contact Form 7 Honeypot 1.10 http://www.nocean.ca/plugins/honeypot-module-for-contact-form-7-wordpress-plugin/
Contact Form 7 4.8 https://contactform7.com/
Cookie Notice 1.2.38 http://www.dfactory.eu/plugins/cookie-notice/
Delightful Downloads 1.6.6 https://delightfuldownloads.com
Google Tag Manager for WordPress 1.6.1 https://duracelltomi.com/google-tag-manager-for-wordpress/
Email Log 1.9.1 http://sudarmuthu.com/wordpress/email-log
EWWW Image Optimizer 3.4.1 https://wordpress.org/plugins/ewww-image-optimizer/
Featured Image Generator 1.1.5 https://designilcode.com
FooTable 0.3.1 http://fooplugins.com/plugins/footable-lite/
GD Business Hours 1.3.8.2 http://www.solarflarecomputing.com
GeoDirectory Advance Search Filters 1.4.9 http://wpgeodirectory.com/
GeoDirectory AffiliateWP Integration 1.0.8 http://wpgeodirectory.com
GeoDirectory Ajax Duplicate Alert 1.1.8 http://wpgeodirectory.com
GeoDirectory BuddyPress Integration 1.1.9 http://wpgeodirectory.com/
GeoDirectory Claim Manager 1.3.21 http://wpgeodirectory.com
GeoDirectory Custom Post Types 1.3.5 http://wpgeodirectory.com
GeoDirectory Dashboard 0.0.1 https://wpgeodirectory.com
GeoDirectory Events 1.4.6 https://wpgeodirectory.com
GeoDirectory Franchise Manager 1.0.6 http://wpgeodirectory.com/
GeoDirectory Invoice 1.0 http://www.worldcheckin.com
GeoDirectory Location Manager 1.5.50 http://wpgeodirectory.com
GeoDirectory Marker Cluster 1.3.0 http://wpgeodirectory.com
GeoDirectory Payment Manager 1.4.4 http://wpgeodirectory.com
GeoDirectory Re-Captcha 1.1.5 http://wpgeodirectory.com/
GeoDirectory Review Rating Manager 1.3.8 http://wpgeodirectory.com
GeoDirectory Social Importer 1.3.1 http://wpgeodirectory.com
GeoDirectory 1.6.21 http://wpgeodirectory.com/
GT-Vouchers – GeoDirectory Version 1.5.7.8 http://www.gt-vouchers.com/
Icegram – Popups, Optins, CTAs & lot more… 1.10.5 http://www.icegram.com/
Idea Factory 1.2 http://wpideafactory.com
If Modified Since Header 1.2.5 https://www.isaumya.com/portfolio-item/if-modified-since-header-for-wordpress/
Inbound Extension – MailPoet Integration 1.0.9 http://www.inboundnow.com/
Insert HTML Snippet 1.2.2 http://xyzscripts.com/wordpress-plugins/insert-html-snippet/
Collapse-O-Matic 1.7.5 https://plugins.twinpictures.de/plugins/collapse-o-matic/
Leads 3.1.1 http://www.inboundnow.com/leads/
MailPoet – Contact Form 7 Integration 1.0.7.5 https://github.com/jessepearson/mailpoet-contact-form-7
Master Slider Pro 3.1.3 http://codecanyon.net/item/masterslider-pro/7467925?ref=averta
Multilingual Tools 1.2 https://wpml.org/download/multilingual-tools/
ProfitBuilder 2.2.7 http://www.imsuccesscenter.com/
AffiliateWP – Pushover Notifications 1.0.2 http://affiliatewp.com/addons/pushover-notifications
SendGrid 1.11.3 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
WPML Multilingual CMS 3.7.1 https://wpml.org/
Social Content Locker 1.1 http://web-settler.com/wordpress-social-locker/
Standout CSS3 Buttons 0.3.0 http://www.jimmyscode.com/wordpress/standout-css3-buttons/
TablePress Extension: Responsive Tables 1.4 https://tablepress.org/extensions/responsive-tables/
TablePress 1.8 https://tablepress.org/
TinyMCE Advanced 4.6.3 http://www.laptoptips.ca/projects/tinymce-advanced/
UberMenu 3 – The Ultimate WordPress Mega Menu 3.2.5 http://wpmegamenu.com
UpdraftPlus – Backup/Restore 2.13.4.21 https://updraftplus.com
Use Google Libraries 1.6.2.3 http://jasonpenney.net/wordpress-plugins/use-google-libraries/
Widget Logic 5.8.2 https://wordpress.org/extend/plugins/widget-logic/
Yoast SEO 4.9 https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
Clean Up Optimizer 4.0.10 http://beta.tech-banker.com
Wordpress Social Invitations – Lite 2.1.1 http://wp.timersys.com/wordpress-social-invitations/
WP Super Cache – Clear all cache 1.4 http://ocaoimh.ie/wp-super-cache/
WP Super Cache 1.4.9 https://wordpress.org/plugins/wp-super-cache/
WP Support Plus 8.0.7 https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
WPML CMS Nav 1.4.20 https://wpml.org/
WPML Media 2.2.0 https://wpml.org/
WPML Page Builders 1.1.3 https://wpml.org/
WPML Sticky Links 1.4.1 https://wpml.org/
WPML String Translation 2.5.4 https://wpml.org/
WPML Translation Management 2.3.1 https://wpml.org/
WPML Widgets 1.0.6 http://jeroensormani.com
MailPoet Newsletters 2.7.10 http://www.mailpoet.com/9. Are you using the standard WordPress theme or customized theme?
customized theme10. Which theme do you use ?
GDF_child is from geodirectory (but the problem occur even, if I switch the theme to twenty fourteen)11. Have you modified the core files in any way?
No12. Do you have any custom functions in bp-custom.php?
Not as I know, but maybe the geodirectory addon “GeoDirectory BuddyPress Integration 1.1.9″13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
no build in. version in use is bbPress 2.5.1214. Please provide a list of any errors in your server’s log files.
[23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_videocategory’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
[23-Jun-2017 03:41:33 UTC] WordPress database error Table ‘worldche_wcimsgd.wp_term_relationships’ doesn’t exist for query SELECT tt.term_id, MAX(p.post_modified_gmt) AS date_gmt, l.country_slug AS country, l.region_slug AS region, l.city_slug AS city FROM ms_1_geodir_post_locations l LEFT JOIN ms_1_geodir_gd_video_detail pd ON pd.post_location_id = l.location_id LEFT JOIN ms_1_posts p ON p.ID = pd.post_id LEFT JOIN wp_term_relationships AS tr ON tr.object_id = p.ID LEFT JOIN wp_term_taxonomy AS tt ON ( tt.term_taxonomy_id = tr.term_taxonomy_id AND tt.taxonomy = ‘gd_video_tags’ ) WHERE pd.post_locations LIKE CONCAT( ‘[‘, l.city_slug, ‘],[‘, l.region_slug , ‘],[‘, l.country_slug , ‘]’ ) AND p.post_type = ‘gd_video’ AND p.post_status = ‘publish’ AND l.location_id IS NOT NULL AND tt.term_id IS NOT NULL GROUP BY CONCAT(tt.term_id, ‘-‘, l.country_slug, ‘-‘, l.region_slug, ‘-‘, l.city_slug) ORDER BY date_gmt DESC made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPSEO_Sitemaps->redirect, WPSEO_Sitemaps->build_sitemap, WPSEO_Sitemaps->build_root_map, WPSEO_Sitemaps_Renderer->get_index, apply_filters(‘wpseo_sitemap_index’), WP_Hook->apply_filters, call_user_func_array, geodir_sitemap_index, geodir_sitemap_taxonomies_sitemap_index, geodir_sitemap_get_locations_taxonomies
[23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 für Abfrage SELECT * FROMms_1_geodir_invoiceWHEREpost_id= von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
[23-Jun-2017 04:40:47 UTC] WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE post_author = 0’ at line 1 für Abfrage UPDATE ms_1_posts SET vat_id = WHERE post_author = 0 von require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/GDF_child/geodirectory/listing-success.php’), my_project_updated_email
[23-Jun-2017 06:43:08 UTC] PHP Fatal error: Call to undefined function is_bbpress() in /home/worldcheckin/public_html/wci/wp-content/plugins/widget-logic/widget_logic.php(463) : eval()’d code on line 215. Which company provides your hosting?
hetzner – I am using a own dedicated server16. Is your server running Windows, or if Linux; Apache, nginx or something else?
LinuxApril 25, 2017 at 7:18 am #265610lalitavalon
ParticipantI useed the same website with diffrent link on local host it is working fine there is no issue.
But I actaully try to set up the same website again on local differnt link and try to install the buddypress plugin getting errors and not able to uninstall.
Still if you want some information please find below:Theme -custom theme
php version 7.0.9
Install type single
List of plugins:Advanced Custom Fields
Advanced Custom Fields: Date and Time Picker
Advanced Custom Fields: Repeater Field
All In One SEO PackBreadcrumb NavXT
BuddyPress
CaptchaContact Form 7
Dephue Data Design Hide Update Notifications – Developer Edition
Limit Login Attempts
Lockdown WP Admin
Login With Ajax
Restrict Categories
Visualizer: Charts and Graphs
WP-Mail-SMTP
WPFront User Role EditorHost Type: Local
April 9, 2017 at 12:23 pm #265344In reply to: Add woocommerce product image in activity stream
dalipekez
Participantyou can use like that,for me its working- but downside is all new products will be associated as posts in the activity stream. Can you tell me if you have also issue if somebody comments on activity stream at your posted product or any other activity, that notification you will get then click on it it will redirect you to activity of user who posted but not the actual conversation?
anyway.. here is the function i use in php function
add_filter ( ‘bp_blogs_record_post_post_types’, ‘activity_publish_custom_post_types’,1,1 );
function activity_publish_custom_post_types( $post_types ) {
$post_types[] = ‘product’;
return $post_types;
}let me know if it works
April 2, 2017 at 3:48 pm #265159In reply to: new post notification count
Henry Wright
Moderatorbp_notifications_get_unread_notification_count( $user_id ) should help. Let us know if you need anything specific.
March 6, 2017 at 10:17 pm #264535In reply to: Not getting BuddyPress registration emails
February 27, 2017 at 5:10 pm #264220deeCT
ParticipantHi there,
Thankyou for the reply.
The thing is, on your “site wide activity” page –
The first post here “wrote a new post” looks like a notification that the user wrote a post,
but it doesnt look like it shows the actual post or text the user posted?You have blanked this out, so does it show the actual text that a user posts?
Do you have a screenshot of this?Secondly, Any idea or screenshot of what the activity steam looks like with photos etc using that additional activity plus plugin?
Thirdly –
How does admin or anyone we can set moderate what the users post on the “site wide activity” page? ie how do we make this non- automatic and only show once we have approved?Do you have a screenshot of what the login/ register page in buddypress looks like?
ie I want users to register first before they can see the site wide activit ystreamThankyou!
February 23, 2017 at 12:03 am #264066In reply to: Buddypress Future Suggestons
r-a-y
Keymaster1,2,3,4,6 should be left to WordPress plugins as these are specific to WP.
7, 10 have been discussed as core options. It just takes time for developers and the team to finalize specs and to code as this is all done on a volunteer basis. 10 is hard because it relies on a ton of dependent code that hasn’t been written or finalized yet.
5 – There’s been some preliminary work on this. See https://github.com/buddypress/bp-types-ui.
9 – If you’re using WordPress multisite, this should be already available as a WordPress option under “Network Admin > Settings”. Otherwise, this plugin might work, but does the opposite. It restricts signup to email domains that you specify.
Notifications
2 should already be in core.
3 is a good request, but unreliable due to how the notifications data is stored. It would be easy to do for BP core notifications, but notifications generated by plugins could store the user ID differently, making this unreliable.
4 could be done via a custom template or via a small code snippet.February 17, 2017 at 2:18 pm #263879Henry Wright
ModeratorI believe the
wp_new_user_notification()function is what you’re looking for. It’s pluggable so you can define your own which will override the original definition:function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' ) { // Your own code here. Copy and paste the original function's content and then modify if you wish. }February 8, 2017 at 4:53 pm #263617Topic: Self-inflicted BP Tables Madness
in forum How-to & Troubleshootingwarezit
ParticipantHello!
I am having an issue with BP, that I caused myself. I intentionally deactivated, then deleted, BP (on a 5 day old site) thinking that I wasn’t going to use it. Then I ran ‘WP Optimize’ which removed all the unused tables from the plugins I had installed, and removed unused transients, etc… This is what caused the problem.
Some time later, I went to re-install BP – which succeeds with no issues. Here’s where the issues crop up… Next, I went to create a new Group on the BP front-end, and it reports an error:
There was an error saving group details. Please try again.Enabling WP debug mode in “wp-config.php” reports this:
WordPress database error: [Table 'wordpress.wp_bp_groups' doesn't exist] SELECT id FROM wp_bp_groups WHERE slug = 'create' WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist] SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1 WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist] SELECT id, user_id, date_recorded FROM wp_bp_activity WHERE component = 'members' AND type = 'last_activity' AND user_id IN (1) LIMIT 1 WordPress database error: [Table 'wordpress.wp_bp_activity' doesn't exist] SHOW FULL COLUMNS FROM <code>wp_bp_activity</code> WordPress database error: [Table 'wordpress.wp_bp_notifications' doesn't exist] SELECT * FROM wp_bp_notifications n WHERE user_id IN (1) AND component_name IN ('friends','messages','activity','groups','blogs') AND is_new = 1 WordPress database error: [Table 'wordpress.wp_bp_messages_recipients' doesn't exist] SELECT SUM(unread_count) FROM wp_bp_messages_recipients WHERE user_id = 1 AND is_deleted = 0 AND sender_only = 0 WordPress database error: [Table 'wordpress.wp_bp_friends' doesn't exist] SELECT id FROM wp_bp_friends WHERE (initiator_user_id = 1 OR friend_user_id = 1) ORDER BY date_created DESC WordPress database error: [Table 'wordpress.wp_bp_groups_members' doesn't exist] SELECT COUNT(DISTINCT m.group_id) FROM wp_bp_groups_members m, wp_bp_groups g WHERE m.group_id = g.id AND m.is_confirmed = 0 AND m.inviter_id != 0 AND m.invite_sent = 1 AND m.user_id = 1 WordPress database error: [Table 'wordpress.wp_bp_messages_notices' doesn't exist] SELECT id FROM wp_bp_messages_notices WHERE is_active = 1I have been trying to find a solution for this online, for the last 4+ hours… and I have gotten nowhere… So, I am humbly asking for help here, on how to recreate these tables – WITHOUT DELETING AND RECREATING MY ENTIRE SITE. I have nearly 100 hours into this site so far, and I am NOT starting over. Starting over is NOT an option, so please save everyone’s time and skip suggesting this.
I have reviewed all of these links, and followed all of their respective directions, when applicable:
https://buddypress.org/support/topic/reinstall-should-i-delete-old-tables-from-db/
and, many many many many more links, that I am not going to go back and try to find…Any help with this would be great – I’d really like to use BP again… I have seen a number of other people online with this issue, so I know I am not the only one. There has to be some elegant solution to re-create the required SQL tables for the plugin, right?
I have tried running this, after I reinstalled BP the 4th time (with my TDL inserted, ofc):
https://xxxxxx.com/wp-content/plugins/buddypress/bp-core/bp-core-update.php?f=bp_update_to_2_7_4
But, it didn’t seem to do anything…Ubuntu 16.04.1
Apache 2.4.18
PHP 7.0.13
WP 4.7.2
BP 2.7.4
no other BP extension/plugins have been installed since the 1st time removing BPI am more than happy to provide any requested log files!
Thank you a TON in advance!! I look forward to getting this working again.
February 2, 2017 at 2:04 pm #263461In reply to: Change Colors on Buddypress Notifications !
Florian Bansac
ParticipantIf there are still people looking for help, I have been trying different things today to:
-add the notifications counter in menu
-style differently if 0 notifications or 1+
-target only the mainIt works for me, maybe you can check from here:
// filter to target only main menu add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2); function my_nav_menu_notif_counter($menu, $args) { $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/'; // counter to target unread notifications = 0 or 1+ $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); // condition: user must be loggedin if (!is_user_logged_in()) return $menu; else // condition: only main nav if( $args->theme_location == 'primary' ) { // condition: 0 unread notifications if($bpnotifcount == 0) { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } else { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } $menu = $menu . $notif; return $menu; } else return $menu; }And CSS
/*Notifications counter in menu*/ .notifmenucount { border-radius: 25%; border: 1px solid #ccc; color: #888; display: inline; margin-left: 1px; padding: 2px 6px; text-align: center; vertical-align: center; font-size: small; } .countnot0 { color: #ffff00; background: #ff0000; border: 1px solid transparent; }😉
February 2, 2017 at 1:54 pm #263459In reply to: How display the notifications on header (colors)
Florian Bansac
ParticipantI tried all sorts of things on this topic today, I ended up with something that looks like it’s working. Maybe you can try it:
// filter to target only main menu add_filter('wp_nav_menu_items','my_nav_menu_notif_counter', 10, 2); function my_nav_menu_notif_counter($menu, $args) { $url = bp_core_get_user_domain(bp_loggedin_user_id()) .'notifications/'; // counter to target unread notifications = 0 or 1+ $bpnotifcount = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); // condition: user must be loggedin if (!is_user_logged_in()) return $menu; else // condition: only main nav if( $args->theme_location == 'primary' ) { // condition: 0 unread notifications if($bpnotifcount == 0) { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } else { $notif = '<li><a href=" ' .$url. ' ">Notifications <span class="notifmenucount countnot0">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a></li>'; } $menu = $menu . $notif; return $menu; } else return $menu; }And CSS:
/*Notifications counter in menu*/ .notifmenucount { border-radius: 25%; border: 1px solid #ccc; color: #888; display: inline; margin-left: 1px; padding: 2px 6px; text-align: center; vertical-align: center; font-size: small; } .countnot0 { color: #ffff00; background: #ff0000; border: 1px solid transparent; }I hope it helps!
February 2, 2017 at 8:38 am #263446danbp
ParticipantHi,
BuddyPress doesn’t handle users. It use WP’s user_table and user_meta and his own meta tables (bp_activity_meta or bp_notifications_meta).
In BP settings, you have an option to sync BP to WP profile’s. And that’s all.
If you have another plugin who’s is synced with WordPress profiles, guess it will do the same with BP. But, adding a custom member table only for BP usage within WP registration process isn’t a good idea as you probably will have to rewrite a lot of code.
Members are the heart of BP, but in the sense of “how to show members and let them work together”, not in the way to include/register them to the site.
BP doesn’t never affect the first step when accessing the WP user registering. This step belongs clearly to WP ONLY. Adding member and meta tables doesn’nt modify that.January 25, 2017 at 4:14 pm #263172In reply to: email notifications stopped for @ mentions, replies
finzend
Participant@pixelpushermama @julia_B did you fix this, or is it still a problem?
I just upgraded from BuddyPress 2.3.4 to 2.7.4 (WP 4.7.1) but now we seem to have a problem with the mentions. Users used to get an notification-email when they were mentioned in the comments on one of our sites. That doesnt happen anymore. But the emails from private messages or replies on activity-updates do work…
January 16, 2017 at 11:44 pm #262943bcanr2d2
ParticipantConsider this one resolved, I found the function for the OneAll Social Login that fires off after the accounts are created, and it will now send off welcome emails for those that create accounts via the social media logins!
Thanks for the tip, whilst they didn’t have an example of what I was after, they had plenty showing what function fired off after their account creation.
In the end, so little code -will put on here for reference.
add_action( 'oa_social_login_action_after_user_insert', 'oa_social_login_send_welcome_email', 10, 2); function oa_social_login_send_welcome_email ($user_data, $identity) { //Fire off BuddyPress Welcome email $user_id = $user_data->ID; bpdev_welcome_user_notification( $user_id); }December 29, 2016 at 2:31 pm #262441In reply to: delete notifications
danbp
Participantthank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.
This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
This aspect is one of the main reason to provide usefull and safe code.
IT IS NOT THE CASE HERE – and i wouldn’t recommand it.Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.
@sbrajesh ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.
By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.
FYI about what you did wrong or not properly:
– hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
– comments should be in english (some in your example are in french)
– your recommendation is against all WP usage:copy this script into ur document root where u have installed ur wordpress
– you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
– why do you recall jquery ? It is already loaded when you run BP…
– i’m not a developer, but i’m pretty sure there are other things to mention about coding.In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
You’re also using french in that script.Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.
Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.
[modlook] @jjj, @DJPaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright
-
AuthorSearch Results