Forum Replies Created

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
  •  ahodhellysar
    Participant
    Not marked as solution
    in reply to: several requests #175483
     ahodhellysar
    Participant

    1 – so the live search is separated of the default wordpress search page..so it’s all depends in how fast the search results fire before the user press enter .. the problem is , there’s a lag , about 2 3 seconds before the results appear , they aren’t instantly appearing .. the user input the search query and nothing happens instantly , he wait 2 seconds till the results fire .. and through this 2 second waiting , there’s no any sign that’s something performing , no loading circle like this in your demo

    watch the video :

    what i need is to know how to speed the live search performance and to show a preloading icon like this in your demo

    2 – i have solved the search member by only numeric value by editing this line in the theme function file .. line 621

    COPY CODE
    		if ( function_exists( 'bp_is_active' ) && is_numeric( $search_string ) && ( $context == "any" || in_array( "members", $context ) ) ) {
    			$members = bp_core_get_users( array(
    				'search_terms'    => $search_string,
    				'per_page'        => $defaults['numberposts'],
    				'populate_extras' => false,
    			) );
    		}

    now the search get members only if the search string is a numeric value .
    but still there’s a problem , that’s if the user will use the member search page , or will use a direct link .
    what i need is , a similar code to this you provided before , to redirect or get the 404 not found page if the $search_string is not numeric in the member search page .. bp_get_members_directory_permalink() . "?s=" . $search_string

    3- about the default search page “domainname.come/s?=” i think i need a search plugin for it .. would you advice me any good plugin support buddypress ?

    in reply to: several requests #175217
     ahodhellysar
    Participant

    Thanks for your code, but it doesn’t help much unfortunately.
    1 – i just need to prevent searching by names , and allow search “MEMBERS” only by the user_login .. as you see in screenshot below , it doesn’t find results because almost it search by the name not the user_login
    https://snag.gy/NQ6HIG.jpg

    so i think it would be better to use another method , to just make it search by the user_login , not any other meta

    2 – in your code , as i understand it , you redirect any non numeric values in “url/?s” to 404 page .. but i still want search by name in other context like groups and posts etc

    3 – and what about the live search form results .. how to prevent it , because it still can search by name
    https://snag.gy/at3nhL.jpg

    4 – now the live search form populate results before pressing enter .. then i press enter to go to the results page .. but what about mobiles and tabs .. doesn’t this form miss a submit button?

    in reply to: several requests #175160
     ahodhellysar
    Participant

    1- i just want the user search member by user_login .. which it’s a unique random number for each user .. i don’t want them to search member by anything else , not the display name neither the nicename .. only user_login and maybe the email too

    in reply to: several requests #175128
     ahodhellysar
    Participant

    Hi radu ,
    1- i’m already know this , but this is not what i need ,, i need to limit search members to only numeric values .. what i try to do is preventing users to find each others by names .. i know it gonna require custom coding and there’s no ready solution for it .. all what i need from you is giving me hints about this code , and where to place it , which files i should work on.

    3- i don’t want to hide them , i want to disable it .. hide the filters and show all friends and joined groups activities

    in reply to: Show chosen menu items-icons in mobile header icons #173993
     ahodhellysar
    Participant

    1 AND 2 SOLVED .. i need help in three only now

    in reply to: Show chosen menu items-icons in mobile header icons #173884
     ahodhellysar
    Participant

    done , i updated and now the live message icon appear .. but the side bar icon still doesn’t appear in the header .. i just need the way to add any item i want to this header .. i’m willing to add the login and register menu items to it too .. hiding them inside the toggled menu isn’t a user friendly i think .. if the user login for first time to the website from mobile, he’s not supposed to search for where to register .. so i need to :
    1- add the sidebar icon beside the live and message notifications icons, and the default mobile toggle icon
    2- add the login and the register icons “menu items” beside them too
    3- add a second level to sub-menu

    thanks in advance radu

    in reply to: Show chosen menu items-icons in mobile header icons #173451
     ahodhellysar
    Participant

    hi radu , thanks for your reply
    i’m already did the same as your screenshots, but only the live notification icon appear .
    – i don’t use the side menu as a default mobile menu , i’m using it as separated menu beside the default mobile menu

    now i have four items i want to show them in the header space in mobile menu
    1- live notification
    2- live message
    3- the side menu icon
    4- the default mobile menu toggle

    thanks in advance

    in reply to: Show chosen menu items-icons in mobile header icons #173293
     ahodhellysar
    Participant

    hi laura, is the answer above for me?! .. i’m not sure if you did read my question , i’m already over explained what i need to avoid any misunderstand.

    check the attached screenshots please.
    a – the first screenshot is for desktop header , as you see there are three icons “1-live notification icon , 2- live message icon , 3- a side menu icon”

    b – the second screenshot is for the MOBILE HEADER , “there’s only the live notification icon and the menu toggle”

    c- what i want is to show “the live message icon and the side menu icon” BESIDE “the live notification icon and the menu toggle icon”

    I hope it’s clear enough now.

    in reply to: Add a custom dynamic link to the menu items #171760
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: theme options dashboard tabs don’t load #169869
     ahodhellysar
    Participant

    solved , it caused by a setuped plugin

     ahodhellysar
    Participant
    Not marked as solution
    in reply to: a special refund request #163379
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: a special refund request #163273
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: fan page creation #161893
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: a special refund request #161557
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: a special refund request #160478
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: a special refund request #160192
     ahodhellysar
    Participant
    Not marked as solution
    in reply to: change particles lines color #159497
     ahodhellysar
    Participant

    but this file isn’t in the theme folder , the file located in the plugins folder ,, this is the path :
    \wp-content\plugins\k-elements\shortcodes\templates

    in reply to: change particles lines color #159296
     ahodhellysar
    Participant

    well , i did it by changing the the color in the kleo_particles.php file .. now , how to safe this of being erased by the updates? 🙂

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

Log in with your credentials

Forgot your details?