Forum Replies Created
-
Author
-
October 28, 2014 at 14:35 in reply to: Modify Search form to find hobbies in Bodypress profile #33295
sharmstr
ModeratorThat’s going to take custom coding.
There’s a plugin (search here or the plugin repository) that will add an advanced member search form. If the plugin has a shortcode to add the form anywhere you want, you can use that instead of the kleo search form in your header.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorQuestion. Did you change the portfolio slug to ‘insights’? If so, you can’t have a page slug of ‘insights’. Try changing the slug of your ‘insights’ page, then change your insights menu item to point to that page. Let me know if I’m even close to guessing correctly on this 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI couldn’t find anything so I wrote a function myself. Put this in your functions.php file.
THIS REMOVES THE DEFAULT MESSAGE COMPOSE SCREEN AND ADDS A CUSTOM ONE. YOU NEED TO REMEMBER TO COMPARE THIS CODE TO ANY NEW BUDDYPRESS CODE WHEN AN UPDATE IS RELEASED
COPY CODE/** * Remove default Messages > Compose screen and add our custom one. */ function change_messages_compose() { global $bp; bp_core_remove_subnav_item( 'messages', 'compose' ); $messages_link = bp_loggedin_user_domain() . $bp->messages->slug . '/'; bp_core_new_subnav_item( array( 'name' => __( 'Compose', 'buddypress' ), 'slug' => 'compose', 'parent_url' => $messages_link, 'parent_slug' => $bp->messages->slug, 'screen_function' => 'custom_messages_screen_compose', 'position' => 30, 'user_has_access' => bp_core_can_edit_settings() )); } add_action( 'bp_setup_nav', 'change_messages_compose', 100 ); /** * Load the custom Messages > Compose screen. */ function custom_messages_screen_compose() { if ( bp_action_variables() ) { bp_do_404(); return; } // Remove any saved message data from a previous session. messages_remove_callback_values(); // Check if the message form has been submitted if ( isset( $_POST['send'] ) ) { // Check the nonce check_admin_referer( 'messages_send_message' ); // If subject is empty, set it to something. if ( empty( $_POST['subject'] ) ) { $_POST['subject'] = " "; } // Check we have what we need if (empty( $_POST['content'] ) ) { bp_core_add_message( __( 'There was an error sending that message, please try again fool.', 'buddypress' ), 'error' ); } else { // If this is a notice, send it if ( isset( $_POST['send-notice'] ) ) { if ( messages_send_notice( $_POST['subject'], $_POST['content'] ) ) { bp_core_add_message( __( 'Notice sent successfully!', 'buddypress' ) ); bp_core_redirect( bp_loggedin_user_domain() . bp_get_messages_slug() . '/inbox/' ); } else { bp_core_add_message( __( 'There was an error sending that notice, please try again', 'buddypress' ), 'error' ); } } else { // Filter recipients into the format we need - array( 'username/userid', 'username/userid' ) $autocomplete_recipients = explode( ',', $_POST['send-to-input'] ); $typed_recipients = explode( ' ', $_POST['send_to_usernames'] ); $recipients = array_merge( (array) $autocomplete_recipients, (array) $typed_recipients ); $recipients = apply_filters( 'bp_messages_recipients', $recipients ); $thread_id = messages_new_message( array( 'recipients' => $recipients, 'subject' => $_POST['subject'], 'content' => $_POST['content'] ) ); // Send the message if ( ! empty( $thread_id ) ) { bp_core_add_message( __( 'Message sent successfully!', 'buddypress' ) ); bp_core_redirect( bp_loggedin_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id . '/' ); } else { bp_core_add_message( __( 'There was an error sending that message, please try again', 'buddypress' ), 'error' ); } } } } bp_core_load_template( apply_filters( 'messages_template_compose', 'members/single/home' ) ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 28, 2014 at 12:39 in reply to: message can't be sent from ''Friends / private message '' #33284sharmstr
Moderator1 – Searching “private message” would have given you this 🙂 https://archived.seventhqueen.com/forums/topic/private-message-button
2 – You have caching enabled on your server. Contact your host. Or disable whatever caching plugin you have installed if any.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI’ve been meaning to tackle this for awhile now so let me know if you find a solution or not. If not, I’ll see about coming up with something. Personally it drives me bonkers to have to fill it out.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThat’s really a Buddypress question. Search over on their forum. Its been asked several times before. I believe most of the responses from the Buddypress team is “its required, deal with it” or you have to hide the subject field and fill it in for them during processing.
https://buddypress.org/support/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatorhehehehe. Be warned that I’m bad at updating it. 😀
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorSorry Abe 🙂 I’ll stop posting my plugins here and just send them directly to you from now on 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorSay hi to Robert for me. Never see him around here anymore. I’m not complaining because I know he’s working hard cooking up new features (well, I like to think he is.)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
Moderatorbtw – It only worked for the forum because that’s the link you supplied. If you look at what I gave you, you’ll see .bbpress. Remember how I said the forums are bbpress and not buddypress? If you were to put .buddypress, it would have worked on buddypress pages. Hope that makes sense.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorTry
COPY CODE#main { background-image: url("http://fundlab.org/wp-content/uploads/2014/10/hazy-lake.jpg"); }
You should hire someone.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorHow come you’re not just setting the background image on the home page using visual composer? There’s a gear icon at the top of VC that allows you to add css for just that page.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThe forums are not Buddypress pages. They are bbPress.
COPY CODE.bbpress section.container-wrap.main-color { background-image: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI think people have been lucky to receive any responses from support during the weekends.
Support is offered Monday through Friday, but please allow up to 48hrs so we can review your request and respond.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 26, 2014 at 15:20 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #33107sharmstr
ModeratorI’m pretty sure that bp_get_options_nav also controls the group nav menu. Did you try changing bp_get_options_nav to my_bp_get_options_nav in /groups/single/*.php? The pages have similar names to the ones in members/single/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThank you for adding this in the latest update. Works great.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorYou dont need a key. A new version of VC is in every Kleo update. Download the full kleo package from Theme forest and update VC and RevSlider.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI’m an idiot. I thought you wanted to hide the toggle (as I mentioned a few times). So what you want is to always have it in the show less mode. Okay.
So most kleo functions let you override them, but they haven’t added that for the kleo_bp_profile_expand_class function yet, so I just added all the collapsed css to your child theme.
COPY CODE#buddypress div#item-header { background: none; } #buddypress div#item-header-content { display: none; } #kleo-bp-home-wrap #item-header img.avatar {width : 80px !important; margin-left:0; background: #fff;} #kleo-bp-home-wrap #item-header-avatar {border: 5px solid #f7f7f7 !important;} #kleo-bp-home-wrap #item-header {background-position: 0 45px;} #kleo-bp-home-wrap #item-header .toggle-header { top : 36px;} #kleo-bp-home-wrap #item-header-avatar .kleo-online-status {width : 14px;height : 14px;bottom : 10px;} #kleo-bp-home-wrap .bp-toggle-less {display: none;} #kleo-bp-home-wrap .bp-toggle-more {display: none;}
Let me know if that’s what you wanted/needed.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorIts showing media for me. I created a new page and put the [kleo_bp_activity_page] shortcode in it. See screenshot.
Do you have a link? Are you getting any errors? Are you running the latest version of kleo and k-elements?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.sharmstr
ModeratorThis might help https://archived.seventhqueen.com/forums/topic/users-on-laptops-using-the-buddypress-area-think-site-is-broken
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 04:19 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #32989sharmstr
ModeratorOkay, again I think you can tap into the filter, but since I dont know how to do that. You can do this.
Add this to your functions.php file
COPY CODE/** * Render the navigation markup for the displayed user. */ function my_bp_get_displayed_user_nav() { global $bp; foreach ( (array) $bp->bp_nav as $user_nav_item ) { if ( empty( $user_nav_item['show_for_displayed_user'] ) && !bp_is_my_profile() ) continue; $selected = ''; if ( bp_is_current_component( $user_nav_item['slug'] ) ) { $selected = ' class="current selected"'; } if ( bp_loggedin_user_domain() ) { $link = str_replace( bp_loggedin_user_domain(), bp_displayed_user_domain(), $user_nav_item['link'] ); } else { $link = trailingslashit( bp_displayed_user_domain() . $user_nav_item['link'] ); } echo apply_filters_ref_array( 'bp_get_displayed_user_nav_' . $user_nav_item['css_id'], array( '<li id="' . $user_nav_item['css_id'] . '-personal-li" ' . $selected . '><a href="' . $link . '#item-body">' . $user_nav_item['name'] . '</a></li>', &$user_nav_item ) ); } }
Then copy the following files to your child theme
/kleo/buddypress/members/single/home.php
/kleo/rtmedia/main.phpIn both of those files, change
COPY CODEbp_get_displayed_user_nav () ;
to
COPY CODEmy_bp_get_displayed_user_nav () ;
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 03:35 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #32986sharmstr
ModeratorThere’s a wrapper div under the buddypress nav called item-body, so you can use that as your anchor. The bp_get_displayed_user_nav function in /buddypress/bp-members/bp-members-template.php draws the menu. Within that function is a apply_filters_ref_array filter. You can tap into that (search how to do it because I’m not exactly sure). right after $link you can add ‘#item-body’.
COPY CODEecho apply_filters_ref_array( 'bp_get_displayed_user_nav_' . $user_nav_item['css_id'], array( '<li id="' . $user_nav_item['css_id'] . '-personal-li" ' . $selected . '><a href="' . $link . '#item-body">' . $user_nav_item['name'] . '</a></li>', &$user_nav_item ) );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 03:18 in reply to: How Can I Change The BuddyPress Profile Navigation Menu Text? #32985sharmstr
ModeratorLet me know because now its bugging me 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 03:05 in reply to: How Can I Change The BuddyPress Profile Navigation Menu Text? #32982sharmstr
ModeratorI’m not sure what needs to be changed in the po file, but there’s also one in kleo/languages. Not sure if it applies to this or not.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 03:03 in reply to: Users on LAPTOPS using the Buddypress area think site is broken #32981sharmstr
ModeratorDid you ask the Buddypress forum how to add and an anchor tag to the buddypress nav links like I suggested? What did they say? I’m not trying to get rid of you, I promise. All of those nav links are handled by Buddypress functions. Kleo only stylizes them. Normally you’d customize the url by putting something like this in your functions.php file
COPY CODEdefine ( 'BP_FRIENDS_SLUG', 'peeps' );
Another user here asked about adding anchors so I tried it like this
COPY CODEdefine ( 'BP_FRIENDS_SLUG', 'peeps/#main' );
I ended up getting a 404 error because its gets parsed like /peeps/main.
Hmmm. I wonder if you can add something in your .htaccess or use the rewrite_rules_array filter to write your own permalink that would append the anchor to the url.
Still another option would be to make the profile header smaller or hide it all together.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorDo the opposite then. Disable all of those extra plugins, then upload and enable k-elements. Do you still have the problem then? If not, enable them one by one and to see which one k-elements is having a conflict with. Also, please post a list of all your plugin and what version they are.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorWhoop! Please mark resolved.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 02:44 in reply to: How Can I Change The BuddyPress Profile Navigation Menu Text? #32975sharmstr
ModeratorWow… did you read this? https://buddypress.org/support/topic/buddypress-2-1-bp-language/
I was just trying to go through steps in that link I sent you and found that the bp-language directory wasnt there. I did a search and came across the above topic about it. I only made it through the first page. Sounds like a sh*t circus if you ask me.
I dont have any need to do this on my site, so I’m hesitant to spend the time trying to figure it out. Let me know if you read that topic before and it didnt help.
At this point, I think you’re at the mercy of the Buddypress team sorting it out. With that said, I’ll try to help if you need me to. Let me know.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorIf you want, create temp admin access for me and send it over to shawn@seventhqueen.com. I’ll take a look around for you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorDo the ones that are showing up on the frontend show up in the backend? Are they set to private or draft or waiting approval?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 25, 2014 at 00:37 in reply to: How Can I Change The BuddyPress Profile Navigation Menu Text? #32960sharmstr
Moderator@dave Did you sort this out?
https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorPlease use the search in the future https://archived.seventhqueen.com/forums/topic/let-users-upload-media-in-forum-posts
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorI’m displaying the authors avatar within the post meta. To do it, I’m doing this.
COPY CODE/** * Override Post Author Meta to include avatar **/ if ( ! function_exists( 'kleo_entry_meta' ) ) : /** * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * Create your own kleo_entry_meta() to override in a child theme. * @since 1.0 */ function kleo_entry_meta($echo=true, $att=array()) { $meta_list = array(); // Translators: used between list items, there is a space after the comma. $categories_list = get_the_category_list( __( ', ', 'kleo_framework' ) ); // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'kleo_framework' ) ); $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); $author = sprintf( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'kleo_framework' ), get_the_author() ) ), get_the_author() ); if (is_single()): $avatar = get_avatar( get_the_author_meta( 'ID' ), 100 ); $meta_list[] = '<small class="post-author-avatar">'.$avatar.'</small>'; endif; $meta_list[] = '<small class="meta-author">'.$author.'</small>'; $meta_list[] = '<small>'.$date.'</small>'; $cat_tag = array(); if ( $categories_list ) { $cat_tag[] = $categories_list; } if ($tag_list) { $cat_tag[] = $tag_list; } if (!empty($cat_tag)) { $meta_list[] = '<small class="meta-category">'.implode(", ",$cat_tag).'</small>'; } //comments if (!isset($att['comments']) || (isset($att['comments']) && $att['comments'] !== false)) { $meta_list[] = '<small class="meta-comment-count"><a href="'. get_permalink().'#comments">'.get_comments_number().' <i class="icon-chat-1 hover-tip" data-original-title="'.sprintf( _n( 'This article has one comment', 'This article has %1$s comments', get_comments_number(), 'kleo_framework' ),number_format_i18n( get_comments_number() ) ).'" data-toggle="tooltip" data-placement="top"></i></a></small>'; } if ($echo) { echo implode(", ", $meta_list); } else { return implode(", ", $meta_list); } } endif;
Now, I’m only displaying in on the post page (single), not the listing pages. I haven’t tested it, but you can try removing the if single around this bit of code
COPY CODEif (is_single()): $avatar = get_avatar( get_the_author_meta( 'ID' ), 100 ); $meta_list[] = '<small class="post-author-avatar">'.$avatar.'</small>'; endif;
To style the avatar, I use this (you’ll probably want it smaller for listing pages)
COPY CODE/* Format Post Author Avatar */ .post-author-avatar { display: block; } .post-author-avatar img { width: 60px; height: 60px; overflow: hidden; border-radius: 100%; border-style: solid; border-width: 5px; border-color: #f7f7f7; }
I’ve attached a screenshot so you can see what it supposed to look like.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.sharmstr
ModeratorPlease mark resolved.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThat’s the problem. I didnt know that because there is no code in your picture to hide it. 🙂 The only code in there is the footer code and two lines of the exact same css that wont hide the show more / less and only half of the code you need to hide show / more less.
Try this
COPY CODE.toggle-header, .bp-toggle-less, .bp-toggle-more { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorAnytime. Please mark resolved.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorDont use the code that giannisff gave you to disable the prev and next member navigation. Use this: https://archived.seventhqueen.com/forums/topic/hide-member-pages-for-users #2
And again. Use the search. Please 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorThe only thing I see wrong is that you dont have the latest version of k-elements that fixes the featured item list. It should be version 2.1.1. If you havent set up auto updates, you can get it from here. https://archived.seventhqueen.com/forums/topic/fatal-error-message#post-32651
Other than that, the pages look fine and the menus are working. Unless I’m missing something….
@abe – when I checked last night, k-elements 2.1.1 wasn’t in the download on themeforest.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorIs there a reason you’re not using the kleo activity stream shortcode?
[kleo_bp_activity_stream number=6 show_button=yes button_label="View All Activity" button_link="/activity"]
Is that shortcode from Buddydev?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
sharmstr
ModeratorIsn’t that the whole point of PMPro? http://www.paidmembershipspro.com/features/members-only-settings-for-all-content-types/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts