-
shanebp replied to the topic BP Profile Search – don't show members directory in the forum How-to & Troubleshooting 11 years, 10 months ago
In your-theme/members/index.php
find and delete this div:
div class="item-list-tabs" role="navigation"
And please don’t double post.
-
shanebp replied to the topic Buddypress wont display local avatars in the forum How-to & Troubleshooting 11 years, 10 months ago
Are the dir permissions and owner the same on both the test and live sites ?
In wp-admin/admin.php?page=bp-settings do you have this checked: “Allow registered members to upload avatars” ?
Have you tried […]
-
shanebp replied to the topic Buddypress wont display local avatars in the forum How-to & Troubleshooting 11 years, 10 months ago
Call you call an avatar directly in a browser ?
Something like:
http://amsofac.org.mx/wp-content/uploads/avatars/1/some-existing-avatar.jpg -
shanebp replied to the topic Hide Profile Group When Editing in the forum Creating & Extending 11 years, 10 months ago
re the php approach:
Do you know how to use apply_filters ?
If so, see this:
$tabs = apply_filters( 'xprofile_filter_profile_group_tabs', $tabs, $groups, $group_name );
in bp_profile_group_tabs() in […]
-
shanebp replied to the topic BP Profile Search – don't show members directory in the forum How-to & Troubleshooting 11 years, 10 months ago
Do you have a /members page?
Is that where you put the BP profile search shortcode?If yes and yes, then
> However the results give two columns
By columns, you mean tabs.
afaik, they are standard to […] -
shanebp replied to the topic Getting 310 error. Too many redirects. URGENT! in the forum Installing BuddyPress 11 years, 10 months ago
What does your htaccess file say ?
-
shanebp replied to the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
That would be a very handy improvement.
I assume / hope it would apply to all theme directory index files, like /groups/, /members/Let me know if I can help to test or try to break a patch.
-
shanebp replied to the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
Thx modemlooper, but I know all that and have used it before.
>then you use to display a page based on the slug
Hmmm, the whole point is not to load a new page but to use the same approach as
All Groups […] -
shanebp replied to the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
@modemlooper
Ok, tried using the Group Extension Api.
But it seems to only apply to single groups… ?
Which is what this does… https://gist.github.com/4531952Any suggestions on how to point a li tab […]
-
shanebp replied to the topic New filter request for bp_is_single_activity() in the forum Installing BuddyPress 11 years, 10 months ago
Did you try using the existing filter for the function that calls bp_is_single_activity() ?
bp-core-template.php ->
bp_get_the_body_class ->
return apply_filters( ‘bp_get_the_body_class’, $classes, […] -
shanebp replied to the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
Thx modemlooper.
I’ve used that api many times and it’s great.
Just being lazy. Funny how that often takes longer. -
shanebp replied to the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
So too dumb a question ?
Just wondering if there is an easy way than, for instance, using group extension api.
-
shanebp replied to the topic Calcuate Age on Member-loop.php? in the forum How-to & Troubleshooting 11 years, 10 months ago
You’re sure that $dob is being returned correctly ?
Then try this right in the loop:`
$dob = xprofile_get_field_data($birthdate, bp_get_member_user_id());
$birthdate = explode(” “, $dob);
[…] -
shanebp started the topic Add tab & screen function to Groups Directory in the forum Creating & Extending 11 years, 10 months ago
I see that tabs on the Groups Directory are created in bp-default/groups/index.php, so it’s easy to add a new tab as an li item.
But what is the easiest way to point that new tab to a screen function ? […]
-
shanebp replied to the topic BP 1.6.2 – activity update problem in the forum How-to & Troubleshooting 11 years, 10 months ago
Never mind – operator error during manual install – hurrah !
-
shanebp started the topic BP 1.6.2 – activity update problem in the forum How-to & Troubleshooting 11 years, 10 months ago
WP 3.5, BP 1.6.2, Default BP theme
This is a brand new install to .com/bp/
All attempts to ‘post update’ for members or groups activity result in this message.
“There was a problem posting your update, […]
-
shanebp replied to the topic [Resolved] Show Group Member List on Group Directory in the forum How-to & Troubleshooting 11 years, 10 months ago
Use:
$bio = xprofile_get_field_data( ‘field=Biography’, $member_id );
echo $bio; // may not need to echoGrab the $member_id from the members loop, maybe bp_get_member_user_id() ?
-
shanebpx updated the Group Members Loop page, on the BuddyPress Codex 11 years, 10 months ago
The group members loop can be used to display members that have joined a group. It can be used nested inside the bp_has_groups() loop, or on its own with a
group_id
parameter.
Standard LoopAccepted […]
-
shanebp replied to the topic [Resolved] Show Group Member List on Group Directory in the forum How-to & Troubleshooting 11 years, 10 months ago
Untested but try http://pastebin.com/BVTHyuEL
[
edit: too late, but same solution you came up with… congrats
It should work, from codex page, without the bp_get_group_id() call.
Made a note on that page.
] -
shanebp replied to the topic [Resolved] Show Group Member List on Group Directory in the forum How-to & Troubleshooting 11 years, 10 months ago
You don’t say where you tried to use bp_group_has_members().
In a function you probably need a global or two, at least global $bp;
Try hard coding a group_id into your bp_group_has_members() call.
If that […] - Load More
@shanebp
Active 11 hours, 16 minutes ago