Registration Not working/capturing – BuddyPress theme works, my theme doesn’t, any fixes
-
Hi all,
It’s a well covered topic here, but my problem seems to be common, although a definite answer doesn’t appear easy to find.
Registration issues, once submitted, I’m not going any further, the validation doesn’t activate, and the new user doesn’t capture. This is with my theme installed (Unite 2.0 by Parallelus (Andy Wilkerson)), however it does work on BuddyPress’s default theme. And if I install a basic theme like twenty10, I can get it to work no problems once I copy the required files across.
So my thoughts are, that there is something function wise that is missing or broken in Unite 2.0 theme (which I have to use as the client requires this, and has spent money customizing), and is conflicting, or not being called identically. I have followed just about all steps I can think of, and can’t fix the final missing piece,
Has anyone come across something like this? The functions.php file for unite is quite small, so I have pasted it below, as a starting point, and if you need any more info or files I can pass them on:
My setup is as follows:
Latest WordPress
Latest BuddyPress
BuddyPress Templates modified to work as expected on my theme or not modified and clean installed, not working
functions.php#================================================================== # # Admin control panel setup # #================================================================== # Default theme variables and information $themeInfo = get_theme_data(TEMPLATEPATH . '/style.css'); $themeVersion = trim($themeInfo); $themeTitle= trim($themeInfo); $shortname = strtolower(str_replace(" ","",$themeTitle)) . "_"; $postIndex = false; // special case variable for index paging bug // set as constants //................................................................ define('THEMENAME', $themeTitle); define('THEMEVERSION', $themeVersion); // shortcuts variables //................................................................ $cssPath = get_bloginfo('stylesheet_directory') . "/"; $themePath = get_bloginfo('template_url') . "/"; $themeUrlArray = parse_url(get_bloginfo('template_url')); $themeLocalUrl = $themeUrlArray . "/"; // setup info (category list, page list, etc) //................................................................ $allCategories = get_categories('hide_empty=0'); $allPages = get_pages('hide_empty=0'); $pageList = array(); $categoryList = array(); // create category and page list arrays //................................................................ foreach ($allPages as $thisPage) { $pageList[$thisPage->ID] = $thisPage->post_title; $pages_ids[] = $thisPage->ID; } foreach ($allCategories as $thisCategory) { $categoryList[$thisCategory->cat_ID] = $thisCategory->cat_name; $cats_ids[] = $thisCategory->cat_ID; } // Translation ready code //................................................................ // Make theme available for translation, Translations can be filed // in the "languages" directory. To change language just change // the value of $locale with laguage .mo file name.. // for example: global $locale; $locale = 'pa_IN'; load_theme_textdomain( THEMENAME, TEMPLATEPATH . '/languages' ); // This theme uses wp_nav_menu() in one location. //................................................................ if (version_compare( get_bloginfo('version'), '3.0', '>=' )) { register_nav_menus( array( 'primary' => __( 'Primary Navigation', $themeTitle ), ) ); } # Admin Menu Options // include options functions //................................................................ include_once('theme_admin/includes/option_functions.php'); // Menu structure //................................................................ function this_theme_menu() { add_menu_page('Theme Options', THEMENAME, 10, 'theme-setup', 'loadOptionsPage', get_template_directory_uri().'/theme_admin/images/themePanelIcon.png'); add_submenu_page('theme-setup', 'General Settings', 'General Options', 10, 'theme-setup', 'loadOptionsPage'); add_submenu_page('theme-setup', 'Home Page', 'Home Page', 10, 'homepage-options', 'loadOptionsPage'); if ( version_compare( get_bloginfo('version'), '3.0', '<' ) ) { // Theme menu manager only used for WP versions earlier than 3.0 add_submenu_page('theme-setup', 'Main Menu', 'Main Menu', 10, 'mainmenu-options', 'loadOptionsPage'); } add_submenu_page('theme-setup', 'Slideshow', 'Slideshow', 10, 'slideshow-options', 'loadOptionsPage'); add_submenu_page('theme-setup', 'Sidebar', 'Sidebar', 10, 'sidebar-options', 'loadOptionsPage'); add_submenu_page('theme-setup', 'Blog', 'Blog Pages', 10, 'blog-options', 'loadOptionsPage'); // 18-Aug ubhi -ps (added the blog link) add_submenu_page('theme-setup', 'Portfolio', 'Portfolio Pages', 10, 'portfolio-options', 'loadOptionsPage'); add_submenu_page('theme-setup', 'Contact Page', 'Contact Page', 10, 'contact-options', 'loadOptionsPage'); } // Create menu //................................................................ add_action('admin_menu','this_theme_menu'); // call and display the requested options page //................................................................ function loadOptionsPage() { global $themeTitle,$shortname,$pageList,$categoryList,$wp_deprecated_widgets_callbacks; include_once('theme_admin/includes/options_pages/'. $_GET .'.php'); // Get the list in array array form of excludes $customOptionsPages = array('slideshow-options', 'mainmenu-options', 'blog-options', 'portfolio-options', 'sidebar-options'); if ( !in_array($_GET, $customOptionsPages) ) { include_once("theme_admin/options.php"); } } # Addon Functions and Content include_once("theme_admin/includes/addon-functions.php"); # Include Widgets include_once('theme_admin/includes/widgets.php');
- The topic ‘Registration Not working/capturing – BuddyPress theme works, my theme doesn’t, any fixes’ is closed to new replies.