Search Results for 'notification user id'
-
AuthorSearch Results
-
February 16, 2009 at 7:51 pm #38111
In reply to: Plugin Developers: Changes around $bp global
Devrim
Participant$test is empty. no matter what we do.
/wp-content/mu-plugins/x.php
<?php
require_once( ‘bp-core.php’ );
global $bp, $wpdb, $current_blog;
require_once( ‘x/classes/DB_Operations.php’ );
require_once( ‘x/classes/FS_Operations.php’ );
require_once( ‘x/classes/POST_Operations.php’ );
require_once( ‘x/classes/Render_to_Browser.php’ );
require_once( ‘x/classes/x_Environment.php’ );
require_once( ‘x/classes/File.php’ );
require_once( ‘x/classes/Notification.php’ );
$init_environment = new x_Environment();
$doPostActions = new POST_Operations();
$test = $bp->loggedin_user->id;
?>
February 7, 2009 at 9:07 am #37408In reply to: Disable group invite notifications
Burt Adsit
Participantmaxaud, the function that does the work in bp is groups_send_invites() and it lives in bp-groups.php, line 1642.
function groups_send_invites( $group_obj ) {
global $bp;
This function serves both the group creation ‘send invites’ and the member theme ‘send invites’ in the group screen.
I’d put a return; statement right under that global $bp; statement. Users can flip all the switches they want but nothing will actually happen. The users will still see the capability but nothing will work.
Lemme test this to make sure…
No notification emails are actually sent. The screen says it did but it didn’t. The notification message “Group invites sent” isn’t part of that function you will be bypassing.
January 22, 2009 at 3:27 pm #36583In reply to: Profile pages being redirected to signup page
Joss Winn
ParticipantYes, to all of the above. Blog creation works. All user-side BuddyPress features redirect to the signup page. i.e. click on ‘news’ and you get sent to:
http://example.com/wpmu/wp-signup.php?new=wpmunews
Everything under ‘My Account’ and ‘Notifications’ is similarly affected.
From the Admin Dashboard, things work as expected.
December 21, 2008 at 6:47 am #34746In reply to: Automatically Add User as Friend on Signup
Burt Adsit
ParticipantWhat a great idea. Never thought of that. That message about ‘you have no friends’ (something like that) is kinda bleak. We could have the system send them a ‘friendship request’ from admin. That way they learn a little about the adminbar and the member theme right away. That glaring (1) next to notifications would be hard to resist. Click Me.
-
AuthorSearch Results