Search Results for 'display users posts'
-
AuthorSearch Results
-
December 20, 2012 at 12:47 am #148193
In reply to: Collecting Activity ids and displaying them?
shanebp
Moderator>a page where my users can be curators and have collections of custom posts
CPs that they created ? Or created by anyone ?
Usually a profile extension is used for this.
But you say ‘outside of buddypress’ so you mean a WP page… ?
Then, because you want it driven by activity_ids, write a custom query.
Use each activity_id to find the user_id in the activity table, look for posts by that member in the posts table and show the results in a loop.
Use 2 queries if you can’t write a JOIN.December 19, 2012 at 11:54 pm #148187In reply to: Collecting Activity ids and displaying them?
designnz
ParticipantHi @shanebp, thanks for the reply. Im wanting to have a page where my users can be curators and have collections of custom posts (via activity_id). It will fall under its own page outside of buddypress with a special activity page for displaying items.
December 6, 2012 at 10:37 pm #146721Andrew Tibbetts
ParticipantActually, 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 commentedforeach ( (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));
}November 16, 2012 at 1:29 pm #145137In reply to: The Relate categories to Groups plugin
monkfish13
ParticipantI 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-935into this
http://www.racecraftmodels.co.uk/martini-racing-porsche-935Any ideas? I am sure it is simple, but I don’t have the knowledge to make it work.
With thanks
May 18, 2012 at 6:57 pm #134755In reply to: How can I make the logo display? [RESOLVED]
Wendy Cockcroft
MemberSorry, 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.
May 13, 2012 at 1:41 pm #134470In reply to: [fixed] BuddyPress + bbPress activity stream bug
Bandreus
Memberdigging 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_menuMarch 23, 2012 at 7:36 pm #131901roxor
Participantmercime 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 ?
February 19, 2012 at 5:15 pm #130087In reply to: Registration not working
40cooper
ParticipantOk. 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 SIGKILLSUEXEC 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″
January 30, 2012 at 3:16 am #128823daveC87
MemberI 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.
December 7, 2011 at 8:51 pm #125786peeld
ParticipantThis is even WORSE…
-Hidden/private group activity DOES show for logged-out users
-Hidden/private group activity DOES show on the Friends activity tabI’m using Themekraft CCPro as well as S2member.
Also using BP Forums Extras: View activity comments on forum posts
Activity Bump.I’ve made no modifications to activity-loop.php.
For the moment, I can restrict activity for not logged in users by using s2member’s uri restrictions, but this is just a patch, there’s something funny going on here.
Daisy
PS as an aside, I can’t access any forum topics I’ve started or replied to through my profile page *on this site*. Also can’t post activity updates or private messages to anybody. Can’t access forum replies via the menu at the very top of the page either.
November 10, 2011 at 11:26 pm #124144In reply to: A new activities stream
candy2012
MemberThank you @modemlooper !
I don’t think I really know how to start on that …
I have tried this:
foreach( $activities->activities as $key => $activity ) {
if ( $activity->scope ==’friends’ || $activity->scope ==’just_me’) {
unset( $activities->activities[$key] );but it does not work, I mean I only get the friends but not my own posts

As far as I understood is the “scope” I need not the action types (I want all actions to show, but for friends and the current user only)
What am I doing wrong?
An other thing that I have noticed, when I click on the “All users” Tab, the site-wide activity is there all untouched, and this is definitely not supposed to hapen. I need to filter that fully out!
Just like Facebook! Imagine you loginto Facebook and get the billions of user activity statuses rolling in front of your eyes …
I guess it has to be checked somehow that the displayed activity belongs to the current-user friends only …
but how !??!November 10, 2011 at 10:47 pm #124140justbishop
Member@boonebgorges, thanks, and I have to ask why would you advise against doing it? Having those duplicates in the activity stream is actually an extremely bad thing for my site, because they are essentially items for sale. If a user is able to view the copy of a post made to my main site by the SWT plugin (as you are able to on certain posts that have been natively posted to one of my network’s child sites), the “add to form” cart renders using MY paypal info, rather than the seller’s info, as it does when you view the item on their site!
Here is an example of a child site post (copied to the main site via SWT) that you can get to via one of the duplicate activity entries:
http://www.riotcart.com/blog/2011/01/30/medium-juliette-skirty/
And here is the item on the seller’s own site (a child site on my network):
http://www.riotcart.com/hedgieshideaway/?p=115
As you can imagine, it’s extremely important that users/front-end viewers are NOT given the option of which version (the original or the copy to the main site) they’d like to click into!
@nahummadrid, I honestly have no idea what was going on. Like I mentioned, as soon as I removed the “before_blog_post” and “after_blog_post” BP codes from around my query for the featured post, the problem was non-existent, and I was able to just use the block activity stream types plugin you had recommended

For the record, here is my query for the featured post. I use the Featured Content Showcase plugin for various reasons, but it displays a slideshow. All I wanted was one static, random post with an image, title, and excerpt on each page load, so I dug around and found the meta key/velue that the FCS plugin was adding to posts marked as featured, and ran with it:
`$args=array(
‘orderby’ => ‘rand’,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘numberposts’ =>1,
‘post_type’ => ‘post’,
‘meta_key’ => ‘_fcs_featured’,
‘meta_value’ => ‘true’,
);$latest = get_posts($args);
$count = 0;
foreach($latest as $post) {$blogid = get_post_meta($post->ID, ‘blogid’, true);
$image = get_post_meta($post->ID, ‘thumbnail’, true);
$title = get_post_meta($post->ID, ‘_fcs_title’, true);
$text = get_post_meta($post->ID, ‘_fcs_text’, true);
if ( empty($title) ) {
$title = get_the_title($post->ID);
}if ( empty($text) ) {
$text = $post->post_excerpt;
if ( post_password_required($post) ) {
$text = __(‘There is no excerpt because this is a protected post.’);
} elseif ( !empty($post->post_excerpt) ) {
$text = apply_filters(‘get_the_excerpt’, $post->post_excerpt);
} else {
$text = $this->_makeExcerpt($post->post_content);
}
}`October 21, 2011 at 11:49 pm #123207In reply to: Username / Display name problem
DarrenMooney
ParticipantI don’t know when it began, to be honest I never noticed it on the forums, for the first week of the site we didn’t use the forum, we were taking the time to populate the site with some posts etc before releasing it.
Following steps from creating a new user registration is not going to tell you anything as the problem is already there, users can’t change their username and they don’t display on forums etc as stated before.
I was just reminded by a friend an hours ago that we did use a function to allow upper case characters for users, I’ve been looking for exact code that I used but can’t just yet…. I’ll keep looking. I had forgotten about this as it was only in for a short while at the beginning. Although I can’t remember, it is possible some of the initial users registered during its inclusion.
Edit: I should note that there is only the 8 team members signed up on the site, its not fully live yet, so editing usernames via database wouldn’t be an issue if it would help?
August 30, 2011 at 5:10 pm #119267In reply to: new version of BuddyPress Rate Forum Posts
demo7up
MemberI was wondering if anyone could help me out i have reached out to the developer and he wants 140 for his time although i do think its fair and he should be paid for his time i just cannot afford it at this time unfortunately ..
Im trying to show the users rating points in the login box after the user has logged in already
i have added this code
<?php
global $bp;$karma = get_usermeta( $bp->displayed_user->id, ‘rfp_post_karma’ );
$relative_karma = rfp_calculate_relative_karma( $karma, $bp->displayed_user->id );echo ‘
‘ . get_option( ‘rfp_karma_label’ ) . rfp_poster_karma( $relative_karma ) . ‘‘;
?>it gets and displays the label no problem but it doesn’t show the the actual points after the label i have searched in and out and i cant figure it out.
Any help is much appreciated.
August 21, 2011 at 10:49 pm #118815In reply to: 100,000 Members Moved from Ning – Mega Site!
ericodom
ParticipantIt would take a plethora of posts to describe the battles lol. We’re still dealing with them.
For us the biggest challenge has been replicating all the functionality of Ning. Features such as message forward, reply to sender only on multiple user messages and mass share on discussions/blog posts are a beast and we still haven’t quite figured out that madness.
The headache we’ve been dealing with all day today is the fact that we moved about 90,000 users from Ning to BP two weeks ago to run the import. We didn’t want them to get a message about password reset at the time because the dev site wasn’t public. So, by doing that we created a screwed up scenario where when we switched the domain we got hit with 10,000 users who’s Ning password wouldn’t take.
Plus, we had to quickly reverse out of asking for “user names” on BP login because Ning uses email as user name. Most Ning users think their user name is their display name and BP won’t accept spaces or cap letters in username.
See what I mean… could go on forever!
But in the end we now control everything and can build it out the way we want. Which is what we wanted.
July 4, 2011 at 10:40 pm #115719In reply to: How to create a business directory in BP?
pcwriter
ParticipantHang on. I think I led you a bit astray with Buddypress Links. It does what you want, yes, but it creates links to already existing web pages/sites/videos/images/etc. You are however limited to only one display image, but it fetches all available images automatically and gives you the choice of which to use as the avatar. You can see an example of it working here: http://buddylite.com/links/
Creating a custom post type would link back to the author’s BP profile, just like any blog post. Basic CSS rules could then be added to your theme’s style.css to display the entries in a directory-like fashion on an archive page.
Another solution altogether could be to simply add a front-end post form like Quick-Post-Widget that allows posting only to a category you create specifically for this purpose (Businesses). Then create a menu item linking to that category archive in WP custom menus. Your theme’s archive.php template can be customized to display posts in that category in any directory-like fashion you prefer (grid, list, etc.). Finally, a category-specific search plugin could be used in your theme allowing users to specify the “Businesses” category you created.
https://wordpress.org/extend/plugins/quick-post-widget/
https://wordpress.org/extend/plugins/search.php?q=category+search&sort=June 24, 2011 at 1:55 pm #115158In reply to: Random member – security query
Marian
ParticipantSo sorry I didn’t see your request for more help. I have my settings to be notified of any @mentions and replies to my forum posts but for some reason I did not receive any notification that you had replied. Not sure if it’s a problem with BuddyPress.org notifications or what.
Anyway, it’s probably too late and you hopefully found a solution already, but I’ll post this here just in case you or anyone else are still looking for a way to disable the random visit menu in the BuddyPress admin bar without disabling the admin bar itself.
Rather than explain the inadequate solution of changing #bp-adminbar-visitrandom-menu display to none in the stylesheet, let me give the function override solution instead:
In your theme’s footer.php file, right BEFORE it says “, add the following code:
`
<?php
if (!is_user_logged_in()) {
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
}
?>
`
That’s if you want the random visit menu to be removed only for users who are not logged in.If you want it to be removed for all users, whether or not they’re logged in, use this simpler code instead:
`
<?php
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
?>
`I see that the font for the code I just posted is not clearly legible in places. Please note that the remove_action line ends with a semi-colon ;
HTH

MarianJune 11, 2011 at 9:32 am #114345In reply to: Limiting text length of activity update posts
aljuk
Member@nahummadrid – nice solution. It’s concise, and responsive (VERY important). Every other solution I’ve tested slows down the text input to a crawl, which isn’t acceptable for a public site and will really annoy anyone who types with all their fingers. I haven’t encountered the issue to which you alluded re. users breaking the limit with copy/paste. It’s working flawlessly. Thanks a bunch for it.
@justbishop – yes, the code display has been mangled by wp texturise, and contains a cpl small errors. Here it is clean:
`
//<![CDATA[
function limitText(limitField, limitCount, limitNum) {
if (limitField.value.length > limitNum) {
limitField.value = limitField.value.substring(0, limitNum);
} else {
limitCount.value = limitNum – limitField.value.length;
}
}
//]]>
``@ `
“
Incidentally, I think it’s best to place the script itself in entry.php, not post-form.php (assuming you’re also setting a character limit on replies). The reason for this is that it should only be loaded once, and if you place it in post-form.php it won’t be available on an individual activity page (ie. the page you get when you click the “View” link), but if you place it in entry.php it will be loaded when viewing the activity stream, and also when viewig the individual activity.
May 12, 2011 at 3:45 am #112109In reply to: Creating links to profile pages
elliotrobert
MemberI didn’t like the the plugin solution since it wasn’t quite what I wanted so I created my own. I wanted to be able to put a link to a user profile where ever I want by displaying the users name. You could hard code this if you know the users name but what if you want it to be dynamic and work for any user? I came up with this simple solution which is easy even if you don’t know php.
In the functions.php file add the following to the bottom.
`
function post_author_profile(){
/* Return authors profile link*/
echo( ‘‘); echo get_the_author(); echo(‘‘);
}`
Then simply include the following php line of code any where in loop-index.php where you’d like the current posts users name displayed as a link linking to their profile. It knows what post it’s referring to based on each one it’s printed in as it goes through the loop. I’m using it in the following code in loop-index.php
`<div id="post-” >
<a href="” title=”” rel=”bookmark”>
`Live long and prosper.
-Elliot Robert
February 17, 2011 at 6:07 pm #105643hcleary
MemberNot sure, but it is probably done in the Buddypress menu.
Buddypress – General Settings – Disable activity stream commenting on blog and forum posts? YES
and/or
Buddypress – Component Setup – Activity Streams: Allow users to post activity updates and track all activity across the entire site. NOFebruary 13, 2011 at 11:54 pm #105353In reply to: user blogs without multisite
Nahum
ParticipantDon’t forget the author.php. I use it in the most creative ways! As mentioned above you can use Gforms for frontend posting, or even allow your subscribers only access to Writing Post admin page only and then display the users’ “blog” posts on their author.php page (yoursite.com/author/username).
You could even embed the gform in the author.php for loggedin authors and display posts for logged out. You can go as far as customizing that author.php template to add the parts of the buddypress member profile, (I think you can replicate the entire member profile on there if you really wanted to) and voila you have user blogs without multisite and blog within user profile. Heck you could even make the author.php template very blog like and include a dedicated sidebar and widgets that only pertain to that author. It takes some..(alot of) tweaking but it’s doable, so good luck!
February 9, 2011 at 7:03 pm #105033In reply to: Where are the functions
modemlooper
Moderatorhas_members()
next_member()
rewind_members()
members()
the_member()
bp_rewind_members()
bp_has_members( $args = ” )
‘type’ => $type,
‘page’ => $page,
‘per_page’ => 20,
‘max’ => false,
‘include’ => false, // Pass a user_id or comma separated list of user_ids to only show these users
‘user_id’ => $user_id, // Pass a user_id to only show friends of this user
‘search_terms’ => $search_terms, // Pass search_terms to filter users by their profile data
‘populate_extras’ => true // Fetch usermeta? Friend count, last active etc.bp_the_member()
bp_members()
//Misc
bp_members_pagination_count()
bp_members_pagination_links()
bp_member_user_id()
bp_get_member_user_id()
bp_member_user_nicename()
bp_get_member_user_nicename()
bp_member_user_login()
bp_get_member_user_login()
bp_member_user_email()
bp_get_member_user_email()
bp_member_is_loggedin_user()
bp_member_avatar( $args = ” )
bp_get_member_avatar( $args = ” )
‘type’ => ‘thumb’,
‘width’ => false,
‘height’ => false,
‘class’ => ‘avatar’,
‘id’ => false,
‘alt’ => __( ‘Member avatar’, ‘buddypress’ )bp_member_permalink()
bp_member_link()
bp_get_member_link()
bp_member_name()
bp_get_member_name()
bp_member_last_active()
bp_get_member_last_active()
bp_member_latest_update( $args = ” )
bp_get_member_latest_update( $args = ” ) {
‘length’ => 15bp_member_profile_data( $args = ” )
‘field’ => false, // Field name
bp_member_registered()
bp_get_member_registered()
bp_member_add_friend_button()
bp_add_friend_button( $members_template->member->id, $friend_status )
bp_member_total_friend_count()
bp_get_member_total_friend_count()
bp_member_random_profile_data()
bp_member_hidden_fields()
bp_directory_members_search_form()
bp_total_site_member_count()
bp_get_total_site_member_count()
//Check bp-core-templatetags.php for comments about nav tags
bp_get_loggedin_user_nav()
bp_get_displayed_user_nav()
bp_get_options_nav()
bp_get_options_title()
//Avatar Tags
bp_has_options_avatar()
bp_get_options_avatar()
bp_comment_author_avatar()
bp_post_author_avatar()
bp_loggedin_user_avatar( $args = ” )
bp_get_loggedin_user_avatar( $args = ” ) {
‘type’=> ‘thumb’,
‘width’=> false,
‘height’=> false,
‘html’=> truebp_displayed_user_avatar( $args = ” )
bp_get_displayed_user_avatar( $args = ” )
‘type’=> ‘thumb’,
‘width’=> false,
‘height’=> false,
‘html’=> truebp_avatar_admin_step()
bp_get_avatar_admin_step()
bp_avatar_to_crop()
bp_get_avatar_to_crop()
bp_avatar_to_crop_src()
bp_get_avatar_to_crop_src()
bp_avatar_cropper()
//Other
bp_site_name()
bp_core_get_wp_profile()
bp_get_profile_header()
bp_exists( $component_name )
bp_format_time( $time, $just_date = false )
bp_word_or_name( $youtext, $nametext, $capitalize = true, $echo = true )
bp_your_or_their( $capitalize = true, $echo = true )
bp_get_plugin_sidebar()
bp_page_title()
bp_get_page_title()
bp_styles()
bp_has_custom_signup_page()
bp_signup_page()
bp_get_signup_page()
bp_has_custom_activation_page()
bp_activation_page()
bp_get_activation_page()
bp_search_form_enabled()
bp_search_form_action()
bp_search_form_type_select()
bp_search_form()
bp_log_out_link()
bp_custom_profile_boxes()
bp_custom_profile_sidebar_boxes()
bp_create_excerpt( $text, $excerpt_length = 55, $filter_shortcodes = true )
bp_is_serialized( $data )
bp_total_member_count()
bp_get_total_member_count()
bp_signup_username_value()
bp_get_signup_username_value()
bp_signup_email_value()
bp_get_signup_email_value()
bp_signup_with_blog_value()
bp_get_signup_with_blog_value()
bp_signup_blog_url_value()
bp_get_signup_blog_url_value()
bp_signup_blog_title_value()
bp_get_signup_blog_title_value()
bp_signup_blog_privacy_value()
bp_get_signup_blog_privacy_value()
bp_signup_avatar_dir_value()
bp_get_signup_avatar_dir_value()
bp_current_signup_step()
bp_get_current_signup_step()
bp_signup_avatar( $args = ” )
bp_get_signup_avatar( $args = ” ) {
‘size’ => BP_AVATAR_FULL_WIDTH,
‘class’ => ‘avatar’,
‘alt’ => __( ‘Your Avatar’, ‘buddypress’ )
bp_signup_allowed()
bp_get_signup_allowed()
bp_blog_signup_allowed()
bp_get_blog_signup_allowed()
bp_account_was_activated()
bp_registration_needs_activation()
bp_mentioned_user_display_name( $user_id_or_username )
bp_get_mentioned_user_display_name( $user_id_or_username )
bp_get_option( $option_name )
bp_ajax_querystring( $object = false )
bp_last_activity( $user_id = false, $echo = true )
bp_user_has_access()
bp_user_firstname()
bp_get_user_firstname()
bp_loggedin_user_link()
bp_get_loggedin_user_link()
bp_loggedinuser_link()
bp_displayed_user_link()
bp_get_displayed_user_link()
bp_user_link()
bp_displayed_user_id()
bp_current_user_id()
bp_loggedin_user_id()
bp_displayed_user_domain()
bp_loggedin_user_domain()
bp_displayed_user_fullname()
bp_get_displayed_user_fullname()
bp_user_fullname() { echo bp_get_displayed_user_fullname()
bp_loggedin_user_fullname()
bp_get_loggedin_user_fullname()
bp_displayed_user_username()
bp_get_displayed_user_username()
bp_loggedin_user_username()
bp_get_loggedin_user_username()
bp_current_component()
bp_current_action()
bp_current_item()
bp_action_variables()
bp_root_domain()
bp_get_root_domain()
//Conditionals
bp_is_blog_page()
bp_is_my_profile()
bp_is_home()
bp_is_front_page()
bp_is_activity_front_page()
bp_is_directory()
bp_is_page($page)
bp_is_active( $component )
bp_is_profile_component()
bp_is_activity_component()
bp_is_blogs_component()
bp_is_messages_component()
bp_is_friends_component()
bp_is_groups_component()
bp_is_settings_component()
bp_is_member()
bp_is_user_activity()
bp_is_user_friends_activity()
bp_is_activity_permalink()
bp_is_user_profile()
bp_is_profile_edit()
bp_is_change_avatar()
bp_is_user_groups()
bp_is_group()
bp_is_group_home()
bp_is_group_create()
bp_is_group_admin_page()
bp_is_group_forum()
bp_is_group_activity()
bp_is_group_forum_topic()
bp_is_group_forum_topic_edit()
bp_is_group_members()
bp_is_group_invites()
bp_is_group_membership_request()
bp_is_group_leave()
bp_is_group_single()
bp_is_user_blogs()
bp_is_user_recent_posts()
bp_is_user_recent_commments()
bp_is_create_blog()
bp_is_user_friends()
bp_is_friend_requests()
bp_is_user_messages()
bp_is_messages_inbox()
bp_is_messages_sentbox()
bp_is_notices()
bp_is_messages_compose_screen()
bp_is_single_item()
bp_is_activation_page()
bp_is_register_page()
bp_the_body_class()
bp_get_the_body_class( $wp_classes, $custom_classes = false )December 19, 2010 at 4:00 am #100925Kim Knox
ParticipantI would like to know this too
December 8, 2010 at 1:36 am #100056In reply to: Embedded Video not Displaying on Homepage
r-a-y
KeymasterTry reading up on enabling a third-party provider for WordPress’ embedding capability:
https://codex.wordpress.org/Embeds#How_Can_I_Add_Support_For_More_Websites.3FIf you want to use Wistia code, which I’m guessing you need to use the “ or “ tags, you’ll need to bypass the activity filters that are in place by default, so malicious content will not get the chance to be executed.
If you trust your userbase, you can disable these filters by reading this:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/make-users-able-to-use-and-in-their-postsIf you’re planning on just embedding the Wistia video on a blog post, just enable some form of WordPress plugin that allows you to embed content like this:
https://wordpress.org/extend/plugins/embed-object/November 22, 2010 at 4:22 pm #98884In reply to: Disable Activity Stream for Profiles?
lmarvell
MemberThank you so very much for your help.
The first bit does as expected and removes the profile all together. It’s a temporary fix until I can locate the source of the problem, but not a good permanent fix. Defining the default component as profile I’m guessing is intended to set the default profile component differently so that it becomes accessible. I’m not having any luck with that. Attempts to access the profile default to the home page. Any thoughts about it?
I can see that one of the problems I have is with the group wiki plugin. Posts to the group wikis and their responses show up in the activity stream. I think I can just block those and manage that problem, but the other entry that shows in the activity stream, I’m pretty sure is from core buddy press functionality. Replies to entries made to the “Home” form (displayed in the activity stream) also show up in the user’s profile and are visible to users who are not members of the group when they are not logged into the website. When they are logged in this problem disappears. Any thoughts?
-
AuthorSearch Results