Don't check for wpmu-settings.php
Several places in Atahualpa, the theme checks to see whether WPMU is running by seeing whether wpmu-settings.php exists. This file has been removed in WP 3.0+, so the check always returns false, breaking ability to use images uploaded through the media uploader for the rotating image header.
WP 3.0+ has a core function is_multisite() that works nicely for this purpose. If you want to keep backward compatibility with WPMU, maybe you could do something like if ( ( function_exists( 'is_multisite' ) && is_multisite() ) || file_exists(ABSPATH."/wpmu-settings.php") ) (Untested, but I imagine it will work.) Thanks! |
My temporary solution was to create an empty wpmu-settings.php file in the root of the WordPress folder.
I also had to make these changes to make the Atahualpa Options page show up for the users on our multisite install. |
The solution to all of this is HERE!
Maybe this can be added to the Atahualpa theme permanently? Supported WP Versions It supports all the following:
Added Features:
Documentation ALL Mods are detailed in the download file: README_MULTISITE_MOD.phpWith exact line numbers in the Atahualpa 3.6.4 theme. === Likewise ~ the five pre-modified Atahualpa 3.6.4 files in the download package can be searched for "LANtait" with complete comments on how each file was modified. TESTED TESTED with Atahualpa 3.6.4 and WP 3.0.4 At this writing this mod has been running for nearly a month on live sites. This should work with WP 3.0.5 and WP 3.1 === Boone, Your mod breaks WPMU users. In this thread http://forum.bytesforall.com/showthread.php?t=12267 Post 13 from Tamara-IT is using WPMU (in 2011) and your suggestion would really break her site, and all other WPMU installs. It could be argued that they should upgrade to WP3.x multisite, but that may take some time (and be rather complex). This mod allows WPMU users more time to do that upgrade. === ctrl-alt-esc, When using this mod, it adds the features of sort and shuffle to the multisite theme code. The wpmu-settings.php is not standard and should not be used without WPMU. Therefore, by adding this mod to the theme for WP 3.x (any mode) you should delete the wpmu-settings.php file, as is standard for WP 3.x |
All times are GMT -6. The time now is 08:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.