Search Results for 'wordpress'
-
Search Results
-
Hi,
I have tried several times to install BuddyPress 2.1.1 on a fresh install of WordPress 4.1, but I get all the time after activation of the BuddyPress plugin error:
503 Service Unavailable. The server is temporarily busy, try again later!
I have no other plugins installed.WordPress Version 4.1
BuddyPress Version Version 2.1.1I am trying to create a group activity feed everytime a new custom post type post is created.
add_action('bp_activity_before_save', 'rewards_activity_content', 3);function rewards_activity_content($activity){ global $post; global $bp; //i have some working code here $bp->groups->current_group = groups_get_group( array( 'group_id' => $group_id ) ); $groups_activity_action = sprintf( __( '%1$s posted a reward %2$s in the group %3$s', 'buddypress'), bp_core_get_userlink( $user_id ),'<a href="' . $post_permalink . '">' . $post->post_title . '</a>' ,'<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . esc_attr( $bp->groups->current_group->name ) . '</a>' ); $groups_args = array( 'action' => apply_filters( 'groups_activity_new_update_action', $groups_activity_action ), 'content' => apply_filters( 'groups_activity_new_update_content', $activity_content ), 'component' => 'groups', 'type' => 'activity_update', 'primary_link' => $post_permalink, 'secondary_item_id' => $post_id, 'item_id' => $group_id, 'user_id' => $user_id, ); do_action( 'bp_activity_add', $groups_args ); //not working }all of the values within the $group array is being populated its just the last do_action is not working. I also tried doing groups_record_activity.
I have also tried to pass through these arguements through a custom action to bp_activity_add and its still not working any help would be grateful.
WordPress Version 4.1
BuddyPress Version Version 2.1.1I have created a custom field called location under a custom post type called rewards.
I have also created groups which have these location names.I want to be able to create a group activity stream whenever a user posts a new reward and have been trying hours to get this to work.
$group_id = (int) BP_Groups_Group::group_exists($group_name); //workingI am using a custom bp_activity_before_save action when the post type is reward. Could you please tell me how I can change the action as such : –
$activity_group_action = sprintf( __( '%1$s has created a new reward %2$s in the group %3$s : %5$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>','<a href="' . bp_get_group_permalink( $group_id ) . '">' .$group_id .": ". esc_attr( bp_get_group_name( $group_id ) ) . '</a>' );and then add this to the groups activity feed whenever a new reward post is created whereby the location name custom field matches with the groups name. I tried using the bp_activity_add function but its not working
Thank you
I am just getting onboard for a client’s site and they have around 1 million pending users. Typically I would just flush them all but it’s actually a popular site and there’s a lot of real people signing up. Part of the reason for so many is this client didn’t have a developer for awhile and there was an issue with people not being sent activation email (now fixed with plugin).
I already went through the database with phpmyadmin and flushed all the bad email ones. This was from the wp_user table.
I can only delete about 900 a time in the WordPress front in and it takes a couple minutes loading time each time.
Site info:
Buddypress Version 2.1.1
WordPress 4.0.1
Using Firmasite theme (bootstrap)Everything else seems to be working fine and there’s no other issues with the database. I haven’t edited any core files in WP/BP.
Thank you
It might have been already reported to you, I would like to post another vote to get rid of the following message:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /wp-includes/functions.php on line 3547
which starts showing up when BuddyPress is activated and WP_DEBUG is on in /wp-config.php. It does not seem to break functionality of BuddyPress, but it is very annoying, when one tries to debug other stuff.
Thank you very much.
Topic: How To: change navigation?
WordPress Version 4.1
BuddyPress Version Version 2.1.1I am new to buddypress and i am using the latest version. I have a custom post type called rewards and it has a custom taxonomy with it. I have created groups which matching names respective to the rewards taxonomy. Every time a new reward is create it will have one or more “groups” associated with them.
Now the following code works on the member’s main activity feed.
/* Tell Buddypress to add Rewards to activity stream */ function activity_publish_custom_post_types($post_types) { $post_types[] = 'rewards'; return $post_types; } add_filter('bp_blogs_record_post_post_types', 'activity_publish_custom_post_types',1); /* Filter for action for post type reward*/ function rewards_activity_action($activity_action, $post, $post_permalink) { global $bp; if ($post->post_type == 'rewards') { $activity_action = sprintf(__('%1$s posted a new reward : %2$s', 'buddypress'), bp_core_get_userlink((int) $post->post_author), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>'); return $activity_action; } } add_filter('bp_blogs_activity_new_post_action', 'rewards_activity_action', 1, 3); add_filter('bp_activity_before_save', 'rewards_activity_content', 3); /* Filter for content for post type reward before saved to database */ function rewards_activity_content($activity){ global $post; if ($post->post_type == 'rewards') { $activity_id = (int) $activity->id; $post_id = (int) $activity->secondary_item_id; $user_id = (int) $activity->user_id; $post_type = get_post_type( $post_id ); $thumbnail = get_the_post_thumbnail($post_id); $activity_content = "<div class='post-id'>The post ID : {$post_id}</div>\n"; $activity_content = "<div class='thumbnail'>{$thumbnail}</div>\n"; $activity->content = $activity_content; } }My questions :-
1. within the rewards_activity_content function I cannot add the custom activity action name as such shown below
$activity->action = sprintf(__('%1$s posted a new reward : %2$s', 'buddypress'), bp_core_get_userlink((int) $post->post_author), '<a href="' . $post_permalink . '">' . $post->post_title . '</a>');hence why i have created the rewards_activity_action function.
2. Based on the custom taxonomies that have been selected every time a new reward is created this needs to match the groups activity stream and a record needs to go in there for that particular group with the same
action and content namePlease tell me how I can acheive this
I found a work around for buddypress that will stop spam and it is work around…not perfect, but it works. Here are the steps….
(1) Install the following plugin https://wordpress.org/support/plugin/bp-registration-options
(2) Setup the plugin by checking off all the settings
(3) Goto Buddypress settings ….select “Pages – Activate”
(4) Set Activate Page as “None”
(5) Create a standard wordpress page “Activation Notice” and add some text (ie: Your membership is awaiting approval by the Administrator with 48 hours. You will not be able to fully interact with the social aspects of this website until your account is approved. Once approved or denied you will receive an email notice.
The results as follows:
(1) Person will register and get the typical “Sign up Complete” message.
(2) The Admin will get a “Member Request” Message
(3) The user will get the standard “Activation E-Mail” which take the user to the “Activation Notice Page” that you created
(4) When you login as admin to wordpress buddypress site goto…..
BP Registration on Dashboard = You will see the 2 “Pending” User waiting for approval or denial
Users on Dashboard ….. All Users = You will see 2 “Pending” User waiting for activation or deletion
Now why 2 not just one….I am not sure why…it isn’t perfect. However, if you denial “User” from the BP Registration you will also need to delete user from the “User” Section as well.
This isn’t perfect and you still will get an e-mail activation notice sent but it DOES NOT activate the account by the user. The Admin will have 100% control over who is or isn’t accepted as member and it stops the spam.
I hope this helps and it also works without messing with code and such.
(6)
Hi,
I would really like to have my profile page the same as it is on this website, with the Activity feed to the right on the profile picture.
I’ve searched the web and couldn’t really find anything to help me so I thought I would come here to ask if it was a big task to do or something fairly straightforward? and if anyone would be able to tell me how to go about it ? I really appreciate any help, many thanks!
This is what I have

This is what I would like to do

I’m using a custom theme that is buddypress supported.
Using buddypress 2.1.1 and wordpress 4.1thank youuu!
I have long been a fan of BuddyPress and bbPress, but I have never been able to finish a site using them. This is because I am unable to fully test their elements. I think that a lot of people would be willing to use BuddyPress and bbPress, but a few things prevent them from using them.
1. There’s no official BuddyPress and bbPress testing data. There are a few plugins, but they suck and don’t add data for most features. I’m talking about everything from demo users to custom profile fields to testing heading, paragraph, quote, and list elements in the forums and BuddyPress activity. Without full testing data, I am unable to finish a design, and this is way too much work for me, a non-developer of BuddyPress, to figure out and do. WordPress has official test data, so where is bbPress’ and BuddyPress’? I need it, and I guarantee a lot more people would design their websites to use BuddyPress and bbPress if we had it.
2. There’s no good way to reset the stylesheet for BuddyPress or bbPress so that I can style their elements from scratch, from what I’ve seen. Starter WordPress themes such as Underscores are blank and perfect across browsers, allowing one to develop a completely custom feel for their site, unbiased of any developer-chosen styles. I need that for BuddyPress and bbPress too. Hacking or child-theming BuddyPress’ default stylesheets is not what I would consider a good solution to custom design.
3. This is a bbPress-exclusive problem, but I’ll say it anyway. Very few people want to use bbPress, and that’s only for two purely-aesthetic reasons: One, category-type “forums” are treated visually like forums and put all their sub-forums in an inline list. Nobody ever wanted or asked for that. They want “categories” to look like dividers between groups of forums so that they’re easier to digest, just like every other forum software. No other software does this like bbPress, and that’s why everyone uses other forum software. It just looks unpleasant and hard to read, and cuts the real forums’ meta information out of the board index.
Two, people need images to separate hard-to-digest blocks of text. That is a fact that every good writer knows. One of the ways almost every forum system accomplishes this is by creating an icon in front of every forum on the board index. Forums often make them more practical by making the icons change when all the topics inside those forums have been read. But bbPress doesn’t use icons in front of forums on the board index, and let me tell you– that is the FIRST thing everyone I’ve ever shown bbPress sees, and it is the FIRST reason people decide they dislike bbPress. These icons are necessary for the readers’ eyes, and everyone knows it. For the love of god, fix this so I and everyone else will want to choose bbPress upon first look over other forum software.
Finally, I choose bbPress and BuddyPress due to their integration of features with WordPress. It’s why I tell everyone to use BuddyPress if it helps their community, and why I tell everyone that they SHOULD use bbPress with WordPress instead of third-party forums. However, few people do use either system, and I have a really hard time developing with both due to a lack of reset styles, a lack of testing data, and a lack of the visual functionality in bbPress that other forums have. Please fix this stuff. If not for me, then for the sake of not discouraging tens of thousands of potential users like you probably already do.
I love BuddyPress and bbPress. Please make it easier for me to develop sites with them. Thank you.