Forum Replies Created
-
In reply to: Add Friend in post
What is for you the relation between a post owner and a friend ? Unclear….
Do you mean that only author’s friends can see the post author ?Your example page is blank.
In reply to: Login menu item shows WordPress loginWhat do you mean by custom login form ? How did you this form ? Do you use a child-thme ? What is your actual theme name ?
To get this option, you have to activate the xprofile component.
In reply to: [Resolved] Buddypress language folder missingbp-languages folder doesn’t exist in BP 2.x
If your WP use hungarian language, when you install BP, the BuddyPress translation comes automatically from translate-wordpress.org into wp-content/languages/plugins/, which contains also by default the askimet translation.
Also, php gettext use the compiled mo format to show a translation. The po file is only used to translate.
Much more about translation in this topic.
The activity tab cannot be removed actually, but you can hide it using CSS
display:none;.Read also this tread:
SWA shows all site activities.
All are reachable by the time stamp. Why should it be differently for post comments ?The read more sign[…] is used for excerpts. But is the excerpt an activity or only a way to not show long post, which IS the real activity (in this case) ?
In regard of the SWA logic, you acces to the post by timestamp, like you access to the other mentionned activities.
In reply to: Buddypress registration shortcodeYou’re welcome ! 😉
In reply to: Change Group Member SlugFYI BP_MEMBERS_SLUG is deprecated (read line 38)
and about the member slug in groups read here https://buddypress.trac.wordpress.org/ticket/6001Be warned that altering core files is not recommended and not best practice, as you will loose your changes at next BP update.
In reply to: Hiding stuff from the Activity streamRecently introduced function
bp_parse_argsallows since 2.0 to modify easely your templates. Faster and lighter than a plugin.As example, show only updates on the SWA (add snippet to bp-custom.php or child-theme functions.php)
function make_swa_show_notice_only( $retval ) { if ( bp_is_page( 'activity' ) ) { $retval['action'] = 'activity_update'; } return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );In reply to: Buddypress registration shortcodeI would like to do is add some content or notice on that same page.
There’re over 15 action hooks on the register template (bp-legacy/buddypress/members/register.php)
If your goal is to add a notice or even a video, a welcome message or some other stuff, you can use these hooks ! Without any plugin or template alteration.
Write a function containing your custom content and add it to the hook.
For example, a welcome message above the register form:
function aires_msg() { echo '<p>Hello World !</p>'; } add_action( 'bp_before_register_page', 'aires_msg' );When an account is deleted, all datas are retrieved from the DB. So it’s just impossible to send a mail to a unknown user !
In reply to: Default Member Tabssearch on event’s manager support.
Both snippets are working. If really not for you, double-check that bp-custom.php is correctly using open/close php tags and if your theme doesn’t use some custom rss functions.
To remove the All members button :
remove line 19 in buddypress/activity/index.php from within your child theme.<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li>and add
class='selected'to thelicontaining friends itemIf you remove the feeds display using the snippet, people won’t see anything even if they know the page url. And if this is not satisfying for you, you can write a rewrite rule to add to htaccess.
In reply to: Default Member TabsTab is called events, but you have to use the slug name, which could be different of the tab name. I don’t use that plugin, so can’t help you for this. Mouse-over the tab and see in bottom left corner of your browser what is the path. Probably something like locations or my-bookings…
And this is definetly working:
define('BP_DEFAULT_COMPONENT', 'slug' );Try this to remove ALL activity feeds
function bpfr_hide_rss_feeds() { remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' ); remove_action( 'bp_actions', 'bp_activity_action_personal_feed' ); remove_action( 'bp_actions', 'bp_activity_action_friends_feed' ); remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed' ); remove_action( 'bp_actions', 'bp_activity_action_mentions_feed' ); remove_action( 'bp_actions', 'bp_activity_action_favorites_feed' ); remove_action( 'groups_action_group_feed', 'groups_action_group_feed' ); } add_action('init', 'bpfr_hide_rss_feeds');This snippet will only show logged in users friends activities (on all activity pages of the site)
function bpfr_filtering_activity( $retval ) { $retval['scope'] = 'friends'; return $retval; } add_filter( 'bp_after_has_activities_parse_args', 'bpfr_filtering_activity' );Add to bp-custom.php or child-theme functions.php
More details about this on Codex
In reply to: [Resolved] Spotify activity streamYou have to read Spotify’s doc
on that page you’ll find also a demo link
http://open.spotify.com/track/2TpxZ7JUBn3uw46aR7qd6V
copy paste to SWA What’s New and see the resultIn reply to: Comment Posts not rec. in ActivityAre comments also allowed on a per post basis ?
Are comments free or must they be approved by admin befor appearing ?
Did you activated disallow search engines ? WP settings > general > readingActivate 2015.
Go to permalinks page and save the page (check by way if it is not on default)
Create some comments, and see if they appear on swa.In reply to: website and buddypressIn reply to: Changing "Add friend button" (ajax)In reply to: Problem repairing Activate & Register pagesSimilar issue was asked here
https://buddypress.org/support/topic/buddypress-settings-wont-save/See if it helps you.
In reply to: Problem repairing Activate & Register pagesPlease, don’t duplicate post.
Closing this one.
Conversation can be taken here
https://buddypress.org/support/topic/problem-repairing-activate-register-pages/In reply to: TRADUCTION, is not possiblepo/mo file name should be buddypress-xx_XX.po/mo
where xx_XX are respectively country(min) and language(maj) ISO code.if you’re using spanish (Spain) xx_XX is es_ES,
if you’re using spanish (Mexico) xx_XX is es_MX, and so on for all other hispanic speaking countries.If you don’t know your ISO code, read in this codex section about language and country code.
In reply to: Notifications of group activityIn reply to: Blogs made by membersI am just testing things and learning
Nice ! Continue and persevere, we’ve all beginned a day. Codex and forum are your friends.
I would like it for members of the site to be able to make there own sub blog which they can edit and add posts too etc. (Not a multisite)
Multisite means multiple blogs. If you haven’t setup a multisite, you can’t attribute sub-blogs to your members.
But you can allow them to publish on the existing blog. Change their role to author, and you’re done. To achieve this, best place to have good information is the WordPress Codex.