0 Members and 1 Guest are viewing this topic.

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« on: September 25, 2017, 04:36:40 AM »
Hi all members,

Here are all the latest photo updates with the latest version of Geoip.

The photos are now loading even faster and change instantly when changed.

The geoip has been updated to the latest version out, more accurate but you do need to load
your countires Zipcodes for it to work correctly.

The photo uploading has a bigger upload size to allow for mobile pics plus more, no more white pages or errors but does depend
on your hosts upload limits also.

Also have added some changes in the index.php and Functions file getting ready for the new FaceBook login mod almost finished.

Please unzip and upload all the files to your website.

Please double check the username checker is working.
« Last Edit: September 25, 2017, 07:28:47 AM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #1 on: September 26, 2017, 07:01:29 AM »
Hi all members,

Here is another fix for Google Chrome users.

In all the default templates go to the css folder and open the desktop.css and find this line 786:
Code: [Select]
 
.smallpic_snap {
border: 1px solid #AAA;
width: {$config.disp_snap_width};
height: {$config.disp_snap_height};
max-height: 800px;

padding-left: 0px;
padding-right: 0px;
   border-radius: 5px;
 
}

Change to:
Code: [Select]
.smallpic_snap {
border: 1px solid #AAA;
width: 260px !important;
height: auto !important;
background-size: 160px auto;
max-height: 300px;
//max-height: 800px;

padding-left: 0px;
padding-right: 0px;
   border-radius: 5px;
 
}

Then in the mobile.css on line 1985 find this:
Code: [Select]
.smallpic_snap{

border: 1px solid #AAA;

//width: 140px;

width: {$config.disp_snap_width} !important;

height: {$config.disp_snap_height} !important;

background-size: 160px auto;

max-height: 200px;

border-radius: 5px;

 }

}

Change to:
Code: [Select]
.smallpic_snap{

border: 1px solid #AAA;

//width: 140px;

width: 160px !important;

height: auto !important;

background-size: 160px auto;

max-height: 200px;

border-radius: 5px;

 }

}

Now go to line 2007 and fine this:
Code: [Select]
.smallpic_snap {

border: 1px solid #AAA;

width: {$config.disp_snap_width} !important;

height: {$config.disp_snap_height} !important;

max-height: 180px;

//min-height: 85px;

  border-radius: 5px;

 }

}

Change to:
Code: [Select]
.smallpic_snap {

border: 1px solid #AAA;

width: 100px !important;

height: auto !important;

max-height: 180px;

//min-height: 85px;

  border-radius: 5px;

 }

}


That's it, I will post them all fixed soon.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

KHDev

  • *****
  • 89
  • Releasing stuff and learning on the way!
    • KH Web Development
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #2 on: September 26, 2017, 11:43:55 PM »

Think in a future update photo thumbnails get generated as squared :P

More practical for layouts ;)

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #3 on: September 26, 2017, 11:50:48 PM »
Hi KHDev,

Only problem with squared photos, they distort the photo when someone adds a wide  :P

If we had the same template style it would be less hassle  ;) hint hint

Think it's time I looked at making a bootstrap template myself.
« Last Edit: September 27, 2017, 12:16:24 AM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

KHDev

  • *****
  • 89
  • Releasing stuff and learning on the way!
    • KH Web Development
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #4 on: September 27, 2017, 12:55:56 AM »
Hi KHDev,

Only problem with squared photos, they distort the photo when someone adds a wide  :P

If we had the same template style it would be less hassle  ;) hint hint

Think it's time I looked at making a bootstrap template myself.

To avoid the distortion there's the approach Etano takes which uses php to downsize then pad out the edges to make up the difference between the desired size/shape and actual size/shape keeping the image central.

Or there's the more complex option of cropping to have a full square (no pad) but that would involve additional input from users who'd need to correct the crop placement.

Haha hint hint recieved 😂


*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #5 on: September 27, 2017, 02:17:47 AM »
Hi KHDev,

Another option to make google happy is to add also photo compression on upload, which I might also have to look at soon, this is more so done for mobile and tablets because of data usage.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #6 on: September 28, 2017, 12:50:15 PM »
is it actually in the downloadfile included?
best regards

*

CBG

  • *****
  • 932
    • osDate Forum
  • osDate Version: osDateEvo v1.2
Re: osDateEvo V1.2 Getsnap and geoip Patch 25-09-2017
« Reply #7 on: September 28, 2017, 02:12:55 PM »
is it actually in the downloadfile included?
best regards

Just looked at it doesn't seem to be.
Regards,
CBG (Garry)
osDate: 2.6.5, & Evo
PHP: 5.6.x | MySQL: 5.5.34-cll