Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Upgrading


  #1  
Old Aug 18, 2011, 03:26 PM
aebrigham
 
35 posts · Aug 2009
Hi There,

I am currently running WordPress v3.0.3 and want to upgrade to 3.2.1. Here is the thing, I am currently using the Atahualpa v3.5.3 and would also like to upgrade to 3.6.7. However, all this talk in the forums about No custom PHP code anymore. I am concerned about just willy nilly upgrading to v3.2.1 and seeing what happens. I am worried my site will just not work anymore.

My question is this. What are your suggested upgrade steps to bring my site up-to-date?
  #2  
Old Aug 18, 2011, 03:55 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Step 1 - backup your database and wp-contents folder

Do you have any custom php in the options? If not, then do the upgrades - remember to copy any header images back to the header folder.

If you do, manually copy the theme to a new folder (see the post in the FAQ about upgrading) so you can switch between the two versions. Then you can check it out and swap back and forth.

You could also copy the site to a 'playground' or test site and test it out
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Aug 22, 2011 at 06:47 AM.
  #3  
Old Aug 19, 2011, 07:16 AM
aebrigham
 
35 posts · Aug 2009
Hi juggledad,

Thank-you for the quick response.

When you asked the question about custom php in the options? I am not exactly certain how to answer this. I may have altered some CSS, and i did something awhile back that added the "Search" box into the Menu bar, but I am not certain where that is...

How can I tell looking at the options if I have custom php?
  #4  
Old Aug 19, 2011, 07:34 AM
aebrigham
 
35 posts · Aug 2009
I believe this is how I got the Search in the Menu Bar.

div.searchbox {
position: absolute;
top: 130px;
right: 25px;
}
div.searchbox input.text {
border: none;
padding: 2px 15px 2px 3px;
background: #fff url('<?php bloginfo('template_directory'); ?>/images/search2.gif') no-repeat right center;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
height: 15px;
bolder: solid 1px #e7e7e7;
font-size: 11px;
}

However, since 3.6.5 PHP code cannot be used anymore in HTML/CSS Inserts. How can I achieve this same result in the new version of Atahualpa? http://www.medeirosrmt.com/
  #5  
Old Aug 19, 2011, 11:35 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
that's not php, that is CSS and it is fine and will work in 3.6.7
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Aug 20, 2011, 08:15 PM
aebrigham
 
35 posts · Aug 2009
Hi juggledad,

Thank-you again for the reply.

I did as you suggested and created a testing.medeirosrmt.com site and installed the latest version of Wordpress and Atahualpa. Note on this site, the CCS code I posted does work accept, the search graphic in the text box does not appear. I also noticed some differences with cForms II, ie. the buttons don't appear the same, and the menu bar does not span the entire browser area.

I exported the Atahualpa options and imported them into the latest version. Note the differences from www.medeirosrmt.com and testing.medeirosrmt.com.

Any help would be appreciated.

Thanks,
Andrew
  #7  
Old Aug 22, 2011, 06:56 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
your right, you do have to make some adjustments. One of the nice features of Atahualpa was that you could put php in the options. Then at runtime, Atahualpa would use the 'eval()' function to process the PHP in the option.

Unfortunately, WordPress has decided that allowing a theme to use the eval() function is a bad thing and they will not approve any theme with this in it. Flynn (the developer) tried a couple of other options that have not worked out. He was able to have the code examine some of the options to look for certain php functions, but not all.

You have three options:
1) stick with 3.5.3
2) move to 3.6.7 and change the items like
HTML Code:
background: #fff url('<?php bloginfo('template_directory'); ?>/images/search2.gif') no-repeat right center;
to
HTML Code:
background: #fff url(http://yourdomain.com/wordpress/wp-contents/themes/atahualpa/images/search2.gif') no-repeat right center;
3) wait a bit to see if Flynn releases a premium version of the theme that adds back in the eval()
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Aug 22, 2011, 09:55 AM
aebrigham
 
35 posts · Aug 2009
Hi Juggledad,

This worked perfectly, thank-you for your quick response.

Last two things. Again the Menu bars do not span the entire browser width and they used to in my older version.

Secondly, cForms II buttons do not display properly. Any help would be appreciated...
  #9  
Old Aug 22, 2011, 10:14 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
...the Menu bars do not span the entire browser width...
if you mean the grey bars, that is because in testing.medeirosrmt.com at ato->Body, Text & Links->Body Style you are using php to pint to the directory

also at http://www.medeirosrmt.com/ I see a error at the bottom of the page
HTML Code:
Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/content/a/e/b/aebrigham/html/medeirosrmt/wp-content/plugins/wassup/wassup.php on line 3954
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Aug 22, 2011, 11:46 AM
aebrigham
 
35 posts · Aug 2009
Hi Juggledad,

I have changed the URL again for the Menu bars. I tried to find all the places where this occurred, I guess I did a poor job at this. Nevertheless, everything is working as expected now. Thank-you for your help... I appreciate your time...

Bookmarks

Tags
php, questions, steps, upgrade, version

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading 3.5.2 to 3.5.3 leandrocc New Versions, & Updating 1 Oct 26, 2010 12:38 PM
Is upgrading from 3.4.9 really necessary ? sober New Versions, & Updating 1 Oct 25, 2010 05:23 PM
Upgrading to WP 2.8.5 jfrenaye Installing & running WordPress 1 Oct 21, 2009 02:35 PM
Best practices for upgrading from WP 2.7 to 2.8? paulae New Versions, & Updating 8 Jul 16, 2009 03:05 PM


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


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