Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'display users posts'

Viewing 25 results - 126 through 150 (of 287 total)
  • Author
    Search Results
  • #146721
    Andrew Tibbetts
    Participant

    Actually, this function is working—it is creating activity items based on blog posts and comments. I found out that it’s my custom plugin that is supposed to hook into this custom post or comment action to create a notification. Here is the plugin. I know no one will even try to tackle this but I have to post this because it’s my only option and I one for due diligence…

    /**
    * Plugin Name:BuddyPress Post Comment Notifier
    * Description: Mod of Brajesh Singh's BuddyPress Activity Comment Notifier to work for Blog Post Comments
    *
    */

    // we are not much concerned with the slug, it is not visible
    define("BP_COMMENT_NOTIFIER_SLUG","pc_notification");

    //register a dummy notifier component, I don't want to do it, but bp has no other mechanism for passing the notification data to function, so we need the format_notification_function
    function pc_notifier_setup_globals() {
    global $bp, $current_blog;
    $bp->pc_notifier=new stdClass();
    $bp->pc_notifier->id = 'pc_notifier';//I asume others are not going to use this is
    $bp->pc_notifier->slug = BP_COMMENT_NOTIFIER_SLUG;
    $bp->pc_notifier->notification_callback = 'pc_notifier_format_notifications';//show the notification
    /* Register this in the active components array */
    $bp->active_components[$bp->pc_notifier->slug] = $bp->pc_notifier->id;

    do_action( 'pc_notifier_setup_globals' );
    }
    add_action( 'bp_setup_globals', 'pc_notifier_setup_globals' );

    /**
    * storing notification for users
    * notify all the users who have commented, or who was the original poster of the update, when someone comments
    * hook to bp_blogs_comment_recorded action
    */
    function pc_notifier_notify($activity_id) {
    global $bp;

    $activity = new BP_Activity_Activity($activity_id);
    $comment = get_comment($activity->secondary_item_id);
    $users = pc_notifier_find_involved_persons($comment->comment_post_ID);
    $link = get_permalink($comment->comment_post_ID);

    if($activity->hide_sitewide) return;

    if(!in_array($activity->user_id, $users)&&($bp->loggedin_user->id!=$activity->user_id)) array_push ($users, $activity->user_id);

    foreach((array)$users as $user_id){
    bp_core_add_notification( $activity_id, $user_id, $bp->pc_notifier->id, 'new_post_comment_'.$activity_id );
    }

    }
    add_action("bp_blogs_comment_recorded","pc_notifier_notify",10,1); // hook to bp_blogs_comment_recorded for adding notification

    /** our notification format function which shows notification to user
    *
    * @global $bp
    * @param $action
    * @param $activity_id
    * @param $secondary_item_id
    * @param $total_items
    * @return
    * @since 1.0.2
    * @desc format and show the notification to the user
    */
    function pc_notifier_format_notifications( $action, $activity_id, $secondary_item_id, $total_items, $format='string' ) {

    global $bp;
    $glue = '';
    $user_names = array();
    $activity = new BP_Activity_Activity( $activity_id );
    $comment = get_comment($activity->secondary_item_id);
    $link = get_permalink($comment->comment_post_ID);
    $comment_post = get_post($comment->comment_post_ID);

    if ( $activity->user_id == $bp->loggedin_user->id ) $text = __("your post");
    else $text = sprintf(__("%s"), $comment_post->post_title);

    $pc_action = 'new_post_comment_'.$activity_id;

    if ( $action == $pc_action ) {

    $users = pc_notifier_find_involved_persons($comment->comment_post_ID);

    $total_user = $count = count($users);//how many unique users have commented

    if ( $count > 2 ) {
    $users = array_slice($users, $count-2);//just show name of two poster, rest should be as and 'n' other also commeted
    $count = $count-2;
    $glue=", ";
    }
    else if ( $total_user == 2 ) $glue = " and ";//if there are 2 unique users , say x and y commented

    foreach ( (array)$users as $user_id )
    $user_names[] = bp_core_get_user_displayname($user_id);

    if ( !empty($user_names) )
    $commenting_users = join($glue,$user_names);

    if ( $total_user > 2 )
    $text = $commenting_users." and ".$count." others commented on ".$comment_post->post_title;
    else
    $text = $commenting_users." commented on ".$comment_post->post_title;

    if ( $format == 'string' )
    return apply_filters('bp_activity_multiple_new_comment_notification','comment_ID.'">'.$text.'');
    else {
    $link .= '#comment-'.$comment->comment_ID;
    return array('link'=>$link,'text'=>$text);
    }

    }

    return false;

    }

    /*
    * Remove activity for the comments on new_blog_post & new_blog_comment activity item.
    * Since these items do not have a single activity view and are linked to the single post screen, we will do the needed on single post view
    */

    function pc_notifier_remove_notification_for_blog_posts(){
    if( !( is_user_logged_in() && is_singular() ) )
    return;

    global $bp,$wpdb;
    $blog_id = (int)$wpdb->blogid;
    $post = wp_get_single_post();
    $activity_id = bp_activity_get_activity_id(
    array(
    'user_id' => $post->post_author,
    'component' => $bp->blogs->id,
    'type' => "new_blog_post",
    'item_id' => $blog_id,
    'secondary_item_id' => $post->ID
    )
    );
    //delete the notification for activity comment on new_blog_post
    if( !empty($activity_id) )
    bp_core_delete_notifications_by_item_id( $bp->loggedin_user->id, $activity_id, $bp->pc_notifier->id, 'new_post_comment_'.$activity_id );

    //for replies on blog comments in activity stream
    $comments = pc_notifier_get_all_blog_post_comment_ids($post->ID);//get all the comment ids as array

    //added in v 1.0.3 for better database performance, no more looping to get individual activity ids
    $activities = pc_notifier_get_activity_ids(
    array(
    "type"=>"new_blog_comment",
    "component" => $bp->blogs->id,
    "item_id"=>$blog_id,
    "secondary_ids"=>$comments
    )
    );

    foreach( (array)$activities as $pc_id )
    bp_core_delete_notifications_by_item_id( $bp->loggedin_user->id, $pc_id, $bp->pc_notifier->id, 'new_post_comment_'.$pc_id );

    }
    add_action("wp_head","pc_notifier_remove_notification_for_blog_posts");

    /**
    * @since v 1.0.2
    * @desc delete notification when an activity is deleted, thanks to @kat_uk for pointing the issue
    * @param pc_ids:we get an arry of activity ids
    */
    function bp_pc_clear_notification_on_activity_delete($pc_ids){
    global $bp;

    foreach ( (array)$pc_ids as $activity_id )
    bp_core_delete_all_notifications_by_type( $activity_id, $bp->pc_notifier->id, 'new_post_comment_'.$activity_id, $secondary_item_id = false );
    }
    add_action("bp_activity_deleted_activities","bp_pc_clear_notification_on_activity_delete");

    /************************************ HELPER FUNCTIONS ********************************************************/

    // find all users who commented on the post
    function pc_notifier_find_involved_persons($comment_post_ID){
    global $bp,$wpdb;

    return $wpdb->get_col($wpdb->prepare("SELECT DISTINCT(user_id) from {$wpdb->comments} where comment_post_ID=%d and user_id!=%d",$comment_post_ID,$bp->loggedin_user->id));
    }

    // return an array of comment ids for the post
    function pc_notifier_get_all_blog_post_comment_ids($post_id) {
    global $wpdb;

    return $wpdb->get_col($wpdb->prepare("SELECT comment_ID as id FROM {$wpdb->comments} WHERE comment_post_ID = %d AND comment_approved = '1' ORDER BY comment_date", $post_id));
    }

    // get activity ids when type, component, secondary_ids, item_id is specified
    function pc_notifier_get_activity_ids($params){
    global $bp,$wpdb;
    extract($params);
    $list="(".join(",", $secondary_ids).")";//create a set to use in the query;

    return $wpdb->get_col($wpdb->prepare("SELECT id from {$bp->activity->table_name} where type=%s and component=%s and item_id=%d and secondary_item_id in {$list}",$type,$component,$item_id));
    }

    #145915
    Shaun McMillan
    Participant

    Using the Post-to-Posts plugin, I’m trying to display all the posts connected to the user on the buddypress member profile. The custom post-type is named, “badges.”

    The loop shows all of the connected posts to all users or none at all, but I want it to display only the posts connected to User A on User A’s profile page.

    Am I using bp->displayed_user correctly or is there something else I should use?

    Here’s the code,
    // Assign badge to user meta using Post-to-Posts Plugin
    function my_connection_types() {
    p2p_register_connection_type( array(
    'name' => 'multiple_authors',
    'from' => 'badge',
    'to' => 'user',
    //'to_query_vars' => array( 'role' => 'editor, author' )
    ) );
    }
    add_action( 'p2p_init', 'my_connection_types' );


    function display_custom_usermeta() { ?>

    displayed_user->id, 'level', true); $period = get_user_meta($bp->displayed_user->id, 'period', true);
    $painting = get_user_meta($bp->displayed_user->id, 'painting', true);
    ?>

    has reached status.

    Badges:

    displayed_user->id);
    $connected = new WP_Query( array(
    'connected_type' => 'multiple_authors',
    'connected_items' => $user,
    'suppress_filters' => false,
    'nopaging' => true,
    ) );

    // Display connected badges
    if ( $connected->have_posts() ) :
    ?>
    Badges:

    have_posts() ) : $connected->the_post(); ?>
    <a href="">

    <?php
    }

    #145137
    monkfish13
    Participant

    I have found what is was thank Hugo, but that has now given me another challenge.

    I am using the ‘Blog Catagories for Groups’ plugin, which provides a blog feed for each group depending on the assigned category(s).

    This plugin works however in a nested fashion – so within the group area on BP ( like the group forums do)

    When clicking on the group Blog button, users see a list of blog posts relative to their group and category.

    If you click on the post permalinks – it displays the post in a nested fashion, still under the group header.

    I would like these title permalinks to take users back to the original blog post rather than a nested version.

    I believe that the code I need to change is this:

    `

    <a href="” rel=”bookmark” title=”

    `

    But what do I need to change it to make it link back to the original blog post?

    So to change this permalink –
    http://www.racecraftmodels.co.uk/groups/gt-and-le-mans/blog/martini-racing-porsche-935

    into this
    http://www.racecraftmodels.co.uk/martini-racing-porsche-935

    Any ideas? I am sure it is simple, but I don’t have the knowledge to make it work.

    With thanks

    enderpal444
    Participant

    I’m using the posts2posts plugin to create relationships between users but bp_has_members() isn’t taking it’s custom parameters. Instead I get a list of all users so how do I make this work together? Here’s my loop…

    
    $followed_user = $bp->displayed_user->id;
    $number = 25;
    $args = array(
    'connected_type' => 'user_followers',
    'connected_items' => $followed_user,
    'suppress_filters' => false,
    'per_page' => $number
    );
    if ( bp_has_members($args) ) :
    echo '<ul>';
    while ( bp_members() ) : bp_the_member();
    echo '<li>'; ?>
    <a href=&quot;">
    <?php bp_member_avatar();
    bp_member_name();
    echo '</a></li>';
    endwhile;
    echo '</ul>';
    endif;
    echo '<div class="infinitescroll">';
    bp_members_pagination_links();
    echo '</div>';
    enderpal444
    Participant

    I’ve set up an extra nav item we’ll call “articles” using bp_core_new_nav_item() adding a screen to the profile that shows a loop of the articles. Now I’v done this for a few extra nav items aswell all which show a loop. My issue is that I only want to display the “articles” nav item to a user if they have actually posted one. I’d of course run a check on the count of that loop like so…

    
    $profile_user = get_current_user_id( );
    $args = array(
    'post_type' => 'articles',
    'author' => $profile_user,
    'posts_per_page' => -1
    );
    $articles_query = new WP_Query($args);
    $articles_count = $articles_query->post_count;
    if ($articles_count > 0) {
    

    But then how do I use this to display the nav item conditionally?

    #32482
    ecase
    Participant

    Hi, please can you help me with a code to create the “create site” link under sites> next to “My sites” in buddypress member profile area.

    right now I can only see it under site.com/blog

    http://www.site.com/blogs/create/

    I was able to modify the code in bp-blogs-loader.php however
    I don’t know how to create the link to create my site ‘slug’ => ‘create-your-sites’,

    to http://www.site.com/blogs/create/

    below is an example coder.

    Also how to add it in bp-custom to work, thank you

    /**
    * Setup BuddyBar navigation
    *
    * @global BuddyPress $bp The one true BuddyPress instance
    */
    function setup_nav() {
    global $bp;

    /**
    * Blog/post/comment menus should not appear on single WordPress setups.
    * Although comments and posts made by users will still show on their
    * activity stream.
    */
    if ( !is_multisite() )
    return false;

    $sub_nav = array();

    // Add ‘Sites’ to the main navigation
    $main_nav = array(
    ‘name’ => sprintf( __( ‘Sites %d‘, ‘buddypress’ ), bp_blogs_total_blogs_for_user() ),
    ‘slug’ => $this->slug,
    ‘position’ => 30,
    ‘screen_function’ => ‘bp_blogs_screen_my_blogs’,
    ‘default_subnav_slug’ => ‘my-sites’,
    ‘item_css_id’ => $this->id
    );

    $parent_url = trailingslashit( bp_displayed_user_domain() . bp_get_blogs_slug() );

    $sub_nav[] = array(
    ‘name’ => __( ‘My Sites’, ‘buddypress’ ),
    ‘slug’ => ‘my-sites’,
    ‘parent_url’ => $parent_url,
    ‘parent_slug’ => $bp->blogs->slug,
    ‘screen_function’ => ‘bp_blogs_screen_my_blogs’,
    ‘position’ => 10
    );

    $sub_nav[] = array(
    ‘name’ => __( ‘Create Site’, ‘buddypress’ ),
    ‘slug’ => ‘your-sites’,
    ‘parent_url’ => $parent_url,
    ‘parent_slug’ => $bp->blogs->slug,
    ‘screen_function’ => ‘bp_blogs_screen_my_blogs’,
    ‘position’ => 50
    );

    // Setup navigation
    parent::setup_nav( $main_nav, $sub_nav );
    }

    #31802
    Deceth
    Participant

    Hello,

    BuddyPress is awesome, I use it at battlecity.org. The only issue I have is a constant battle with spam.

    Askimet is awesome at finding and clearing out spam comments. The problem is, with BuddyPress, I get spam user registration and Askimet doesn’t remove spam accounts.

    To try and fight the spam accounts I use two plugins:
    – BP Humanity (users have to answer a question like five plus two)
    – SI Captcha (users have to type in sequence of characters displayed in image)

    However, even with these two plugins, 10-20 spam user accounts are created daily. If I don’t login for a week, it can be very difficult to delete 100+ accounts. And if I don’t delete them, they’ll eventually all start posting about viagra, credit cards and magic ponies.

    So, after some searching I found a plugin called User Spam Remover (http://wordpress.org/extend/plugins/user-spam-remover/). This plugin lets me delete all the spam users with a single click, rather than having to go through each profile in BuddyPress or try to sort through them on the WordPress users page. The only problem is that it does not play nice with BuddyPress, since it was designed for WordPress (it will leave behind remnant information, such as “Bob became a registered member” on the activity page).

    I have two feature requests:

    1 – A nice option would be the ability to hide the “became a registered member” message from the Activity page. I get enough spam user registrations that the activity page becomes a useless blurb of new users that aren’t actually new users. Once I delete all these spam accounts, the Activity page is awesome, showing useful things like new forum posts, groups and comments. I want it to always be like this, I don’t need it to ever display messages about new users even if they are legitimate.

    2 – Built in function to detect and remove spam user accounts. In fact, this can just be a page that lets me sort and select users in ways that would bring spam accounts to the forefront. If I can sort by date registered, I can get a list of all new accounts on one page where I can select and delete about 95% of them (now I can get an alphabetical list which takes forever to sort through). Or if I could pull up a list of all accounts with no activity that would help too (if I can delete them all from the same page). I’ll never be able to block all spam registrations, so anything that makes it easier (less clicks) to clean up is awesome.

    Another option for anybody in the mood for plugin development, is to make spam-user-remover compatible with BuddyPress or fork it to be a BuddyPress plugin.

    Just some thoughts! I’d also love to hear any feedback on how others are fighting off spam.

    #30836
    Ian Dixon
    Participant

    I have a site that runs WordPress 3.4.1 with Buddypress 1.5.6
    It has the Group forums turned on but they just mess me about and here is why:
    1. The editor will format a forum page quite nicely yet the formatting disappears when the forum post is displayed
    2. I put in standard double quotes and it decides to change them to something different. Took me ages to solve that one today when that messed up an html snippet that I had posted.
    3. I post a snippet of html to demonstrate something which gets displayed as html. I go i to correct a typo and then it decides to decipher it as a link. I use the actual codes around the link then edit the post again cos I still had something wrong. It has decided to replace the codes yet again. Basically I am unable to edit a post for fear that it will change something
    4. There is no easy way to add images to forum posts yet I can do it in the actual group. Now I may just be missing a plugin for this one but I cannot tell users to type in the html to include something. They dont know html so I increase my support load

    I need forums to work for some things but the way they are is causing me immense frustration. I may be missing something obvious. If so What?

    Note that I wont change core files because I have enough of an IT background to know that causes many problems with upgrades. Child theme might be the solution although I would prefer to wait for BP 1.6 to do that

    angslycke
    Participant

    Hi everyone!

    I’ve built my first custom widget for BuddyPress which displays the latest three group forum topics. I want this widget to display the same topics regardless of which page the user is currently viewing. As the bp_has_forum_topics works, it automatically adjusts to viewing the current users forum topics when viewing a members page, and when viewing a specific group, it shows the group forum topics only for this group.

    I want to override the above values when viewing a specific group/member and have tried using the code below, but still the same default values are returned (thus when I view a group which has no forum posts, the widget shows “No forum topics found” and so on). I’m sure this is easy to fix, any ideas?

    “

    Thanks in advance!

    #30244
    soft2fire
    Member

    I respected professors
    I have a big problem in this activity
    When the page comes up a lot of posts with comments
    The whole page is too much for the rest of the site free users Dhndst

    I want a button beside every post so that user with a concrete post comments Bbndh
    And also for any post and I think this feature by default for all comments is closed
    And when the user clicks on the button to display the comments will be displayed post comments

    #29914
    timemachines
    Member

    We are trying to get our head around a complex problem. We are trying to write an if/else statement in PHP (we are learning).

    When a logged in user posts anything, we do not want them to have the option of clicking “favorite/unfavorite” on their own posts – only “delete” is displayed.

    While when the logged in user visits another users page, or reads another users posts – we want them to be able to “favorite/unfavorite” but the “delete” button is not displayed.

    We are trying to figure out the proper structure for this to make it work.

    any help would be appreciated! Thanks!

    daveC87
    Member

    Hey Guys,
    I am using WordPress 3.3.2 and BuddyPress 1.5.5. I have created custom Group’s pages with the Buddypress Group Extension API and am allowing users to post from the front end on one of these pages and am having trouble saving custom field data when I do this. Everything else (title, content, and image saves to data base perfectly.) You can see example here: http://liveitupsocial.com/groups/san-fran-adventure/add-adventure/

    I am allowing user’s to essentially post activities that they think the group should participate in that weekend. I am querying these posts on another custom group page and I want these posts to be group specific. To do this I am sending a hidden field with value equal to the group ID when users add an activity to that group. Through displaying POST values I know the group ID is being sent and posted to my form validation, but not being saved as metadata.

    I have placed the form validation in the group’s plugins.php, and the form in the display() in my custom Buddypress Group Extension API. Using that technique all fields save perfectly except for my post metadata which I’m sending as a hidden field (Group ID): Before the code is there a better way to do this?

    In my Group Extension API my funciton display() holds the form: ( I will summarize and only show the hidden field not to bloat this post with code)

    `funtion display(){


    // Custom Function gets current GroupID
    <input type="hidden" name="group_id" value="”>

    }
    `

    Then I have form validation on the top of my Group’s plugin.php (Again summarized with the only part, the custom field, I’m having trouble with).

    `
    groups/single/plugins.php
    <PHP

    if (isset ($_POST)) {
    $group_id = $_POST;

    // Insert Custom Fields
    add_post_meta($post_id, ‘group_id’, $group_id, true);

    do_action(‘wp_insert_post’, ‘wp_insert_post’);

    PHP>
    `

    Again,my title, content, image all save perfectly, the hidden field is posting just not saving to the database. Am I missing something? Is there a better way to structure the whole posting from the front end on custom group pages using the Group Extension API? Thanks in advance.

    #134755

    Sorry, Hugo, I need to know *exactly* what this is supposed to look like. Putting this in

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>

    function bp_dtheme_setup() {
    global $bp;

    // Load the AJAX functions for the theme
    require( TEMPLATEPATH . ‘/_inc/ajax.php’ );

    // This theme styles the visual editor with editor-style.css to match the theme style.
    add_editor_style();

    // This theme uses post thumbnails
    add_theme_support( ‘post-thumbnails’ );

    // Add default posts and comments RSS feed links to head
    add_theme_support( ‘automatic-feed-links’ );

    // Add responsive layout support to bp-default without forcing child
    // themes to inherit it if they don’t want to
    add_theme_support( ‘bp-default-responsive’ );

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘buddypress’ ),
    ) );

    // This theme allows users to set a custom background
    add_custom_background( ‘bp_dtheme_custom_background_style’ );

    // Add custom header support if allowed
    if ( !defined( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’ ) ) {
    define( ‘HEADER_TEXTCOLOR’, ‘FFFFFF’ );

    // The height and width of your custom header. You can hook into the theme’s own filters to change these values.
    // Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
    define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘bp_dtheme_header_image_width’, 401 ) );
    define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘bp_dtheme_header_image_height’, 80 ) );

    // We’ll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 133 pixels tall.
    // Larger images will be auto-cropped to fit, smaller ones will be ignored.
    set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );

    // Add a way for the custom header to be styled in the admin panel that controls custom headers.
    add_custom_image_header( ‘bp_dtheme_header_style’, ‘bp_dtheme_admin_header_style’ );
    }`

    makes it worse, not better, because the code shows up above the header.

    Here’s the CSS:

    http://snazzymob.com/wp-content/themes/Snazzy/style.css

    I don’t care how stupid I look to you as long as the end result is that I’m given the correct information. That means providing me with the actual code in the actual way it’s supposed to be entered in the functions.php file.

    This is what is there now:

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>`

    There’s got to be a way to stop the header image repeating.

    dannyjimmy
    Member

    People are used to Facebook and go for the quick default: Posting onto the group’s wall. They do that even if I’ve asked them a question in the forum. -_-

    QUICK AND DIRTY: The easy quick solution is: Disable the forum. (though I’ve heard in other posts that some have had trouble uninstalling a group’s forum recently…)

    But that doesn’t always work. Sometimes a group just needs a forum. (although the straight-up stream is pretty nice)

    At that point, what do I do?

    LESS QUICK, STILL DIRTY: A somewhat lame solution is to use BP group extras to make FORUMS the landing page for the group on a group-by group basis.

    Ideally, I’d like people to see the activity stream, but not be able to post directly onto it, but rather to be simply directed (like on BuddyPress.org) to the various forum topics.

    HALF THE ANNOUNCE-GROUP PLUGIN: Any thoughts on how to do this? Someone suggested commenting out parts of the “announcements-only” plugin to block posting to the stream but allow forum participation. Would that work? @dwenaus

    HALF THE BP-GROUP EXTRAS PLUGIN: If I was going to go the BP-group-extras route and just diminish the activity stream via navigation rather than privilege, I’d want to comment out the “custom fields” part of the group, since my groups don’t need that and it would just confuse users. Thoughts on how I would do that? @slaFFik Or is there some more simple way of reordering the group’s tabs / landing page?

    FINALLY, is there some simple and/or creative way I’m failing to think about this?

    All I know is that this is a SIGNIFICANT issue for me. In my experience so far, forum discussions and activity stream discussions DO NOT play nice with each other from a user experience standpoint, and sites like buddypress.org and facebook.com understand that and don’t allow it. I’m just wondering what “the common person” can do to avoid that same conflict.

    Thanks much,

    #134470
    Bandreus
    Member

    digging into the error log scared me :|

    I replicated the bug, and these are the last few lines from the error log:

    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_posts
    SET post_modified = '2012-05-12 22:48:46',
    post_modified_gmt = '2012-05-12 20:48:46'
    WHERE post_status='publish'
    AND ( ID = 418 OR ID = 347 OR ID = 348 OR ID = 365 OR ID = 366) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_post_modified
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_postmeta
    SET meta_value = '399'
    WHERE meta_key = 'live_viewers'
    AND ( post_id = 365) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_live_streams_viewers
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query  SELECT   wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_name = 'regolamento-forumobbligatorio' AND wp_2_posts.post_type = 'topic'  ORDER BY wp_2_posts.post_date DESC  made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT post_id FROM wp_2_postmeta, wp_2_posts WHERE ID = post_id AND post_type = 'topic' AND meta_key = '_wp_old_slug' AND meta_value = 'regolamento-forumobbligatorio' made by require, require_once, do_action, call_user_func_array, wp_old_slug_redirect
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT ID FROM wp_2_posts WHERE post_name LIKE 'regolamento-forumobbligatorio%' AND post_type = 'topic' AND post_status = 'publish' made by require, require_once, do_action, call_user_func_array, redirect_canonical, redirect_guess_404_permalink
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_2_options WHERE option_name = 'super_simple_google_analytics_item' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, super_simple_google_analytics_print_code, get_option
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.term_id = 3 LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.slug = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.name = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_posts  WHERE (post_type = 'page' AND post_status = 'publish')  AND ( ID  44 )    ORDER BY menu_order,wp_2_posts.post_title ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, call_user_func, wp_page_menu, wp_list_pages, get_pages
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id)
    INNER JOIN wp_2_postmeta AS mt1 ON (wp_2_posts.ID = mt1.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'live_streams_stream' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = 'live_viewers'
    AND  (mt1.meta_key = 'status' AND CAST(mt1.meta_value AS CHAR) = 'live') ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value+0 DESC LIMIT 0, 50 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email , um.meta_value as last_activity FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC LIMIT 0, 15 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 20:48:46] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_comments JOIN wp_2_posts ON wp_2_posts.ID = wp_2_comments.comment_post_ID WHERE comment_approved = '1' AND wp_2_posts.post_status = 'publish' ORDER BY comment_date_gmt DESC LIMIT 5 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Comments->widget, get_comments, WP_Comment_Query->query
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'topic' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value DESC LIMIT 0, 10 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT * FROM wp_options WHERE option_name = 'blogname' 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_logo, get_blog_option
    [12-May-2012 20:48:47] WordPress database error MySQL server has gone away for query SELECT user_id, user_login, user_nicename, display_name, user_email, meta_value as caps FROM wp_users u, wp_usermeta um WHERE u.ID = um.user_id AND meta_key = 'wp_2_capabilities' ORDER BY um.user_id 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_authors_menu
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_posts
    SET post_modified = '2012-05-12 23:27:39',
    post_modified_gmt = '2012-05-12 21:27:39'
    WHERE post_status='publish'
    AND ( ID = 342 OR ID = 343 OR ID = 360 OR ID = 361 OR ID = 405) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_post_modified
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query
    UPDATE wp_2_postmeta
    SET meta_value = '920'
    WHERE meta_key = 'live_viewers'
    AND ( post_id = 342) made by require, require_once, require_once, require_once, do_action, call_user_func_array, live_streams_update_streams, live_streams_update_live_streams_viewers
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 10 made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'can_compress_scripts' AND site_id = 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, wp_print_head_scripts, print_head_scripts, script_concat_settings, get_site_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_2_options WHERE option_name = 'super_simple_google_analytics_item' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, super_simple_google_analytics_print_code, get_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.term_id = 3 LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.slug = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'nav_menu' AND t.name = '3' LIMIT 1 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, wp_get_nav_menu_object, get_term_by
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_posts  WHERE (post_type = 'page' AND post_status = 'publish')  AND ( ID  44 )    ORDER BY menu_order,wp_2_posts.post_title ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_nav_menu, call_user_func, wp_page_menu, wp_list_pages, get_pages
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 4 made by require, require_once, include, get_header, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->slideshow_home, cc_slidertop, slider, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_header, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->slideshow_home, cc_slidertop, slider, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  WHERE 1=1  AND wp_2_posts.post_type = 'post' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden')  ORDER BY wp_2_posts.post_date DESC LIMIT 0, 3 made by require, require_once, include, do_action, call_user_func_array, CC_Theme_Generator->default_homepage_last_posts, cc_list_posts, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, do_action, call_user_func_array, CC_Theme_Generator->default_homepage_last_posts, cc_list_posts, query_posts, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id)
    INNER JOIN wp_2_postmeta AS mt1 ON (wp_2_posts.ID = mt1.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'live_streams_stream' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed' OR wp_2_posts.post_status = 'private' OR wp_2_posts.post_status = 'hidden') AND (wp_2_postmeta.meta_key = 'live_viewers'
    AND  (mt1.meta_key = 'status' AND CAST(mt1.meta_value AS CHAR) = 'live') ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value+0 DESC LIMIT 0, 50 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, Live_Streams_Widget->widget, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT DISTINCT u.ID as id, u.user_registered, u.user_nicename, u.user_login, u.display_name, u.user_email , um.meta_value as last_activity FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC LIMIT 0, 15 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT u.ID) FROM wp_users u LEFT JOIN wp_usermeta um ON um.user_id = u.ID WHERE u.spam = 0 AND u.deleted = 0 AND u.user_status = 0 AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP() ORDER BY um.meta_value DESC made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BP_Core_Whos_Online_Widget->widget, bp_has_members, BP_Core_Members_Template->__construct, bp_core_get_users, BP_Core_User->get_users
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_2_comments JOIN wp_2_posts ON wp_2_posts.ID = wp_2_comments.comment_post_ID WHERE comment_approved = '1' AND wp_2_posts.post_status = 'publish' ORDER BY comment_date_gmt DESC LIMIT 5 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, WP_Widget_Recent_Comments->widget, get_comments, WP_Comment_Query->query
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query  SELECT SQL_CALC_FOUND_ROWS  wp_2_posts.* FROM wp_2_posts  INNER JOIN wp_2_postmeta ON (wp_2_posts.ID = wp_2_postmeta.post_id) WHERE 1=1  AND wp_2_posts.post_type = 'topic' AND (wp_2_posts.post_status = 'publish' OR wp_2_posts.post_status = 'closed') AND (wp_2_postmeta.meta_key = '_bbp_last_active_time' ) GROUP BY wp_2_posts.ID ORDER BY wp_2_postmeta.meta_value DESC LIMIT 0, 10 made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT FOUND_ROWS() made by require, require_once, include, get_footer, locate_template, load_template, require_once, do_action, call_user_func_array, CC_Theme_Generator->sidebar_right, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, WP_Widget->display_callback, BBP_Topics_Widget->widget, bbp_has_topics, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_options WHERE option_name = 'blogname' 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_logo, get_blog_option
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT DISTINCT b.blog_id, b.id, bm1.meta_value as name, wb.domain, wb.path FROM wp_bp_user_blogs b, wp_blogs wb, wp_bp_user_blogs_blogmeta bm1 WHERE b.blog_id = wb.blog_id AND b.blog_id = bm1.blog_id AND bm1.meta_key = 'name' AND wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = '0' AND b.user_id = 11 ORDER BY b.blog_id 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_blogs_menu, bp_blogs_get_blogs_for_user, BP_Blogs_Blog->get_blogs_for_user
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT COUNT(DISTINCT b.blog_id) FROM wp_bp_user_blogs b LEFT JOIN wp_blogs wb ON b.blog_id = wb.blog_id WHERE wb.deleted = 0 AND wb.spam = 0 AND wb.mature = 0 AND wb.archived = '0' AND user_id = 11 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_blogs_menu, bp_blogs_get_blogs_for_user, BP_Blogs_Blog->get_blogs_for_user, BP_Blogs_Blog->total_blog_count_for_user
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT * FROM wp_bp_notifications WHERE user_id = 11 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
    [12-May-2012 21:27:39] WordPress database error MySQL server has gone away for query SELECT user_id, user_login, user_nicename, display_name, user_email, meta_value as caps FROM wp_users u, wp_usermeta um WHERE u.ID = um.user_id AND meta_key = 'wp_2_capabilities' ORDER BY um.user_id 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_authors_menu
    #29321

    In a custom user tab I’m trying to display that users posts. (displayed user, not logged in user).

    I found this code on a forum but it’s not working for me. It should pull the ‘displayed users’ posts only, instead it shows all posts. How Can I make it pull only posts by the “displayed user”?

    `query_posts( ‘author=’ . $bp->displayed_user->id );

    // the Loop
    while (have_posts()) : the_post();
    the_content( ‘Read the full post »’ );
    endwhile;
    `

    What am I doing wrong?

    Thanks a ton!

    #29320

    In a custom user tab I’m trying to display that users posts. (displayed user, not logged in user).

    I found this code on a forum but it’s not working for me. It should pull the ‘displayed users’ posts only, instead it shows all posts. How Can I make it pull only posts by the “displayed user”?

    `query_posts( ‘author=’ . $bp->displayed_user->id );

    // the Loop
    while (have_posts()) : the_post();
    the_content( ‘Read the full post »’ );
    endwhile;
    `

    What am I doing wrong?

    Thanks a ton!

    #28815

    Topic: Privacy

    in forum Showcase
    keen2learn
    Member

    Hi everyone,

    This post is somewhat related to the privacy.. i.e in my Buddypress Insatllation when ever a user logs in, he is able to see posts/updates from all the other users of the site.

    What I am trying to do is to display only the status and updates related to that particular user only.i.e updates from his friends or from the persons he is following…

    Can you suggest me a way to get around this.
    Waiting for a reply.
    Thanks in advance.

    #131901
    roxor
    Participant

    mercime and aces thank you guys for your replies
    @mercime
    1 – No its not just the posts, I want the blog owners to interact and be friends with each other.

    3 – I did try this method, used Networks for wordpress and WP multi network by @johnjamesjacoby.
    that would obviously solve the problem but there were few limitations because of which I had to give-up.
    my story was- I was planning for a site under which other users could create their own subsites (blogs).
    I am also using several domains for it, so that if a particular blog name is booked by someone then others could get same name blog on other domains ie networks.
    the Limitation was – If a particular blog already exsisted on one network, then new users were unable to create blogs(of same name) by themselves on other networks.
    i had chat with the plugin authors and other experts but unfortunately this was not possible.

    2 – The second method that you described i found hope in it. So I went ahead and tried it.
    the issue was- I could not have users create their own blogs on those mapped domains, when someone tries to register it redirects them to the main site instead of letting them create subsites from mapped domains.
    yes I am saying subsites from subsites using Network plugins, but in the end its the same problem as above.
    btw thanks for in detail explanation mercime :-)

    @aces – hey buddy what I understood was this feature would add a link on blogs same as buddypress to display contents of BP.

    Have you guys seen any website WP or non-wp which offers blogs on sub domains/directories using multiple domain names ?

    skycor
    Member

    I installed a new instance of WordPress 3.3.1 at bookclub.skycor.net and then installed the buddypress plugin. Prior to installing the buddypress plugin, I was able to access all the admin menus in wp-admin. I was able to create new users, add posts, images, etc. After completing the installation of the buddypress plugin and activating it, I completed the process of configuring buddypress. At the end of that process, access to anything in wp-admin disappeared. There was no error message of any kind displayed on the screen. The screen was just white. I was able to go back to the main site at bookclub.skycor.net and navigate just fine with the exception of anything in the “dashboard” dropdown menu. Accessing anything in that menu caused the screen to go blank without any error messages.
    My host is ixwebhosting.com
    Is this something that other users have experienced?
    My efforts to troubleshoot were to remove the buddypress directory under plugins to see if access to the wp-admin would return. It did not. I then dropped all the tables and reinstalled wordpress. I confirmed that wordpress was working properly and then reinstalled and configured the buddypress plugin. I experienced the same results I previously described.

    #130087
    40cooper
    Participant

    Ok. Here’s my error log. I hope this is what you meant:

    “Error Logs
    [Sun Feb 19 10:08:24 2012] CURRENT SERVER TIME MAIN error_log:

    [Sun Feb 19 10:07:36 2012] [warn] [client 66.249.71.76] mod_include: Options +Includes (or IncludesNoExec) wasn’t set, INCLUDES filter removed
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 220-host371.hostmonster.com ESMTP Exim 4.76 #1 Sun, 19 Feb 2012 10:07:41 -0700 , referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 220-We do not authorize the use of this system to transport unsolicited, , referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 220 and/or bulk e-mail., referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-host371.hostmonster.com Hello localhost.localdomain [127.0.0.1], referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-SIZE 52428800, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-PIPELINING, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-AUTH PLAIN LOGIN, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-STARTTLS, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250 HELP, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-host371.hostmonster.com Hello localhost [127.0.0.1], referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-SIZE 52428800, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-PIPELINING, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-AUTH PLAIN LOGIN, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250-STARTTLS, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250 HELP, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 250 OK, referer: http://www.subversica.net/auto/?p=5
    [Sun Feb 19 10:07:42 2012] [error] [client 173.44.37.226] 550 No Such User Here, referer: http://www.subversica.net/auto/?p=5
    [ pid=2841 thr=140694732146464 file=ext/common/LoggingAgent/LoggingServer.h:829 time=2012-02-19 10:07:46.526 ]: Flushing all sinks (periodic action)
    [Sun Feb 19 10:07:47 2012] [error] [client 66.249.68.43] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
    [Sun Feb 19 10:07:47 2012] [error] [client 66.249.68.43] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
    [Sun Feb 19 10:07:49 2012] [error] [client 66.249.67.85] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
    [Sun Feb 19 10:07:49 2012] [error] [client 66.249.67.85] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
    [Sun Feb 19 10:07:58 2012] [error] [client 118.136.112.248] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIMIT 1’ at line 1 for query SELECT `user_status` FROM `vt_users` WHERE id = LIMIT 1 made by single_product_display, referer: http://www.google.co.id/url?sa=t&rct=j&q=sony%20mdr-370lp%20green%20jual&source=web&cd=4&ved=0CEAQFjAD&url=http%3A%2F%2Fwww.jn-starry.com%2Fproduct.php%3Fcategory%3D1%26product_id%3D37&ei=YyxBT82TD8nJrAfms-HeBw&usg=AFQjCNEszw1gvTaDmmiKJ8GJYwWzpVBK8w&cad=rja
    [ pid=2841 thr=140694732146464 file=ext/common/LoggingAgent/LoggingServer.h:829 time=2012-02-19 10:08:01.526 ]: Flushing all sinks (periodic action)
    [Sun Feb 19 10:08:12 2012] [warn] [client 66.249.68.134] mod_fcgid: read data timeout in 90 seconds
    [Sun Feb 19 10:08:12 2012] [warn] [client 66.249.68.134] (110)Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [ pid=2841 thr=140694732146464 file=ext/common/LoggingAgent/LoggingServer.h:829 time=2012-02-19 10:08:16.526 ]: Flushing all sinks (periodic action)
    [Sun Feb 19 10:08:22 2012] [warn] mod_fcgid: process 22572 graceful kill fail, sending SIGKILL

    SUEXEC error_log: PHP error_log: /home7/gamespan/public_html/wp-content/plugins/pierres-wordspew/error_log: [18-Feb-2012 17:54:09] PHP Fatal error: Call to undefined function get_bloginfo() in /home7/gamespan/public_html/wp-content/plugins/pierres-wordspew/js.php on line 3 [19-Feb-2012 03:07:01] PHP Fatal error: Call to undefined function get_bloginfo() in /home7/gamespan/public_html/wp-content/plugins/pierres-wordspew/js.php on line 3 [19-Feb-2012 03:41:59] PHP Fatal error: Call to undefined function transguil() in /home7/gamespan/public_html/wp-content/plugins/pierres-wordspew/js_admin.php on line 6 /home7/gamespan/public_html/wp-content/plugins/myarcadeplugin/modules/error_log: [17-Feb-2012 23:10:01] PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 32450864 bytes) in /home7/gamespan/public_html/wp-includes/class-http.php on line 1106 /home7/gamespan/public_html/wp-content/plugins/wp-postratings/error_log: [14-Feb-2012 17:53:34] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [14-Feb-2012 23:49:35] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [15-Feb-2012 02:27:14] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [15-Feb-2012 03:34:57] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 [15-Feb-2012 06:40:41] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [15-Feb-2012 09:00:58] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [15-Feb-2012 15:01:12] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 [15-Feb-2012 15:04:44] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [16-Feb-2012 00:06:29] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 [16-Feb-2012 00:55:12] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [16-Feb-2012 05:50:56] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [16-Feb-2012 07:31:26] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [16-Feb-2012 14:34:55] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [16-Feb-2012 14:46:55] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [16-Feb-2012 15:08:56] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [16-Feb-2012 15:51:45] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [17-Feb-2012 09:59:47] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 [17-Feb-2012 13:57:26] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [18-Feb-2012 00:33:58] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [18-Feb-2012 04:44:00] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 [18-Feb-2012 05:10:40] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [18-Feb-2012 05:25:47] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [18-Feb-2012 11:38:55] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [18-Feb-2012 14:10:21] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [18-Feb-2012 15:27:22] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [18-Feb-2012 18:18:04] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [19-Feb-2012 01:36:12] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-templates.php on line 21 [19-Feb-2012 01:48:01] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-uninstall.php on line 21 [19-Feb-2012 08:11:51] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-options.php on line 21 [19-Feb-2012 10:06:35] PHP Fatal error: Call to undefined function current_user_can() in /home7/gamespan/public_html/wp-content/plugins/wp-postratings/postratings-manager.php on line 21 /home7/gamespan/public_html/wp-content/themes/fungames/error_log: [15-Feb-2012 21:16:49] PHP Fatal error: Call to undefined function get_header() in /home7/gamespan/public_html/wp-content/themes/fungames/index.php on line 1 [16-Feb-2012 18:47:34] PHP Fatal error: Call to undefined function get_header() in /home7/gamespan/public_html/wp-content/themes/fungames/index.php on line 1 [18-Feb-2012 17:03:59] PHP Fatal error: Call to undefined function get_header() in /home7/gamespan/public_html/wp-content/themes/fungames/index.php on line 1 [19-Feb-2012 00:55:27] PHP Fatal error: Call to undefined function get_header() in /home7/gamespan/public_html/wp-content/themes/fungames/index.php on line 1 [19-Feb-2012 09:39:47] PHP Fatal error: Call to undefined function get_header() in /home7/gamespan/public_html/wp-content/themes/fungames/index.php on line 1 /home7/gamespan/public_html/tesing/wp-admin/error_log: [26-Jan-2012 21:32:58] PHP Fatal error: Call to undefined function bp_is_active() in /home7/gamespan/public_html/tesing/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin.php on line 45 /home7/gamespan/public_html/wp-admin/error_log: [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 20:28:36] PHP Warning: Empty name in /home7/gamespan/public_html/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 28 [25-Jan-2012 21:56:48] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ”wp_wassup_meta” at line 1 for query SHOW TABLES LIKE ‘wp_wassup_meta’ made by activate_plugin, do_action, call_user_func_array, wassup_install [26-Jan-2012 19:16:45] PHP Parse error: syntax error, unexpected ‘*’ in /home7/gamespan/public_html/wp-content/plugins/cubepoints/modules/points_multiplier.php(33) : runtime-created function on line 1 [26-Jan-2012 21:50:33] PHP Fatal error: Call to undefined function bp_is_active() in /home7/gamespan/public_html/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin.php on line 45 [01-Feb-2012 19:46:11] PHP Parse error: syntax error, unexpected T_CONCAT_EQUAL in /home7/gamespan/public_html/wp-content/themes/fungames/functions.php on line 457 [01-Feb-2012 21:47:00] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT * FROM wp_posts WHERE id = made by bulk_edit_posts, wp_update_post, wp_insert_post, wp_transition_post_status, do_action, call_user_func_array, apt_check_required_transition, apt_publish_post [01-Feb-2012 21:47:01] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT * FROM wp_posts WHERE id = made by bulk_edit_posts, wp_update_post, wp_insert_post, wp_transition_post_status, do_action, call_user_func_array, apt_check_required_transition, apt_publish_post [01-Feb-2012 21:47:01] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT * FROM wp_posts WHERE id = made by bulk_edit_posts, wp_update_post, wp_insert_post, wp_transition_post_status, do_action, call_user_func_array, apt_check_required_transition, apt_publish_post [01-Feb-2012 21:47:01] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1 for query SELECT * FROM wp_posts WHERE id = made by bulk_edit_posts, wp_update_post, wp_insert_post, wp_transition_post_status, do_action, call_user_func_array, apt_check_required_transition, apt_publish_post [02-Feb-2012 14:40:25] WordPress database error Duplicate key name ‘meta_id’ for query ALTER TABLE wp_wassup_meta ADD UNIQUE KEY meta_id (`meta_id`) made by activate_plugins, activate_plugin, do_action, call_user_func_array, wassup_install, wassup_tableInstaller, wUpdateTable, wCreateTable, dbDelta [04-Feb-2012 17:14:18] WordPress database error Duplicate key name ‘meta_id’ for query ALTER TABLE wp_wassup_meta ADD UNIQUE KEY meta_id (`meta_id`) made by activate_plugins, activate_plugin, do_action, call_user_func_array, wassup_install, wassup_tableInstaller, wUpdateTable, wCreateTable, dbDelta [04-Feb-2012 17:27:10] WordPress database error Multiple primary key defined for query ALTER TABLE wp_myarcadecontest_user ADD PRIMARY KEY (`id`) made by activate_plugin, do_action, call_user_func_array, F798ACB7BB1743A6A08D468B5786B05AB, F4DD4C7F0B285EA0096C6E9B67A4509CE, dbDelta [06-Feb-2012 08:07:56] PHP Parse error: syntax error, unexpected ‘<‘ in /home7/gamespan/public_html/wp-content/themes/fungames/functions.php on line 454 [06-Feb-2012 08:08:52] PHP Parse error: syntax error, unexpected ‘}’ in /home7/gamespan/public_html/wp-content/themes/fungames/functions.php on line 453 [06-Feb-2012 08:08:56] PHP Parse error: syntax error, unexpected ‘}’ in /home7/gamespan/public_html/wp-content/themes/fungames/functions.php on line 453 [07-Feb-2012 15:46:53] WordPress database error Multiple primary key defined for query ALTER TABLE wp_myarcadecontest_user ADD PRIMARY KEY (`id`) made by activate_plugin, do_action, call_user_func_array, F798ACB7BB1743A6A08D468B5786B05AB, F4DD4C7F0B285EA0096C6E9B67A4509CE, dbDelta [10-Feb-2012 16:35:59] WordPress database error Multiple primary key defined for query ALTER TABLE wp_myarcadecontest_user ADD PRIMARY KEY (`id`) made by activate_plugin, do_action, call_user_func_array, F798ACB7BB1743A6A08D468B5786B05AB, F4DD4C7F0B285EA0096C6E9B67A4509CE, dbDelta [15-Feb-2012 00:52:05] WordPress database error Multiple primary key defined for query ALTER TABLE wp_myarcadecontest_user ADD PRIMARY KEY (`id`) made by activate_plugin, do_action, call_user_func_array, F798ACB7BB1743A6A08D468B5786B05AB, F4DD4C7F0B285EA0096C6E9B67A4509CE, dbDelta [19-Feb-2012 07:37:41] WordPress database error Multiple primary key defined for query ALTER TABLE wp_myarcadecontest_user ADD PRIMARY KEY (`id`) made by activate_plugins, activate_plugin, do_action, call_user_func_array, F798ACB7BB1743A6A08D468B5786B05AB, F4DD4C7F0B285EA0096C6E9B67A4509CE, dbDelta [19-Feb-2012 07:37:45] WordPress database error Duplicate key name ‘meta_id’ for query ALTER TABLE wp_wassup_meta ADD UNIQUE KEY meta_id (`meta_id`) made by activate_plugins, activate_plugin, do_action, call_user_func_array, wassup_install, wassup_tableInstaller, wUpdateTable, wCreateTable, dbDelta /home7/gamespan/public_html/error_log: [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:18] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_sub_user_credit_gaming’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 05:58:19] PHP Warning: call_user_func_array() [<a href=’function.call-user-func-array’>function.call-user-func-array</a>]: First argument is expected to be a valid callback, ‘myarcadecontest_cp_logs_desc_add_user_credit’ was given in /home7/gamespan/public_html/wp-includes/plugin.php on line 405 [19-Feb-2012 07:11:06] PHP Fatal error: Call to a member function add() on a non-object in /home7/gamespan/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 311 [19-Feb-2012 07:33:19] PHP Fatal error: Call to a member function add() on a non-object in /home7/gamespan/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 311 [19-Feb-2012 07:36:24] PHP Fatal error: Call to a member function add() on a non-object in /home7/gamespan/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 311 [19-Feb-2012 07:43:07] PHP Fatal error: Call to a member function add() on a non-object in /home7/gamespan/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 311 [19-Feb-2012 11:17:42] WordPress database error Table ‘gamespan_wrd3.wp_cubepoints’ doesn’t exist for query SELECT COUNT(*) FROM wp_cubepoints WHERE type=’donate’ AND uid = 68 made by require, wp, WP->main, do_action_ref_array, call_user_func_array, bp_screens, do_action, call_user_func_array, bp_cubepoint_screen_awards, bp_core_load_template, load_template, require_once [19-Feb-2012 11:17:42] WordPress database error Table ‘gamespan_wrd3.wp_cubepoints’ doesn’t exist for query SELECT COUNT(*) FROM wp_cubepoints WHERE type=’login’ AND uid = 68 made by require, wp, WP->main, do_action_ref_array, call_user_func_array, bp_screens, do_action, call_user_func_array, bp_cubepoint_screen_awards, bp_core_load_template, load_template, require_once [19-Feb-2012 16:22:15] PHP Fatal error: Call to a member function add() on a non-object in /home7/gamespan/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 311″

    Kishor Kumar
    Member

    At my website http://quotten.com . Problem I am facing is with the permalinks settings and domain name change. If i change my permalink structure from http://quotten.com/archives/%post_id% to something else like http://quotten.com/posts/%post_id% , wordpress parts works well but in the buddypress pages, links displayed are the old ones only, for a new posts though links are according to the new structure but for the old one which were from the time before making the change stay the old link only (in the post though permalink shown is new only). This happens for all kinds of associated old links, like users profile, posts, groups and all, with new its fine according to new structure.
    Now real problem occured when I changed domain name, for the wordpress part it is fine, for the new post made after change it is fine, but for the old links in buddypress are same as they were before domain change. How do I change this?

    daveC87
    Member

    I have changed my query post to:

    query_posts(‘author_name=’ . bp_displayed_user_username());

    With better luck, the dynamic username shows up on the page but all users posts are still displayed. Don’t know why the name would print on the page above the post? Has anyone ever run into this problem?

    I need each users profile page to display their blog posts only. For some reason cannot make this happen. Thanks again for the help.

    kuching
    Participant

    I never used Buddypress.
    I’m working at a wordpress project that is structured as follows in a multisite configuration:

    1) main site, single language, heavily customized with post types, loads of content, no forum, one webshop
    2) secondary site, simpler setup, relatively little content, no forum, no webshop, multilanguage (WPML)
    3) third site hosting a forum only and no other content; forum interface will be multilanguage (like site #2)
    4) fourth site, reserved to admins only, single language, possibly a forum, to manage content and carry on project management tasks and discussions, etc.

    – all sites would be in the same domain (ie http://www.domain.com/ = 1, http://www.domain.com/2, http://www.domain.com/3 etc)

    – sites #1, #2, #3 would be seamlessly integrated in the frontend. However content displayed changes, since #1 has very different contents meant for users in the main language, while #3 is just a forum. Site #2 is intended to provide information and basic contents to international users, while the forum would provide a common space for discussion, being the interface translated.

    I want a multisite setup so users can keep their logins, cookies, across the sites, yet at the same time make some order to admin the different areas.

    Now… it is clear to me that WPML I can take care of the translation part. However, what I’m really clueless about is how to seamlessly integrate the forum part. Since mine is a community-type website, I want to have community features… Buddypress seems to offer a more complete solution for this than bare bbpress. I don’t want users to create their blogs or groups. But it would be nice to have better profile pages, private messaging, set their own display pic, and so on. Features that bbpress lacks or are not natively integrated (I come from a bbpress 1.0 experience and while I love it for the theming possibilities, plugin wise was badly supported).

    So what I would really like to know… Does it make sense to run BuddyPress on site #3, activate only modules for member profiles, forums and activity streams?

    Will the activity streams report activity of these users on sites #1 and #2? (would that include creation of new articles, posts and content by admins and authors? or just comments?)

    Will the users be able to login from site #1 or #2 or #3 and kept logged in without any weirdness happening when navigating through the sites and performing actions?

    Can authors from #1 and #2 link their profiles to profiles found in #3 Buddypress rather than using author.php? Same for registered users that post a comment on #1 or #2, can they have a link directing to their Buddypress member profile page/activity stream?

    Being site #1 only in one language for both content and interface, what if user jumps from #2 or #3 to #1 and then back to #2 or #3, would his languages preference being persistent?

    Thank you!

    #27061
    applegateian
    Participant

    Hi

    Our site is going to be a community of members who are either ‘academic’ or ‘professional’/ We capture this information on sign up and know if a user is either one or the other.

    The site will display members ‘posts’ in various places and we filter by most recent, most comments, featured, etc.

    What I want to do is allow the visitor to filter between ‘academic’ or ‘professional’ at any point, to only show users of one or the other.

    Is there some PHP or a plugin to help me show/hide users with these profile fields?

    Any help appreciated, going mad with this one.

    Thanks,

    Ian

Viewing 25 results - 126 through 150 (of 287 total)
Skip to toolbar