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 »

[SOLVED] WPMU/Buddypress theme error


 
Prev Previous Post   Next Post Next
  #3  
Old Jul 15, 2009, 10:22 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
In functions.php add the red parts



// This adds arbitrary content at various places in the center (= content) column:
function bfa_center_content($center_content) {

global $bfa_ata;

// PHP
// not for WPMU
# if ( !file_exists(ABSPATH."/wpmu-settings.php") ) {

if ( strpos($center_content,'<?php ') !== FALSE ) {
ob_start();
eval('?>'.$center_content);
$center_content = ob_get_contents();
ob_end_clean();
}

# }

echo $center_content;

}



I had disabled this for WPMU and not thought about what would be there instead then. I am just enabling it again I think for the next version. The plan was to add the option to dumb down Atahualpa for WPMU installs so PHP cannot be used but I'll leave that for another version in the future
 

Bookmarks

Tags
center column, content, errors



Similar Threads
Thread Thread Starter Forum Replies Last Post
WPMU search all blogs plugin billc108 Plugins & Atahualpa 3 Aug 28, 2010 04:21 AM
pre-customized Atahualpa on WPMU dancer Atahualpa 3 Wordpress theme 3 Jun 29, 2010 07:32 AM
wpmu adaptations ovizii New Versions, & Updating 4 Apr 16, 2009 06:46 AM
Theme Options Menu Doesn't Work + error + spanish tranlation (Beta) ghenghiz Languages & Translations 6 Apr 4, 2009 07:36 PM
Broken Theme - Stylesheet is missing - Error upon initial upload rontorica Atahualpa 3 Wordpress theme 16 Mar 6, 2009 02:48 PM


All times are GMT -6. The time now is 09:05 AM.


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