Search Results for 'notification user id'
-
AuthorSearch Results
-
February 4, 2011 at 8:56 pm #104632
In reply to: Profile Fields show on email to admin?
r-a-yKeymasterYou 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?
calvinhsuParticipant@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.js
In 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.css
and 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-yKeymasterAdd 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
VirtualiParticipant— 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> <?php
January 11, 2011 at 6:21 pm #102592In reply to: Admin not receiving New User Registration emails
David CarsonParticipantThe 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
reedjholmesMemberHi 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 AzimovParticipanthi 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?
rocketpoprichMemberI’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 #100666murasakiParticipantI 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 #100075toffeeParticipantif ‘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 #100033BenParticipantThanks 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 #99270VirtualiParticipant@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?
mudaber1ParticipantI 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
mudaber1ParticipantI 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
September 30, 2010 at 4:33 am #93818In reply to: @mentions is confusing to members
dougjosephMemberThanks. I had found that same post yesterday and already applied it. Works great!
I like it because I get the benefit of “post on wall” type usability, and I still get the email notifications, which I think is an important feature. I now simply wish to have “ @username” tagging (mentions) to continue to work as always, yet I want to tweak the look of the site so user’s who don’t want to try to understand it don’t feel like they have to.
Also, regarding my #2 point above: The user who is doing the posting never has to type an “ @user” and cannot delete it from the posting form, because it gets added behind the scenes after he or she posts. Nice! Like I said, now I just need to tweak the site design to make the “mention this user” button go away, and perhaps rename the “mentions” filter menu choice.
September 26, 2010 at 12:32 pm #93465In reply to: BuddyPress 1.2.5.2 with WP 3.0.1 = No Forums?
Maciej SkrzetuskiParticipantYes, /httpdocs/wp-content/plugins/buddypress/bp-forums/bbpress and all the *.php files exist.
I use the default buddypress theme. I don’t use any plugins besides buddypress. My httpdocs is chmod 777 for installation. BP has written the following into .htaccess:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
bb-config.php has the same config for database as wp-config.php.
I have following tables in my db.
wp_bp_activity 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_activity_meta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_friends 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_groups 1 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_groupmeta 2 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_groups_members 1 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:30 PM
wp_bp_messages_messages 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_notices 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_messages_recipients 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_notifications 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_data 1 MyISAM 4.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_fields 1 MyISAM 7.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_bp_xprofile_groups 1 MyISAM 3.0 KB Creation: Sep 26, 2010 at 02:28 PM
Last update: Sep 26, 2010 at 02:28 PM
wp_commentmeta 0 MyISAM 1.0 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_comments 1 MyISAM 7.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_links 7 MyISAM 3.5 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_options 155 MyISAM 344.3 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_postmeta 1 MyISAM 7.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_posts 3 MyISAM 8.7 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_terms 2 MyISAM 8.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_relationships 8 MyISAM 3.2 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_term_taxonomy 2 MyISAM 4.1 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:25 PM
wp_usermeta 15 MyISAM 7.6 KB Creation: Sep 26, 2010 at 02:25 PM
Last update: Sep 26, 2010 at 02:29 PM
wp_usersIs it a problem if you are running BuddyPress in a subdomain like http://sub.domain.pl?
September 25, 2010 at 11:45 pm #93420jdawnMemberHi Paul,
I just tried this fix, but it didn’t work: http://premium.wpmudev.org/forums/topic/ie8-compatibility-mode.
Below is a list of my active plugins. But I’m not sure if it’s a plugin issue because the cropping works in Firefox. Is it an IE8 compatibilty issue? If so, how can I get around it?
Here are my active plugins:
* Advanced Permalinks
* AJAX Login Widget++
* BP-NotificationWidget
* BP Disable Activation
* BP Hide Widgets
* BP Member Filter
* BuddyPress
* BuddyPress Album+
* Buddypress Widget Pack
* Capability Manager
* Dean’s Permalinks Migration
* Enhanced BuddyPress Widgets
* Fast Secure Contact Form
* Fluency Admin
* IE7 Compatibility
* Invite Anyone
* Media Library Gallery
* My Comments Manager
* NextGEN Gallery
* NextGEN Gallery Sidebar Widget
* Nicer permalinks for Vietnamese
* oEmbed for BuddyPress
* ourSTATS Widget
* Peter’s Login Redirect
* Plugin Central
* SI CAPTCHA Anti-Spam
* Simple Trackback Validation
* TDLC Birthdays
* Theme Switcher Reloaded
* Top 10
* Transposh Translation Filter
* User Permissions
* Visitor Maps and Who’s Online
* Welcome Pack
* WordPress Admin Bar
* WordPress Database BackupThanks for your help!
JdawnSeptember 23, 2010 at 8:01 pm #93235In reply to: mobile theme for buddypress?
paulhastings0ParticipantWell currently if “User A” makes a status update and then “User B” replies to his update, “User A” receives a notification in his email inbox and sees what “User B” said. Currently, if “User A” wants to respond to “User B” he has to log back into the social network, find the update, and then type in the message.
It would be easier for a lot of mobile users instead to hit “reply” in their email inbox and then just type in their response and then click “submit”.
The more I think about it though, it seems like “reply-by-email” would actually be a separate plugin. It would be useful not only for mobile users but also regular computer users. Although I think it would help mobile users the most.
September 8, 2010 at 5:22 pm #91890Anonymous User 96400InactiveWhen you setup the globals of your plugin you can specify a notification function like so:
`function log_setup_globals()
{
global $bp;// some stuff here
$bp->logbooks->format_notification_function = ‘log_format_notifications’;
// some more stuff here
}
add_action( ‘bp_setup_globals’, ‘log_setup_globals’ );`This function might look something like this then:
`function log_format_notifications( $action, $item_id, $secondary_item_id, $total_items )
{
global $bp;if( ‘new_dive’ == $action )
{
if ( (int)$total_items > 1 )
return apply_filters( ‘log_multiple_verifications_notification’, ‘loggedin_user->domain . ‘logbook/verifications/” title=”‘ . __( ‘Verifications’, ‘logs’ ) . ‘”>’ . sprintf( __(‘You have %d new logbook verifications’, ‘logs’ ), (int)$total_items ) . ‘‘, $total_items );
else
return apply_filters( ‘log_single_verification_notification’, ‘loggedin_user->domain . ‘logbook/verifications/” title=”‘ . __( ‘Verifications’, ‘logs’ ) . ‘”>’ . sprintf( __(‘You have %d new logbook verification’, ‘logs’ ), (int)$total_items ) . ‘‘, $total_items );
}do_action( ‘log_format_notifications’, $action, $item_id, $secondary_item_id, $total_items );
return false;
}`You can then remove these notifications with a function like this:
`function log_remove_screen_notifications()
{
global $bp;bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->logbooks->name, ‘new_dive’ );
}
add_action( ‘log_verifications_screen’, ‘log_remove_screen_notifications’ );`For this to work you have to place the do_action call to log_verifications_screen on the page that is linked in the notification.
To record a notification you call this function like so:
`bp_core_add_notification( $dive_id, $user_id, ‘logbooks’, ‘new_dive’ );`I copied the above from a plugin I’m working on at the moment. Also, have a look at the skeleton component and the various BP functions.
Enjoy!
September 2, 2010 at 11:55 am #91321In reply to: Approve groups before they are listed
Boone GorgesKeymaster@bmunch Your suggestion (groups can be created only by users of a certain level) would be much easier to implement than true moderation of group creation. You’d just have to wrap some of the “create a group” elements in the UI in a `if ( current_user_can() )` check, and maybe add a few such checks at the top of some key group creation functions.
With real group moderation, a lot of admin overhead is required: a UI for admins to see pending/approved groups (Group Management doesn’t do that, but it could be a step in that direction, as BPGM has all the necessary hooks and filters); a notification system to let admins know when a group is pending; a notification system to let users know when their groups have been approved; the backend functions necessary to create and check a piece of group metadata saying whether the group has been approved. This could conceivably be accomplished with a plugin (though I can think of one or two places where additional filters would be required in BP’s core code), but it would take a lot of work. Maybe one of you is up for the job
August 17, 2010 at 7:53 pm #89411In reply to: Email notification not working
Abbas KhalilParticipantThe “Mail From” plugin solved my issue of not getting activation emails when users signed up on my website. A million thanks for the advice!
NOTE: I did the ‘One Click Installation’ and the plugin works fine with this. No need to go through the manual installation as stated by some!
I’m using WP 3.0.1 and BP 1.2.5.1
Hosting: Hostmonster
Cheers
August 17, 2010 at 9:49 am #89370In reply to: Clear message to all users
MarkParticipantI dont have a sitewidenotifications screen , I composed a message and clicked send to all. Any clues?
August 16, 2010 at 7:28 pm #89293In reply to: Clear message to all users
Hugo AshmoreParticipantGo back to your account and have a careful study of the site wide notifications screen.
August 9, 2010 at 1:33 pm #88538christian_gnothMemberfirst I think that other may have the same problem. as I did not found it I posted it. As it only happens if the user is logged in, there is nothing what I can show.
The description is clearly. The whole menu structure of the buddypress is below the footer. here the menu list:
IT-Consultant – Christian Gnoth
My Account
Activity
Personal
Friends
Groups
Favorites
@admin Mentions
Profile
Public
Edit Profile
Change Avatar
Blogs (7)
Messages Inbox
Sent Messages
Compose
Notices
Friends (0)
My Friends
Requests
Groups (0)
My Groups
Invites
Settings
General
Notifications
Log Out
My Blogs
IT-Consultant – Christian Gnoth
Dashboard
New Post
Manage Posts
Manage Comments
German Newspaper
Dashboard
New Post
Manage Posts
Manage Comments
WordPress PlugIn Development
Dashboard
New Post
Manage Posts
Manage Comments
Theme Development
Dashboard
New Post
Manage Posts
Manage Comments
Blogs from IT-GNOTH.de
Dashboard
New Post
Manage Posts
Manage Comments
PHP Development
Dashboard
New Post
Manage Posts
Manage Comments
wp theme t1
Dashboard
New Post
Manage Posts
Manage Comments
Notifications
No new notifications.
Blog Authors
admin
wptrack1
Visit
Random Member
Random Group
Random BlogAugust 5, 2010 at 10:04 pm #88166In reply to: Complete disable email notifications for all users
bethdethMemberdid you ever figure this out? I would like to do the same.
-
AuthorSearch Results