Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'notification user id'

Viewing 18 results - 751 through 768 (of 768 total)
  • Author
    Search Results
  • Moominmama
    Participant

    Oh one more thing! I think my issue before was that I was using a newer version of bbpress on my install. I didn’t realize that until I went back through The Easy Button’s integration instructions:

    http://theeasybutton.com/blog/2009/04/30/integrating-buddypress-10-wpmu-and-bbpress/

    This time around I used the bbpress he linked to directly and it was the old green interface. The one I used on the last screwy installation was a newer one with an interface much more like the current WordPress version. So that’s something else folks might want to try if they’re having trouble (going back down to an earlier BBPress install.)

    Working site is here: http://www.openadoptionsupport.com

    I was able to import users and groups very easily via PHPMyAdmin so I didn’t really lose anything with the clean reinstallation.

    Roger Coathup
    Participant

    @jeff:

    I’d already marked two of those threads as resolved, and posted what was causing the problem.

    They weren’t problems related to this.

    I have 2 unresolved threads open: the media library duplicate declaration problem, and the failure to add a friend issue.

    I’ve responded to your feedback on these in thread: https://buddypress.org/forums/topic.php?id=3000

    I appreciate the helpful responses from anyone on this forum (moderators and regular users alike). Thanks in advance.

    #46711
    petronic
    Participant

    I am very interested in privacy component. How is it going so far? Do you have some estimation when will it be available to test or use?

    What I have found as a must regarding privacy (until now) is:

    – allowing user to set what details from profile s/he wants to be public, available just to friends or private

    – settings on activity streams which will allow user to select what type of activities s/he wants to be displayed in sitewide activity, be available to friends or be totally private. This settings could be similar to Notification settings (for email notifications).

    I intended to write this on my own, but found out that it can’t be done easily without changing activity core files (and that is never a good option) and then I discovered that you are working on privacy component. So, if you see a way how I can help in development process, please let me know.

    #45838
    mgrunk1
    Participant

    BuddyPress 1.0

    Wordpress MU 2.7.1

    *replaced db name w/ mydb – and this is the errors that show at the bottom of the page in the admin – if I delete the BP plugin, the messages all go away.

    WordPress database error Table ‘mydb.wp_bp_xprofile_data’ doesn’t exist for query SELECT d.value, f.name FROM wp_bp_xprofile_data d, wp_bp_xprofile_fields f WHERE d.field_id = f.id AND d.user_id = 1 AND f.parent_id = 0 AND f.name = ‘Name’ made by require, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_global_user_fullname, bp_fetch_user_fullname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byfieldname WordPress database error Table ‘mydb.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE name = ‘Name’ made by require, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_global_user_fullname, bp_fetch_user_fullname, xprofile_set_field_data, xprofile_get_field_id_from_name, BP_XProfile_Field->get_id_from_name WordPress database error Table ‘mydb.wp_bp_notifications’ doesn’t exist for query SELECT * FROM wp_bp_notifications WHERE user_id = 1 AND is_new = 1 made by require, require_once, include, get_footer, locate_template, load_template, require_once, wp_footer, do_action, call_user_func_array, bp_core_admin_bar, do_action, call_user_func_array, bp_adminbar_notifications_menu, bp_core_get_notifications_for_user, BP_Core_Notification->get_all_for_user

    enlightenmental1
    Participant

    @ Atul Singhal

    duplicate you /register.php in your buddypress-home theme,

    (duplicate it to keep it as a backup)

    towards the bottom of register.php you’ll see something like “do_bp_core_signup”

    you can comment that out and replace it with the Iframe version of the rpx plugin

    <iframe src=”https://buzzwe.rpxnow.com/openid/embed?token_url=http%3A%2F%YOUR_SITE.com%2F%3Frpx_response%3D1%26goback%3Dhttp%253A%252F%252FYOUR_SITE.com/WELCOME_LANDING_CUSTOM_PAGE&#8221;

    scrolling=”no” frameBorder=”no” style=”width:400px;height:240px;”>

    </iframe>

    just change YOUR_SITE and WELCOME_LANDING_CUSTOM_PAGE to your own token url

    one issue I have with this on my site, is that the RPX plugin doesn’t gather much information… sometimes it will only get the email/username… sometimes the email is a “proxy mail email ” => @yahoo12343-proxymail.com (I haven’t confirmed this with all the 3rd party login providers)

    this will effect how the notifications work… so you’ll proly want your landing page to have instructions to update their profile information

    that should work

    #44891
    jfcarter
    Participant

    Hi all,

    The code is located in wp-includes/wpmu-functions.php (it is a big file)

    A few caveats:

    1) There is text for the user signup email and for the blog signup email (blog signup email is also in the admin panel)

    2) There is text for a bunch of other emails, alerts and notices. All over the place

    3) The text is located in some squirrely locations, so move your cursor slowly (I missed some of the phrases a few times)

    4) Keep a log of what you change, because wpmu-functions.php will change with WPMU upgrades.

    5) You probably already know to avoid apostrophes and other symbols–depending on which ones you use, errors show up. I just avoided contractions.

    Hope this helps.

    #44889
    peterverkooijen
    Participant

    I\’d like to know as well. Especially that \”Dear User\” annoys the hell out of me. \”User\” sounds like \”drug user\” or \”abuser\” or \”you\’re not a friend, you\’re just a user!\”.

    The email is sent out after the new member has already given his name. There should be a way to just include the full name or first name in the welcome email. It\’s standard practice.

    BTW, Socialpreneur, do you mean this thread? It’s not very helpful.

    #44528
    belogical
    Participant

    yeah, it was in v1.1 for sure. i used it for my first component. i found a reference in /wp-content/plugins/buddypress/bp-example/bp-example-cssjs.php in v1.1. I tried adding this back myself and it didn’t work.

    /**
    * bp_example_add_activity_bullets_css()
    *
    * This function will allow your component to dynamically add CSS to themes so that you can
    * set the activity feed icon to use for your component.
    */
    function bp_example_add_activity_bullets_css() {
    ?>
    li a#my-example, li a#user-example {
    background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 88% 50% no-repeat;
    }

    li.example {
    background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 0 8% no-repeat;
    }

    table#bp-example-notification-settings th.icon {
    background: url(<?php echo site_url( MUPLUGINDIR . \'/bp-example/images/heart_bullet.png\' ) ?>) 50% 50% no-repeat;
    }
    <?php
    }
    add_action( \'bp_custom_member_styles\', \'bp_example_add_activity_bullets_css\' );
    add_action( \'bp_custom_home_styles\', \'bp_example_add_activity_bullets_css\' );

    ?>

    #43907
    zipnguyen
    Participant

    Burt,

    Thanks for the reply. When myself, friends, or family create a profile to test the site, I always get an email as the administrator.

    But over the past few weeks, I’m getting individuals creating buddypress profiles and upone further research into my database, I track their email addresses back to health supplements, pharma drugs, and porn sites. I don’t receive an email notification when these buddypress profiles are made.

    Currently my settings are as follows, where the second choice with the “X” is selected.

    Disabled

    X Enabled. Blogs and user accounts can be created.

    Only user account can be created.

    Only logged in users can create new blogs.

    Wondering how can they create buddypress profiles, without me getting notifications?

    Thanks,

    Ninh

    #43276
    isuru
    Participant

    sry, this is the source code. i have mentioned the functions which i modified only.

    the screen “create new group” appears with added field, the error is given when saving.

    what are the other files to be modified????????

    <?php

    /**********************

    bp-group.php

    **********************/

    function groups_install() {

    /*some code goes here*/

    $sql[] = “CREATE TABLE {$bp->groups->table_name} (

    …………..

    author varchar(50) NOY NULL,

    ………….

    ) {$charset_collate};”;

    /*some code goes here*/

    }

    function groups_check_installed() {

    if(is_site_admin()){

    if ( !$wpdb->get_var(“SHOW TABLES LIKE ‘%” . $bp->groups->table_name . “%'”) || ( get_site_option(‘bp-groups-db-version’) < BP_GROUPS_DB_VERSION ) )

    groups_install();

    }

    /*some code goes here*/

    }

    function groups_screen_group_admin_edit_details() {

    /*some code goes here*/

    if ( $bp->current_component == $bp->groups->slug && ‘edit-details’ == $bp->action_variables[0] ) {

    if ( $bp->is_item_admin || $bp->is_item_mod ) {

    if ( isset( $_POST[‘save’] ) ) {

    if ( !groups_edit_base_group_details( $_POST[‘group-id’], $_POST[‘group-name’], $_POST[‘group-desc’], $_POST[‘group-news’], $_POST[‘author’], (int)$_POST[‘group-notify-members’] ) ) {

    bp_core_add_message( __( ‘There was an error updating group details, please try again.’, ‘buddypress’ ), ‘error’ );

    } else {

    /*some code goes here*/

    }

    /*some code goes here*/

    }

    do_action( ‘groups_screen_group_admin_edit_details’, $group_obj->id );

    bp_core_load_template( ‘groups/admin/edit-details’ );

    }

    }

    }

    add_action( ‘wp’, ‘groups_screen_group_admin_edit_details’, 4 );

    function groups_create_group( $step, $group_id ) {

    /*some code goes here*/

    if ( is_numeric( $step ) && ( 1 == (int)$step || 2 == (int)$step || 3 == (int)$step || 4 == (int)$step ) ) {

    if ( !$group_obj )

    $group_obj = new BP_Groups_Group( $group_id );

    switch ( $step ) {

    case ‘1’:

    if ( !check_admin_referer( ‘groups_step1_save’ ) )

    return false;

    if ( $_POST[‘group-name’] != ” && $_POST[‘group-desc’] != ” ) {

    /*some code goes here*/

    $group_obj->author = stripslashes($_POST[‘author’]);

    /*some code goes here*/

    if ( !$group_obj->save() )

    return false;

    /*some code goes here*/

    }

    break;

    /*some code goes here*/

    }

    }

    function groups_screen_create_group() {

    /*some code goes here*/

    if ( isset( $_POST[‘save’] ) || isset( $_POST[‘skip’] ) ) {

    /*some code goes here*/

    if ( !$group_id = groups_create_group( $create_group_step, $_SESSION[‘group_obj_id’] ) ) {

    /* error message*/

    } else {

    /*some code goes here*/

    }

    /*some code goes here*/

    }

    /*some code goes here*/

    bp_core_load_template( ‘groups/create’ );

    }

    function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $group_news, $group_author, $notify_members ) {

    /*some code goes here*/

    if ( !check_admin_referer( ‘groups_edit_group_details’ ) )

    return false;

    if ( empty( $group_name ) || empty( $group_desc ) )

    return false;

    /*some code goes here*/

    $group->news = $group_news;

    /*some code goes here*/

    if ( !$group->save() )

    return false;

    if ( $notify_members )

    groups_notification_group_updated( $group->id );

    /*some code goes here*/

    }

    function groups_screen_group_admin_edit_details() {

    /*some code goes here*/

    if ( $bp->current_component == $bp->groups->slug && ‘edit-details’ == $bp->action_variables[0] ) {

    if ( $bp->is_item_admin || $bp->is_item_mod ) {

    if ( isset( $_POST[‘save’] ) ) {

    if ( !groups_edit_base_group_details( $_POST[‘group-id’], $_POST[‘group-name’], $_POST[‘group-desc’], $_POST[‘group-news’], $_POST[‘author’], (int)$_POST[‘group-notify-members’] ) ) {

    /*error message*/

    } else {

    /*some code goes here*/

    }

    /*some code goes here*/

    }

    /*some code goes here*/

    }

    }

    }

    //add_action();

    /**********************

    bp-groups-classes.php

    **********************/

    class BP_Groups_Group {

    /*some code goes here*/

    var $news;

    function populate( $get_user_dataset ) {

    /*some code goes here*/

    if ( $group ) {

    /*some code goes here*/

    $this->author = stripslashes($group->author);

    /*some code goes here*/

    }

    }

    function save() {

    /*some code goes here*/

    if ( $this->id ) {

    $sql = $wpdb->prepare(

    “UPDATE {$bp->groups->table_name} SET

    author = %s,

    WHERE

    id = %d

    “,

    /*some code goes here*/

    $this->author,

    /*some code goes here*/

    );

    } else {

    $sql = $wpdb->prepare(

    “INSERT INTO {$bp->groups->table_name} (

    news,

    ) VALUES (

    %s

    )”,

    /*some code goes here*/

    $this->author,

    /*some code goes here*/

    );

    }

    /*some code goes here*/

    }

    }

    /**********************

    bp-groups-filters.php

    **********************/

    add_filter( ‘bp_group_author’, ‘wptexturize’ );

    add_filter( ‘bp_group_author’, ‘convert_smilies’ );

    add_filter( ‘bp_group_author’, ‘convert_chars’ );

    add_filter( ‘bp_group_author’, ‘wpautop’ );

    add_filter( ‘bp_group_author’, ‘make_clickable’ );

    /**********************

    bp-groups-templatetags.php

    **********************/

    /*some code goes here*/

    function bp_group_author() {

    global $groups_template;

    echo apply_filters( ‘bp_group_author’, stripslashes($groups_template->group->author) );

    }

    function bp_group_author_editable() {

    global $groups_template;

    echo apply_filters( ‘bp_group_author_editable’, $groups_template->group->author );

    }

    /*some code goes here*/

    function bp_group_create_form() {

    /*some code goes here*/

    ?>

    <form action=”<?php echo $bp->displayed_user->domain . $bp->groups->slug ?>/create/step/<?php echo $create_group_step ?>” method=”post” id=”create-group-form” class=”standard-form” enctype=”multipart/form-data”>

    <?php switch( $create_group_step ) {

    case ‘1’: ?>

    <label for=”author”>* <?php _e(‘Author’, ‘buddypress’) ?></label>

    <textarea name=”author” id=”author”><?php echo ( $group_obj ) ? $group_obj->author : $_POST[‘author’]; ?>

    </textarea>

    <?php do_action( ‘groups_custom_group_fields_editable’ ) ?>

    <p><input type=”submit” value=”<?php _e(‘Create Group and Continue’, ‘buddypress’) ?> »” id=”save” name=”save”/></p>

    <?php wp_nonce_field( ‘groups_step1_save’ ) ?>

    <?php break;

    /*some code goes here*/

    }

    }

    ?>

    #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 18 results - 751 through 768 (of 768 total)
Skip to toolbar