Anyone can join our Discord free of charge.

SS with Bricksbuilder

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28297
    Nathan
    Guest

    Hi all,

    Is anyone else using Bricksbuilder with a SS environment? BricksBuilder has a code signature function built for security whereby you need to “sign” your code in order for it to execute. Unfortunately there seems to be something on the SS server that renews SALT keys once a week, always same day same time. And regenerating SALT keys un-signs my code which renders some part of my website a completely useless. I then need to login and re-sign the code site-wide…

    Any advice you could provide would be much appreciated.

    #28298
    Beverly
    Guest

    Hey yah, bad practice for plugins to rely on salts in wp-config really

    But you can add your signature in a file /wp-content/custom-functions.php that SlickStack will respect and never overwrite that might work?

    #28299
    Alexander
    Guest

    thanks Beverly, can you give me any points on adding BB code signature in a functions file?

    #28300
    Kimberly
    Guest
    #28301
    Katherine
    Guest

    https://github.com/littlebizzy/slickstack/blob/master/modules/wordpress/wp-config-production.txt

    `
    /** ********************************************************************************************* */
    /** WP-Config (Production): Include Custom-Functions.php (Conditional) ************************** */
    /** ********************************************************************************************* */

    /** rather than editing your wp-config.php file simply create a custom functions file */
    /** if SlickStack detects this file exists it will load included constants etc */

    $custom_functions = ‘/var/www/html/wp-content/custom-functions.php’;
    if ( is_file( $custom_functions ) ) {
    include $custom_functions;
    }
    `

    #28302
    Charlotte
    Guest

    Please try the approach mentioned above… but it depends on Bricks plugin perhaps, if they hardcode requiring something in wp-config.php this approach might not work.

    It would be better if their code used salts as a fallback, not a requirement imo

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: SS with Bricksbuilder


Thanks to our generous sponsors for their support!