Forum Replies Created
-
Author
-
PcMaxxParticipant
Hi there,
A little help here. Can you tell where to find the ‘bp_member_header_actions’. I’ve looked and searched every where. Still, I know its there somewhere.
Thanks
September 10, 2018 at 15:46 in reply to: How to add Profile Fields under Member Name at Members Directory #209177PcMaxxParticipantThis reply has been set as private.PcMaxxParticipantHI there,
I removed it, but the formatting still looks bad. Also, the fields I put in the new Advanced Search, which I named Profile Search, is not displaying the fields I put in to test with. There is no custom CSS in the ‘Additional CSS’ other than what I copied from here. Sorry to be a pain.
Attachments:
You must be logged in to view attached files.PcMaxxParticipantUpdate: I made the Plugin as instructed and the “Member Since” is displaying on the Member Profile now; but a little munged. Please see attached Image so you can see where I want to move it. I’d like to move it under the Username/Alias or under the Member Profile. Is this possible?
Attachments:
You must be logged in to view attached files.PcMaxxParticipantUpdate: Now its missing. I’m guessing because it was code was added in the Child Theme. Now that its disabled, the Join Date is missing.
September 7, 2018 at 20:28 in reply to: How to add Profile Fields under Member Name at Members Directory #208880PcMaxxParticipantThanks. Looking forward to it.
PcMaxxParticipantThe code I proved fixed the Join date issue. I want share in the event someone else needs it.
PcMaxxParticipantThe CSS changes I made were recommended within your Knowledge Base Blogs. So its nothing I did custom.
September 7, 2018 at 17:17 in reply to: How to add Profile Fields under Member Name at Members Directory #208826PcMaxxParticipantIt doesnt show the ages here in the Members Directory. This is also an issue.
Attachments:
You must be logged in to view attached files.PcMaxxParticipantI wasn’t sure by the instructions if the Members-loop was a mistake, or should I put the shortcode in the members page itself? I put it in the members page, as well as the provided CSS in the Custom CSS within the dashboard, but it still looks awful. Can you please take a look and see if its correct. If not, please let me know how to fix it quickly.
PcMaxxParticipantI was able to find the following code via another newer source and it works! Put it in the functions.php in your child theme. Or you can create a plugin and put it in the mu-plugins. Here is exactly how it looks. Please share with others on this site as a quick fix.
Now, the next step would be to move this to the Member Profile to the right so its not munged. Any idea how to do that?
I put the following exact code in the functions.php
COPY CODEfunction bp_register_date() { global $bp; $currentuser = get_userdata( $bp->displayed_user->id ); $joined= date(‘F jS, Y’, strtotime($currentuser ->user_registered)); echo ‘Member since: ‘ . $joined . ”; } add_action(‘bp_member_header_actions’, ‘bp_register_date’);
PcMaxxParticipantI was able to create the Advanced Search, but where do I add the Shortcode in members-loop? I lose it after this instruction.
September 6, 2018 at 20:21 in reply to: How to add Profile Fields under Member Name at Members Directory #208754PcMaxxParticipantIf I do this, then the age doesn’t display correctly for multiple birthdays. I’m using BuddyPress Xprofile Custom Field Types as I mentioned before. Enabling Age in Buddypress doesn’t format the age correctly, but displays the actual birthdate instead.
PcMaxxParticipantI was able to find the following coa via another newer source and it works! Put it in the functions.php in your child theme. Or you can create a plugin and put it in the mu-plugins. Here is exactly how it looks. Please share with others on this site as a quick fix.
Now, the next step would be to move this to the Member Profile to the right so its not munged. Any idea how to do that?
I put the following exact code in the functions.php
function bp_register_date() {
global $bp;
$currentuser = get_userdata( $bp->displayed_user->id );
$joined= date(‘F jS, Y’, strtotime($currentuser ->user_registered));
echo ‘Member since: ‘ . $joined . ”;
}
add_action(‘bp_member_header_actions’, ‘bp_register_date’);Attachments:
You must be logged in to view attached files. -
AuthorPosts