Search Results for 'notification user id'
-
AuthorSearch Results
-
August 16, 2012 at 1:58 am #139567pantoneParticipant
To give an update:
When I uncheck the option in the Components tab, “Allow your users to modify their account and notification settings directly from within their profiles,” the account settings page “domain.com/members/user” returns a 404 error page. Therefore, no users at all are able to have access to the Account Settings page. Solves the issue, but not really the most ideal solution.
I’d prefer for users to be able to have access to their own Account Settings page, therefore I’d like to keep this option on.
How is everyone else setting up their Account Settings page? and is anyone else running into the same dilemma?
August 15, 2012 at 2:19 pm #139522In reply to: How to Optimize and Maximize BuddyPress Performance
frank trediciMember18 Active Plugins Network Wide in WP 3.4.1
`Akismet
Better Delete Revision
BP Group Documents
BP Profile Search
BuddyPress
BuddyPress Docs
BuddyPress Global Unified search
Buddypress Sitewide activity widget
Email Users
[Homegrown] Authenticated Users
[Homegrown] New User Notification
[Homegrown] Remove Menu Items From Groups & Discussions Pages
[Homegrown] Remove Username Character Limit
Quick Page/Post Redirect DEV
Shortcode Exec PHP
TDLC Birthdays
WP DB Optimizer
WP Smush.it`
have 14 In-active Plugins in WordPress8 Active Plugins in BuddyPress 1.5.6
`All-in-One Event Calendar by Timely
bbPress
Breadcrumbs Everywhere
BuddyPress Group Email Subscription
BuddyPress Template Pack
Dynamic Widgets
Hyper Cache
NextGEN Gallery`
have 6 In-active Plugins in BuddyPressAugust 13, 2012 at 3:41 pm #139276frank trediciMemberper @r-a-y: “Is there any reason why you need multisite?”
It is my understanding that as of WordPress 3.0 MU was automatically built into core. I am not using multisite, per se, that I know if. At least I did not intent to use it. I do know that I have 2 dashboards in my WordPress under My Sites:
(1) Network Admin
(2) my Buddy Press siteIt does get a little hairy lopping through both dashboards to make settings tweaks and activate and deactivate plug-ins, etc.
I will certainly give ‘wpmu_signup_user_notification‘ a try…
August 13, 2012 at 2:44 pm #139268davidkoooParticipantnot bad idea
August 13, 2012 at 2:21 pm #139267Prince Abiola OgundipeParticipant@davidkooo, you can easily achieve that with css by replacing “notification text” witth image icon like facebook and only the number of notification will show on the image.
somthing like: {background:url(_inc/images/alerts-icon.png)center no-repeat transparent !important;text-indent: -9999px;width:147px;height:25px;}
Note: you have to adjust accordingly.
August 13, 2012 at 1:10 pm #139264davidkoooParticipant@naijaping yeah it works, but how to get rid of “Notifications” text… I would like to display only number. Thanks.
August 13, 2012 at 10:51 am #139254Prince Abiola OgundipeParticipant@davidkooo, the code i gave you above work like a charm, i dont use admin bar i code a custom one in my header.
You can see it in action here : http://goo.gl/4OqMP
Am still working on the site.
userame : demo
password :demoAugust 13, 2012 at 8:12 am #139246davidkoooParticipant@Roger Coathup: how to edit this to work without admin bar? I know I need to replace $wp_admin_bar, but with what? I want to append it to my header, which is `
`
`/**
* Build the “Notifications” dropdown
*
* @package Buddypress
* @since BuddyPress (1.5)
*/
function bp_members_admin_bar_notifications_menu2() {
global $wp_admin_bar;if ( !is_user_logged_in() )
return false;$notifications = bp_core_get_notifications_for_user( bp_loggedin_user_id(), ‘object’ );
$count = !empty( $notifications ) ? count( $notifications ) : 0;
$alert_class = (int) $count > 0 ? ‘pending-count alert’ : ‘count no-alert’;
$menu_title = ‘‘ . $count . ‘‘;// Add the top-level Notifications button
$wp_admin_bar->add_menu( array(
‘parent’ => ‘top-secondary’,
‘id’ => ‘bp-notifications’,
‘title’ => $menu_title,
‘href’ => bp_loggedin_user_domain(),
) );if ( !empty( $notifications ) ) {
foreach ( (array) $notifications as $notification ) {
$wp_admin_bar->add_menu( array(
‘parent’ => ‘bp-notifications’,
‘id’ => ‘notification-‘ . $notification->id,
‘title’ => $notification->content,
‘href’ => $notification->href
) );
}
} else {
$wp_admin_bar->add_menu( array(
‘parent’ => ‘bp-notifications’,
‘id’ => ‘no-notifications’,
‘title’ => __( ‘No new notifications’, ‘buddypress’ ),
‘href’ => bp_loggedin_user_domain()
) );
}return;
}
add_action( ‘admin_bar_menu’, ‘bp_members_admin_bar_notifications_menu2’, 90 );`August 12, 2012 at 5:56 pm #139199Prince Abiola OgundipeParticipant@davidkooo, Exactly what i did, you can use “ to show notification when you have notification.
August 12, 2012 at 5:09 pm #139197Roger CoathupParticipant@davidkooo – BuddyPress adds the notification bar using the function bp_members_admin_bar_notifications_menu() (in buddypress/bp-members/bp-members-adminbar.php).
If you take a look at that function, you can see how it generates the menu, and rework to include it in your template file.
In particular – take a look at the function it uses: bp_core_get_notifications_for_user()
August 12, 2012 at 3:16 pm #1391959087877InactiveYou may want to contact @modemlooper and request that he add this functionality to his awesome “Profile Menu Plugin” on its next iteration. I would love to finally have freedom of buddypress independent of this bar that sends a red flag that it’s using buddypress. The only way to do this is to get rid of this bar and implement it in the normal menu. @modemlooper I would like to request a way to add an order to your plugin, just as as you can order a custom menu. It would also be cool to have admin options to rename this extra tab to name it something other than “Profile!” Thanks!
August 7, 2012 at 8:16 pm #138701In reply to: Group vs Forum and notifications
blg002ParticipantSo to allow users to subscribe to an individual forum (to be notified of a new thread) it looks like I would have to create a group for each forum and use the plugin you recommended?
July 31, 2012 at 3:46 pm #138211In reply to: Email notification is sent twice (or more!)
WillMemberHi, I didn’t found a solution yet. This is really annoying for most users of my website. So, I’m really considering pay if someone is interested to develop a plugin or something that fix it.
Any volunteer?
July 27, 2012 at 9:11 pm #138062r-a-yKeymasterBuddyPress does not come with an “Add New User” admin page. You are probably referring to WordPress’ User admin page.
I just took a look at your StackExchange thread and it appears you’re using WordPress Multisite:
This is very important to know because you’ll need to run your script on the site that has BuddyPress installed.
Because of using WP Multisite, you’ll also have to change your hook to ‘wpmu_signup_user_notification‘.
The BuddyPress signup hooks I mention above only take effect on frontend registration (eg. testbp.org/register). Since you’re not using frontend registration, those hooks won’t work for you.
Is there any reason why you need multisite?
That will probably give you enough to go on.
July 13, 2012 at 4:52 pm #137266In reply to: activate member from admin
shanebpModeratorA simple google search shows that
wp_new_user_notification is in wp-includes/pluggable.phpAs @rogercoathup said:
you’d need to be a competent PHP developer to implement his hintsJuly 9, 2012 at 10:13 pm #137039In reply to: Problem with email notification
allegra1212MemberWow so many question and not a light on the horizon.
* Host: Hostgator
* Everything else works on the site
* All set up is correct after transfer
* I disabled all plugins that could interfere
* How do we create user account??? er…by clicking on create an account!
* No nothing exotic. Just basic buddypress and buddypress registration system.
* And yes that was a stupid question but i can check again for the email in the db.Soooo…any other questions or may be an advice would be welcome?
I told you if you want the URL you are welcome to check it. My host is working on it at the moment but we are nowhere yet.
Thanks.
July 9, 2012 at 6:22 pm #137022In reply to: Problem with email notification
Paul Wong-GibbsKeymasterFact: BuddyPress does NOT copy the site administrator in on all emails that are sent out. So it’s something on your site.
How are you creating user accounts? As usual, through WordPress, or do you have an LDAP integration or something exotic? Have you confirmed (by looking in the wp_users table) that the email addresses are actually different (not meant to be a stupid question)?
I would ask how your host moved the database/site across, but you probably don’t have the details to hand. I asked because while I haven’t seen emails get messed up, I’ve seen site URLs and permalinks break. Does all regular WordPress content on the site seem to work?
What company provide your hosting?
July 9, 2012 at 2:53 pm #137009In reply to: How to disable this?
Roger CoathupParticipantBy default BuddyPress doesn’t send ‘crazy amounts of emails’, and doesn’t typically email to every user — what emails are you receiving? What notifications do you have turned on? Is it site wide notifications? What theme are you using? Please provide as much information as you can, as it makes it easier for people on the forum to help you
July 9, 2012 at 7:00 am #136984In reply to: Problem with email notification
allegra1212MemberHello
Thank you for your reply. I have the usual plugins but as few as possible – I don’t custom code and yes, I copied everything – my host did it and we checked all the username – emails and all so all was checked to make sure that emails and all were the right one for the site.
The problem is so weird I don;t even know where to look. Would you want to see the site?
Thank you so much for your help.
July 8, 2012 at 8:40 am #136934In reply to: Importing users question
douglernerMemberRoger, thanks.
By the by, I did get an email notification telling me of your reply, which is why I am back.
But I find these forums horrendously slow, and also hard to navigate. Plus it keeps on thinking I’m logged out when I’m not. Is that all buddypress’s problem, or a bbpress issue?
Thanks,
doug
July 7, 2012 at 7:17 pm #136922Roger CoathupParticipantActions are a standard part of WordPress programming – if you check the WordPress.org documentation, or any good book on advanced WordPress PHP development, you should be able to find good guidance.
July 4, 2012 at 10:34 pm #136816Roger CoathupParticipantDo you mean, you want to send an email to everyone when a new (blog) post is posted, or when any kind of item is posted to the activity stream?
For the first you can hook a function on to the WordPress ‘save_post’ action. In that function, you can iterate over every member (see https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/ for guidance), and for each member you use the BP messaging API ( messages_send_message() ) to send them an email.
For the second – you can’t seriously want to email everyone, any time anything is posted to the activity stream: the system and your users would be swamped – However, if you still do, check out some of the action hooks that are called when activity items are saved: https://codex.buddypress.org/developer-docs/action-reference/activity-streams/
July 4, 2012 at 1:36 am #136761In reply to: Site Notices vs. Messages
Haraldo88MemberHi, rossagrant. First, thanks VERY much for this informative response. This is the information I’ve been looking for.
I’m pretty much in disbelief that BP cannot do what it says in black-and-white it will do (send notifications by email when messages are composed and the “to all users” box is checked). Why hasn’t someone removed this misleading text, I’m wondering? Oy. Oh well, lesson learned, moving on…
I guess I need to go 3rd Party now. But you’ve identified a key point: Are the Users opted-in? Based on the BP account settings, I believe they are in principle (unless they checked “No”, and I don’t think I have no way of knowing if they did). So I guess I have two choices:
A. Import all users into a 3rd-party email app and take a chance and send out a notice. Or,
B. Install an email sign-up widget at the top of all my sidebars (or Header or wherever) and start from scratch building a list with whoever signs up from that day forward.
(A) solves an immediate marketing problem but seems risky. ( is the safest but means I’ve wasted all this time thinking I could do something that I couldn’t (or more accurately, that my *former* dev team said I could do), and now I’m already 700+ users into it.***Any other options I’m missing?
Thanks again for this valuable input. I appreciate it.
H
July 3, 2012 at 11:54 pm #136759In reply to: Site Notices vs. Messages
rossagrantParticipantHaraldo, there is nothing wrong with your install, there is NO built in way to message all users in BP. The site notification will merely place a widget type notice at the top of your sidebar for all logged in users, which thy can then choose o close. It isn’t emailed or passed as a private message.
There are a couple of old plugins for this such as: https://wordpress.org/extend/plugins/buddypress-mass-messaging/screenshots/
It’s an option that is useful, HOWEVER, I would strongly recommend you export your users to CSV. Again export plugins are available and import people into a 3rd party email service like Mailchimp.
This is far better for email marketing, however in itself is a bit tricky, as unless your members have signed up or opted into a list, it’s technically breaking the T&C’s of all 3rd party mail apps.
The problem with sending email direct from your server is if you get people unwittingly or deliberately labelling your mail as junk/ spam in clients like hotmail, yahoo and gmail, the ip address of your server can get blacklisted.
At that point NO mail at all from your server is going to get through to those services, not just for the accounts that labelled you as spam but your server will be blocked and mail won’t reach anyone with a hotmail address etc.
Sounds dramatic but it could kill your community if you aren’t careful.
You should always use a 3rd party.
Rules are still incredibly stringent though. You are generally allowed one spam complaint in every 1000 emails sent.
Hope that helps!
July 3, 2012 at 11:32 pm #136758In reply to: Site Notices vs. Messages
Haraldo88MemberUPDATE: I cannot get Notice to All Users to work in my BP 1.5.5 (for email delivery). When doing Messages > Compose, it works fine when sending to a single user (email message received in their inbox). But when sending same message to same user AND checking the “This is a notice to all users” box, it does NOT work, not even to the same single user! (but am getting “Notice sent successfully!” confirmation) I want to be able to send an EMAIL message to all users via the built-in BP “Email Notification” system. It specifically says (on the front end): “Send a notification by email when: … Messages > A new site notice if posted”. And my test users do have the “Yes” btns checked for this.
Any ideas why the BP solution is not working? (FYI: there are 700+ users, and I do not have these users in a 3rd-party email capture system) I’ve Googled for “Why does Notice to All Users not work in BuddyPress?”, and most results are 2-3 years old, with no one really explaining why this should not work. Why would BP have this function if it does not work? Or, alternatively, what am I doing wrong? Any advice appreciated. THANKS!
-
AuthorSearch Results