Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 170

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Add !important to REDUX Compliler custom-styles.css #8288

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Let me know how you go 🙂

    in reply to: Feature Request: Top Bar Changes #8282

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Chris

    Great stuff. Do I need the Envato Toolkit installed to update?

    It get stuck when the <address> is wrapped around the email address. Resizing the window from full to mobile size and back again. It gets stuck when resizing back to full. Screenshot attached. (Though it seems like you already fixed this on you live demo).

    Fraid I can’t post my url as I’m developing locally. But I can post some screenshots. There are not that many changes at this moment.
    Main ones are:
    – Edits to theme options and the framework/compiler + styles to handle those changes.
    – Changes to the top bar through a new header.php file
    – Shrinking Header when it’s sticky

    Let me know if you want me to paste my code for any of these.

    More changes will come I’m sure so I’ll keep you posted. Loving the theme. Love your work.

    Frank

    in reply to: Menu Issue / Redux frameword fatal error #8257

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Looks like mega-menu css sheet is being called.

    1. Go to Appearance > Menus, deactivate MM on the left.
    2. Go to you MM settings /wp-admin/admin.php?page=maxmegamenu&tab=tools and clear the CSS cache
    3. Reactivate in Appearance > Menus.

    in reply to: Add !important to REDUX Compliler custom-styles.css #8252

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    So here’s my compiler that I wrote along with other edited files.

    The files in sd-admin-options folder in the parent theme have been edited for a FEW Redux edits.
    sd-redux-styles.css : not changed
    sd-redux-settings.php : functions such as enqueuing the above redux styles, removing the demo and adding font-awesome. Used to be included with sd-admin-options.php but is now included through function.php and cannot be overridden by child theme.
    sd-admin-options.php : Slimmed down version of original, by removing the css compiler (below) and other redux settings. CAN be replaced through child theme or plugin by defining a new path with SD_REDUX_OPTIONS_PATH
    sd-redux-css-compiler.php : Original comiler function but separated into own file so it CAN be replaced through child theme or plugin by defining a new path with SD_REDUX_COMPILER_PATH
    custom-styles.css : Default css file that compiler will right to.

    NOTE:
    – The enqueue_Style function for custom-styles.css has be removed from parents inc/enqueue.php file and the default child theme functions.php file. The enqueue function is now included with the compiler script (New or original) so the css file is included on a compiler-by-compiler basis.
    – The parent’s functions.php contains the functions necessary to handle all the replacing. The option name is set in functions.php

    THE NEW COMPILER
    – The redux/redux-admin-options.php is the child replacement. Included in child’s functions.php. Contains examples on how to use new compiler.
    – The redux/redux-css-compiler.php is the new compiler replacement. Included in child’s functions.php with additional functions needed in its execution and the enqueue of the style. Look at the file for documentation. You can edit the configure the compiler with constants.
    ARC_COMPILER_CSS_MINIFY can be set to minify or pre-format the css styles, easy to read for dev.
    ARC_COMPILER_DEBUG will output a compiler_debug.log file to the stylesheet directory in addition to non-minification of the css output
    ARC_COMPILER_CSS_FILE sets the base name for the css file to be compiled. Default is redux-compiled-styles.
    ARC_COMPILER_SAVE_PATH sets the path on where to save the css file. I’ve set it to a css folder in the child theme. Default is stylesheet directory
    • The Compile includes an enqueue function for the front-end include of the compiled file, dynamically changing with the ARC_COMPILER_SAVE_PATH and ARC_COMPILER_CSS_FILE.

    EXAMPLES
    See the Files for more info.

    'compiler'    => array(
    	'body',	// Will add ALL background attribute to body
    	
    	'background-color' => '.direct-match-with-a-value-from-the-field',
    	
    'border-color,background-color' => '.will-use-the-background-color-for-both', //Will use closest match
    
    	'!border-color'	=> '.border-color-set-with-bg-color-value-and-important',
    
    	'border-color,!background-color' => '.bg-is-important-but-border-is-not',
    	
    	'background-image'				=> '.adds-bg-image-with-url-wrap-to-this-class'
    ),
    in reply to: Child Theme Custom Redux options (sd-admin-options.php) #8251

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Thanks Chris.

    Certainly did get it too work.

    I’ve updated it a bit further to handle the new compiler also, I’ll send through the files over here on this post

    in reply to: Add !important to REDUX Compliler custom-styles.css #8241

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Didn’t manage to find anything so I wrote my own compiler for it.

    I’ll send you the files when I’m done.

    in reply to: Child Theme Custom Redux options (sd-admin-options.php) #8212

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 657

    Warning: range(): Argument #1 ($start) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658

    Warning: range(): Argument #2 ($end) must be a single byte, subsequent bytes are ignored in /home/skattf/public_html/wp-content/plugins/buddypress-first-letter-avatar/buddypress-first-letter-avatar.php on line 658
    frankfava
    Warning: Attempt to read property "supported_until" on string in /home/skattf/public_html/wp-content/themes/helpdesk/core/libraries/vendors/bbpress/init.php on line 109

    Chris,

    May I suggest something like this:

    In digitalagency functions.php

    // Include Redux Option file
    /* // Original Include of options file
    	if ( ! isset( $redux_demo ) && file_exists( get_template_directory() . '/framework/admin/sd-admin-options/sd-admin-options.php' ) ) {
    		require_once( get_template_directory() . '/framework/admin/sd-admin-options/sd-admin-options.php' );
    	}
    */
    if(! isset( $redux_demo )){
    	// Set SD default
    	$sd_default = get_template_directory() . '/framework/admin/sd-admin-options/sd-admin-options.php';
    	// Define constant with filter (allow to be defined in child theme or plugin)
    	if(!defined('SD_REDUX_OPTIONS_PATH')) define('SD_REDUX_OPTIONS_PATH',apply_filters('sd_redux_options_path', $sd_default));	
    	// Check file exists
    	$options_file = (file_exists(SD_REDUX_OPTIONS_PATH)) ? SD_REDUX_OPTIONS_PATH : false;
    	//Include File
    	if($options_file!==false) {require_once($options_file);}
    }

    In digitalagency-child functions.php
    define('SD_REDUX_OPTIONS_PATH', get_stylesheet_directory() . '/edited-admin-options.php' );

    I’ve added this to my own install, so I hope something like it gets added to the next update.

    Frank

Viewing 7 posts - 1 through 7 (of 7 total)