Knowledge Base - How to remove Powered By Phoca Download in Joomla

Open: renderfront.php
Located here:
/administrator/components/com_phocadownload/libraries/phocadownload/render/

Line: 309

Change this:
public static function renderPhocaDownload() {
return '<div sty'.'le="t'.'ext-al'.'ign:ri'.'ght;">Po'
.'wered by <a href="/ht'.'tp://www.pho'
.'ca.cz/phocad'.'ownload" targe'
.'t="_bla'.'nk" title="Pho'.'ca Dow'
.'nload">Phoca Down'.'load</a></div>' ;
}

To This:
public static function renderPhocaDownload() {
return ;
}

=================================================

 

Open: utils.php
Located here: 
/administrator/components/com_phocadownload/libraries/phocadownload/utils/

Line: 12

Change this: 
public static function footer() {
echo '<div>Powe'.'red b'.'y <a href="/ht'.'tp://www.pho'.'ca.c'.'z/pho'
.'cado'.'wn'.'load" tar'.'get="_bl'.'ank" title="Pho'.'ca Down' .'load">Pho'
.'ca Downl'.'oad</a></div>';
}

To This:
public static function footer() {

}

 

===============================================

 

Open: utils.php
Located here: 
/administrator/components/com_phocadownload/libraries/phocadownload/utils/

Line: 140

Change this: 
public static function getInfo() {

JPluginHelper::importPlugin('phocatools');
$results = \JFactory::getApplication()->triggerEvent('PhocatoolsOnDisplayInfo', array('NjI5NTcxNzcxMTc='));
if (isset($results[0]) && $results[0] === true) {
return '';
}
return '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="https://www.phoca.cz/phocadownload">Phoca Download</a></div>';

}


To This:

public static function getInfo() {

JPluginHelper::importPlugin('phocatools');
$results = \JFactory::getApplication()->triggerEvent('PhocatoolsOnDisplayInfo', array('NjI5NTcxNzcxMTc='));
if (isset($results[0]) && $results[0] === true) {
return ;
}
return ;

}

 

===============================================

 

Open: utils.php
Located here: 
/administrator/components/com_phocadownload/libraries/phocadownload/utils/

Line: 147

Change this: 

 return '<div style="text-align:right;color:#ccc;display:block">Powered by <a href="https://www.phoca.cz/phocadownload">Phoca Download</a></div>';


To This:

 return;

 

Details

Created : 2017-06-17 22:33:16, Last Modified : 2021-08-22 05:05:49

Click to listen highlighted text!