Search Results for 'notification user id'
-
AuthorSearch Results
-
August 24, 2012 at 5:49 pm #140152
OC2PS
ParticipantIt’s needed by pretty much everyone, and hence really a “core” feature.
WP already has some image processing built in that BP could/should leverage. As a member of a social network, I should be able to create my own albums, add photos and videos to them and tag friends and places. That much is really core. (including automatic resizing and lossless compression, and post upload of photos/videos to activity stream)
If BuddyPress Media is good, perhaps it can be merged back into BP core?
Further functionality, such as watermarking, CDN support, user notifications, comments, are probably plugin territory.
August 24, 2012 at 4:38 pm #140146danbpfr
ParticipantHi,
try this in bp-custom.php
remove_filter( 'wpmu_signup_blog_notification', 'bp_core_activation_signup_blog_notification', 1, 7 );
source infos buddypress /bp-core/bp-core-filters.php
The concerned filter do this
/***
* bp_core_filter_blog_welcome_email()
*
* Replace the generated password in the welcome email.
* This will not filter when the site admin registers a user.
*
* @uses locate_template To see if custom registration files exist
* @param string $welcome_email Complete email passed through WordPress
* @param integer $blog_id ID of the blog user is joining
* @param integer $user_id ID of the user joining
* @param string $password Password of user
* @return string Filtered $welcome_email with $password replaced by [User Set]
*/August 21, 2012 at 12:46 pm #139907In reply to: Creating links in my sidebar
Tanya
ParticipantOk, so I found this via some more google searching: http://halfelf.org/2011/customizing-sidebar-profile-bp/
The code has a few errors on there, but I managed to fix up the Profile links. At the moment, I have:
Hello, Username
– Profile
– Edit Profile
– Edit Settingswhere Profile, Edit Profile and Edit Settings are links for that user.
This is the code I am using and it looks to be working well:
<strong>Hello, </strong> <li><a href="profile/">Profile</a> </li> <li><a href="profile/edit/">Edit Profile</a> </li> <li><a href="settings/">Edit Settings</a> </li>
I am now working on the “Notifications”, e.g. Messages, Compose, Sent. I managed to figure out the “Messages” link.
0 ) { ?> <a href="" rel="nofollow">">Inbox ()</a><?php } else { ?><a href="/messages/" rel="nofollow">No new messages</a>
So now I just need “Compose” and “Sent”
August 16, 2012 at 1:58 am #139567pantone
ParticipantTo 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 tredici
Member18 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 tredici
Memberper @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 #139268davidkooo
Participantnot bad idea
August 13, 2012 at 2:21 pm #139267Prince Abiola Ogundipe
Participant@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 #139264davidkooo
Participant@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 Ogundipe
Participant@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 #139246davidkooo
Participant@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 Ogundipe
Participant@davidkooo, Exactly what i did, you can use “ to show notification when you have notification.
August 12, 2012 at 5:09 pm #139197Roger Coathup
Participant@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 #1391959087877
InactiveYou 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
blg002
ParticipantSo 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!)
Will
MemberHi, 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-y
KeymasterBuddyPress 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
shanebp
ModeratorA 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
allegra1212
MemberWow 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-Gibbs
KeymasterFact: 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 Coathup
ParticipantBy 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
allegra1212
MemberHello
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
douglerner
MemberRoger, 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 Coathup
ParticipantActions 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 Coathup
ParticipantDo 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/
-
AuthorSearch Results