Search Results for 'buddypress'
-
AuthorSearch Results
-
August 27, 2014 at 3:20 pm #188567
danbp
ParticipantFYI – bp 1.2: https://buddypress.trac.wordpress.org/ticket/1909
Also some other tickets about private content and visibility:
https://buddypress.trac.wordpress.org/search?q=private+activitiesthe last activity of the member you’re asking was 1 year, 11 mounth ago.
and BuddyPress is now on 2.0 cycle.Post is now closed.
August 27, 2014 at 3:14 pm #188564In reply to: Buddypress integration – issue deleting jobs
danbp
ParticipantAs mentionned on the plugin support, a discussion about this problem startd also on this ofrum.
But be aware that you’re here on a BuddyPress support forum, so don’t expect an integration of the plugin from here. Only the plugin author could do this, and you have to ask him if he want to do this. (even if he isn’t very confident with BP).
So we can only give you here some raw hints and workarounds.
I’m closing this post and invite anybody interrested to continue the discussion on this topic.
August 27, 2014 at 3:03 pm #188563In reply to: Hide Admin from Members and Activity
danbp
Participanthi @canadadre,
already asked and answered many times.
https://buddypress.org/support/search/Hide+Admin/And the most recent answer with a partial solution is here:
https://buddypress.org/support/topic/overwrite-whos-online-widget-theme/Partial means you have to complete the work, by using the same method, as the given example concern only one core widget, and not the 2 other (the 4th is the registration widget).
August 27, 2014 at 2:41 pm #188558In reply to: [Resolved] Add a button to all topics
danbp
ParticipantBuddyPress works together with the bbPress plugin when you use a forum.
If you want to add an extra button or a link or whatever, you simply check for the hook you want to use in one of the bbPress template files (bbpress/templates/default/bbpress/…) and attach a custom function to it.
As example of use, this snippet will add some text above the topic editor. You add it into your child theme functions.php or into bp-custom.php
function my_test_insert() { echo '<strong>My awesome <a href="#">link</a> to third party app</strong>'; } add_action( 'bbp_template_notices', 'my_test_insert' );If you don’t understand what’s going on on this topic, here’s a brief tutorial about hooks and filters.
August 27, 2014 at 2:14 pm #188555In reply to: [Resolved] Create users Pages
Henry Wright
ModeratorHi @bloodslayer
wp_insert_post()is a function provided by WordPress which lets developers add pages to the database without the need to access the WP admin area.So, as an example, you could use it like this:
$post = array( 'post_content' => 'This is some content', 'post_name' => 'this-is-the-page-slug', 'post_title' => 'I am the title of this page', 'post_status' => 'publish', 'post_type' => 'page', 'post_excerpt' => 'This is the excerpt' ); $post_id = wp_insert_post( $post );Notes:
$post_idwill be the ID of the new page or ifwp_insert_post()failed (for whatever reason) it will be 0.So that’s how you create a new page programmatically. It’s more of a WordPress thing than a BuddyPress thing.
August 27, 2014 at 1:25 pm #188554In reply to: [Resolved] Profile view links !!?
shanebp
ModeratorIn bp-custom.php, paste this:
remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );August 27, 2014 at 10:02 am #188548namrons
ParticipantThanks for getting back to me @danbp. I’m using the theme “SocialBuddy” mostly but I have tested this on different themes/versions of Buddypress/versions of WordPress as well as different servers – dedicated and shared and the result is the same everywhere so it appears to be a bug.
I would be curious to know if you could replicate this:
1) Inside a PRIVATE group add a status update and then comment on this update. (or add a few comments). All good so far.
2) Now go to “My Groups” feed and you will see your status update as well as the comments. Try comment on any of the comments and see if they post correctly.For me these comments only show up once I have refreshed the page.
August 27, 2014 at 7:47 am #188543danbp
Participantcan you provide the theme name please ?
Private groups activities is not public, until YOU are logged in. As a member of a private group you see those activities.If it is not displaying correctly, maybe try to activate 2013 or 2014 theme. Could also be a cookie issue: when you see “my groups” you are on your profile. It is not the same loop as for the group activity, at first. Reviewing your blog settings maybe usefull too. Or seeking for JS errors on the one or other page ?
Another thing to consider is explained here:
https://buddypress.org/support/topic/blog-comments-not-appearing-in-activity-stream/August 26, 2014 at 10:25 pm #188541In reply to: [Resolved] Add a button to all topics
danbp
Participantclick click click ! But what should this button do ? Usually, a topic relates to a forum, and a BuddyPress forum is the bbPres plugin.
Give better details, please ! 😉
August 26, 2014 at 10:17 pm #188539danbp
Participantyou jumped in a post started over 4 years ago ! Do you really expect to reuse a snippet given over 3 years back, without having any issue ?
Big changes came up between BP 1.0 and 2.0.2. The most change is that Notification is now a component and not a simple functionnality.
Please open a new topic or give a try to
BuddyPress Notification Manager. A bit old too, but it is already working with current BP.August 26, 2014 at 10:05 pm #188538In reply to: not recently active
danbp
ParticipantIn addition to @hnla & @henrywright, you also used a wrong function name !
Original name is
function bp_core_get_last_activityCustom name is
function bea107_core_get_last_activity.
This is the function you should use.Re-read the codex about function.php and specially the last lines marked It’s important to note
August 26, 2014 at 6:10 pm #188526In reply to: where to translate these words in memberpage
danbp
Participantbuddypress/bp-languages/buddypress.pot
Don’t use DW to read, modify or save a translation. Use a text editor (not word) like notepad or notepad++The NL translation is on Glotpress and the translation you need to put on your server is buddypress-nl_NL.mo
This is a compiled file used by gettext. You cannot read or modify it. If you want to do so, see poEdit.
https://translate.wordpress.org/projects/buddypress/dev/nl/defaultYou can find many other related topics if you search a little on the forum.
August 26, 2014 at 5:47 pm #188521danbp
ParticipantHave you also activated some BP components, and assigned a page to register and activation ?
Dashboard > settings > buddypress, tab “pages”.
August 26, 2014 at 3:09 pm #188511namrons
Participant@hk12onos Did you ever manage to fix this? I know it’s an old post but I have the identical issue when commenting on updates of a private group. I’ve tried it on various themes/versions of WordPress/versions of Buddypress and I get the same result.
August 26, 2014 at 11:44 am #188500In reply to: [Resolved] Nobody visibility
danbp
Participantoh crossposting ! haven’t seen henry’s answer.
nobody visibility doesn’t exist. This setting is called “only me“. This means that only the member can see this field – and the site admins. Such fields are not for site admins, but for the members !
I don’t really understand what is not working for you, as what you’re looking for doesn’t exist in BuddyPress. Sorry if i’m misunderstanding you.
When you create such a field visibility, you should also set “Enforce the default visibility for all members“, so the member cannot modify it later on his profile settings.
Little weird side effect, when a “only me” field is used and member A wrote hello, this word becames clickabke, by default. When member B write also hello, it becames also clickable. And if A or B clcik on Hello, it shows a list of all members who wrote the same word. In this case A and B !
Not really confidential, isn’t it ? The solution is to remove the clickable link.
Here’s a snippet which let you do that selectively.function my_xprofile_filter_link_profile_data( $field_value, $field_type = 'textbox' ) { // Access the field you are going to display value. global $field; // In this array you write the ids of the fields you want to hide the link. $excluded_field_ids = array(2,9,54); // field ID separated by comma // If the id of this $field is in the array, we return the value only and not the link. if (in_array($field->id, $excluded_field_ids)) return $field_value; if ( 'datebox' == $field_type ) return $field_value; if ( !strpos( $field_value, ',' ) && ( count( explode( ' ', $field_value ) ) > 5 ) ) return $field_value; $values = explode( ',', $field_value ); if ( !empty( $values ) ) { foreach ( (array) $values as $value ) { $value = trim( $value ); // If the value is a URL, skip it and just make it clickable. if ( preg_match( '@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', $value ) ) { $new_values[] = make_clickable( $value ); // Is not clickable } else { // More than 5 spaces if ( count( explode( ' ', $value ) ) > 5 ) { $new_values[] = $value; // Less than 5 spaces } else { $search_url = add_query_arg( array( 's' => urlencode( $value ) ), bp_get_members_directory_permalink() ); $new_values[] = '<a href="' . $search_url . '" rel="nofollow">' . $value . '</a>'; } } } $values = implode( ', ', $new_values ); } return $values; } /** * We remove the buddypress filter and add our custom filter. */ function remove_xprofile_links() { // Remove the old filter. remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); // Add your custom filter. add_filter( 'bp_get_the_profile_field_value', 'my_xprofile_filter_link_profile_data', 9, 2); } add_action('bp_setup_globals', 'remove_xprofile_links');August 26, 2014 at 11:12 am #188499In reply to: [Resolved] Nobody visibility
Henry Wright
ModeratorI think the field visibility settings are applicable to the member who is performing the setting.
The suggested way to do what you want would be to make your notes profile field hidden to all non-admin members.
The first step would be to create /wp-content/themes/your-theme/buddypress/members/single/profile/edit.php inside your theme.
You can copy the contents of edit.php from:
bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
Then you need to modify edit.php. In edit.php, find
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>and add the following immediately after it:if ( ! current_user_can( 'manage_options' ) && ( bp_get_the_profile_field_name() === 'notes' ) ) continue;Note: I’m assuming your field name is notes
August 25, 2014 at 9:22 pm #188472danbp
ParticipantHi @doremdou
BP group activities notifier perhaps ?There is also Buddypress Notification Manager which make this for groups
- A member invites you to join a group
- Group information is updated
- You are promoted to a group administrator or moderator
- A member requests to join a private group for which you are an admin
it does not send notifications when SOMEONE JOINS the group and I need it
You need it ? Well, but that isn’t enough !
Who should receive the notif ?Both are old, and the 2nd is still working with 2.0.2.
August 25, 2014 at 8:56 pm #188470danbp
ParticipantYou asked how to fix %20 issue.
The BP response to that is: // Use urlencode() rather than rawurlencode().
I you hav suche %20 in some url’s, you have to find what is genrate it. Or go into the DB and remove the spaces manually. This means searching all %20 occurence.if anyone knows how to fix the url spaces in the name, like what BuddyPress does, that would be amazing
Does this means that you use something, but not BP, who create such space mark ? A custom theme perhaps, or a plugin ?
Theme name and plugin list, please ! 😉
August 25, 2014 at 8:33 pm #188467In reply to: most active users
danbp
Participantbuddypress doesn’t handle the blog(s), it only show them à la BP.
BP comes up with some witget and you can activate them from the widget dashboard. The most relevant, even if he doesn’t exclusively handle author’s post, is Recently active members, who let you choose from 3 different filters: active, recent, popular.You can also search on the WP plugin repo if a more accurate plugin exist
August 25, 2014 at 8:27 pm #188466In reply to: [Resolved] Group Edit Dashboard broken
danbp
ParticipantHi @seeingblues2,
Check also the permalinks and give details about your theme or better give an url so somebody can go to see what happens.
August 25, 2014 at 8:22 pm #188464In reply to: Registration and Activation pages missing
danbp
Participantyou reply on a topic started over 2 years ago…Please open a new topic and give some details about your config.
check your install first and consider also what is written here:
https://buddypress.org/support/topic/when-asking-for-support-2/August 25, 2014 at 4:41 pm #188456metasynchronic
ParticipantOk, I understand what you are trying to say. I was just trying to avoid any potential conflicts before transferring the site, and hoping that if anyone knew in advance whether the auto-installed issue would transfer with the migrated site (meaning that it would be a pain in the tuchus to install BuddyPress) or if I would be fine – just because I’ve never worked with with BuddyPress or GoDaddy – separately OR together – and want to plan my time accordingly in advance. If it’s not a known quantity, then I’ll just do the transfer and see what happens, and then if I have issues I’ll return.
August 25, 2014 at 3:59 pm #188451In reply to: Members Page search box missing
@mercime
Participant@mjc82in I think you still need to install https://wordpress.org/plugins/genesis-connect-for-buddypress/ for theme compatibility.
August 25, 2014 at 3:55 pm #188450In reply to: Repair Pages
@mercime
Participant@christernet Assign the new Register and Activate pages in Settings > BuddyPress > Page as noted in https://codex.buddypress.org/getting-started/register-and-activation-pages/ ? If you already did, deactivate other plugins except BP and/or change to one of WP default themes to check what’s causing the issue.
August 25, 2014 at 3:34 pm #188447In reply to: "customize" groups creation
shanebp
ModeratorTake a look at this hook
do_action( 'groups_created_group', $group->id, $group );in buddypress\bp-groups\bp-groups-functions.php ~L. 161
Use that hook to connect to a function that changes the submitted name.
-
AuthorSearch Results