Search Results for 'buddypress'
-
AuthorSearch Results
-
March 22, 2015 at 10:33 am #236373
In reply to: When i upload image to buddypress
aymanomar85
Participantyes i used BuddyPress Cover
March 22, 2015 at 2:18 am #236370In reply to: [Resolved] BP Reinstall Messing with Multisite
@mercime
Participant@lehn6 For clarity, let’s go over some points you made above.
>> I have a multisite network set up and had Buddypress installed on http://www.example.com/subsite1, as in that subsite was where the BP install was placed
So do you have something like this in your wp-config.php:
define ( 'BP_ROOT_BLOG', $blog_id );where$blog_idis a the ID number of your subsite>> UserPro plugin was added and network activated, then subsite1 was improperly deleted
Do you mean subsite1 was deleted by you or developer? How was it deleted? Do you have a database backup of your site before subsite1 was deleted?
>> looking to install BP to the main site and network activate. When I go to do that I find that as soon as I network activate BP the network admin dash and the main site dash are basically the same, where it says I am in the main site dash but none of the pages or posts are displayed.
How are the network admin dashboard and main site dashboard the same? Do you mean you have no access anymore to the Network Admin menus? https://codex.wordpress.org/File:dashboard.png vs https://codex.wordpress.org/File:superadmin-options.png Can you post a screenshot?
March 22, 2015 at 12:36 am #236368danbp
ParticipantCreate first a bp-custom.php file and add it to the plugins directory.
Than add these snippet, which let you handle activities which may not be commented.
function browserco_activity_nocomment( $can_comment = true, $type = '' ) { if ( empty( $can_comment ) ) { return $can_comment; } // list of activities which can't be commented $cant_comment_types = array( 'new_forum_topic' => 1, 'new_forum_post' => 1, ); return ! isset( $cant_comment_types[ $type ] ); } add_filter( 'bp_activity_can_comment', 'browserco_activity_nocomment', 10, 2 );Some BP activity types
activity_comment
activity_update
last_activity
friendship_created
joined_group
new_blog_post
new_avatar
updated_profileNote that some plugins add their own activity types. To get activity type names, go to the DB and check the “type” column in _bp_activity table.
March 22, 2015 at 12:07 am #236366In reply to: Remove activity comments as separate entries
danbp
ParticipantPlease don’t double post. Closing this topic. The discussion continue on the first topic:
https://buddypress.org/support/topic/i-am-trying-to-remove-activity-comments-as-separate-entries/March 21, 2015 at 11:49 pm #236364danbp
ParticipantMarch 21, 2015 at 10:47 pm #236363In reply to: I just can't get registration to work
@mercime
Participantthen added that to the buddypress pages
@seph
Make sure that you didn’t add the Register link under any of the main BP component pages (e.g. Members, Groups, Blogs, Activity) in the menu links.
Make sure that you didn’t add any text in your “Register” page so that BP can automagically add the Registration Form and the first group of the Profile fields in thepage.
Make sure that you’re not logged in when you go to the Register page.March 21, 2015 at 8:45 pm #236355usba
ParticipantI was having the same issue. When I set up my menu, I saw a section on the left that had a BuddyPress tab below the Page tab. Turns out the BuddyPress options map to the user that was logged in. I don’t think all themes show this because I have a test environment that does not show the BuddyPress tab. Check your url and make sure that you are going to domainname/groups/ (or whatever your page name is for the groups). My site was going to domainname/members/username/ when I clicked the Groups link in the menu.
March 21, 2015 at 8:42 pm #236354Mickey
ParticipantStatus of groups is all public, in fact i have no private groups at all, public (2) private (0) Hidden (0) when I go to groups menu.
These are my active plugins:
Adminimize
AG Custom Admin
Agreeable
Better Search Replace
BP Login Redirect
BP Profile Search
Buddypress – Who clicked at my Profile?
BuddyPress Cover Photo
BuddyPress Members only
BuddyPress Real Names
Custom Login URL
Email Login
K Elements
MAYO – Login Screen
Revolution Slider
rtMedia for WordPress, BuddyPress and bbPress
TM Replace Howdy
WPBakery Visual Composer
WPi Custom Logout
Go Daddy Quick SetupMarch 21, 2015 at 8:11 pm #236350In reply to: Help for BuddyPress Site to Change the World
planetearthlings
ParticipantHi @mcpeanut…really appreciate your reply and ideas. I’ll check the recommended plugins tomorrow, but we might not be able to get going until we find an Buddy Press expert to assist.
I want to be clear our plan is to use BuddyPress as a networking platform or the continuing development process for the project, but not for the actual creating of the Virtual World. That will be a separate “software” created in Unity and published as a HTML5 site and as apps for different operating systems (Android, iOS, Windows, etc.)
At the moment we really need some assistance with the look of the site (design, typography, etc.) and the kind of work you’ve suggested integrating various plugins especially for galleries (both image and video) and other functionality.
Do let me know if you have any other ideas.
Cheers
GregMarch 21, 2015 at 8:08 pm #236348Mickey
ParticipantI have the following active at the moment:
Adminimize
AG Custom Admin
Agreeable
Better Search Replace
BP Login Redirect
BP Profile Search
Buddypress – Who clicked at my Profile?
BuddyPress Cover Photo
BuddyPress Members only
BuddyPress Real Names
Custom Login URL
Email Login
K Elements
MAYO – Login Screen
Revolution Slider
rtMedia for WordPress, BuddyPress and bbPress
TM Replace Howdy
WPBakery Visual Composer
WPi Custom Logout
Go Daddy Quick SetupNone of them seem to deal with friend requests.
March 21, 2015 at 6:58 pm #236341In reply to: Displaying Shortcode content on Profile
danbp
Participanthi @rezon8dev
see if this topic can help you:
https://buddypress.org/support/topic/find-the-new-field_-nameid-in-the-database/March 21, 2015 at 6:55 pm #236340danbp
ParticipantNo, that’s not a BuddyPress standard behave. Frienships are made by request, and not automatically for each new registered user.
If you don’t give the list of used plugins, nobody will help you to resolve the “perhaps”.
March 21, 2015 at 6:45 pm #236337danbp
ParticipantYou’re welcome. 😉
FYI, reading the codex and this forum is a good way to learn.
And if you like BP, don’t forget the 2015 Survey. 😉
March 21, 2015 at 6:39 pm #236332danbp
ParticipantCurrently when someone registers they have automatic friend requests in Friends-Requests space, from everyone already registered.
Never seen this in BuddyPress. Do you use some friendship or social plugins ? What is your theme?
March 21, 2015 at 6:33 pm #236330danbp
ParticipantIt’s unclear: do you have public or private groups ?
– Groups set for public viewing not showing up.
– There are groups on the site which are set for private viewing.Privacy settings are different for these types of groups.
March 21, 2015 at 6:17 pm #236328danbp
Participanthi @minglonaire,
Your question is related to bbPress, but the answer is no. CSS is not made for that.
To change the words, you can use the language file or try this code, found on bbPress forum.Read the whole topic first, as they’re some points which are important to take in consideration.
March 21, 2015 at 6:00 pm #236327In reply to: Help for BuddyPress Site to Change the World
mcpeanut
ParticipantHey @planetearthlings very good idea, i like it! I wish you guys the best with this project as it seems very ambitious, in regards to what you want to achieve i would look into plugins available such as buddypress gifts 2014 and mycred and maybe combining them together for the awards system you mentioned, maybe you could even have the plugins customized specifically for what you need.
I am unsure how and what you intend to do about integrating a game and app system into use with buddypress, this seems like it could be a massive task to achieve and will no doubt give you a few headaches to overcome, i have sat back in the past and thought about how great it would be to have games and apps integrate with buddypress the way they do on other social networks such as fb.
Like i said i wish you all the best in this project and im sure others can give you a few bits of input and ideas.
March 21, 2015 at 5:32 pm #236324In reply to: Bussdypress title and SEO Yoast problem
djsteveb
ParticipantI wish I could… but things are really screwey right now from what I can tell. If you read the 6107 linked info you would see that there are essentially three different code bases / thingys going on right now that are all producing different title results – see this spreadhseet: https://docs.google.com/spreadsheets/d/1ww95Q184EAHG0ztI9MtkdjpA2pALnMY0L-R7FA6QqGc/edit?pli=1#gid=0
I had some code cobbled together to make everything “work” as I needed to fix most of the buddypress titles – but that was with buddypress 2.1.1 and Yoast 1.7.2 – now it seems that updating to 2.2 and 174 my custom cobbled code gets broken..
so now I have an updated site, and updated plugin from yaost.. but if I activate the yaost plugin it overrides my custom page title and meta description settings (from the code I have added in mu-plugins folder) – for now I have disabled yaost, which has brought back my custom code to add titles and descriptions to many bp pages! But now that yoast is turned off, I have lost the custom titles and descriptions for the main pages of the web site – meh.
Ash and Vladislav from premium.wpmudev.org came up with this code to wrap to fix my issues as it were before the latest yoast updates:
(hmm.. I tried posting the code, and I get “Error your reply cannot be created at this time” – stupid bp.org – I think the word seks is offensive along with alt seks lifestyles here – anyway – you can probably see the code without being a member / loggin in here anyways:
http://premium.wpmudev.org/forums/topic/bp-meta-tite-description-for-groups-and-members-pages#post-806736Some of that is hard coded instead of how it could be done (there is stuff in the codex about another method of calling “field’ => ‘age’, ‘user_id’ => $user_id))” stuff…. and there is not php tag at opening to make it plugin..
March 21, 2015 at 3:20 pm #236318Morka
ParticipantSomeone at the @customizR theme support find the trick to resolve my issue, so, i’d only had to put this snippet-code :
add_filter(‘tc_show_comments’, ‘disable_comments_buddypress_pages’);
function disable_comments_buddypress_pages( $bool ){
if ( is_page() && is_buddypress() )
return false;
return $bool;
}At my child-theme function.php;
This code will disable the comments on each buddypress pages, so, take care if you want to allow users to comment some buddypress pages this code won’t work for you 🙂
Thx for the help you tried to give to me !
March 21, 2015 at 12:41 pm #236314vinay24k
ParticipantI am using Latest version of Buddypress and WordPress. Also Default Buddypress theme.
March 21, 2015 at 12:21 am #236303In reply to: No Site Name in Buddypress Pages
djsteveb
ParticipantMaybe the info in another forum post here: https://buddypress.org/support/topic/bussdypress-title-and-seo-yoast-problem/#post-236244 will shed SOME light on the issue.
March 21, 2015 at 12:18 am #236302In reply to: wp multisite and buddypress plugin
djsteveb
Participantwhen I create another social network
How are you creating another social network? I’ve not seen this myself – I run a wp-ms with buddypress.. it is one social network, in which each user can create new blogs (which the system calls creating a new “site” (which is stupid imho)) – but not seen an option to create new social networks.. so I am confused what you mean.
March 21, 2015 at 12:15 am #236301In reply to: Bussdypress title and SEO Yoast problem
djsteveb
ParticipantI’ve run into the same problem and asked for ideas around here and seen others that have posted about it in the yoast forums a few times – don’t know why yoast does not get into the bp pages thing. I got some help from the wpmu-dev guys that cobbled together some code that creates page titles and meta descriptions for members and groups pages – which is awesome!
Does not fix the member/username/messages and similar sub-sub pages (but I block those with robots.txt wildcard matching anyhow)
Would like to see buddypress pages added to some kind of taxonmie thing that yaost would auto pickup.. and love to see the options for setting templates within buddypress itself, so as to not rely on yaost for some this, and custom mu=plugins hack to fix other parts of it… google’s webmaster tools alerts missing info on many pages of an active bp site, and has for a long time.
March 20, 2015 at 10:51 pm #236297danbp
Participanthi @5high,
as @hnla mentionned it, CSS is not the correct way to ‘remove’ something, because it’s not removed from source code, but only hidden to visitors.
Here is a solution to remove what’s new form from the activity page, but let it live for groups.
1) copy bp-templates/bp-legacy/buddypress/activity/index.php
to the child-theme, to get /child-theme/buddypress/activity/index.php2) open the copied file and remove line 7 to 11
<?php if ( is_user_logged_in() ) : ?> <?php bp_get_template_part( 'activity/post-form' ); ?> <?php endif; ?>To remove the form from members single activities
3) copy bp-templates/bp-legacy/buddypress/members/single/activity.php,
to the child-theme, to get /child-theme/buddypress/members/single/activity.php4) remove only line 35
bp_get_template_part( 'activity/post-form' );Hope this help.
March 20, 2015 at 5:58 pm #236290aljo1985
ParticipantOkay so I realised that it would only send the activity to stream when you have the email option checked. I also noticed that upon doing that you post 2 pieces of information into the database that are exactly the same.. Well they are not structured the same but the information holds the same data.
This is inside bp_groups_groupmeta and bp_activity
So I have optimized my code to remove duplicate data, well just removed it from posting into groupsmeta really, as it doesn’t need to be in there… Maybe you can optimize your code to post the action in activity only and read from there, rather than have it posted in both. The system is great, don’t get me wrong I am just making suggestions.So I have removed one of your functions on remove action and copied it into my own function with edits to that function. I have added 2 extra fields, drop down boxs to be exact.
Here is my code with a lot of comments as I was trying out many different things, then decided I don’t want it to do that lol. EDIT
<?php // Add custom group fields. // Removed the default add activity stream. file /public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php for reference. remove_action( 'groups_details_updated', 'bp_groups_group_details_updated_add_activity' ); // On group update. add_action( 'groups_details_updated', 'group_details_update', 10, 3 ); // Updated group details. // Updated group details. function group_details_update( $group_id, $old_group, $notify_members ) { global $bp, $wpdb; // Custom fields. $plain_fields = array( 'server', 'country' //'activity' ); foreach( $plain_fields as $field ) { $key = 'group-' . $field; $metakey = 'h1z1_' . $field; if ( isset( $_POST[$key] ) ) { $value = $_POST[$key]; // Do they want the update notification posted on their activity stream? /*if ($value == '1') $post_activity = true; */ //Make sure they selected an item from the required dropdown boxs. if ($value == 'null') return bp_core_add_message( __( 'There was an error updating group details. Please try again.', 'buddypress' ), 'error' ); else { // changed1 is empty by default, not declared. If empty, get groupmeta. if (empty($changed)) $changed = groups_get_groupmeta( $group_id, $metakey ); //if groupmeta(old value) == posted value changed is empty again, so we can check the next custom field to see if that also has the same old value. if ($changed == $value) $changed = ''; else groups_update_groupmeta( $group_id, $metakey, $value ); } } } // Optional removed checkbox for now.. Might use later /*if ($post_activity == false) return false; */ // Taken from /public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php // We removed the email notification check so that it will post an activity stream regardless. // Bail if Activity is not active. if ( ! bp_is_active( 'activity' ) ) return false; if ( ! isset( $old_group->name ) || ! isset( $old_group->description ) ) return false; // If the admin has opted not to notify members, don't post an activity item either // Removed, I want updated posted if it sends and email or not. /*if ( empty( $notify_members ) ) { return; }*/ $group = groups_get_group( array( 'group_id' => $group_id, ) ); /* * Store the changed data, which will be used to generate the activity * action. Since we haven't yet created the activity item, we store the * old group data in groupmeta, keyed by the timestamp that we'll put * on the activity item. */ if ( $group->name !== $old_group->name || $group->description !== $old_group->description ) $changed = 'changed'; // If there are no changes, don't post an activity item. if ( empty( $changed ) ) return; $time = bp_core_current_time(); // Don't want a long description of what has been changed inside the details. Also reduces information posted in groupmeta table. //groups_update_groupmeta( $group_id, 'updated_details_' . $time, $changed ); // And finally, update groups last activity.. Currently doesn't in standard. groups_update_groupmeta( $group_id, 'last_activity', $time ); // Since we have removed the information from meta, we will record it directly into action on activity.. // You do not need the same information recorded twice in the database. This needs optimizing. Hence removing update groupmeta.. /* $user_link = bp_core_get_userlink( bp_loggedin_user_id() ); $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; $action = sprintf( __( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) ); */ // Record in activity streams. return groups_record_activity( array( 'type' => 'group_details_updated', 'item_id' => $group_id, 'user_id' => bp_loggedin_user_id(), 'recorded_time' => $time, ) ); }If there is bugs in any code, I will find them and fix them.. That’s one of the downsides to being a perfectionist..
I have not fixed the
A few bugs I have found.
From the first post yet, but will be doing after I have had my dinner 🙂
My idea is to have a notification saying that the user has left the group when they leave/kicked/banned/ obviously if its after the 5 minutes mark lol. -
AuthorSearch Results