Forum Replies Created
-
Author
-
jbf388Participant
Thanks Radu this worked for both showing the group’s name in the tabs of my web browser and showing the group’s name when shared on social media (I am using the sassy social share plugin for sharing my BP groups).
When shared it uses the og:image set on Yoast SEO > Social > Facebook
It would be great if I could use the groups profile photo for the OG meta data instead of the one set on Yoast!
Just an idea if you guys decide to implement better BP social sharing on the next Kleo update.
Thanks again for the help!
August 11, 2016 at 22:15 in reply to: Edit BuddyPress Registration Page Button (Complete Sign Up) #132124jbf388ParticipantHey Laura sorry it took so long to get back to you!
No unfortunately I tried that and it didn’t work, I tried it again with your recommendation and still no.
It is a little closer to the center… maybe the CAPTCHA is the issue?
Either way, I can live with the way it is. Thank you for your help!
Attachments:
You must be logged in to view attached files.jbf388ParticipantHi Radu
The code that I added above which caused the error to happen after trying to create new groups, I found on this forum from a year ago: https://archived.seventhqueen.com/forums/topic/title-tags-for-groups-members-are-missing
I am confused why I am having this problem because it seems ok on the demo:
http://seventhqueen.com/themes/kleo/groups/the-social-network/Is there something different that the demo does that I am not?
jbf388ParticipantI figured out the issue was this code I added to functions.php to help with my groups social sharing:
/**
* Fix wpseo title
*/add_filter(‘wpseo_title’, ‘buddypress_wpseo_title’);
function buddypress_wpseo_title($title) {
$wpseo = WPSEO_Frontend::get_instance();
$separator = $wpseo->options[‘separator’];$separator_options = array(
‘sc-dash’ => ‘-‘,
‘sc-ndash’ => ‘–’,
‘sc-mdash’ => ‘—’,
‘sc-middot’ => ‘·’,
‘sc-bull’ => ‘•’,
‘sc-star’ => ‘*’,
‘sc-smstar’ => ‘⋆’,
‘sc-pipe’ => ‘|’,
‘sc-tilde’ => ‘~’,
‘sc-laquo’ => ‘«’,
‘sc-raquo’ => ‘»’,
‘sc-lt’ => ‘< ‘,
‘sc-gt’ => ‘>’,
);if (array_key_exists($separator, $separator_options)) {
$separator = $separator_options[$separator];
}
$bp = buddypress();
if (bp_is_user()) {
$title = bp_get_displayed_user_fullname() . ‘ | ‘ . ucfirst($bp->current_component);
} elseif (bp_is_group()) {
$title = bp_get_current_group_name() . ‘ | ‘ . $bp->bp_options_nav[$bp->groups->current_group->slug][bp_current_action()][‘name’];
}return $title;
}Is there a way to fix this so that when groups are shared on social media they can see the group name, url and possible group image?
August 5, 2016 at 03:42 in reply to: Edit BuddyPress Registration Page Button (Complete Sign Up) #131444jbf388ParticipantThanks Laura. I went to Kleo/Buddypress/members and took the register.php file and added it to kleo-child
I found the code:
<input type=”submit” name=”signup_submit” id=”signup_submit” value=”<?php esc_attr_e( ‘Complete Sign Up’, ‘buddypress’ ); ?>” />Can’t seem to get it centered…
August 3, 2016 at 21:53 in reply to: Edit BuddyPress Registration Page Button (Complete Sign Up) #131270jbf388ParticipantIts better but moves too much when the screen changes. Can’t get it perfectly centered.
jbf388ParticipantIs there some kind of code that I can add to functions.php that turns social sharing off for all post categories except 1?
Or a code that turns off social sharing for all post IDs except certain ones?
jbf388ParticipantRight that’s where I am but the only option is to Exclude social share by Post IDs this will require a lot of work to input every single post because I have more posts that I don’t want to share than posts I do want to share.
I was hoping there is a way to only allow social sharing on a couple posts without having to exclude all the rest.
For instance, I have about 40 posts but only want social sharing on 5 of them. Instead of inputing the 35 post ID’s that I want to exclude, is there a way to only allow social sharing for the 5 I want to include?
If there is a way to only allow certain categories to have social sharing, that would work too!
Does that make sense?
jbf388ParticipantI have this issue too I think. When I use the search magnifying glass at the top and I enter a username or first name. It does not display any of the members nor any posts that member has made/commented on.
Under Theme Options > Header Options > Ajax Search in menu* is on and I left the search context blank to search all content but when I type in a members name or username I get: “Sorry, but nothing matched your search terms. Please try again with some different keywords.”
Shouldn’t the search be able to pick up these things?
jbf388ParticipantThanks Radu I am using BuddyDev BP auto-login on activation and apparently when people use an Outlook email it has some issues.
Its a great plugin and I highly recommend it. The developer said this Outlook issue should go away once Buddypress 2.5 comes out in a couple weeks.
Thanks for your time. This is resolved-ish.
jbf388ParticipantWill do Radu.
By the way, can the loco translate plugin help change the wording on the BP activate page? I’m trying it but it doesn’t seem to change.
Do you know any other way to change what the activate page says?
February 18, 2016 at 18:47 in reply to: Using Peters redirect plugin is there a way to redirect a user to the page they were originally on? #104792jbf388ParticipantGreat Laura Thanks for all your help!
February 18, 2016 at 06:17 in reply to: Using Peters redirect plugin is there a way to redirect a user to the page they were originally on? #104579jbf388ParticipantLaura thank you so much! This was so frustrating and so simple to fix. I feel bad for the title of my post because I don’t even need that redirect plugin anymore…
New question though, if I wanted to add a login text-link inside a post is there a shortcode or something I can use that acts the same as the KLEO login in the main menu, but as a link in post text?
February 17, 2016 at 06:22 in reply to: Using Peters redirect plugin is there a way to redirect a user to the page they were originally on? #104252jbf388ParticipantSorry for so many posts but also, I noticed if I am not logged in, click on a post. To reply I click the log in link. it redirects me to the post but if I click the home logo it takes me to the home and I don’t seem to be logged in (but I am).
I am using w3 total cache and disabled object caching but still getting this.
February 17, 2016 at 05:08 in reply to: Using Peters redirect plugin is there a way to redirect a user to the page they were originally on? #104249jbf388ParticipantI’ve noticed lately that sometimes whether I use my admin credentials or test with my Facebook sign up, my profile information doesn’t show up on the main menu (my profile image and settings) it looks like I am not logged in. Usually this happens when:
1. Sign up using Facebook (goes to my profile) I click the top left logo to go to home screen and my profile image/settings are gone. I have to refresh the screen to see it. Shouldn’t clicking the home logo auto refresh it?
2. When I log in to my admin account. It redirects me to the backend. When I click “visit my site” I go to the home screen and it looks like I am not logged in. I have to refresh the screen to see my profile image.
please help me resolve this as I am getting the issues from people testing my site saying the same thing.
February 17, 2016 at 02:23 in reply to: Using Peters redirect plugin is there a way to redirect a user to the page they were originally on? #104228jbf388Participantwhen I log in with FB and press the home screen, my profile information disappears. Is there a way to fix the FB log in functionality?
jbf388ParticipantThe custom heading is causing some issues… where do I change the line height in a text block?
jbf388ParticipantYa I had the settings correct and figured going through the plugins one-by-one was the best way to solve this. Just hoping there was someone else with this problem and had a quick fix. I have a lot of plugins…
jbf388ParticipantSo if I wanted to add the formats box to pages and be able to video format a page its as easy as adding the code:
// add post-formats to post_type ‘page’
add_post_type_support( ‘page’, ‘post-formats’ );Do I add this directly into the kleo child functions.php?
jbf388ParticipantHi Sharmstr
While using the above code, does it format the custom post type to video or audio automatically or do we still have to choose the format?
Do you know the code to add the format box?
Thank you
-
AuthorPosts