Forum Replies Created
-
Author
-
November 11, 2016 at 15:21 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #143889
bayfest
ParticipantHello 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!October 30, 2016 at 20:42 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #142096bayfest
ParticipantThank 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.October 30, 2016 at 02:38 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #142074bayfest
ParticipantThis reply has been set as private.October 29, 2016 at 14:40 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #142028bayfest
ParticipantThanks 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,
October 29, 2016 at 10:28 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #142012bayfest
ParticipantThis reply has been set as private.October 28, 2016 at 16:50 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #141904bayfest
ParticipantTo 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??
October 28, 2016 at 16:23 in reply to: Updating from 2.6.3 to 2.6.9 – where to download and what process? #141898bayfest
ParticipantThis is their account. I don’ t see any downloads section though.
bayfest
ParticipantThanks 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?
bayfest
Participantthe 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.'>
bayfest
Participantah, 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!
-
AuthorPosts