Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  •  bayfest
    Participant

    Hello again,
    What we have discovered is that previous developers made customizations to the theme that are integral to the working of the site. But we don’t have an efficient way of finding what he changed.
    Is it possible you could please send me a copy of the OLD Sweetdate theme files for version 2.6.3 so that I can compare them to the files on the site and find all the changes that were made, and move those changes into the child theme of the latest version of Sweetdate. (which I do now have a copy of, thank you.)

    In short, if it’s possible please send a copy of the Sweetdate theme version 2.6.3 for development purposes.
    Thank you!

     bayfest
    Participant

    Thank you for leading us to the download. The new version refuses to install:

    Unpacking the package…
    Installing the theme…
    The package could not be installed. The theme is missing the style.css stylesheet.
    Theme install failed.

    I looked for an update option within your theme, but I don’t see one. I’ve read your documentation “Installation & Updates”, but it only covers installation, not updating:

    Attachments:
    You must be logged in to view attached files.
     bayfest
    Participant
    This reply has been set as private.
     bayfest
    Participant

    Thanks Abe, I’ll ask them for their ThemeForest login credentials. I would recommend adding a link to that for users somewhere under My Account. With most 3rd party software we use this is standard and saves a lot of time.

    Thanks & regards,

     bayfest
    Participant
    This reply has been set as private.
     bayfest
    Participant

    To clarify, this is the customer account and we need to update our site because 2.6.3 is not compatible with the latest WooCommerce upgrade. It’s urgent that we can download the new version. Do you not make it available on this site??

     bayfest
    Participant

    This is their account. I don’ t see any downloads section though.

    in reply to: Can’t edit sub-heading text in header #128967
     bayfest
    Participant

    Thank you Radu, that’s very helpful!

    in reply to: Can’t edit sub-heading text in header #128952
     bayfest
    Participant

    Thanks for taking a look. We can’t disable plugins as this is a live site with paying members. The original developer is not available.

    Kleo Theme? I thought your theme was called Sweet Date?

    in reply to: Can’t edit sub-heading text in header #128939
     bayfest
    Participant
    This reply has been set as private.
    in reply to: Can’t edit sub-heading text in header #128922
     bayfest
    Participant
    This reply has been set as private.
    in reply to: SPAM REGISTRATIONS #17628
     bayfest
    Participant

    you should check out bruteprotect https://wordpress.org/plugins/bruteprotect/

    in reply to: kleo_img_rounded bug with fix #17143
     bayfest
    Participant

    the Forum swollowed my post. so here we go again.

    Change this line
    $output .= ' <a href="'.$src.'" class="imagelink" '.$data.'>

    to this
    $output .= ' <a class="imagelink" '.$data.'>

    in reply to: Match/Search Algorithm #16414
     bayfest
    Participant

    ah, thanks. So after reading that thread I came up with this (this is a example for the “I am a “Capricorn” and I could match with someone who is “Taurus” or “Virgo”” part):

    ————————-
    function compatibility_score($userid1=false, $userid2=false)
    {
    global $kleo_config;

    if ($userid1 && $userid2)
    {
    $score = 1;

    // Sex match
    if ((isset($kleo_config[‘matching_fields’][‘sex_match’]) && $kleo_config[‘matching_fields’][‘sex_match’] == ‘1’)
    || !isset($kleo_config[‘matching_fields’][‘sex_match’]) )
    {
    $field1_u1 = xprofile_get_field_data($kleo_config[‘matching_fields’][‘sex’], $userid1);
    $field12_u1 = xprofile_get_field_data($kleo_config[‘matching_fields’][‘looking_for’], $userid1);
    $field1_u2 = xprofile_get_field_data($kleo_config[‘matching_fields’][‘sex’], $userid2);
    $field12_u2 = xprofile_get_field_data($kleo_config[‘matching_fields’][‘looking_for’], $userid2);

    if ((strcmp($field1_u1, $field12_u2) == 0) && (strcmp($field12_u1, $field1_u2) == 0)) {
    $score += 49; }
    //if no sex match, return the score
    else {
    return $score;
    }
    }

    // Star matc

    $starsign_user1 = xprofile_get_field_data(‘Star Sign’,$userid1);
    $starsign_user2 = xprofile_get_field_data(‘Star Sign’,$userid2);

    if (
    ((strcmp($starsign_user1, “Capricorn”) == 0) && ((strcmp($starsign_user2, “Taurus”) == 0) || (strcmp($starsign_user2, “Virgo”) == 0))) ||
    ((strcmp($starsign_user2, “Capricorn”) == 0) && ((strcmp($starsign_user1, “Taurus”) == 0) || (strcmp($starsign_user1, “Virgo”) == 0)))
    ) {
    $score += 50;
    }

    if ($score > 100) {
    $score = 100;
    }

    return $score;
    }
    }
    ————————-

    Could I put this function in the child theme/functions.php and it would be all I need to change the matching algorithm? Does the system match based on the highest score?

    Thanks again!

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

Log in with your credentials

Forgot your details?