Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 4 results - 626 through 629 (of 629 total)
  • Author
    Search Results
  • #38111
    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;

    ?>

    #37408
    Burt Adsit
    Participant

    maxaud, 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.

    #36583
    Joss Winn
    Participant

    Yes, 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.

    #34746
    Burt Adsit
    Participant

    What 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.

Viewing 4 results - 626 through 629 (of 629 total)
Skip to toolbar