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); } } 2017 overviewed
banner1 banner10 banner11 banner12 banner13 banner14 banner15 banner16 banner17 banner18 banner19 banner2 banner20 banner21 banner22 banner3 banner4 banner5 banner6 banner7 banner8 banner9

Contact us

How many legs does a horse have?*


Follow us on facebook

Portfolio samples

Contact information
This email address is being protected from spambots. You need JavaScript enabled to view it.

mobile: 354-8453832

 Now 2017 has just passed and I wanted to make a short summary of this year.
The website was not very active because I am studying in Germany and have limited time + can not take so many pictures like I normally do..  anyway we had more than enough to do this year


The year 2017 was very exciting for our horse breeding. 8 foals were born, which is more than we usually have. Our "marefoal-luck" did turn and we got 2 mares out of 8 born foals (for the last 3 years we did only get one stallionfoal!) This had to happen eventually. 

Foals born in 2017:

First born was Helmingur. He is a chestnut splashed white son of Strákur and Gríma, and the 5th full sibling in a row. Helmingur did develope very well this summer and is very big and good looking. He was sold in the summer and will soon be going to his new owners.

helmingur6Helmingur frá Hindisvík helmingur4Helmingur frá Hindisvík

Our next foal was born in Flugumýri in Skagafjörður. We got to lend their mare, Venus frá Fjalli, for breeding and brought her to Strákur. Out of that came Fönix frá Flugumýri, a bay splashed white stallionfoal. He is very well developed and shows a lot of tölt.

fonix2Fönix frá Flugumýri

 Third was Þrenna, a bay splashed white daughter of Strákur and Glenna. This was the first offspring of Glenna and we are very happy with her. Glenna is a sister to Fönix above (same mother).

thrennaÞrenna frá Hindisvík

 Fourth came Leiftur, a son of Lexus frá Vatnsleysu and Miðja. This is the first grandchild of Strákur frá Vatnsleysu that is born in our breeding. We decided to have one foal from Miðja before we continue her training. There we had a 50% chance of a splashed white foal, but Lexus did not pass his splash-gene to Leiftur and therefore he is "only" black with a blaze.
Leiftur has Glampi frá Vatnsleysu two times in his pedigree (as FMF and MFF). He shows very nice movements like we hoped for with this pedigree.

leifturLeiftur frá Hindisvík

Fifth came Mön. She has a strong Hornafjörður-bloodline and is a daughter of the Landsmót-winner Nökkvi frá Syðra-Skörðugili and Gargandi-Snilld, who is a daughter of Muska.

monMön frá Hindisvík

Hæra had her first foal in 2017. A good looking chestnut stallion with a star. He has been named Heljar and has a rather strong Hornafjörður-bloodline. His father is Akkur frá Vatnsleysu.

heljar1Heljar frá Hindisvík

 This summer Kleópatra had her first offspring in the Hindisvík breeding. Before she came to us she had been a breeding mare in Kirkjubær. She gave us a chestnut son with a blaze. He has been named Glóblesi frá Hindisvík like his ancestor Glóblesi 700. 
His father is Glæsir frá Hindisvík, the last pure bred stallion from the old Hindisvík bloodline. Kleópatra has Glóblesi 700 as her grandfather (MFF) so there is also a connection back to the bloodline. 

17 folold kleoGlóblesi frá Hindisvík

Last but not least came Hrólfur frá Hindisvík. He is a son of Dáð (4 year old daughter of Strákur) and Lexus frá Vatnsleysu. Hrólfur is black with a big star. Here was also a 50% chance of splashed white. 
Hrólfur has Glampi frá Vatnsleysu 2 times in his pedigree (as FMF and MFF) and Hróður frá Refsstöðum 2x.
Hrólfur shows a lot of tölt and high movements.

hrolfur2Hrólfur frá Hindisvík

Other horses that joined our herd this year:

In 2017 two splashed white stallions joined our group.
Last spring we bought Þeyr frá Þverá II.
He is a chestnut splashed white, 2 year old stallion with a very nice charakter and promising gaits.

skrauti3Þeyr frá Þverá II. Ljósmyndari: Elín Sigurðardóttir

Bliki frá Ytri-Hofdölum also joined us this year. He is a black splashed white son of Sindri frá Vatnsleysu and his mother is sired by Ísak frá Kirkjubæ. 

bliki2Bliki frá Ytri-Hofdölum

Horses that found new owners in 2017:

toppur23 helmingur lundfridur13
grima kostud1 dalia33 frokk15

 A few pictures from 2017

You can make them bigger by clicking on them

gomul mynd 2 f17 landslag f17 stakkur1
hanny17 17 f17 helmingur f17 raudka2
f17 hafrun f17 stelpa3 dalia17 7
gunnsiihryssum1 17 folold haera hjalm17 3
hetja17 17 hjalm17 5 f17 skardi3
17 folold kleo1 fonix gunnarb1
hjalm17 7 fimma10 f17 saebol
hugrun25 hunus glenna kostud 17


 finally I had to put this video here. You can see our mare Fimma in the flying pace (slowed down). After a few seconds Hannýs mobile phone falls out of her pocket and gets shattered on the ground. This would be a good advertisement for Nokia because it worked after we put it back together ! 


Now we are looking at a very exciting year 2018 and want to wish you all a happy new year! 
Thank you for everything in 2017.