This topic has 9 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #186897
     jiant
    Participant

    Hi can somebody help me with this:

    1.-It is possible to hide determined profiles  in search results.

    2.- Could be possible to erase or hide “red selection” from members page and change the text (see attached file )

    3. On member page doesn’t works page builder right? It is possible to add something?

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #186986
     Kieran_SQ
    Moderator

    Hi,

    I’ll respond in the same numbered format for ease

    1. You can remove members from the directory by using some custom code in your KLEO Child theme’s functions.php or in bp-custom.php in the /wp-content/plugins/ folder (you will need to create this file yourself).

    You can see the code here https://buddydev.com/buddypress/hiding-users-on-buddypress-based-site/.

    2. Please use the below CSS in your KLEO Child theme’s style.css by going to WP Admin > Appearance > Editor > KLEO Child > Style.css

    #buddypress div.item-list-tabs#subnav {display: none;}

    If you’re already using Loco Translate or WPML you can translate the search string with them by translating KLEO and BuddyPress. If you’re not then you can use the below snippet in your KLEO Child theme’s functions.php to translate the text

    COPY CODE
    function change_translate_text_multiple( $translated ) {
    	$text = array(
    		'Old Text 1' => 'New Translation 1',
    		'Old Text 2' => 'New Translation 2',
    		'Old Text 3' => 'New Translation 3',
    	);
    	$translated = str_ireplace(  array_keys($text),  $text,  $translated );
    	return $translated;
    }
    add_filter( 'gettext', 'change_translate_text_multiple', 20 );

    If you only need to translate one string you can removed the below lines

    COPY CODE
    		'Old Text 2' => 'New Translation 2',
    		'Old Text 3' => 'New Translation 3',

    3. You can use the below code in your KLEO Child theme’s functions.php file to show content on the BuddyPress Members Directory only

    COPY CODE
    // Add content to BuddyPress Members Directory
    add_action('kleo_before_content','add_content_to_bpmemdir');
    function add_content_to_bpmemdir() {
        if ( bp_is_members_directory() ) {
            echo do_shortcode('[MYSHORTCODE]');
        }
    }

    Replace [MYSHORTCODE] with your WP Bakery (formerly Visual Composer) shortcodes. If you do not wish to use shortcodes please use the below code instead

    COPY CODE
    // Add content to BuddyPress Members Directory
    add_action('kleo_before_content','add_content_to_bpmemdir');
    function add_content_to_bpmemdir() {
        if ( bp_is_members_directory() ) {
            echo ('My content here');
        }
    }

    You can change where this appears in the page by changing the value kleo_before_content to one of the other theme hooks available to you. The theme hooks available to you are

    COPY CODE
    kleo_after_body
    - You can use it to add content just after body tag opens
    kleo_header
    - Used to add the header to the page
    - @hooked kleo_show_header
    kleo_before_main
    - goes inside div#main; after Header and Breadcrumb section
    kleo_before_content
    - render something before the main content and sidebar
    kleo_before_main_content
    - render something above the main content only
    kleo_after_main_content
    - render something below the main content only
    kleo_after_content
    - render something after the main content and sidebar but still in the main section(with classes container-wrap & main-color)
    kleo_after_main
    - render something after the main content and sidebar but right before the closing div#main HTML tag
    kleo_after_footer
    - render something after footer content
    kleo_after_page
    - render something after closing #page HTML tag

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187229
     jiant
    Participant
    This reply has been set as private.
    #187234
     Kieran_SQ
    Moderator

    Hi,

    This would fall under a custom development request and one of our developers would be happy to discuss your needs with you. Please send an email to dev@seventhqueen.com with the information you supplied in your above reply and someone will be in touch with shortly.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187242
     jiant
    Participant

    Thank you

    I will do it.

    One more question. Could be possible add a user profile in a new kleo page.
    Thank you

    #187243
     Kieran_SQ
    Moderator

    Hi,

    I do not understand the question, can you let me know more details about the request so I can assist you better?

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187244
     jiant
    Participant

    JAaaa,, sorry

    I mean, I what to insert determined user profile in new pages. The idea is to add more options like links.. for that concret user in the profile.

    #187246
     Kieran_SQ
    Moderator

    Hi,

    You can use the ‘Members Masonry’ element within WP Bakery (formerly Visual Composer) to show users on X page but this will not let you define only one member.

    To include user specific links on a page or post you could use the attached plugin User Profile Links.

    The plugin works as a shortcode for posts and pages (and any other Custom Post Type), the format is as follows.

    [upl url="/settings/notifications/" urltext="Email Notifications"]
    This generates a link specific for the logged in / viewing user and directs them to the change email notifications page.

    [upl url="" urltext="Profile"]
    This generates a link specific to the logged in / viewing user and will direct them to their default profile page (it should respect any changes you’ve made to the default profile landing page).

    When a user is not logged in they’re presented with “You’ll need to login so that we can generate this link for you.”. The login href is # and the class is kleo-show-login. This will open the login modal.
    url=”” defaults to profile when blank or not present
    urltext=”” must always be present and have content otherwise no link text will be generated.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #187250
     jiant
    Participant

    Perfect, thank you for your help 🙂

    #187251
     Kieran_SQ
    Moderator

    You’re welcome 🙂 Feel free to open a new ticket any time and we’ll be happy to assist you.

    If you haven’t already done so please consider leaving the support received / theme a review on ThemeForest, every review really does help us. https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/reviews/6776630

    All the best,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?