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 »

Upgrading Atahualpa and migrating settings and PHP customizations


  #1  
Old Aug 9, 2012, 02:12 AM
treeplant
 
35 posts · Mar 2010
Hi
I am a gold forum member, but have been out of the loop for awhile.
Hope you can help with this.

I will be updating some of my older WordPress installations with the latest WordPress and Atahualpa , For example I have an installation of WP 2.9.2 and Atahualpa 3.4.6.

I know that I can update my WP site and custom WP settings should be maintained, but how do I do that with Atahualpa and still maintain my custom settings?

I don’t see a way to migrate Atahualpa settings from an older version to a newer on (except for a ‘settings’ export from a newer Atahualpa version that 3.4.6)

There are two areas,
1. the basic settings which can be exported in newer versions of Atahualpa, but not in 3.4.6.
2. The custom changes I've made to the PHP files, like advertising code and other changes like changing headers or footers.

Is there a way to go from an older version to a newer version and bring over the older settings and PHP customizations?

Do I have to copy every single setting manually from the old settings and all the custom PHP files and manually copy the changes back into the new Atahualpa installation in both the settings area and the PHP files are?

Any help would be greatly appreciated.

Last edited by juggledad; Aug 9, 2012 at 04:56 AM.
  #2  
Old Aug 9, 2012, 05:22 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
read HOWTO: upgrade Atahualpa to a new version
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 30, 2012, 03:08 AM
Gilu
 
13 posts · Aug 2012
Switzerland
Send a message via Skype™ to Gilu
For upgrading purposes, I've made a little script that will copy my files back to the newly updated theme folder.
It's quick and dirty, but it works in my case really well!
I hope you (or anybody else) can use it.

Copy the extracted file into your WP root directory and edit it to suit your needs. Run it.

--------------------------------------------------------------
NOTE from Juggledad: You will have to edit this file to get it to work - if you do not know PHP don't bother to play with this.
1) your root folder has to be 'WP' (or you have to change this in the code)
2) your images have to be in a folder in the themes folder called 'atahualpa_images' (or you have to change this in the code)
3) you will have to remove the second array of files and the code that copies them or live with the error

This will not be supported by the moderators, so use at your own risk and if you have questions or problems, send a PM to 'Gilu' about it.
--------------------------------------------------------------


EDIT:
Well, your comment got me thinking...
I've updated the script. All you need now is a folder in the themes directory called 'atahualpa_images' with the same structure as the original 'atahualpa' directory. The 'atahualpa_images' folder contains only the changed and new files!

The script will then copy all files from 'atahualpa_images' to 'atahualpa' and overwrite existing files!
Prior to that, it will clear the '/images/header/' directory!

Edit the script: Change
Code:
$wp_root = "./"; // if your WordPress is not in your root!
$atahualpa_images = 'atahualpa_images'; // only if you don't use this directory
That should be it!
If you have any questions, please PM me.
Attached Files
File Type: zip Images_Update_Atahualpa.zip (2.0 KB, 349 views)

Last edited by Gilu; Aug 30, 2012 at 10:35 AM.
  #4  
Old Sep 4, 2012, 07:24 AM
Stevieboy
 
11 posts · Oct 2010
England
Something to be aware of, to quote the documentation:

Quote:
Since 3.6.5 custom PHP code isn't possible anymore in the Atahualpa Theme Options.
__________________
Steve
www.mayne.net

Last edited by Stevieboy; Oct 14, 2012 at 04:38 PM.

Bookmarks

Tags
atahualpa, migrate, migrating, update, updating

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting errors after migrating to 371 - help dave_2222 New Versions, & Updating 25 Dec 13, 2011 01:28 AM
[SOLVED] Personal settings and upgrading Tamara-IT New Versions, & Updating 2 Jan 7, 2011 11:05 AM
Can I transfer theme customizations to another Atahualpa blog? runbei Atahualpa 3 Wordpress theme 0 Nov 20, 2009 10:51 AM
Errors when accessing homepage after migrating to new domain kmagyarics New Versions, & Updating 3 Nov 1, 2009 04:27 AM
Upgrading to WP 2.8.4, still using Atahualpa 3.2 paulae Installing & running WordPress 0 Sep 6, 2009 12:40 PM


All times are GMT -6. The time now is 08:06 AM.


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