Skip to content

Instantly share code, notes, and snippets.

Friso Speulman frisospeulman

  • Netherlands
Block or report user

Report or block frisospeulman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ppbHelpManager.plugin.php
<?php
/*
ppbHelpManager Plugin
by info@pepeebe.de
Version: 0.0.1e- This is a BETA version. Use it at your own risk!
DESCRIPTION:
* hides descriptions of tvs in collapsibles,
* adds modals windows to some or all of them.
@frisospeulman
frisospeulman / FormSaveBlockadeHook.
Created Dec 6, 2013
FormIt Hook for FormSave Only allows a #number of form submits in a giving #timeframe based on IP
View FormSaveBlockadeHook.
<?php
/**
* FormSave blockade hook
* @uses FormSave && Formit
* @param fsFormBlockAfter Howmany times can the form be submittted with in the givin timeframe (default 2)
* @param fsFormBlock Timeframe in seconds (default 3600)
* @param fsFormBlockMsg
* @author Friso <friso@sterc.nl>
*
@frisospeulman
frisospeulman / seoProKeywordConvertor
Last active Jul 15, 2018
Converts keyword tv to seoPro Keywords objectCreate a snippet and run it on a blank page.
View seoProKeywordConvertor
<?php
/**
* Convert your keyword tv to Sterc's SeoPro
*
* Please read the following.
* Everytime you run this snippet, your keywords within seoPro will be overwritten.
* Make sure the TV exists before runnig this code.
*
*/
$seoPro = $modx->getService('seopro', 'seoPro', $modx->getOption('seopro.core_path', null, $modx->getOption('core_path') . 'components/seopro/') . 'model/seopro/', $scriptProperties);
View FormSaveBlockadeHook.
<?php
/**
* FormSave blockade hook
* @uses FormSave && Formit
* @param fsFormBlockAfter Howmany times can the form be submittted with in the givin timeframe (default 2)
* @param fsFormBlock Timeframe in seconds (default 3600)
* @param fsFormBlockMsg
* @author Friso <friso@sterc.nl>
*
You can’t perform that action at this time.