-
Steve Taylor replied to the topic how is the autocomplete list for mentions compiled? in the forum Creating & Extending 6 years, 2 months ago
I’ve looked. I was looking for more information, and have searched to no avail. It’s not documented anywhere?
-
Steve Taylor started the topic how is the autocomplete list for mentions compiled? in the forum Creating & Extending 6 years, 2 months ago
I’m trying to work out the mentions functionality. I thought that in groups the autocomplete list was basically from other members of the group. This sometimes seems to be the case, but it’s erratic. Sometimes it’s different in activity comments compared to activity updates in the same group.
It’s so erratic that I can’t really provide steps to…[Read more]
-
Steve Taylor replied to the topic content not loading in custom Activity subnav item in the forum Creating & Extending 6 years, 2 months ago
That’s crazy. Why are there loads of code samples out there, very close variations on what I’ve got, with no mention of this need to stick code into the main activity template? I assume you mean members/single/activity.php – it’s the one being displayed despite me specifying members/single/plugins in the subnav screen function callback. I’ll work…[Read more]
-
Steve Taylor started the topic content not loading in custom Activity subnav item in the forum Creating & Extending 6 years, 3 months ago
I’m struggling to get some code working in a custom theme. Two points that may or may not be relevant: (1) it’s a child theme (parent is a ‘base’ we use for our projects), and (2) in the theme (child theme) we have all the BuddyPress templates (overriding the core templates).
I wondered if part of the problem was the code running in the theme. I…[Read more]
-
Steve Taylor replied to the topic user_id in code for custom members loop in the forum How-to & Troubleshooting 7 years, 3 months ago
This hack works, though not sure why it’s necessary. Just inside the loop:
global members_template;
if ( empty( $members_template->member->user_id ) ) :
$members_template->member->user_id = bp_get_member_user_id();
endif; -
Steve Taylor started the topic user_id in code for custom members loop in the forum How-to & Troubleshooting 7 years, 3 months ago
I’m creating a custom members loop to show a few active members. I pass query args to
bp_has_members()
, then include the usual members loop.Some member info is displayed correctly, e.g.
bp_group_member_link()
does show the member’s name, linked. But the link is missing. Also, the avatar isn’t showing.I’ve drilled down into the core functions…[Read more]
-
Steve Taylor replied to the topic are there potential issues with completely dequeuing legacy CSS? in the forum Creating & Extending 7 years, 3 months ago
Thanks @henrywright. I’m discovering a few bits that are ‘utility’ styles that I’m copying over (e.g. screen reader text class). It’d be really useful if things like this were in a separate ‘core’ include for people who want to strip back to a minimum. Anyway, I’m ploughing ahead, I’ll keep an eye on the markup.
-
Steve Taylor replied to the topic are there potential issues with completely dequeuing legacy CSS? in the forum Creating & Extending 7 years, 3 months ago
Thanks. I was wary because @danbp suggested otherwise: ‘Yes i understand (i’m also using a bootstrap theme), you can do like you want. But don’t claim after that that BP doesn’t work correctly.’ You’re saying that ‘doesn’t work correctly’ means ‘won’t be styled correctly’? There seems to be a confusion between functionality and presentation here.
-
Steve Taylor started the topic are there potential issues with completely dequeuing legacy CSS? in the forum Creating & Extending 7 years, 3 months ago
We want to gain full control of styling, so we’re looking at dequeuing
bp-legacy-css
and starting styling of BP elements from scratch, integrated with our custom theme styles.Dequeuing itself is easy enough, but there’s a thread here which (1) contains a warning that completely ditching BP styles may break the site’s BP elements, but which (2)…[Read more]
-
Steve Taylor replied to the topic Using member types tabs for custom members directory filter in the forum How-to & Troubleshooting 8 years, 5 months ago
Thanks. As far as I can see, the relevant section there that deals with the Members directory is looking at the ordering drop-down. It’s not what I would call a ‘filter’, i.e. filtering results by certain criteria to shown only a sub-section of members. I was thinking that the tabs (where currently there’s only ‘All Members’) would be the more…[Read more]
-
Steve Taylor started the topic Using member types tabs for custom members directory filter in the forum How-to & Troubleshooting 8 years, 5 months ago
The system I’m building assigns members to particular local authorities, and each local authority has a particular member selected as the ‘primary contact’. On my BP members directory listing, I want to add a tab next to ‘All Members’ to just list ‘Primary Contacts’. I’m going to have to do some synching of metadata to then make it possible to…[Read more]
@gyrus
Active 4 months, 3 weeks ago