params= new JRegistry(); $this->params->loadString($plugin->params, 'JSON'); $this->_cacheEnabled = $this->params->get('cache_enabled'); if ($this->_cacheEnabled === null) $this->_cacheEnabled == 1; $this->_autoflush = $this->params->get('autoFlush'); if ($this->_autoflush === null) $this->_autoflush = 1; $this->_autoflush3rdParty = $this->params->get('autoFlush-ThirdParty'); if ($this->_autoflush3rdParty === null) $this->_autoflush3rdParty = 1; $this->_autoflushClientSide = $this->params->get('autoFlush-ClientSide'); if ($this->_autoflushClientSide === null) $this->_autoflushClientSide = 0; } /** * Heartbeat cache checking function. Will also monitor $_GET for the jSGCache parameter * (pressing the purge cache button in admin) * * * @access public * @return null */ public function onAfterInitialise() { if (!$this->_cacheEnabled || $this->_isBlacklisted($this->_applicationPath)) { JResponse::setHeader('X-Cache-Enabled','False',true); return; } if ($this->_cacheEnabled) { JResponse::setHeader('X-Cache-Enabled','True',true); } //Init the application url $this->_applicationPath = str_replace(array('administrator/index.php','index.php'),'',str_replace($_SERVER['DOCUMENT_ROOT'],'',$_SERVER['SCRIPT_FILENAME'])); //Check for any admin action and proceed to flushMonitor and 3rd party plugins if ( isset($_POST['task']) || isset($_GET['task']) || isset($_GET['cart_virtuemart_product_id'])) { $this->_flushMonitor(); if ($this->_autoflush3rdParty) $this->_monitorThirdPartyPlugins(); } //Check if we have a logged in user and enable cache bypass cookie 'task' => string 'user.login' $user = JFactory::getUser(); if (!$user->guest || (isset($_POST['task']) && preg_match('/login/i', $_POST['task']))) { $_POST[JSession::getFormToken()] = 1; //Force the correct token, since the login box on the page is cached with the 1st visitors' token //Enable the cache bypass for logged users by setting a cache bypass cookie setcookie('jSGCacheBypass',1,time() + 6000,'/'); } if ($user->guest || (isset($_POST['task']) && $_POST['task'] == 'user.logout')) { //Remove the bypass cookie if not a logged user if (isset($_COOKIE['jSGCacheBypass'])) setcookie('jSGCacheBypass',0, time() - 3600,'/'); } // Handle purge button press when get has jSGCache=purge, but only in admin with a logged user if(isset($_GET['jSGCache']) && $_GET['jSGCache'] == 'purge' && JFactory::getApplication()->isAdmin() && !$user->guest ) $this->_purgeCache(true); } /** * Admin panel icon display * * @access public * @param string $context * @return array */ public function onGetIcons( $context ) { return array(array( 'link'=>'?jSGCache=purge', 'image'=>'header/icon-48-purge.png', 'text'=>JText::_('Purge jSGCache'), 'id'=>'jSGCache' )); } /** * Calls the cache server to purge the cache * * @access public * @param string|bool $message Message to be displayed if purge is successful. If this param is false no output would be done * @return null */ private function _purgeCache( $message = true ) { $purgeRequest = $this->_applicationPath . '(.*)'; // Check if caching server is varnish or nginx. $sgcache_ip = '/etc/sgcache_ip'; $hostname = $_SERVER['SERVER_ADDR']; $purge_method = "PURGE"; if (file_exists($sgcache_ip)) { $hostname = trim( file_get_contents( $sgcache_ip, true ) ); $purge_method = "BAN"; } $cacheServerSocket = fsockopen($hostname, 80, $errno, $errstr, 2); if(!$cacheServerSocket) { JError::raise(E_ERROR,500,JText::_('Connection to cache server failed!')); JError::raise(E_ERROR,500,JText::_($errstr ($errno))); return; } $request = "$purge_method {$purgeRequest} HTTP/1.0\r\nHost: {$_SERVER['SERVER_NAME']}\r\nConnection: Close\r\n\r\n"; if (preg_match('/^www\./',$_SERVER['SERVER_NAME'])) { $domain_no_www = preg_replace('/^www\./', '', $_SERVER['SERVER_NAME']); $request2 = "$purge_method {$purgeRequest} HTTP/1.0\r\nHost: {$domain_no_www}\r\nConnection: Close\r\n\r\n"; } else $request2 = "$purge_method {$purgeRequest} HTTP/1.0\r\nHost: www.{$_SERVER['SERVER_NAME']}\r\nConnection: Close\r\n\r\n"; fwrite($cacheServerSocket, $request); $response = fgets($cacheServerSocket); fclose($cacheServerSocket); $cacheServerSocket = fsockopen($hostname, 80, $errno, $errstr, 2); fwrite($cacheServerSocket, $request2); fclose($cacheServerSocket); if($message !== false) { if(preg_match('/200/',$response)) { if ($message === true) JFactory::getApplication()->enqueueMessage(JText::_('SG Cache Successfully Purged!')); else JFactory::getApplication()->enqueueMessage(JText::_( $message )); } else { JError::raise(E_NOTICE,501, JText::_('SG Cache: Purge was not successful!')); JError::raise(E_NOTICE,501, jText::_('Error: ' . $response)); } } } /** * Check if url is in caching blacklist * * @param string $applicationPath * * @return bool */ private function _isBlacklisted($applicationPath) { $blacklistArray = explode("\n",$this->params->get('blacklist')); $blacklistRegexArray = array(); $indexIsBlacklisted = false; foreach($blacklistArray as $key=>$row) { $row = trim($row); if ($row != '/' && $quoted = preg_quote($row,'/')) $blacklistRegexArray[$key] = $quoted; if ($row == '/') $indexIsBlacklisted = true; } if ($indexIsBlacklisted && $_SERVER['REQUEST_URI'] == $applicationPath) return true; if (empty($blacklistRegexArray)) return false; $blacklistRegex = '/('.implode('|',$blacklistRegexArray) . ')/i'; return preg_match($blacklistRegex, $_SERVER['REQUEST_URI']); } /** * 3rd party plugin monitor * * @access private * @return null */ private function _monitorThirdPartyPlugins() { // Kunena & K2 if ($this->params->get('autoFlush-ThirdParty') == 1 && isset($_POST['option']) && ($_POST['option']=='com_k2' || $_POST['option' ]== 'com_kunena')) { $this->_purgeCache(false); } // VirtueMart if ( (isset($_POST['option']) && $_POST['option'] == 'com_virtuemart') || ( isset($_GET['option']) && $_GET['option'] == 'com_virtuemart' ) || isset($_GET['cart_virtuemart_product_id']) ) { if($this->params->get('autoFlush-ThirdParty') == 1) $this->_purgeCache(false); } } /** * Action monitor * * @access private * @return null */ private function _flushMonitor() { $user = JFactory::getUser(); if ((!JFactory::getApplication()->isAdmin() && !$this->_autoflushClientSide) || $user->guest) return; $autoflush = $this->params->get('autoFlush'); if ($autoflush === null) $autoflush = 1; if (isset($_POST['task']) && $_POST['task'] && !in_array($_POST['task'],self::$_ignoreTasks) && $autoflush == 1) $this->_purgeCache(false); } } Breeding experiment 2011

Breeding experiment 2011

In 2011 we rented the stallion, Akkur frá Vatnsleysu, (then only 3 years old) and bred him with mares from the Hornafjörður-bloodline.
We both used mares that we owned, and also mares that we got from our friends, only for this breeding experiment. Most of them from Miðfelli.

Out of this first try 4 foals (with Hornafjörður mothers) were born. We liked the offsprings so much that we continued to use Akkur on Hornafjörður mares for many years. The youngsters show all gaits with much tölt and all of them are big and good looking. 

akkurAkkur frá Vatnsleysu

Why Akkur frá Vatnsleysu?
The idea to use Akkur was born when we were looking at what stallions we could use on our Hornafjörður mares. We needed to have some new blood because they were getting to related and inbred.
We wanted to use a stallion who had Hornafjörður blood behind him and his pedigree also had to fit well to the bloodline.
We knew that Jón in Vatnsleysa bought two mares in Hornafjörður and brought them with him to Skagafjörður. They were; Irpa frá Kyljuholti (1st price mare, inbred from Skuggi frá Bjarnanesi) and Blökk frá Kyljuholti (1st price for riding abilites, including 9 for tölt, trot and pace).
We noticed that both of them had always very good offsprings with Lýsingur frá Voðmúlastöðum, or his sons. Especially Irpa. From her and Lýsingur was for example Bára frá Ásgeirsbrekku, who in 1974 was evaluated with 9 for trot and general impression and 9,5 for tölt. Those numbers were very rare at that time.
Bára had many offsprings in Vatnsleysa, including Alísa, one of the highest judged fourgaited mares in the country with 8,60 for riding abilities, including 9,5 for tölt, trot and general impression + 9 for gallop and willingness. Another offspring of Bára was Albína, who is the mother of the famous Glampi frá Vatnsleysu.
Akkur is a son of Alísa (daughter of Bára) and Glampi (son of Albína, daughter of Bára). So there is not far back to Bára and her Hornafjörður mother Irpa on both sides of Akkur's pedigree.

When we started researching how Hornafjörður horses and Lýsingur frá Voðmúlastöðum bred together we only could find great horses. For example: Máni frá Ketilsstöðum, Klerkur frá Bjarnanesi (son of Glampi and his MF is also from a mixture of Lýsingur and Hornafjörður), Boði frá Gerðum (worldchampion in fourgait. A son of a Bára daughter and Ófeigur frá Flugumýri, who also has Hornafjörður blood in him), and many other great horses. It seemed that this mixture (Lýsingur x Hornafjörður) could not go wrong, but of course it is important how you breed this bloodline further.

That is the reason why we wanted to use Akkur frá Vatnsleysu for our Hornafjörður mares. The connection is strong and not far back in his pedigree. His Hornafjörður offsprings we can then breed to stronger Hornafjörður blooded horses in the future, and in that way maintain this remarkeable bloodline longer.

Akkur got injured as a young horse and can therefore never be ridden in intensive training, that would be needed to show him in a breeding show. But his DNA is good and strong, and you only have to look at the performance of his siblings and horses further back in his pedigree (on both sides) to see that.

You can see pictures of Akkur's offsprings both below on this page and by clicking here and scroll down that page. We are very satisfied with the outcome and are still breeding Akkur with Hornafjörður mares.

A recent example of this mixture is Nökkvi frá Syðra-Skörðugili, a high judged stallion who won the B-Flokkur on the Landsmót in Hólar 2016. When you look through his pedigree you can find a lot of Hornafjörður blood (FMMF Ófeigur frá Hvanneyri, FMFMF Faxi frá Árnanesi, FMMFF Hrafn frá Árnanesi, FMFMM Skuggi frá Bjarnanesi, MMFFF Geysir frá Árnanesi, MMFMF Nökkvi frá Hólmi, MMMMF Nökkvi frá Hólmi), and his mother is a daughter of Glampi frá Vatnsleysu.

A fun coincidence is that the MF of Lýsingur is 50% of the Hindisvík bloodline and the father of Albína (mother of Glampi) is also 50% Hindisvík, so our other bloodline is also "hidden" in Akkur.

Below you can see the horses we have after Akkur and Hornafjörður mares. You can take a closer look at them by clicking on their names:

Melkorka frá Miðfelli
Born in 2012

M: Brúnstjarna frá Miðfelli
MFF: Hrafn frá Holtsmúla (8,56)
MMF: Ófeigur frá Hvanneyri (8,55)

Melkorka is a welt built and willing fivegaiter. 

melkorka31 akk mella3
melkorka2 melkorka24

Milla frá Miðfelli
Born in 2012

M: Nn frá Miðfelli
MF: Tígur frá Álfhólum (8,13)

Milla showed all gaits with nice and soft movements. 
She was sold when she was 3 years old and went pregnant to Sweden.

milla7 milla12

Munda frá Miðfelli
Born in 2012

M: Nn frá Miðfelli
MF: Tígur frá Álfhólum (8,13)
MMFF: Hrafn frá Holtsmúla (8,56)
MMMF: Ófeigur frá Hvanneyri (8,55)

Beautiful fivegaited mare with nice movements. 
Munda was sold shortly before she turned six years old.

akk munda1i munda7
munda16 munda9

Kolviður frá Dynjanda
Born in 2012

M: Kolbrá frá Miðfelli
MF: Flosi frá Brunnum (8,24)
MFF: Gustur frá Grund (8,28)

Very big and good looking gelding. Kolviður has a friendly temper and big movements.

staerdarmunur4 kolvidur13

Djörfung frá Hindisvík
Born in 2015

M: Gargandi-Snilld frá Dynjanda
MF: Kolskeggur frá Oddhóli (8,39)
MFF: Gustur frá Grund (8,28)
MFFF: Flosi frá Brunnum (8,24)
MM: Muska frá Viðborðsseli
MMF: Kópur frá Mykjunesi (8,18)
MMFF: Flosi frá Brunnum (8,24)
MMMF: Ófeigur frá Hvanneyri (8,55)

djorfung8 djorfung3

Hrefna frá Hindisvík 
Born in 2016

M: Bára frá Miðfelli
MF: Tígur frá Álfhólum (8,13)
MMF: Ófeigur frá Hvanneyri (8,55)

hrefna1 hrefna5

Herdís frá Hindisvík
Born in 2019

M: Hæra frá Dynjanda
MMF: Flosi frá Brunnum
MMFF: Ófeigur frá Hvanneyri


Nonni frá Hindisvík
Born in 2019

M: Fimma frá Dynjanda
MMF: Gustur frá Grund


Manni frá Hindisvík
Born in 2019

M: Hanný frá Þúfu
MFF: Gustur frá Grund
MMF: Gustur frá Grund