Search Results for 'notification user id'
-
AuthorSearch Results
-
May 11, 2011 at 12:45 am #112018
embergermedia
MemberPLEASE!!! My users are complaining loudly about this issue. Some of them have nearly a dozen un clearable notifications because of this issue! I can only imagine the chaos that will ensue once the community has been active for a year and they have dozens and dozens of notifications that won’t go away…
And new users can’t find answers to these already answered forum topics!
I think a simple solution would be to not allow forum topics to add to the activity stream. I can do this with a great plugin. But how do I clear all the notifications that users already have?? And besides, this is only a hack. I would like to keep forums updates in the activity stream, to encourage interaction.
Thanks
May 6, 2011 at 11:55 am #111706In reply to: Follow a Blog
Nahum
Participanti did something like this in a real round about way using the Buddypress Followers plugin. I was able to modify to only show the Follow Button on profiles if the profile owned a blog — Note* this will only work where members are only able to have 1 blog. It will not work in case of an admin that has various blogs — I was also able to modify the plugin to only show Blog Posts in the Users “Following” tab activity stream. And finally I was able to put the Follow button in the user blog sidebar. I had to disable the Follow/Following buttons everywhere except for the member profile and their blog.
I like you all have been looking for something like this too. I like the idea of adding notifications for bp and email when someone you follow has added a blog post.
April 28, 2011 at 8:49 pm #111274In reply to: Notifications Number not going away
Brooker
MemberI have 1.2.8 and having the same issue, i took a look into pb-friends.php and the code seems correct…
global $bp;if ( isset( $_GET ) )
bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->friends->id, ‘friendship_accepted’ );
}
add_action( ‘bp_activity_screen_my_activity’, ‘friends_clear_friend_notifications’ );April 28, 2011 at 6:54 am #111232In reply to: Notification on Profile Update
r-a-y
KeymasterThere’s a `do_action` hook you can use:
`xprofile_updated_profile` (located in /buddypress/bp-xprofile.php.)You could potentially use the wp_mail() function to send an email to the admin with this hook.
Don’t know what a `do_action` is and how to make use of it?
If you’re familiar with a tiny bit of PHP, here’s some articles that will help:
http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/
https://codex.wordpress.org/Plugin_API#ActionsHere’s something quick you can try:
`function my_update_profile_send( $id ) {
$text = bp_core_get_user_domain( $id );
wp_mail( ‘YOUR ADMIN EMAIL ADDRESS’, ‘Profile Updated’, $text );
}
add_action( ‘xprofile_updated_profile’, ‘my_update_profile_send’ );`Put the code snippet in your theme’s functions.php.
April 16, 2011 at 3:32 pm #110408In reply to: Blog Comments Notifications Plugin
Nahum
ParticipantI think still we’re off base with what I originally asked for.
But that’s ok! All is welcome.In the new WP 3.1 Admin Bar, there is a “Comments” tab that lights up when there is a comment on the blog (i think) — I’m refereing to something like that integreated to bp_core_get_notifications_for_user( $bp->loggedin_user->id ) — to let blog owners on a multisite know that there have been comments made to their blog — the link then goes to edit-comments.php so the user can manage those new comments pending.
*now that i’m revisting this thread, I’m remembering someone around here providing a tweak the bp-admin bar that added a flyout from the Blogs menu that did exactly this, I think. where are you thread!
April 6, 2011 at 5:25 pm #109676In reply to: Admin not receiving New User Registration emails
littletechgirl
ParticipantI am having this same issue. I get the email fine if the new user is created on the WordPress side, but if it is done through BuddyPress I do not get a notification. Any other ideas on this?
April 5, 2011 at 5:35 am #109579In reply to: Buddypress Notifications Manager : My first plugin
stwc
ParticipantThanks for this — a very good idea. Questions:
Does setting various email notifications to disabled just a) set a default for all users or b) make it impossible for them to enable them? If (b), does it hide the option in the user-facing UI?
March 23, 2011 at 3:50 am #108486In reply to: [Resolved] can’t open group page
VirtualityStudio
MemberProblem is visible here: http://www.globalmeditationgroup[dot]com/groups/
Platform 1.1.3 theme
Wordpress 3.1
Buddypress… whatever the newest version is, I installed it through wordpress… so I can’t imagine it would be in the wrong place.I haven’t done anything with multisite.
Plugins:
oh boy… here we go
add new default avatar
askimet
all in one seo pack
autochimp
ban hammer
bbpress integration
bp group hierarchy
bp xtra signup
buddypress
buddypress humanity
comments cleaner
dropdown menu widget
feedburner feedsmith
forum post notification
google analytics for wordpress
google xml sitemaps with multisite support
gravatar signup encouragement
login logger
use google libraries
user spam remover
visitor maps and who’s online
wordpress importer
wp hide dashboard
wp mail fromNot sure what happened… any ideas would be most welcome! Thank you
March 19, 2011 at 2:01 am #108205In reply to: JobRoller + BuddyPress errors
Virtuali
Participant@linkyou, add this to your theme’s css:
`
/* Inherit the default theme styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );/* Inherit the default theme adminbar styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
`And put this in your functions.php
`// Load the AJAX functions for the theme
require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );// Load the javascript for the theme
wp_enqueue_script( ‘dtheme-ajax-js’, get_template_directory_uri() . ‘/_inc/global.js’, array( ‘jquery’ ) );// Add words that we need to use in JS to the end of the page so they can be translated and still used.
$params = array(
‘my_favs’ => __( ‘My Favorites’, ‘buddypress’ ),
‘accepted’ => __( ‘Accepted’, ‘buddypress’ ),
‘rejected’ => __( ‘Rejected’, ‘buddypress’ ),
‘show_all_comments’ => __( ‘Show all comments for this thread’, ‘buddypress’ ),
‘show_all’ => __( ‘Show all’, ‘buddypress’ ),
‘comments’ => __( ‘comments’, ‘buddypress’ ),
‘close’ => __( ‘Close’, ‘buddypress’ ),
‘mention_explain’ => sprintf( __( “%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.”, ‘buddypress’ ), ‘@’ . bp_get_displayed_user_username(), bp_get_user_firstname( bp_get_displayed_user_fullname() ), bp_get_user_firstname( bp_get_displayed_user_fullname() ) )
);
wp_localize_script( ‘dtheme-ajax-js’, ‘BP_DTheme’, $params );`Should put styles of the buddypress default theme into your theme. I would go into plugins/buddypress/bp-themes/bp-default/_inc/css/default.css and remove all the contents of:
`/* > Global Elements
*/
/* > Admin Bar
*/
/* > Header
*/
/* > Navigation
*/
/* > Container
*/
/* > Sidebar
*/
/* > Content
*/`March 17, 2011 at 6:13 am #108049In reply to: Help Me Delete Stuck Notification…
Pisanojm
ParticipantOk… so @brajesh was able to point be in the right direction on this…
The problem is that I was looking for a user ID of the person that sent the request that was trying to join the group… what I needed to do was SEARCH for my User ID in the wp-bp-notification table… this had the user’s id making the request listed as an ITEM not a userID (as the user ID was mine)…. once I deleted that it went away…
FYI: You can find User IDs in the tables themselves or you can use a plugin called REVEAL ID to find IDs in the WordPress back end…
https://wordpress.org/extend/plugins/reveal-ids-for-wp-admin-25/Thanks Brajesh!
February 14, 2011 at 11:51 pm #105425In reply to: Hide Notification Settings
pcwriter
ParticipantTo remove the notifications subnav item, add the following snippet to your functions.php file:
`function remove_notifications_subnav(){
global $bp;
if ( $bp->current_component == $bp->settings->slug ) {
bp_core_remove_subnav_item($bp->settings->slug, ‘notifications’);
}
}
add_action( ‘wp’, ‘remove_notifications_subnav’, 2 );`This is a simple function taken from this post by @mariochampion
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-remove-and-add-items-in-bp_get_displayed_user_nav/?topic_page=2&num=15#post-71265Hope this helps!
February 4, 2011 at 8:56 pm #104632In reply to: Profile Fields show on email to admin?
r-a-y
KeymasterYou need to override the new user admin email function:
https://codex.wordpress.org/Function_Reference/wp_new_user_notificationThen you need to call on some BuddyPress functions to grab the xprofile data.
xprofile_get_field_data() (located in bp-xprofile.php) will help.
—
If all this is foreign to you, short answer is “it’s possible, but requires coding”
January 21, 2011 at 1:13 am #103479In reply to: How to move adminbar links to sidebar?
calvinhsu
Participant@acaps2007
What I’ve found finally:(It’s based on this article:
http://easyoutsource.com/blog/how-to-code-a-custom-adminbar-in-buddypress/)So if you just set your adminbar to be hidden in css rather than completely disable it in the
wp-config.php, you could useto call the notification menu.If you’ve completely disabled adminbar, then use the following code instead(it’s copied from bp-core-adminbar.php):
<?php global $bp; if ( !is_user_logged_in() ) return false; echo '<li id="bp-adminbar-notifications-menu"><a>loggedin_user->domain . '">'; _e( 'Notifications', 'buddypress' ); if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?> <span></span> <?php } echo '</a>'; echo '<ul>'; if ( $notifications ) { $counter = 0; for ( $i = 0; $i < count($notifications); $i++ ) { $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?> <li></li> <?php $counter++; } } else { ?> <li><a href="loggedin_user->domain ?>"></a></li> <?php } echo '</ul>'; echo '</li>'; ?>And as I have found out, the js effect (what you called the “mouse over” effect) is dealt automatically by
bp-themes/bp-default/_inc/global.jsIn my case, I’m building a child theme of bp-default, so I don’t have to worry about js, just copy and paste css codes from
bp-themes/bp-default/_inc/css/adminbar.cssand adjust selectors accordingly.If you are not building a child theme of bp-default, then maybe you can try search in the global.js and make some copy and past.
Good luck !
January 20, 2011 at 8:21 pm #103461In reply to: Hide General Settings
r-a-y
KeymasterAdd the following to your theme’s functions.php:
`function ray_bp_remove_settings() {
global $bp;// removing the existing settings tab
bp_core_remove_nav_item( $bp->settings->slug );
}
add_action( ‘init’, ‘ray_bp_remove_settings’, 0 );function ray_bp_readd_settings() {
global $bp;// add a new settings tab to use notifications as default tab
bp_core_new_nav_item( array( ‘name’ => __(‘Settings’, ‘buddypress’), ‘slug’ => $bp->settings->slug, ‘position’ => 100, ‘show_for_displayed_user’ => false, ‘screen_function’ => ‘bp_core_screen_notification_settings’, ‘default_subnav_slug’ => ‘notifications’ ) );// bug in bp_core_remove_subnav_item(), we have to hack the screen function so it displays the notifications screen when you land on /settings/
if ( $bp->current_component == $bp->settings->slug && $bp->current_action == ‘general’ )
add_action( ‘wp’, ‘bp_core_screen_notification_settings’, 3 );// add back the subnav notifications tab
$settings_link = $bp->loggedin_user->domain . $bp->settings->slug . ‘/’;bp_core_new_subnav_item( array( ‘name’ => __( ‘Notifications’, ‘buddypress’ ), ‘slug’ => ‘notifications’, ‘parent_url’ => $settings_link, ‘parent_slug’ => $bp->settings->slug, ‘screen_function’ => ‘bp_core_screen_notification_settings’, ‘position’ => 20, ‘user_has_access’ => bp_is_my_profile() ) );
}
add_action( ‘init’, ‘ray_bp_readd_settings’ );`Tested lightly. Encountered a few bugs, but this will work…
January 17, 2011 at 5:41 am #103099In reply to: Admin Bar topics to Nav Bar
Virtuali
Participant— if you want just a nav item for <i>inbox messages</i>, than a simple slug would be easy to add.
If you want the entire notification tab there… same type of thing as before,
function bp_adminbar_notifications_menu() { global $bp; if ( !is_user_logged_in() ) return false; echo '<li id="bp-adminbar-notifications-menu"><a>loggedin_user->domain . '">'; _e( 'Notifications', 'buddypress' ); if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?> <span></span> <?phpJanuary 11, 2011 at 6:21 pm #102592In reply to: Admin not receiving New User Registration emails
David Carson
ParticipantThe next thing I’d do is deactivate BuddyPress to see if you’re still not getting new user notifications. If you can’t do this on your live site maybe create a test install in a subdirectory. This would help isolate whether it’s a BP or WP thing. You might want to check out the WordPress forums, too – https://wordpress.org/search/new+user+notification?forums=1
Did you ever get these new user notifications? Or is it something that just started happening recently? Maybe it’s a plugin or customization issue specific to your setup.
January 11, 2011 at 6:08 pm #102591In reply to: Admin not receiving New User Registration emails
reedjholmes
MemberHi David, thanks for the suggestions.
I double checked that my admin email was correct on the Settings page. The email account is hosted on the same server as the website (e.g. webmaster@scotiasurfer.com).
I am receiving friend requests, etc., so the email is working. I’m just not getting the New User Registration notifications.
I also tried to change the admin email to a gmail account. Still no luck getting the New User Registration notifications.
January 8, 2011 at 10:10 am #102245In reply to: Not receiving PM notifications via email.
Alex Azimov
Participanthi Avi M,
I am having the same problem. Also with Bluehost and initially I had a problem with activation e-mails. Nothing was sent and the new user could not activate the account as there were no e-mail of notification. Then I was advised to set up an e-mail account with them and still the problem persisted. After that I had install the Configure SMTP plugin which solved the activation e-mail problem only. Still there are no e-mails/notifications being sent sitewide. Can not figure out what I should do.
Can you tell me if you installed any additional plugin for this at all? How did you set up an e-mail address from Bluehost. Before I set an e-mail address and started using the Configure SMTP plugin, the general @box…bluhost.com e-mail was used which apparently was the default address.Please share with us what you have done with bluehost.
thanks in advance.January 7, 2011 at 4:51 pm #102153In reply to: Friend request – wp-login redirects?
rocketpoprich
MemberI’ve experienced this problem as well, here is my work around. This fixes my particular grief with this defect, but is not particularly kosher (modifying core plugin files, be careful with your updates) so your mileage may vary.
In /wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php edit the variable $all_requests_link on line 14. This is the link sent in your friend requests e-mail that breaks if you are not logged in.
What you will attempt to do now is change this variable to include /wp-login.php?redirect_to=the_link_you_want_to_login_redirect to. reauth=1 is added in case the person is logged in, they will be redirected to the correct place also and not bypassed.
In the end your line 14 variable $all_requests_link should read:
` $all_requests_link = “http://www.yourdomain.com/wp-login.php?reauth=1&redirect_to=”.bp_core_get_user_domain( $friend_id ) . BP_FRIENDS_SLUG . ‘/requests/’; `
Please change yourdomain.com in this variable to your actual domain.
Good luck and lets hope this defect gets fixed the right way, soon.
See official bug trac for more updates on this bug: https://trac.buddypress.org/ticket/2647
December 16, 2010 at 2:51 am #100666murasaki
ParticipantI would also like to know how this works,. I’ve been wrecking my brain on it for some time now. I think its a lot easier for the user to have everything in one place.
@boone i read where you said they wuld hve to go thrugh the same html form, but what if you tabbed the pages so that you could still use the appropriate forms? Maybe a ajax call to load the static form
@patrik, hey let me know if you come up with anything. I’ll do the same

i know im late on this post lol, but still
December 8, 2010 at 8:06 am #100075toffee
Participantif ‘User A’ is admin of two private groups (B and C)
when members request to join those groups, the notification is sent to ‘User A’ with multiple notification
the notification may look like this: “2 requests group membership”
the problem is the link of notification is just only one of two group, when click that notification, it will redirect to group admin request (B or C), and notification will gone.brief: request is both B and C but notification link is only B or C
So, I’d like to change multiple notification to each single notification or any idea to fix above problem, please help.December 7, 2010 at 8:28 pm #100033Ben
ParticipantThanks for your reply, I actuly tried something different last night and it worked out ok. I am using the “BP disable Activation” and in a menu I chose the option “User accounts may be registe4rd” Before I had it on “Both sites and user accounts can be registered.” And it was causing the mix up with the plug in on MU. Users would be able to type their password but with the blog activated, the system gave a new password (that people probably would not see, thinking the password was what they typed in) Then an email would send a notification with the activation link. The link would not work saying the error message with the activation key. However teh activation key was in the link to click but would not work when clicked. Sorry for the rambling just trying to make it clear what I did.
But now a user can register with out activation (which I think is nice, but no blog) But what I like is, that I can create a blog for a user and give them access by just putting their user email in the “ad site” for multi user and it shows up under their account.
I guess it could be nice if this could be a future feature maybe let people sign up with out a blog with an option in the email sent to create one or maybe a notifification to a new user in the admin bar or something. (it would help with sploggers)
Thanks again
November 26, 2010 at 6:29 pm #99270Virtuali
Participant@hnla, sorry, by “BB” I mean BP. And no, I do not have a separate copy of Buddypress. All I did to test it out is deactivate the BP template pack, and activate the BP Default Theme, thinking that would for-sure fix the problem. It did not fix the problem, checking off the list that it is not the theme that is causing the problem. Another Solution I did try was deleting buddypress plugin, and completely reinstalling it. Still does not fix the problem. I have set up a new installation for the forums several times, and I am just so lost on where to go!!!

More Information:
What do you mean by site setup? (I will list anything)
I am using Buddypress version: 1.2.5.2
Arras Theme Version: 1.4.3.1
I am using Godaddy Hosting. Godaddy Interface.
Buddypress Related Plugins:
BP-NotificationWidget
BP Group Control
BP Group Documents
BP Group Reviews
BP GTM System
BP Profile Search
BuddyPress Announce Group
BuddyPress Better Pagination
BuddyPress Community Stats
BuddyPress Group Email Subscription
BuddyPress Group Tags
BuddyPress Like
BuddyPress Links
BuddyPress Moderation
BuddyPress Share It
Easy Albums – Buddypress users create and share images, video and audio albums – the easy way.
Enhanced BuddyPress Widgets
External Group Blogs
RS Buddypress Activity Refresh
TDLC Birthdays
User Name Availability Checker for wordpress/buddypress(Yes, I did try deactivating them all)
November 11, 2010 at 5:56 pm #98057In reply to: How do you add/invite a friend?
mudaber1
ParticipantI have upload buddypress at my website when i send a friendship request from other ID and try to accept from respondant ID then the notification page do not open my buddypress url is http://www.achisite.com/friends you can check a notification with this id USERNAME: mudaber Password : 123456 please help me Thanks
November 11, 2010 at 3:25 pm #98047In reply to: Notification Problem
mudaber1
ParticipantI have upload buddypress at my website when i send a friendship request from other ID and try to accept from respondant ID then the notification page do not open my buddypress url is http://www.achisite.com/friends you can check a notification with this id USERNAME: mudaber Password : 123456 please help me Thanks
-
AuthorSearch Results