-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
Yep, works like a charm 🙂
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
Cool @henrywright-1 that’s got it. I found that showposts query, just wasn’t implementing it correctly. I owe you a pint (or 4).
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
OK it works really really well – except, it brings in not just the most recent, but 3 recent posts, can I limit the number?
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
Oh it’s actually THAT simple? Thanks so much, I’m enjoying learning from you guys 🙂
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
@henrywright-1 that works!
I need to show the featured image, and link to the profile, so I added the following, but it’s just pasting the image URL, how do I add img src to that and the link to the post?
<?php
$user_id = bp_get_member_user_id();
$query = new WP_Query( 'author=' . $user_id );if ( $query->have_posts() ) {…[Read more]
-
applegateian replied to the topic Disable messages autocomplete in the forum How-to & Troubleshooting 10 years, 9 months ago
Is there a way to do this? Thanks.
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
Thanks @mercime – however, I’m already successfully showing users posts on their profile – see below. I’m doing this using posts-on-profile but it’s quite out of date:
What I can’t do, is show the most recent post for each user on the members list (on the members home page) – note the placeholder image on the right for each member:
Hope…[Read more]
-
applegateian replied to the topic [Resolved] Show member recent post in members loop in the forum How-to & Troubleshooting 10 years, 9 months ago
Sorry to spam, but totally stuck on this, any ideas?
-
applegateian replied to the topic Inline validation on register page in the forum How-to & Troubleshooting 10 years, 9 months ago
BP Xtra Signup worked well, although it’s 2 years out of date, it seems fine!
-
applegateian started the topic Inline validation on register page in the forum How-to & Troubleshooting 10 years, 9 months ago
Hi there
I’d like to provide on-the-fly validation on my Buddypress register page, particularly for the default WordPress stuff – username, password, email address.
Is there a way to do this?
Thanks,
Ian
-
applegateian replied to the topic Getting the large avatar in the forum Installing BuddyPress 10 years, 10 months ago
You’re right @henrywright-1 – just needed to upload the avatars again and it worked 🙂
-
applegateian replied to the topic Getting the large avatar in the forum Installing BuddyPress 10 years, 10 months ago
Hi there
I added this in, and it does get the avatar back but it doesn’t solve the problem. My original code returns the same stretched pixelated avatar, I really need to try and get the large version. See screenshot (mine on top, yours below)
-
applegateian replied to the topic Getting the large avatar in the forum Installing BuddyPress 10 years, 10 months ago
Ah so you think this can’t work as it stands @henrywright-1 ?
-
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 10 years, 10 months ago
Perfect!
Thanks SO much.
-
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi there
In the page template test I used your code exactly, within the profile.php file.
In the text widget I use the following (all of which work except Specialist Sectors):
`<div class=”<?php echo get_post_meta(get_the_id(), ‘Account Type’, true); ?>”>
“>
<?php if ( $sectors = bp_get_profile_field_data( ‘field=Specialist Sectors’ ) ) {…[Read more] -
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 10 years, 10 months ago
Yes it works on profiles.php… but the text widget I use on a post page works for all the other xprofile fields?
-
applegateian replied to the topic Getting the large avatar in the forum Installing BuddyPress 10 years, 10 months ago
Ah ok thanks, this code doesn’t seem to return anything, can you help me with the error?
<a href="/community/members/<?php echo get_the_author_meta('user_login') ?>"> <?php echo bp_core_fetch_avatar ( get_the_author_meta('user_email'), $size = '192' ); ?>
</a> -
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi there
I’m using it in a text widget sidebar, which works for all the other fields.
The spelling is correct and there are multiple options selected.
Thanks,
Ian
-
applegateian started the topic Getting the large avatar in the forum Installing BuddyPress 10 years, 10 months ago
Hi guys
I’m using some PHP in a sidebar text widget to display a posts author and the xprofile fields for that user, plus the avatar.
I cannot seem to return the large version of the avatar, I’m getting a stretched version of the small avatar.
Can anyone advise?
<a href="/community/members/<?php echo get_the_author_meta('user_login') ?>">…
[Read more] -
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 10 years, 10 months ago
Unfortunately that is returning blank too @henrywright-1
Thanks
- Load More
@applegateian
Active 9 years, 7 months ago