-
otty-dev replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 6 years, 10 months ago
weird, now I can’t even see the author box anymore :S taking out the <?php tag did solve the syntax error however.
will your code redirect /author –> /member’s profile page at all instances? e.g. also when a user clicks on the author name on the top of a blog post
-
otty-dev replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 6 years, 10 months ago
Hi @dcavins
I added your code to the end of child theme > functions.php at the end of the code provided by @mastershas and got a syntax error
-
otty-dev replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 6 years, 10 months ago
It might be difficult to get the follow button on the bottom of each blog post because it seems like the follow button on the profile page is only visible for logged in members
But, the second part: making it so that when someone clicks “view all posts by author”, it goes to their buddypress members page not the author page wou…[Read more]
-
otty-dev started the topic Hiding/Redirecting Members Directory Code Not Working in the forum Installing BuddyPress 6 years, 10 months ago
I tried to implement the following code:
function buddydev_hide_members_directory_from_all_except_admin() {
if ( bp_is_members_directory() && ! is_super_admin() ) {
//should we add a message too?
//bp_core_add_message( 'Private page.', 'error' );
bp_core_redirect( site_url('/') );
}
}
add_action( 'bp_template_redirect',…[Read more] -
otty-dev replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 6 years, 10 months ago
Hi @mastershas
Thanks so much for this and for your help with the other query I had! I was able to successfully update the member profile page. For example here
and add the profile box at the end of the post page like here
How can I add the follow button in this profile box? I tried to add this code snippet, but I got an error:
<div…
[Read more] -
otty-dev replied to the topic Show Follow Button on Each Member's Profile Page in the forum Third Party Plugins 6 years, 10 months ago
Correct, I added a plugin that replaces add friend with follow.
I created a new directory of buddypress > members > single > cover-image.php and tried to add the following code but no luck:<div id="item-header-content">
<?php }else{?>
<div class="follow_button">
<div class="follow_icon">
<?php
$args =…[Read more] -
otty-dev replied to the topic Modifying the HTML for Each of the Member's Profile Pages in the forum How-to & Troubleshooting 6 years, 10 months ago
@mastershas and @djpaul
I was trying this for four hours yesterday with a developer highly experienced in php (but no experience with buddypress) and we weren’t able to get anywhere :S
I created a directory on my child theme folder: buddypress > members > single > cover cover-image-header.php (did this here)
tried to add for example to display…[Read more]
-
otty-dev replied to the topic Modifying the HTML for Each of the Member's Profile Pages in the forum How-to & Troubleshooting 6 years, 10 months ago
Hi @mastershas thanks for your suggestion. I’ll try this out. I was also wondering how I could modify the author bio at the end of each blog post to show the bio from the buddypress profile page (this was based on your other thread).
-
otty-dev replied to the topic Modifying the HTML for Each of the Member's Profile Pages in the forum How-to & Troubleshooting 6 years, 10 months ago
Thanks for your reply @djpaul, really appreciated. I’ve been working on this for the past four months and I tried to outsource this to a freelancer, but it did not go well.
I’ve read the page you’ve sent several times now, but I’m still unsure how to find the HTML to for example the following from the member/profile page:
1) move <h1…[Read more]
-
otty-dev replied to the topic Show Follow Button on Each Member's Profile Page in the forum Third Party Plugins 6 years, 11 months ago
Hi @djpaul
My theme was not built to be compatible with Buddypress unfortunately. Where can I edit the php and html myself for this issue? I was trying to navigate plugin > editor > buddypress but I couldn’t find the php for each members profile page and also the html file. So far I could only edit CSS using appearance > customize css.
-
otty-dev started the topic Show Follow Button on Each Member's Profile Page in the forum Third Party Plugins 6 years, 11 months ago
Hi there, right now, I only see the follow button on .com/members but not on each individual members’ profile pages. Is there a way to enable this?
Many thanks in advance!
-
otty-dev's profile was updated 6 years, 11 months ago
@ottiya
Active 6 years, 10 months ago