Search Results for 'notification user id'
-
AuthorSearch Results
-
July 1, 2010 at 5:42 pm #83816
In reply to: Removing Groups From Forums
lincme.co.uk
Member@peterverkooijen said; “Talk about dropping rigidity and opening up to an amazing new flexibility and power is pure nonsense”. Ah Peter, without visionaries such as yourself, how would we ever have got to where we are..?! Growing out of rigid definitions into new flexibility is where the virtual world is heading, like it or not. Everything you see online now will be long dead in five years, and all the concepts you hold dear buried deep. Might as well get used to it.
BuddyPress is a mess, as I see it. It isn’t really anything, and at the same time it’s too much. If I want a community conversation stream, along with simple WordPress themes, etc., there’s Mingle. If I want a forum on my site that’s easy too; there’s BBPress, Mingle Forum, etc. If I want member groups regardless of these, there’s, erm… there’s… well, BuddyPress does that, kind of, in a big and over-complicated way.
BuddyPress should be about making social contacts. The name’s a bit of a clue, right? In other words, friends and contacts with grouping of such, contact streams, and strong privacy for users so they determine who sees what they post. On top of that, as it’s a social tool; community moderation/banning, and reporting to site admins in a simple and obvious way. Oh, and of course, easy to see notifications such as friend/contact requests, etc. Who thought it was a good idea to *include* forums in all of this, and relate them to groups?! Each entity and its associated operations should be separate and self-sustaining. Basic OOP.
It just doesn’t do anything easily, does it? And the hype on the download pages about plugins to do whatever you like is just hype, really. Oh, it ‘kind of’ does everything you want, but only kind of. You have to jump through hoops, and even then you’re fighting with a forum which tries to be a group trying to hold conversation streams together.
I’m interested in productive discussion about social networking sites and their take-up and impact, though not here as I feel it’s not the right place. For one thing, the developers and those who kiss up don’t like to hear how their baby was malformed from the start. If anyone is interested in finding solutions to creating truly interactive social networks in the easiest and most stable way possible at present, please email any-name-you-like at our domain.
June 30, 2010 at 11:09 pm #83723In reply to: Blue @ link lists incorrect name.
abcde666
ParticipantHi Ray,
I have upgraded to version 0.57 but I still see the issue showing the name “admin” instead of the name of the user.
I do NOT have the “BP Follower Plugin installed”.I see this issue when not being logged-in.
When being logged-in, then this issue is not there.Using WP 3.0 (Multi-Site) and BP 1.2.4.1
++++++++++++
@tsui is a unique identifier for admin that you can type into any message on this site. admin will be sent a notification and a link to your message any time you use it.
++++++++++++June 27, 2010 at 12:41 pm #83093In reply to: BuddyPress 1.2.5 tickets are cleared out
lincme.co.uk
Member@johnjamesjacoby; Just a quick note, as I’m off out for a while. I noticed in the previous version of BP that the ‘?’ symbol on the profile age next to the avatar was reporting names wrongly. I hacked it in core, but now it’s back in the new version.
Eg., with a user ‘fred’, when logged in as fred the message is correct. But if I’m logged in as ‘admin’ I get this when looking at fred’s profile (notice ‘admin’ in second sentence);
@ fred is a unique identifier for admin that you can type into any message on this site. admin will be sent a notification and a link to your message any time you use it.
When I hacked it I removed the extra names, as they’re not required;
@ fred is a unique identifier for this person that you can type into any message. He/she will be sent a notification and a link to your message when you do this.
June 23, 2010 at 8:24 pm #82446In reply to: Is bp dying a slow death?
paulhastings0
ParticipantBtw, the correct username is @apeatling, not @andy (that poor guy is getting overloaded with a bunch of non-relevant notifications.
)June 23, 2010 at 10:59 am #82371In reply to: custom plugin : hook bp_setup_globals is not fired
grosbouff
ParticipantOk. Here my code now :
loader.php
function yclads_bp_init() {
require_once( YCLADS_BP_PLUGIN_PATH . 'includes/yclads-bp-core.php' );
}
add_action( 'bp_init', 'yclads_bp_init');
yclads-bp-core.php
function bp_yclads_setup_globals() {
global $bp;// For internal identification
$bp->yclads->id = 'yclads';$bp->yclads->format_notification_function = 'bp_yclads_format_notifications';
$bp->yclads->slug = YCLADS_SLUG;// Register this in the active components array
$bp->active_components[$bp->yclads->slug] = $bp->yclads->id;do_action( 'bp_yclads_setup_globals' );
}
//TO FIX
//add_action( 'bp_setup_globals', 'bp_yclads_setup_globals' );
add_action( 'wp', 'bp_yclads_setup_globals');
add_action( 'admin_menu', 'bp_yclads_setup_globals');function bp_yclads_setup_root_component() {
/* Register 'yclads' as a root component */
bp_core_add_root_component( YCLADS_SLUG );}
//TO FIX
//add_action( 'bp_setup_root_components', 'bp_yclads_setup_root_component' );
add_action( 'wp', 'bp_yclads_setup_root_component');
add_action( 'admin_menu', 'bp_yclads_setup_root_component');function bp_yclads_setup_nav() {
global $bp;
global $post;if ((is_single()) && ($post->post_type=='yclad')) {
// This is a single ad.
$bp->is_single_item = true;
$bp->yclads->current_ad = $post;[...]
}
[...]
print_r($bp->current_component);
exit;do_action( 'yclads_setup_nav', $bp->yclads->current_ads->user_has_access );
}
//TO FIX
//add_action( 'bp_setup_nav', 'bp_yclads_setup_nav' );
add_action( 'wp', 'bp_yclads_setup_nav' );
add_action( 'admin_menu', 'bp_yclads_setup_nav' );
If I access /wordpress/classified-ads/i-give-kitties/ (single-ad)
print_r($bp->current_component);
exit;
outputs “i-give-kitties” while it should output “classified-ads”. So something is wrong with all this.
Any idea ?June 9, 2010 at 3:42 pm #81071techguy
ParticipantLots of previous threads for this. Even a recent one with a Trac ticket to make it so it doesn’t require lowercase:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/register-username-with-uppercase/
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/allowing-users-to-type-in-uppercase-letters-for-the-username/
https://buddypress.org/community/groups/installing-buddypress/forum/topic/username-starts-from-uppercase-letter/I’m not sure if the lowercase does matter in other sections. You might add the question to the Trac ticket and see if the core developers can answer. This is something I’d like to fix too. The other solution I’ve considered is to have some javascript function that will check the username to make sure 1. it’s available and 2. that it’s lowercase and 3. Any other validation. At least a notification before they click submit would be sufficient.
June 7, 2010 at 5:51 am #80873In reply to: Moderate Signup / Restrict Registration
zlamczyk
ParticipantFigured this out, finally. Turns out that the file and function to modify was:
wp-contentpluginsbuddypressbp-corebp-core-filters.php
–>function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta )Isn’t it redundant to have two functions so similar to each other? Both the above function and
wp-contentpluginsbuddypressbp-corebp-core-signup.php
–>function bp_core_signup_send_validation_email( $user_id, $user_email, $key )
are extraordinarily similar to each other. It’s kinda frustrating.I’d consider developing a plugin, but perhaps I’ll wait for the first release of WP 3.0.
June 3, 2010 at 4:54 pm #80521In reply to: Killing the @mention function
techguy
ParticipantWhy not just leave it on the notification page? So far, you haven’t removed the functionality. You’ve just removed the navigation to see some of that functionality. So, if someone does the @username they’re going to get a notification unless you disable that also. Plus, not many people are going to look at the notifications page anyway;-)
To your question, I think you would have to remove the action and write another function that doesn’t display the mentions settings. You’d just need to test what happens when save is clicked and that setting isn’t passed. Maybe you pass it as a hidden variable or something.
June 1, 2010 at 3:00 pm #80288In reply to: @mentions not working
rossagrant
ParticipantHey Simon,
Are you mentioning a user in a group forum?Someone can correct me if I am wrong but you won’t receive a notification email or note in the user bar if that is the case. You will only receive an email if someone users your username @mention in a status update that then hits the activity stream.
Click on settings in your BP profile and look at notifications. It will list everything you get an email for. @mentions in forums isn’t one. I imagine if it was your inbox would be full of messages if you participate in a busy forum.
Simply click on the @mentions link in your BP profile when you first login to get upto speed with @mentions.
As I say, I’m sure a mod will correct me if I am wrong but you don’t get an email or notification in each instance when using @mentions.
Hope this helps mate,
Ross
May 29, 2010 at 12:10 am #80034In reply to: I would like to disable Email activation
techguy
ParticipantIf you put it in functions.php you’ll probably need to do something like this:
function auto_login_bp() {
//Automatically log the user in
$user_info = get_userdata($user_id);
wp_set_auth_cookie($user_id);
do_action(‘wp_signon’, $user_info->user_login);
}add_filter( ‘wpmu_signup_user_notification’, ‘auto_login_bp’ );
Although, even then it might not know the $user_id variable. So, you might have to add the code in my original post to the bp-auto-activate-user-and-blog plugin on line 170 or so. Although, that will cause the issues I mentioned above I think.
May 28, 2010 at 11:00 pm #80027In reply to: I would like to disable Email activation
techguy
Participant@mazen I just figured out the code to make it work on WP. I’ll add it to my plugin above soon. Here’s the code:
//Automatically log the user in
$user_info = get_userdata($user_id);
wp_set_auth_cookie($user_id);
do_action(‘wp_signon’, $user_info->user_login);I tried it a little with WPMU. It kind of works, but there’s some sequencing that needs to happen better. Cause it logs me in, but not before the login box appears in the sidebar. So, it looks like you’re not logged in, but you are. Which is weird, because it’s not happening to me on WP. Although, it’s likely cause on WP I’m hooking to bp_core_signup_user and in WPMU it hooks to wpmu_signup_user_notification.
Who’s for a unified signup process (WPMU and WP) now that they’re one?
May 10, 2010 at 12:54 pm #77450drifter0658
MemberOkay…I worked around the sitewide messages issue with a plugin called: Sitewide Newsletters
Users still cannot create a new blog
April 30, 2010 at 5:05 pm #76160Hugo Ashmore
ParticipantBoone there is this plugin which is really for dev setups where passing emails through the dev network is awkward so allows you to register a user normally then go into backend and manually approve using the activation id
WPMU Manual Member Approve:
http://mattkern.com/wpmu-manually-approve-new-members-on-local-install/Would you believe though I just tried to run it on my local site and it’s broken! at least it’s throwing an undefined function error bp_page_title()
Haven’t time to look into that but it doesn’t look to much of an issue.
Of course this doesn’t get round the issue of letting those users know they have been activated and not really sure one wants to simply activate a bunch of accounts when the users are never going to know about it.
Of course once activated and once you have established you are sending emails correctly you might be able to work some means of adding everyone to a group and posting an update to that group that will send a notification out to email addresses?
April 26, 2010 at 3:45 pm #75268In reply to: Plugin Release: Group Activity Email Notifications
Dwenaus
ParticipantAn quick update. The new version should not be used on live sites because we are currently re-doing the data structure, so any groups that users join now, they will have to re-join later.
About the follow topic link on the topic page, I forgot to put in the read me the instructions for adding the proper action hook into the buddypress code. I’ve added the request to trac, so it should eventually be in BP core.
Here you can see what needs to be added: https://trac.buddypress.org/attachment/ticket/2129/2129_forum_topic.diff
really it is just ` ` that needs to be added to bp-themes/bp-default/groups/single/forum/topic.php before ``stay tuned for the final version which will be ready in about a week.
April 21, 2010 at 5:34 pm #74618In reply to: How do I create a notification?
3sixty
ParticipantI still can’t figure out how to ping the user. This would be a good topic for Buddypress Gurus to think about for a FAQ or developer guide.
April 20, 2010 at 11:52 pm #74513In reply to: Feature/plugin request – RSS to Group Wire
Avatar
ParticipantHey mates, I’ve been trying to work this out as well.
Been trying Andy’s External Blogs RSS and Group Twitter Plugins
with WPmu 2.9.2
They work well within the Groups,
But they seem to have this feature of updating the Group Activity Feed every time a user visits the group.
So I get double / multiple posts.
+ with the Group Notifications Plugin, I get multiple emails
every time someone visits the group and refreshes the feed.
Any Ideas how I could at least shut off the refresh every time someone visits the group.
If this is manageable, they’re both great and very useful plugins.
Please let me know your thoughts and solutions.
– Jeff –
.
April 20, 2010 at 7:49 pm #74460In reply to: send mass email
Gianfranco
ParticipantI didn’t try yet the” This is a notice to all users” yet, but I thought that that would send an email notifications to all the users (if they have email notifications on).
Selecting that checkbox, does it send only a site notification instead? I mean when users log in? No mail?
April 16, 2010 at 8:42 pm #73847Gianfranco
ParticipantI tried this, doesn’t print anything neaither:
<ul id="user-menu">
<li><a href="<?php echo bp_loggedin_user_domain() ?>/profile/edit/">My profile</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/messages/">My messages</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/groups/">My groups</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/friends/">My friends</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/photos/">My photos</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/settings/">Settings</a></li>
<?php function my_bp_adminbar_notifications_menu() {
global $bp;
if ( !is_user_logged_in() )
return false;
echo '<li id="bp-adminbar-notifications-menu"><a href="' . $bp->loggedin_user->domain . '">';
_e( 'Notifications', 'buddypress' );
if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
<span><?php echo count($notifications) ?></span>
<?php
}
echo '</a>';
echo '<ul>';
if ( $notifications ) { ?>
<?php $counter = 0; ?>
<?php for ( $i = 0; $i < count($notifications); $i++ ) { ?>
<?php $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?>
<li<?php echo $alt ?>><?php echo $notifications[$i] ?></li>
<?php $counter++; ?>
<?php } ?>
<?php } else { ?>
<li><a href="<?php echo $bp->loggedin_user->domain ?>"><?php _e( 'No new notifications.', 'buddypress' ); ?></a></li>
<?php
}
echo '</ul>';
echo '</li>';
}
?>
<?php if( function_exists('my_bp_adminbar_notifications_menu') ) my_bp_adminbar_notifications_menu(); ?>
</ul>Is anything in there correct?
April 16, 2010 at 6:55 pm #73834Gianfranco
Participant@r-a-y I tried this:
<?php function my_bp_adminbar_notifications_menu() {
global $bp;
if ( !is_user_logged_in() )
return false;
echo '<li id="bp-adminbar-notifications-menu"><a href="' . $bp->loggedin_user->domain . '">';
_e( 'Notifications', 'buddypress' );
if ( $notifications = bp_core_get_notifications_for_user( $bp->loggedin_user->id ) ) { ?>
<span><?php echo count($notifications) ?></span>
<?php
}
echo '</a>';
echo '<ul>';
if ( $notifications ) { ?>
<?php $counter = 0; ?>
<?php for ( $i = 0; $i < count($notifications); $i++ ) { ?>
<?php $alt = ( 0 == $counter % 2 ) ? ' class="alt"' : ''; ?>
<li<?php echo $alt ?>><?php echo $notifications[$i] ?></li>
<?php $counter++; ?>
<?php } ?>
<?php } else { ?>
<li><a href="<?php echo $bp->loggedin_user->domain ?>"><?php _e( 'No new notifications.', 'buddypress' ); ?></a></li>
<?php
}
echo '</ul>';
echo '</li>';
}
?>Which is the same funtion except for the name “my_bp_adminbar_notifications_menu”.
It doesn’t print anything.
Probably something with the “bp_core_get_notifications_for_user” that is desabled because of my desabling the default Admin bar?
I admit that I php is not my strong point at all.
April 16, 2010 at 5:51 pm #73823Gianfranco
ParticipantI’ve put the function right in the ul, like so:
<ul id="user-menu">
<li><a href="<?php echo bp_loggedin_user_domain() ?>/profile/edit/">My profile</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/messages/">My messages</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/groups/">My groups</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/friends/">My friends</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/photos/">My photos</a></li>
<li>| <a href="<?php echo bp_loggedin_user_domain() ?>/settings/">Settings</a></li>
<li>| <a id="logout" href="<?php echo wp_logout_url( get_option('home') ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a></li>
<?php bp_adminbar_notifications_menu(); ?>
</ul>…to see waht it produces. It just breaks my layout. The whole ul disapeears and the layout after that is broken.
In Firebug I can see this error: Call to undefined function bp_adminbar_notifications_menu()
Mmm… I got BP Template Pack installed, if that makes it a hint of any kind.
April 14, 2010 at 7:03 pm #73531In reply to: How do I create a notification?
3sixty
ParticipantJust to start building this out as a how-to:
To add a notification, you would call this function located in bp-core-notifications.php
bp-core-notifications; function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = false, $date_notified = false )So as a test, if you wanted to store a notification that the user had just visited the activity page, you could make up a new notification type ‘activity_viewed’ and use this code:
bp_core_add_notification('100', (int)$bp->loggedin_user->id, 'activity', 'activity_viewed');Of course, that’s useless unless we ping the user. Next step: how do we add the little notification to the buddy bar? Any ideas?
April 14, 2010 at 4:08 am #73453In reply to: realtime activities update
3sixty
ParticipantThis is now officially a “Potential Future BuddyPress Feature” for BP 1.4+ (ie, after BP 1.3, which looks to be essentially the WP 3.0 compatibility release). Here is the short list:
A quick blog post form via the theme. (try plugin: BuddyPress QuickPress)
Privacy controls (try plugin: bp-authz)
Global content tagging
Inappropriate content flagging
Bulk accept/reject friendship requests
Grouping of similar activity stream items
Ability to block all communication from a user
Option to receive forum post notifications via email
Message file attachments
Structured profile fields (templates for address / phone number)
Profile field specific searching (try plugin: BP Member Filter)
AJAX live updating of site wide activity stream
April 13, 2010 at 3:10 am #73237In reply to: Sending notification to registered user
r-a-y
KeymasterHey Erich,
That plugin you listed is considered “deprecated” by Boone.
He’s now working with David on the Group Activity Stream subscription plugin.
April 6, 2010 at 11:00 pm #72104Boone Gorges
Keymastercrashutah – Thanks a million for the feedback. The Facebook language is really helpful. I think I should be able to add an opt-out feature with only a little work.
As for your other excellent suggestions:
– Definitely agree about customizing the subject. My plan was to make it customizable by the site admin, but not by the end user – but on second thought it would be easy enough to put a toggle on the back end that lets the site admin decide whether users can personalize the subject line
– The Reply To idea is very good. I’m using wp_mail, WP’s built in mail function, which in theory should allow me to feed in some headers. I will give it a try – but no promises on this one, as I’ve had trouble making the WP default reply-to address work correctly in the past and don’t feel like tearing any more hair out over it

– Something must have gotten screwed up in your apostrophe comment. Do you mean that a slash showed up? I suppose that makes sense. I will have a look at stripping those slashes.
– Great, great idea about autopopulating email field. I will take care of it right away.
– Your point about auto-adding/auto-friending is well-taken. I kind of feel the same way. I think I might make it an admin option: send group/friend invites, or just do the adding. I can see arguments both ways (you give a good case for auto-adding, but you might also think that it’s nice to get some notifications first thing when you log in…) so I think it might be best left as an option for the administrator.
Again, I really appreciate the detailed feedback.
March 31, 2010 at 9:50 pm #71152In reply to: Automatic matches based on interests
jlindo
MemberI am also very interested i this functionality. The ideal for me would be a sidebar widget with something like “suggested friends” or “people with similar interests” that lists a few links to people who’s profile info is similar. A weekly email notification of these people’s profiles would also be fantastic.
This has same great implications because it encourages users to interact with people they don’t know and they are (might be?) more likely to do so because of their self-described similarities.
-
AuthorSearch Results