Search Results for 'notification user id'
-
AuthorSearch Results
-
March 17, 2010 at 9:49 pm #68867
In reply to: Profile Comments with BP 1.2
Boone Gorges
KeymasterYeah, it’s a bit of a change, isn’t it?
My strategy for making the transition easier for my users is two-fold:
1) Make the profile the default view for users (rather than activity), by adding
define( 'BP_DEFAULT_COMPONENT', $bp->default_component = 'profile' );to wp-config.php
2) Adding the @mentions profile tab, plus some explanatory text, to the members/single/home.php template in my child theme. Thus, right below
<?php locate_template( array( 'members/single/profile.php' ), true ) ?>I’m adding
<h4><?php bp_displayed_user_fullname(); ?>'s mentions</h4>
<p>Whenever anyone posts an update on this site containing <?php bp_displayed_user_fullname(); ?>'s handle (<strong>@<?php bp_displayed_user_username() ?></strong>), it shows up as a public message below.</p>
<p>Want to leave your own public message for <?php bp_displayed_user_fullname(); ?>?
<div class="generic-button" id="post-mention" >
<a href="<?php bp_send_public_message_link() ?>" title="<?php _e( 'Mention this user in a new public message, this will send the user a notification to get their attention.', 'buddypress' ) ?>"><?php _e( 'Mention this User', 'buddypress' ) ?></a>
</div>followed by the activity loop, taken right from bp-default/activity/activity-loop.php, but with the following relevant modification: the arguments for bp_has_activities are
<?php if ( bp_has_activities( 'scope=mentions' ) ) : ?>(You’ll have to do some styling to make it look right, but you get the idea.)
It’s not an exact duplication of the Wire – I’ve tried to embrace the new @mention stuff, while still capturing the “leave a note for me” spirit of the Wire.
March 16, 2010 at 5:38 pm #68622In reply to: [New Plugin] BuddyPress Group Forum Extras
rich! @ etiviti
ParticipantFirst, where is the “@ mentions” part in the BBCode that @3sixty is referring to?
Technically when Ajaxed Quote is enabled and someone quotes a post in the forums – the activity-update-filter will pick up the @username mention – thus if the user has the notifications turn on – they will get an email about it.
Second, should we be activating both BBCode and Shortcode sub-plugins?
No
Activate the “Forum Extras – BBCode” if you want to parse the bbcode into html prior to database update. (useful if you have external but also ok for internal). I’m a fan of this method as the process happens pre-save but when a user goes back to edit a post – they’ll see html
Or
Activate the “Forum Extras – Shortcode” and then Viper’s Shortcode BBCode wordpress plugin – this will retain the shortcode bbcode markup in the database. All this does does is enable the shortcode filter hook on the bbpress post content. (buddypress already hooks shortcode filter on activity updates) – Downside to this approach if you ever deactivate the shortcode – you’ll see the bbcode markup instead of filtering to the html equivalent but when a user edits a post – they see bbcode instead of html.
Hopefully not too confusing. I’ll update the documentation in the next release (working on getting bbpress favorites enabled)
March 13, 2010 at 9:13 am #68073In reply to: external-group-blogs & group-twitter doesn't work
Michael Berra
Participant@andy: great! Really awaiting to use this plugin… Hopefully it will work nicely with notification (as mentioned above without making the users crazy
), because both plugins are very important for my platforms!
March 12, 2010 at 2:44 pm #67954In reply to: Achievements and BP 1.2
Ted Mann
ParticipantThe irrationalgames.com example is exactly what I was thinking of. It seems to me that sites that incorporate some kind of graphic badge into their achievements systems get far more adoption than sites that do it with just text/email notifications. FourSquare, Hollrr, etc
I like @modemlooper’s idea to put the badges under a profile tab. I would also love to come up with a way to tap into this for my blog themes — so that users who have achieved different achievements would have those badges displayed with their avatar (a kind of way to display their authority and credibility).
March 11, 2010 at 10:58 pm #67871In reply to: Trying to do a notification check
Paul Wong-Gibbs
KeymasterI assume you are having issues getting the count of unread notifications a user has. Try this:
if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
<span><?php echo count($notifications) ?></span>
<?php
}
March 10, 2010 at 11:09 pm #67661In reply to: Email notification not working
Ann Christine
Participant– I ticked the Send e-mail via GMail
– SMTP host was then automatically set as smtp.gmail.com
– port set automatically to 465
– Use SMTPAUTH ticked
– Username and passwd filled in.
It does not work. I looked at the link you provided and tried to untick the “send e-mail via Gmail”, did not help…
March 10, 2010 at 9:28 pm #67629In reply to: Email notification not working
Ann Christine
ParticipantUnfortunately I have the same problem as the two of you. I am running fresh installations – newest WPMU and BP.
It was running all fine.
Now I (admin) get no email notifications at all – users do not receive any either. The activation emails are not being sent. The WPMU ones are not sent out either.
I am using a catch-all email on my email host to be able to sign up with different emails on the same domain.
First thing I was thinking was whether BP or WP was thinking all this signup from the same email domain was SPAM and therefore closing down signups from my IP or whatever.
I have searched for answers and found this: https://mu.wordpress.org/forums/topic/13039
Apparently some hosts do not allow automated emails to be sent out.
(However, if my host do not allow this, how come it worked fine for two weeks?)
Only plugin I have installed is the cets-blog-defaults. I have tried to deactivate it, but it does not help.
This is really frustrating
March 10, 2010 at 6:09 pm #67602In reply to: Email notification not working
ruthlessbookie
Memberok, I have identified the culprit – the install giving me problems is one that I did the one-step install from my hosting admin that uses SimpleScript. I just did another test install manually, and everything works as it should.
but this creates a new problem: I have a live site w/ over 350 users, and that too was originally installed last September w/ SimpleScript. Those initial users were able to sign up, but somewhere along the way, that process broke.
So the question is this:
Can I do a manual re-install of WPMU over an existing install from SimpleScript? is it just a matter of uploading/over-writing the WPMU files? I’ll replicate my live site & database in a test directory, disable all plugins, and give it a whirl, and post my results here.
oh, btw, incase you’re wondering, I’m hosting on BlueHost. Their supprt is usually really good until it comes to WP and SimpleScript stuff, even though they’ve integrated it into their control panel.
March 10, 2010 at 2:02 pm #67554In reply to: Notify when someone @mentions you
rich! @ etiviti
ParticipantThis is more of a teaser than an explanation
ah yes, i tend to post in quick theory

I don’t know if it would work but essentially;
you would need to write your own action function that hooks on
bp_activity_posted_updatethat mimics the logic ofbp_activity_at_message_notification(where it looks for an username match in the content – then on the match issue the notification. have to figure out a way to delete the notification though)function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = false, $date_notified = false ) {(located in bp-core-notifications.php)I wouldn’t know what the proper component name/type in this case would be
i did submit a trac ticket enhancement for this though
February 26, 2010 at 2:30 pm #65711In reply to: 1.2 plug-ins list
Michael Berra
ParticipantJust a little WARNING:
Do NOT use
“External Group Blogs” together with
“Group activity stream subscription”
They don’t like each other.
Your users will be spammed with dozens of Emails a couple times a day.
I think this is why the notifications plugin just picks up everything and the “external groups” fetches articles a couple times. Averytime stuff gets fetched, notifications for all the items (not just the new ones) gets sended out. So far my guess.
I wrote the plugin-creators about it. hopefully they find a solution.
BUT the plugins for themselves are GREAT!!!
THX!
February 25, 2010 at 8:43 pm #65589In reply to: User notification when new reply etc
D Cartwright
ParticipantSounds very interesting
I would have no problem with you getting involved in improving it. I’ll drop you a message on namoo as it’s easier to keep track of things there (for me, at least) and we can discuss things further. I’m ultra busy tonight though, so it’ll probably be sometime over the weekend
February 25, 2010 at 7:05 pm #65580In reply to: User notification when new reply etc
Dwenaus
ParticipantVery interesting thread. Myself, I’m very interested in helping further develop the group to email functionality. Having notifications in the buddybar would be a bonus.
My question is, does anyone have an idea when email notifications will be in core? I thought it was planned for 1.3, but lots is planned for 1.3 and I see the roadmap does not include email notifications.
If it’s not planned for a while, then I’d like to help further refine the group activity stream subscription plugin. I need digest support as well I think I can improve the usability a bit. (@aekeron) any thoughts on any of this?
February 24, 2010 at 3:29 pm #65311In reply to: User notification when new reply etc
finni3
ParticipantOk, obviously there are the possibilitiy of information overflow, but that does not mean you shouldn´t have the option of turning notifications on. In Cartwrights plugin you can choose what you want the users to be notified of. For some bbpress installations, being notified of e.g. forum replies to a topic you started, is feasible – for larger ones they may not be.
Let´s take facebook as an example:
You don´t get notified of every wallpost in a group. Why not? Because you would have 200 new notifications every day if you are a member of a popular group.
But you do get notified if a friends comments on your wall, or if someone comments on a post that you also commented on. This keeps the conversation going and is a good way of keeping up with things you find interesting etc.
Apparantly, notifcations in the buddybar can be done with a plugin, since Andy has made it possible for plugins to plug in to the notifications area. In light of this information I am not advocating this having to be in core. If it where to be in core, I can understand only wanting the notifications to be “citical only”. But as a plugin I don´t see a problem with having the option to allow notifications of comment replies, forum replies etc. An option regarding forum replies could be to have a “do not notify me of furter updates” link if you are not interested in the forumpost anymore.
There is always a fine line with giving people enough info and too much info, but I suggest that it should be up to each admin to decide what works best for his community.
Any more thoughts?
February 24, 2010 at 2:56 pm #65298In reply to: User notification when new reply etc
Mike Pratt
Participant@finni3 I must agree with @D Cartwright and @Michael here. CInsider the los of utility if your notifications menu all of a suden gives word of every forum posting of every topic you were involved in? Imagine if you posted once and then left for awhile and saw that you had 214 forum replies? What would you do with that?
In general, I think it’s safe to keep screen notifications to those items that post heads ups infrequently but when they do , it’s very important (hence the real need for the heads up) ex a Private Message, Friend Request. Another criterion would be the kind of action required (in the case of a forum reply, the only required action is to read it (not critical, obviously)
February 24, 2010 at 1:02 pm #65278In reply to: User notification when new reply etc
Michael Berra
ParticipantYes – i think a mail is enough for groups… (digests will be awesome!
)
February 19, 2010 at 1:20 am #64064dlittle800
Participant@jfigura – thanks for the tip about avoiding WPMU DEV templates, lol.
Re: too many quirky things in BP – I’ve found that a software program is ‘nothing but’ a bunch of quirky things. But it sure would be great if some brilliant programmer could create a plugin to solve this issue – I would certainly DONATE!
@Peter – you are definitely right about the trend to store sign-up email password notifications – In fact, I have a folder in my Gmail labelled ‘passwords’ full of logins including the one for Buddypress and WPMU! (I’d be resetting my password everyday if I didn’t)
@Mike – I would be willing to live with the current BP password situation because I sometimes forget (or delete) my own passwords and need to reset them and never even bother creating a password I can remember.
Where I’m at now, is trying to figure out how the frig to change the message from WPMU so I can eliminate the password that does not work (it actually sends the correct username).
I tried changing the text in the WPMU Admin panel, but this seems to have no effect at all – So I’m posting at the WPMU forum trying to find out which file to change.
Any ideas would be welcome : )
February 18, 2010 at 6:38 pm #64010D Cartwright
ParticipantHi Paul,
The full code is in this (small) plugin here:
https://wordpress.org/extend/plugins/buddypress-group-activity-stream-subscription/
The url is created with the following code:
class Group_Activity_Subscription extends BP_Group_Extension {
function group_activity_subscription() {
global $bp;
$this->name = 'Notifications';
$this->slug = 'notifications';
// Only enable the notifications nav item if the user is a member of the group
if ( groups_is_user_member( $bp->loggedin_user->id , $bp->groups->current_group->id ) ) {
$this->enable_nav_item = true;
} else {
$this->enable_nav_item = false;
}
$this->nav_item_position = 91;
$this->enable_create_step = false;
$this->enable_edit_item = false;
add_action ( 'wp_print_styles' , array( &$this , 'add_settings_stylesheet' ) );
}February 17, 2010 at 8:45 pm #63809In reply to: Lots of new features (Direction / Guidance)
Ashish Kumar (Ashfame)
ParticipantHi,
But that plugin only emails the stream notification. I want the option to email users as a standalone feature or may be I can adapt from that plugin.
Will have to check it now. Thanks!
February 12, 2010 at 8:19 pm #63200In reply to: facebook connect doesnt insert user information
Bowe
Participantyep! so far it works pretty darn well.. For certain social networks it imports photos and basic info.. I’ve integrated it with my custom login widget and so far I haven’t seen any major problems besides not storing the user his email, which makes receiving updates/notifications through email impossible… I need to think of a way to solve that problem..
February 8, 2010 at 10:19 am #62694In reply to: Plugin Release: Group Activity Email Notifications
D Cartwright
ParticipantHi there. Thanks for the feedback

1. That is correct, yes. I have a few plans to streamline this a bit/make it more user-friendly.
2. Something I’ve missed. I’ll add support for removing elements

3. “added something new to the group” is just what I chose as a general catch-all in the case of the plugin running into an activity type that it doesn’t recognise. Will make this more obvious and customisable.
4. That should indeed mean no delay. I’ll double-check this and update the wording.
5. Good point again. I originally made this with hardcoded support for my groupwiki plugin. I’ll get rid of this.
6. It isn’t at the moment but this is also on the list of things that i want to get in there asap. I’ll let you know as soon as I can get it sorted (shouldn’t be too hard as there isn’t *that* much text in there)
Thanks again. I’ll check out your site later today
February 8, 2010 at 7:31 am #62685In reply to: Plugin Release: Group Activity Email Notifications
Michael Berra
ParticipantI say it again: GREAT plugin – thanks alot!!!
A couple suggestions/questions:
1. Do I get it right: I can set the default in the backend, but eyery user (not the group admin) sets/changes the notification for themselves?
2. Forum-Notification: I don’t want forums activated on my site, but I cannot get it off (no CSS classes for display:none). It is also not dynamically I guess, for I disabled forums in the backend, but still shows forum-notifications… Any solution to this?
3. What exactly means “added something new to the group”? Is that comments? Is that another plugin like gallery, group-documents etc?
4. Member must be registered for option: When I type 0 in the field, that would mean no delay, right?
5. “You can also specify a minimum gap in time between updates regarding group wiki page edits.” This sentence does not make sense to all the users who haven’t wikis installed. It’s hardcoded. Any solution to get rid of it?
6. Last but not least: Is it translatable??? I really would love to do that for german (at least try it as my first
) – could you provide a POT-File?Thanks for all the work. This is REALLY IMPORTANT for us and well/simple made!
Ps: This is my test-install-site: http://wp.graphic-studio.ch/network – there I am testing your plugin
February 5, 2010 at 2:39 pm #62475In reply to: Plugin Release: Group Activity Email Notifications
Boone Gorges
KeymasterD – I was getting errors when I tried using the plugin the latest 1.2. Had to do with call to undeclared function get_group_member_ids in order to populate $user_ids. I commented it out and put in the following instead:
$thegroup = BP_Groups_Member::get_all_for_group( $group->id, false, false, false, true );
$user_ids = array();
foreach ( $thegroup['members'] as $member ) {
$user_ids[] = $member->user_id;
}and it seems to be working now. Am I missing something?
February 5, 2010 at 2:23 pm #62474Mike Pratt
Participant@snark didn’t realize you are single user WP so no activation email
February 5, 2010 at 5:06 am #62451Mike Pratt
Participant@snark You forgot to mention the Activation email. Is your new user not receiving one? I just did a test registration and immediately received an email. While I agree with @Peter that plain text isn’t so bad but I also think it’s not so necessary to send the password the person literally just chose. The always have the Forgot Password link if they forgo it seconds after the fact. No real need as I see it to add a filter.
February 5, 2010 at 3:15 am #62444r-a-y
KeymasterHere’s the rationale behind disabling the welcome email as quoted in bp-core-activation.php:
* Since the user now chooses their password, sending it over clear-text to an email address is no longer necessary. It’s also a terrible idea security wise.
I’m going to sway a little to Peter’s side and say that BP should leave this option to the site admins. I actually think there should be more options for the administrator on a fresh install.
-
AuthorSearch Results