Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 8 results - 626 through 633 (of 633 total)
  • Author
    Search Results
  • #42452
    Jeff Sayre
    Participant

    I assume you’re specifically talking about customizing a BuddyPress template. If so, then you need to look in the BuddyPress profiles tables in MySQL.

    For instance, the field definition for the “Full Name” field is stored in the wp_bp_xprofile_fields table and any corresponding datum is stored in the wp_bp_xprofile_data table.

    With respect to this:

    At the moment Buddypress/WP MU makes it very hard, perhaps impossible, to flexibly use member’s real names or other data (companyname, city) in the site or have something like ‘Hello John’ in email notifications.

    That is not true. Any piece of stored data can be accessed and spit out in any number of ways. It just must first be in the database. Look in the bp-xprofile.php file and the bp-xprofile subdirectory for a number of functions that can be called to extract a user’s data.

    By the way, I did see your other post about this topic and it was answered appropriately. With the default WPMU and BuddyPress setup, you will not be able to use a user’s full name until they’ve entered that data. They will not be able to enter their full name until after they register.

    So, unless you hack the wp-signup.php or register.php files, and require that a full name be provided when registering, you will not be able to send them a welcome email with their full name since that piece of data does not yet exist.

    All of what you are asking is possible but requires either a pre-existing plugin, a custom hack, or your ability in customizing and coding a BuddyPress template.

    #40529
    Erwin Gerrits
    Participant

    Seems to me “report this item” is the exact opposite of “Add to Favourites”… The buttons would show up at the same spots (group home, blog post, wire post, photos, user’s profile etc), the handling code would be the same except in Report case a notification gets sent to the administrator and in Favourite’s case it gets added to the user’s favourites.

    That being said, Report This SHOULD be in the core…

    #38373
    Burt Adsit
    Participant

    @awarner20 your problem with the email friendship requests is a bug. Can’t be solved with a one liner. Sorry. I did submit a workaround patch in trac though:

    https://trac.buddypress.org/ticket/519

    It eliminates the problem by eliminating the problem. Lemme explain. When a user requests friendship an email is sent out to the destination user. The destination user is supposed to click the link and it automatically approves or rejects the request. Doesn’t work due to the fact that a security mechanism is being used to validate the process. The ‘nonce’ security scheme uses the originating user’s identity and some other stuff to come up with this ‘nonce’ key. The key is only valid when used by the originating user.

    When the destination user clicks on the link the key is used but they are not the originating user. So the security check fails. Andy is aware of the problem. I just removed the automatic accept/reject links and used a link to the destination user’s friendship notifications page where it will have to be manually accepted or rejected.

    #38211
    Burt Adsit
    Participant

    I like this “Tag This” concept more and more.

    – The tagging window could display a list of the user’s groups. Select a group and the existing tags for the group are displayed.

    – Select one or more tags or create one or more.

    – Enter an excerpt of the content by copy and paste, type something in or an excerpt gets inserted for editing if it’s an internal tag.

    – A list of content types is available for selection: ‘blog’, ‘blog post’, ‘site’, ‘forum’, ‘forum topic’, ‘feed’, ‘uncategorized’.

    – Item gets sent to the group’s tagged content moderation queue for approval. Possible reassignment to a different tag(s) within the group and check for content type match.

    – Approval posts to the item’s tags and posted in some default tags such as ‘recent’ (cache), ‘author name’.

    – Activity streams are updated.

    – Subscribers to group tags are notified by email, notification in admin bar, inbox notification(?).

    (Yes I know Andy, start small)

    #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 8 results - 626 through 633 (of 633 total)
Skip to toolbar