Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

WordPress – Ninja Forms – Disable Form Saves

Posted on December 18, 2015December 21, 2015 By David Kittell

If you have a concern about PHI or other concerns of saving data on your SQL database of the Ninja Forms follow the step on their site http://docs.ninjaforms.com/customer/en/portal/articles/2045697-faq#faq_save on the save-sub.php file.

The save-sub.php location may vary based on your operating system but if you are on a UNIX based system and have access to SSH you can try this command to make the change easier.

sed -i 's|$save = true;|$save = false;|g' /var/www/html/wp-content/plugins/ninja-forms/includes/display/processing/save-sub.php

If you need to re-enable it

sed -i 's|$save = false;|$save = true;|g' /var/www/html/wp-content/plugins/ninja-forms/includes/display/processing/save-sub.php
Originally Posted on December 18, 2015
Last Updated on December 21, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code MySQL PHP SQL WordPress WordPress SQL

Post navigation

Previous post
Next post

Related Posts

Unix Change Static IP

Posted on November 5, 2015December 29, 2015

It is best to do this on the machine itself and not remotely as you will lose connection. sudo cp /etc/network/interfaces /etc/network/interfaces.`date +"%m-%d-%Y_%I-%M-%S"` sudo sed -i ‘s|address 192.168.1.16|address 10.1.1.16|’ /etc/network/interfaces sudo sed -i ‘s|netmask 255.255.255.0|netmask 255.255.0.0|’ /etc/network/interfaces sudo sed -i ‘s|gateway 192.168.1.1|gateway 10.1.1.1|’ /etc/network/interfaces sudo service resolvconf restart sudo /etc/init.d/networking…

Read More

Ektron – Category Template

Posted on October 31, 2014October 26, 2015

<%@ Page Language="C#" MasterPageFile="~/masterpages/content.master" AutoEventWireup="true" CodeFile="boardlanding.aspx.cs" Inherits="templates_categorylanding" Title="Category Landing Page" %> <%@ Register Assembly="Ektron.Cms.Controls" Namespace="Ektron.Cms.Controls" TagPrefix="CMS" %> <%@ Register Src="~/usercontrols/breadcrumb.ascx" TagName="Breadcrumb" TagPrefix="uc" %> <asp:Content ID="Header" ContentPlaceHolderID="ContentHeaderContentPlaceHolder" runat="server"> <!– categorylanding –> <img class="banner" alt="banner" src="/img/banner_01.jpg"> </asp:Content> <asp:Content ID="Left" ContentPlaceHolderID="LeftContentPlaceHolder" runat="Server"> <div id="crumbs"> <uc:Breadcrumb ID="breadcrumbControl" runat="server" /> </div> <img class="divider upper" alt=""…

Read More

Microsoft Azure SQL – Create SQL User

Posted on October 13, 2016

In this example I create a Read-Only user but this will work with any access as long as you change the db_datareader access role to what you need In SQL Management Studio open a “New Query” with [master] database USE master GO IF EXISTS ( SELECT * FROM sys.database_principals WHERE…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes