Forum Replies Created

Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
  • in reply to: Search results paging issue #105213
     gugga7
    Participant

    Ok I just checked, I think it’s coming from this code I added:

    //reorganize the users array and count the total users again
    $users[‘users’] = array_values($users[‘users’]);
    $users[‘total’] = count($users[‘users’]);

    Did I make any error or forgot to declare something in this code?

    Thanks

    in reply to: Search results paging issue #104812
     gugga7
    Participant

    You can login using these credentials to reproduce this:

    http://arabsinamerica.com/wp-admin
    login: karim
    pass: queen7

    Just click “Search Members” in the top menu.

    Thanks

    in reply to: Random instead of the Latest #104809
     gugga7
    Participant

    Hi Laura,

    This is supposed to make the profiles show randomly in the homepage carousel?

    Thanks.

    in reply to: Random instead of the Latest #104592
     gugga7
    Participant

    Sure, here you go:

    http://arabsinamerica.com/wp-admin
    login: karim
    pass: queen7

    Thanks.

    in reply to: Random instead of the Latest #104499
     gugga7
    Participant

    Hi Laura, yes please 🙂 Can you help me customize the Latest members carousel to achieve this? Thanks.

    in reply to: Removing white empty header in Search results page #100113
     gugga7
    Participant

    Hello, thanks for the prompt answer. The CSS tweak doesn’t seem to work. Please see attached screen shot. Also, when I select a search criteria, I get the “Profile Search results” text, how can I remove that as well?

    Thanks.

    in reply to: Members per page setting not working #99692
     gugga7
    Participant

    Can you please help with this? I am trying to limit the search results to 9 members per page only.

    in reply to: Removing white empty header in Search results page #99691
     gugga7
    Participant

    Hello,

    Please use this to login:

    http://arabsinamerica.com
    login: karima
    pass: test

    Thanks

    in reply to: Assign default Membership level at registration #95987
     gugga7
    Participant

    Ok, yes it works now. I’m trying to tweak it so that Free members are automatically prompted to get a premium membership after the trial period expires. How can I do that please?

    in reply to: CSS questions #95933
     gugga7
    Participant

    Attached are the color elements I am trying to change. Thanks.

    in reply to: Change the front/landing page background #95928
     gugga7
    Participant

    I fixed the inner background issue but still can’t seem to find where to modify the homepage background blue image…

    in reply to: Change the front/landing page background #95925
     gugga7
    Participant

    Also, where do I style the inner pages header and central background? I am attaching screen shots, as you can see the header changed correctly in the homepage (purple) but not in the inner pages (still blue).

    in reply to: Change the front/landing page background #95924
     gugga7
    Participant

    Hello, I have the slider turned on but I can’t seem to find where to change the big blue background image with all the face profiles as mentioned above. Under which setting specifically in RevSlider can I find this option? Thanks

    in reply to: Removing white empty header in Search results page #95911
     gugga7
    Participant

    Attaching a screen shot.

    in reply to: Hiding the total number in search results #95883
     gugga7
    Participant

    It was a cache issue, worked now, thanks 😉

    in reply to: Hiding the total number in search results #95874
     gugga7
    Participant

    Hello, it’s weird, it didn’t work, I also tried:

    COPY CODE
    li#members-all {
        display: none ! important;
    }

    It didn’t work either.

    in reply to: Expored colour combinations #95856
     gugga7
    Participant

    Just to make sure I understand, this will change only the colors. If I made any changes in the Child theme CSS, they won’t be erased, right?

    in reply to: Help Please (second time asking) #95561
     gugga7
    Participant

    Well this is not good, this should be a basic feature for a dating website. I checked your forum and this is a recurrent request from many users. That’s too bad, your theme is great but it falls behind for what seems to be an easy code correction…

    Very frustrating to have to look for another theme after putting so much work fixing things and being ready for launch because of an obvious dating feature, not a happy customer 🙁

    in reply to: Help Please (second time asking) #95552
     gugga7
    Participant

    Sending the files in a zipped format.

    in reply to: Help Please (second time asking) #95551
     gugga7
    Participant

    Hello, I’m having the same issue. We’re ready for launch pending this crucial issue. Please see my attached bp-custom.php file, I don’t think I missed anything.

    The problem: when first loading the Members search page (http://arabsinamerica.com/members), it filters correctly (Man see Woman and Woman see Man) but as soon as you change any search criteria, it goes back to showing both genders in the results…

    Any idea how to fix this please?

    in reply to: Restrict Looking for the Opposite #95549
     gugga7
    Participant

    May be I misunderstood but this restriction and code is not installed on your demo so I can’t test it there.

    in reply to: Opposite gender filtering… #95513
     gugga7
    Participant

    I also tried Laura’s code below, with no success, it shows only the opposite gender when you load the members page, but when you search by age or any other criteria, it goes back into showing both men and women… This is crucial for a dating website 🙁


    class BP_Custom_User_Ids {

    private $custom_ids = array();

    public function __construct() {

    $this->custom_ids = $this->get_custom_ids();

    add_action( ‘bp_pre_user_query_construct’, array( $this, ‘custom_members_query’ ), 1, 1 );
    add_filter( ‘bp_get_total_member_count’, array( $this, ‘custom_members_count’ ), 1, 1 );

    }

    private function get_custom_ids() {
    global $wpdb;

    //figure out if the logged-in user is male or female
    $sex = xprofile_get_field_data( 852, bp_loggedin_user_id() );

    if ( $sex == ‘Muslim’ )
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 852 AND value = ‘Muslima'”;
    else
    $query = “SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 852 AND value = ‘Muslim'”;

    $custom_ids = $wpdb->get_col( $query );

    return $custom_ids;
    }

    function custom_members_query( $query_array ) {

    $query_array->query_vars[‘include’] = $this->custom_ids;

    }

    function custom_members_count ( $count ) {

    $new_count = count( $this->custom_ids );
    return $new_count;

    }
    }

    function custom_user_ids( ) {

    new BP_Custom_User_Ids ();

    }

    add_action( ‘bp_before_directory_members’, ‘custom_user_ids’ );

    in reply to: Restrict Looking for the Opposite #95392
     gugga7
    Participant

    This is useless unfortunately. If you change any search criteria, it will go back to showing both genders…

    in reply to: Assign default Membership level at registration #95391
     gugga7
    Participant

    Hello, is this code still accurate? I copied it in functions.php for the Child theme, I changed the membership level ID but nothing happens when a new user registers.

    COPY CODE
    add_action('user_register', 'kleo_pmpro_default_level');
    function kleo_pmpro_default_level($user_id) {
    	pmpro_changeMembershipLevel(1,$user_id);
    }
    in reply to: Checkout issue. #95240
     gugga7
    Participant

    This was fixed, an issue with my htaccess. I re-uploaded a normal wordpress htaccess and if fixed this! Closing.

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

Log in with your credentials

Forgot your details?