This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# listupdates -- Find Joomla instances and show all extension updates | |
# | |
# Copyright 2016 Rene Kreijveld - r.kreijveld@dsd.nu | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Version history | |
# 1.0 Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Watchful.li siteoverzicht | |
* @author Rene Kreijveld, based on the original work of Watchful.li | |
* @authorUrl https://about.me/renekreijveld | |
* @copyright (c) 2016, Rene Kreijveld | |
*/ | |
//Config | |
define('API_KEY', 'plaats-jouw-watchful.li-api-key-hier'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Select record, all fields | |
$query = $db->getQuery(true) | |
->select('*') | |
->from($db->quoteName('#__table')) | |
->where($db->quoteName('id') . ' = '. (int) $searchId); | |
$db->setQuery($query); | |
$results = $db->loadObjectlist(); | |
// Select record, specific fields |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Template by DSD business internet // www.gakijken.nl // | |
defined('_JEXEC') or die; | |
// Connect with Joomla | |
$app = JFactory::getApplication(); | |
$doc = JFactory::getDocument(); | |
$session = JFactory::getSession(); | |
// Get variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# findlargefiles - Find all image files with a resolution wider then a given width. | |
# Supports Joomla versions 1.0 - 3.3 | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# Define general variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# joomlainfo -- Provide information about this Joomla! installation. | |
# Supports Joomla 1.0 - 3.3 | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Warning! This script needs the file joomlafunctions. This has to be installed in the same directory as this script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# dbbackup - Create a backup of all your MySQL databases | |
# | |
# Copyright 2011 Rene Kreijveld - r.kreijveld@gakijken.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
NOW=$(date +"%Y%m%d-%H%M%S") | |
DBCONF=/usr/local/directadmin/conf/mysql.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# jfunctions - general bash functions for use in Joomla bash scripts | |
# Supports Joomla versions 2.5 - 3.x | |
# | |
# Copyright 2014 - 2016 Rene Kreijveld - r.kreijveld@dsd.nu | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Version history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# jbackupstore -- Create a full backup of a Joomla website to tar gzip file and store in backup directory | |
# | |
# Copyright 2012 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# | |
# Warning! This script needs the file joomlafunctions. This has to be installed in the same directory as this script. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# jrestore - Restore a local site backup | |
# | |
# Copyright 2014 Rene Kreijveld - email@renekreijveld.nl | |
# | |
# This program is free software; you may redistribute it and/or modify it. | |
# General variables | |
VERSION=1.0 |