-
shanebp replied to the topic New to this, need some help please! in the forum How-to & Troubleshooting 10 years, 8 months ago
Have you activated groups via the checkbox on this screen?
/wp-admin/options-general.php?page=bp-componentsHave you assigned a page to Groups via this screen?
/wp-admin/admin.php?page=bp-page-settingsThe same and more info:
-
shanebp replied to the topic Warning: Missing argument 2 for bp_modify_page_title() in the forum How-to & Troubleshooting 10 years, 8 months ago
@henrywright – ‘Close, but you’re way off’. -homer simpson
Problematic:
bp_modify_page_title( $argument1, $argument2 )
Valid:
bp_modify_page_title( $argument1, $argument2, $argument3 )
Specific:
bp_modify_page_title( $title, $sep, $seplocation )
@mib314 – your best bet is to file a ticket with the creators of your theme.
They’re probably…[Read more] -
shanebp replied to the topic [Resolved] Only friends/you in activity feed…has solution been found? in the forum How-to & Troubleshooting 10 years, 8 months ago
It is simple, if you use the correct parameter, anyway…
Create a template overload of this file:
bp-templatesbp-legacybuddypressactivityactivity-loop.phpThen change this:
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
To this:
<?php
[Read more]
$friends = friends_get_friend_user_ids( bp_loggedin_user_id() );
$friends[] =… -
shanebp replied to the topic [Resolved] Only friends/you in activity feed…has solution been found? in the forum How-to & Troubleshooting 10 years, 8 months ago
That should be a simple task using the ‘include’ parameter in the activity loop.
But I just tried it and couldn’t get it to work.
Perhaps I did something dumb, but I opened a ticket:
https://buddypress.trac.wordpress.org/ticket/5449 -
shanebp replied to the topic Performance issues with the wp_bp_activities table in the forum Creating & Extending 10 years, 8 months ago
The link to your gist:
https://gist.github.com/vidluther/9370018You’ll probably get a better response by opening a ticket at:
https://buddypress.trac.wordpress.org/ -
shanebp replied to the topic Group Adm Avatars in the forum How-to & Troubleshooting 10 years, 8 months ago
As you can see, the avatars are added by function bp_group_list_admins
in this file:
buddypressbp-templatesbp-legacybuddypressgroupssinglegroup-header.phpUnfortunately, that function has no filters.
So you’ll need to create a template over-ride of group_header.php in your theme.
Then replace bp_group_list_admins() with a custom function that…[Read more] -
shanebp replied to the topic [Resolved] How to Display Group Creation Date? in the forum How-to & Troubleshooting 10 years, 9 months ago
If you’re on a group page use:
bp_group_date_created()See buddypressbp-groupsbp-groups-template.php for the particulars re that function.
-
shanebp replied to the topic adding shortcodes to members header from a different plugin in the forum How-to & Troubleshooting 10 years, 9 months ago
In your theme, create an over-ride this file:
buddypressbp-templatesbp-legacybuddypressmemberssinglemember-header.phpRead this re over-riding files:
Add your shortcodes by…[Read more]
-
shanebp replied to the topic buddypress group with object cache in the forum How-to & Troubleshooting 10 years, 9 months ago
W3 total cache is very powerful but you need to take the time to learn it.
There are lots of sites that provide info on how to tune W3 total cache for your particular needs. Google it.
-
shanebp replied to the topic buddypress group with object cache in the forum How-to & Troubleshooting 10 years, 9 months ago
Did you ask buddyboss support about your issue?
Are you using a caching plugin like
https://wordpress.org/plugins/w3-total-cache/You cannot cache everything or you will get stale pages or sections of pages.
Using a plugin like w3 total cache, you can control what is cached.
-
shanebp replied to the topic Including avatar url into Postgres sql query in the forum How-to & Troubleshooting 10 years, 9 months ago
bp_loggedin_user_avatar will echo the url
bp_get_loggedin_user_avatar will return the url
See buddypressbp-membersbp-members-template.php
-
shanebp replied to the topic How do I create a child theme? Want to customize buddypress; forums, profle page in the forum How-to & Troubleshooting 10 years, 9 months ago
> I don’t know what to put on the “Template:” line.
You put the name of the parent theme there, I guess something about Weaver.
The link that hnla provided includes a link to
https://codex.wordpress.org/Child_ThemesIt’s a lot to take in at first – but you really need to _read_ the docs.
-
shanebp replied to the topic Activity Stream – Remove specific activities in the forum How-to & Troubleshooting 10 years, 9 months ago
You can put this function in your theme functions.php or bp-custom.php
It will prevent the creation of activity entries for the items in $exclude
It will only do that going forward – it won’t remove existing entries.You need to find out what the activity type(s) is for achievements and add it to the exclude array.
function…
[Read more] -
shanebp replied to the topic Mirroring forum posts in the forum Creating & Extending 10 years, 9 months ago
Have you asked this on the bbpress forums?
https://bbpress.org/forums/ -
shanebp replied to the topic Custom profile properties in the forum How-to & Troubleshooting 10 years, 9 months ago
Sorry, I forgot to consider the save functions.
Interesting problem.
There are a lot of action / filter hooks in bp-xprofile-classes.
You should be able to add the name field to the $_POST before it starts processing, so that you don’t need an input.
Or overwrite the ‘old’ name into that field value so that the new value isn’t saved, although…[Read more] -
shanebp replied to the topic Join Group in the forum How-to & Troubleshooting 10 years, 9 months ago
Take a look at this file:
buddypressbp-templatesbp-legacybuddypress-functions.php~Line 110 there are 2 add_action calls to create a join-group button – ‘bp_group_join_button’.
You need to write a function that checks if the user is a member of any group.
If they are, do 2 remove_action calls so that the button is not created.
Except, of…[Read more] -
shanebp replied to the topic Custom profile properties in the forum How-to & Troubleshooting 10 years, 9 months ago
Copy it to your theme or child-theme
See ‘Overloading Template Compatibility theme files’ here:
-
shanebp replied to the topic Custom profile properties in the forum How-to & Troubleshooting 10 years, 9 months ago
The easiest path is just to add a conditional to an override of this template:
buddypressbp-templatesbp-legacybuddypressmemberssingleprofileedit.phpThe name field is, I believe, always:
input type="text" name="field_1" id="field_1"
So in the template, change this:
if ( 'textbox' == bp_get_the_profile_field_type() )
to:
if ( 'textbox' ==…
[Read more] -
shanebp replied to the topic Member Directory – how to remove 'Add Friend', 'Cancel Friendship' buttons? in the forum How-to & Troubleshooting 10 years, 9 months ago
In your theme dir, create an over-ride of this file.
buddypressbp-templatesbp-legacybuddypressmembersmembers-loop.phpHow to over-ride a BP template
In the over-ride, remove this code:
<div class="action">
[Read more]
<?php do_action(… -
shanebp replied to the topic Member Directory – how to add spacing between User Profile fields? in the forum How-to & Troubleshooting 10 years, 9 months ago
bp_member_profile_data('field=TestA');
echo ' ';
bp_member_profile_data('field=TestB');
echo '<br>';
bp_member_profile_data('field=TestC'); - Load More
@shanebp
Active 18 hours, 35 minutes ago