This topic has 15 replies, 3 voices, and was last updated 9 years by Tronle.

  • Author
  • #77791
     Tronle
    Participant

    Hi .. πŸ˜‰

    I like your search-form in header-options! πŸ˜‰

    But i have this plugin:
    http://buddydev.com/buddypress/introducing-buddypress-anonymous-activity-plugin-allow-users-to-post-activitycomment-anonymously

    The problem is “NOT”, that the ajax-search find the anonymous content but he replace the anonymous-avatar with the original avatar and original member-name.

    Where is the folder for the ajax-search, that i can insert a code
    or have you a idee how can i hide this problem ?

    Many Thanks ! πŸ˜‰

    Attachments:
    You must be logged in to view attached files.
    #78057
     Laura
    Moderator

    Hello, so you want to hide the member name and avatar for the anonymous one but for unlogged users maybe?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happyΒ to help you πŸ™‚

    #78105
     Tronle
    Participant

    Hi .. πŸ˜‰

    Yes,
    the problem is that the ajax-search replace the whole anonymous content with original user.
    The same thing in members-loop.php the <?php if ( bp_get_member_latest_update() ) : ?>. Both – replace the anonymous name and anonymous avatar with the original user. This is wrong .. πŸ™

    Can say me – where i find the ajax-search function, before i search in template folder, please. I think, I have to contact the plugin programmer to solve the conflicts .. or ? πŸ™

    #78132
     Tronle
    Participant

    Can this help for you ?

    Brajesh Singh Reply in
    http://buddydev.com/buddypress/introducing-buddypress-anonymous-activity-plugin-allow-users-to-post-activitycomment-anonymously/#comment-1581481

    September 16, 2015
    If you are using a plugin that does not respects BuddyPress query and does its own database query may cause this. We are filtering bp_has_activity() , so any proper search(or default BuddyPress search will not list it unless it is your own activity and you are own your own profile.
    If you are using a 3rd party plugin for the search purpose, please open a topic in forum and We will get back to you there.

    #78387
     Laura
    Moderator

    Hello, can you share wp-admin and ftp credentials? I could try with a code and see if it works πŸ™‚

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happyΒ to help you πŸ™‚

    #78410
     Tronle
    Participant

    Hi .. ,

    nice to hear that! πŸ™‚
    But can you send me the code and i test it, pleassssse .. πŸ˜‰
    In second try, if ever needed .. i`ll send the access, ok.

    Anyway it is strange, because the kleo-ajax-search can not find the activity content as this plugin ??? http://buddydev.com/buddypress/making-buddypress-activity-searchable

    But only if i type this letter: che

    It is possible that kleo-ajax-search find the activity content without anonymous entry, too ?
    Or should i use the buddydev plugin?

    Many Thanks !

    #78522
     Laura
    Moderator

    Hello, ok then please try with this code in header.php

    COPY CODE
    
    <?php if ( is_user_logged_in() ) { } else { ?>
    <style  type="text/css" media="screen">
    .ajax_search_image {
        background-image: url('http://www.gravatar.com/avatar/c966b6a015a69b505a0b96f243f7284b?d=mm&s=50&r=G');
        border-radius: 60px;
        background-size: cover;
    }
    .ajax_search_image img {
        display: none;
    }
    .ajax_search_content:after {
        content: '?????';
    }
    .ajax_search_content a {
        display: none;
    }
    </style>
    <?php } ?>
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happyΒ to help you πŸ™‚

    #78533
     Tronle
    Participant

    I understand your code, but unfortunately nothing happen ..

    You win ! πŸ˜‰

    Where can i send my access? That you try to fix the ajax-search and member-index, member-profil (last_update) ?

    Many Thanks .. πŸ˜‰ πŸ˜‰ πŸ˜‰

    #78560
     Laura
    Moderator

    Hello, sure, send access as a private reply πŸ™‚
    So, to make sure, you want to hide, avatar, name and..?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happyΒ to help you πŸ™‚

    #78580
     Tronle
    Participant
    This reply has been set as private.
    #78588
     Tronle
    Participant
    This reply has been set as private.
    #78589
     Tronle
    Participant

    <div class=”ajax_search_content”>
    name
    <span class=”search_excerpt”>I love my chef. I love my chefin.</span>
    </div>

    Because the search expert show the anonymous entry!

    To change this i must know, where the php, css, javascript is ..

    ok .. πŸ˜‰

    #78617
     Laura
    Moderator

    Hello, will assign the ticket to a higher support lever who can help and advise you in your query.
    Thanks! πŸ™‚

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happyΒ to help you πŸ™‚

    #78618
     Tronle
    Participant

    Thanks! .. πŸ˜‰

    #79961
     Andrei
    Moderator

    The loop of the search results can be found here: wp-content/themes/kleo/lib/theme-functions.php:708
    Integrating this plugin with our theme might require some other modifications as well, for which you’ll need programming knowledge.

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

    Thanks !! πŸ˜‰ πŸ˜‰

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

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

Log in with your credentials

Forgot your details?