Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Atahualpa3.7.25 - this release has one fix


  #1  
Old Sep 24, 2020, 03:27 AM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa3.7.25 - this release has one fix

The attached file is Atahualpa3.7.25 - this release has one fix (thanks to kdawes01) that allows Atahualpa to run with WordPress 5.5

Note: development of Atahualpa in no longer on going and another change in WordPress could potentially cause another error. This fix has been minimally tested so be sure to backup your database and files before updating to this version.

Better yet, you should apply it to a test site and check things out before using it in production.


atahualpa3725.zip
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #2  
Old Sep 24, 2020, 01:00 PM
SharonJ's Avatar
SharonJ
 
644 posts · Sep 2010
Duncan BC Canada
Thank you, very, very much to kdawes01 and to you, Juggledad. Trying to learn new themes that do not have the many, many options I am used to with Atahualpa has been absolute torture.

I am very grateful.
  #3  
Old Oct 15, 2020, 09:42 AM
extremecarver
 
107 posts · Jul 2009
I've found another bug regarding jquery! The MSIE6 detection is breaking some plugins - namely shortcodes ultimate.

So in js.php you should remove the whole msie6 detection (no-one is using internet explorer version 6 anymore anyhow - so get rid of the detection - there is something affected here too):


P.S. - if someone else finds bugs related to WP 5.5 / 5.6 please also report them here. It's actually hard to believe why no-one else found this one. It showed pretty prominent in browser console.

To remove in js.php

Quote:
/* For IE6 */
if (jQuery.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent) && !/MSIE 8\.0/i.test(window.navigator.userAgent)) {

/* Max-width for images in IE6 */
var centerwidth = jQuery("td#middle").width();

/* Images without caption */
jQuery(".post img").each(function() {
var maxwidth = centerwidth - 10 + 'px';
var imgwidth = jQuery(this).width();
var imgheight = jQuery(this).height();
var newimgheight = (centerwidth / imgwidth * imgheight) + 'px';
if (imgwidth > centerwidth) {
jQuery(this).css({width: maxwidth});
jQuery(this).css({height: newimgheight});
}
});

/* Images with caption */
jQuery("div.wp-caption").each(function() {
var captionwidth = jQuery(this).width();
var maxcaptionwidth = centerwidth + 'px';
var captionheight = jQuery(this).height();
var captionimgwidth = jQuery("div.wp-caption img").width();
var captionimgheight = jQuery("div.wp-caption img").height();
if (captionwidth > centerwidth) {
jQuery(this).css({width: maxcaptionwidth});
var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px';
var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px';
jQuery(this).css({height: newcaptionheight});
jQuery("div.wp-caption img").css({height: newcaptionimgheight});
}
});

/* sfhover for LI:HOVER support in IE6: */
jQuery("ul li").
hover( function() {
jQuery(this).addClass("sfhover")
},
function() {
jQuery(this).removeClass("sfhover")
}
);

/* End IE6 */
}
__________________
Don't settle for lousy expensive Maps - Get free Maps based on Openstreetmap with great autorouting for cyclists, hikers and Mountainbikers at http://openmtbmap.org

Last edited by extremecarver; Oct 15, 2020 at 09:46 AM.
  #4  
Old Nov 25, 2020, 12:13 PM
kdawes01's Avatar
kdawes01
 
99 posts · May 2009
Missoula, MT
Hi Juggledad,
I've just noticed that v. 3.7.25 doesn't include the PHP 7 fix of commenting out the JSON lines in the functions.php file and removing the JSON.php file. I haven't looked yet to see if the other v. 3.7.24 fixes are there.
__________________
Ken | The Web Mechanic
Many thanks to Flynn for the amazing Atahualpa. Please consider a donation!
  #5  
Old Dec 1, 2020, 04:43 PM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Arrugh!!1 - The (maybe) good news is that Flynn is looking to update the code fixing all the current issues - this is just a fix, no new features. It could show up in January.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Dec 1, 2020, 04:44 PM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Arrugh!!1 - The (maybe) good news is that Flynn is looking to update the code fixing all the current issues - this is just a fix, no new features. It could show up in January.

I'll try to check it oout in a day or two - helping remote school some grandkids and time is scarce.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Dec 2, 2020, 01:37 PM
kdawes01's Avatar
kdawes01
 
99 posts · May 2009
Missoula, MT
Wow!!! If Flynn could do that, it would be amazing!!!


Given that Atahualpa 3.7.24 came out in 2015 and still works with all of the changes in PHP and WordPress itself (granted, with a few tweaks necessary) it's a credit to Flynn's great coding!
__________________
Ken | The Web Mechanic
Many thanks to Flynn for the amazing Atahualpa. Please consider a donation!
  #8  
Old Jan 3, 2021, 04:57 AM
extremecarver
 
107 posts · Jul 2009
Quote:
Originally Posted by kdawes01
Hi Juggledad,
I've just noticed that v. 3.7.25 doesn't include the PHP 7 fix of commenting out the JSON lines in the functions.php file and removing the JSON.php file. I haven't looked yet to see if the other v. 3.7.24 fixes are there.
Maybe you did something wrong? For me that fix is there. json.php is not present, and the lines are also not present...
__________________
Don't settle for lousy expensive Maps - Get free Maps based on Openstreetmap with great autorouting for cyclists, hikers and Mountainbikers at http://openmtbmap.org
  #9  
Old Jan 10, 2021, 04:37 AM
juggledad's Avatar
juggledad
 
23,758 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just down loaded the zip file and checked and yes the fix's to at ata-admin.js are there with the previous lines commented out.

If you edit functions.php you should see line 2 showing version 3.7.25
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoupgrading atahualpa 3.6.4 over 3.5.3 currently in folder atahualpa3.5.3 NoahS New Versions, & Updating 1 Apr 19, 2011 09:51 PM
[SOLVED] Atahualpa3 downloaded today but not intalling properly TheDuckShoot New Versions, & Updating 2 Jul 25, 2010 01:55 PM
[SOLVED] How to change header image on Atahualpa3.4.1 pilsen1 Header configuration & styling 4 Sep 26, 2009 06:53 AM
3.1.3 - Backslashes are getting added like in the first release bseppa New Versions, & Updating 3 Dec 23, 2008 10:48 PM
Bug: with /wp-content/themes/atahualpa3/style.css.php chris Atahualpa 3 Wordpress theme 6 Dec 13, 2008 02:00 AM


All times are GMT -6. The time now is 05:56 PM.


Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.