Forum Replies Created
Sorry guys, turns out this was in my functions.php extending the search functionality (Single Search page for all buddypress components)
@henrywright-1 annoyingly it doesn’t have a class round it so I can’t hide it, I don’t know where it is coming from. The HTML is:
<a href="http://siteurl.com/members/?s=test">View all 13 matched Members</a>
I found the following but removing it didn’t take out the line, could it be anywhere other than members-loop.php?
<div id="pag-bottom" class="pagination"> <div class="pag-count" id="member-dir-count-bottom"> <?php bp_members_pagination_count(); ?> </div> <div class="pagination-links" id="member-dir-pag-bottom"> <?php bp_members_pagination_links(); ?> </div> </div>
Can anyone offer a solution for this?
<?php do_action( 'template_notices' ); ?>is referenced in member-header.php
I have modified edit.php @henrywright-1 – as we’re not using the sub menu of activity, forums, etc.I just have profile and change avatar.
It’s been a while since this file was edited, but I’m wondering if it’s this line that’s affecting the notices:
<?php bp_profile_group_tabs_exc_empty(); ?>
I’ll try with the default theme too and see what happens.
It doesn’t seem to make any difference. As I said, my change-avatar page does show a notification, but I just checked change-avatar.php and that doesn’t have
<?php do_action( 'template_notices' ); ?>in it either, so I’m not sure how it’s working.
OK thanks @henrywright-1
Do you know where it should go? It’s not currently in my edit.php file
Sorry, this can be resolved, I had a link hardcoded – sorry for not realising sooner
Hi @modemlooper – is this for functions.php or bpcustom? Added to both and it didn’t remove the tab from the profile.
Anything I could be doing wrong here?
we’re looking at writing a simple plugin to user the Xprofile ‘Your Name’ that we have added, in the format of firstname-secondname-1 (-2 if a duplicate)
If anyone finds it useful in the future let me know and we can share.
Thanks @henrywright-1 – I don’t want to remove it, just wondering if I can replace it with something more friendly – before I changed to the email address authentication it was of course /username, so I was hoping I could replace that string with ‘USER_DISPLAY_NAME’ and then maybe ‘USER_DISPLAY_NAME-1′ if there was a duplicate?
Wondering if it is possible to use ‘USER_DISPLAY_NAME’ in the url somehow…?
This is perfect thanks @rfauster
I realise this is a pretty old post now, and I have done what is mentioned here (including the email login plugin)
It works perfectly, however the URL for a users profile is now http://sitename.com/members/e2cd18d97f62a5432557784b2f7e68957ad0f42e//profile
I understand that email address wont work here, is there anything I Can do to make this more SEO friend/pretty?
Ooh I didn’t know that was possible, is this for functions.php @henrywright-1 ?
hi guys, hate to ask again on here, but hoping after a few months it’s ok
Anybody know how to do this?
Apologies this can be resolved – apologies.
Yeah I did that in the end @bphelp thanks
Adding this CSS didn’t work for me, any reason it wouldn’t?
Hmm ok thanks @henrywright-1
On the front end I get:
The HTML generated is -
<div id="size500"> item-1 £500k-£2m </div> <div id="size500"> item-2 £2m+ </div>
How can I make those divs unique?
Quick question @henrywright-1 – any way to give each of those that are spat out a unique id?
Or do they have to have the same HTML around them?
Ideally, each of the items are wrapped different id – e.g.
@henrywright-1 it’s added in /wp-admin/users.php?page=bp-profile-setup – Profile Fields under the Users menu in WP Admin.
Your code works, thanks..!
So I can add html into those spaces, and each item is now separated by html…I think that should do it. Thanks so much for the support Team Buddypress
Thanks for the idea.
Pasting that in (exactly as it is) doesn’t return anything for Budget.
How do I add the HTML I want into:
// put whatever you want here
Not sure it’s a custom hack…
In WordPress admin, I go to Profile Fields
Then, I have three profile groups in there. The third one is where this budget field sits.
It’s only available to certain user types, which is why it’s in a separate profile group.
However, as far as I know @bphelp – none of this is custom or a hack, this is standard BP functionality? Then using this snippet to show the output on the front end:
<div id="profileProjectSize"> <?php $data=bp_get_member_profile_data(array('field'=>'Budget')); echo $data; ?> </div>