Hi,
go to your below path of site
components/com_phocagallery/views/category
Open File view.html.php
On Line number 167 comment $tmpl['route'] with // $tmpl['route'];
It's now done, in images list
Tuesday, July 7, 2009
Subscribe to:
Post Comments (Atom)
i dont have this folder libraries :/
ReplyDeletepost your component please or send me
ReplyDeleteThis dosen't work in Version 2.5.8!
ReplyDeleteHere is a guide Taken from :
http://freejoomlahacks.blogspot.com/2009/07/phoca-gallery-remove-link-and-logo.html
and modified!
--- Now the Guide ----
go to your below path of site
\administrator\components\com_phocagallery\libraries\phocagallery\render\
Open File renderinfo.php
under line 49 add this:
$str ='';
This doesn't work you may go to
ReplyDelete\administrator\components\com_phocagallery\libraries\phocagallery\library\
open library.php and change the line 54 to:
return "";
Open renderinfo.php and search for return $lg;
ReplyDeletechange to return null;
This for version 2.5.8
I am using the new, 2.6 gallery, how do i remove it from there. the footer , i wish i could just erase it, please help.
ReplyDeletei have created a very easy way to remove the link from this reference , thanks freejoomlahacks
ReplyDeletehttp://pracas.com.np/joomla/phoca-guest-book-remove-copyright-link/
thanks a lot
To remove or disable the "Powered by Phoca Gallery" footer at the bottom of Phoca Photo Gallery version 2.6.1 you have to edit a few files.
ReplyDeleteThe code is obfuscated, but it's your right under GPLv2 to edit it.
Let's start in /components/com_phocagallery/views/categories/view.html.php file, edit line number 193 containing :
$tmpl['ed'] = base64_decode('PGRpdiBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyOyBjb2xvcjogcmdiKDIxMSwgMjExLCAyMTEpOyI+UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LnBob2NhLmN6IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYS5jeiI+UGhvY2E8L2E+IDxhIGhyZWY9Imh0dHA6Ly93d3cucGhvY2EuY3ovcGhvY2FnYWxsZXJ5IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYSBHYWxsZXJ5Ij5HYWxsZXJ5PC9hPjwvZGl2Pg0K');
and replace by :
$tmpl['ed'] = '';
In the /administrator/components/com_phocagallery/librairies/render/renderfront.php locate the getString() method and replace the return line 464 by :
return '';
In the same file you can replace the whole function "correctRender" (line 502 to 554) in order to use Redact and ReReplacer plugins with Phoca Gallery by :
function correctRender() {};
There is a last obfuscated file in /administrator/components/com_phocagallery/librairies/phocagallery/render/renderinfo.php but I don't think the getPhocaIc() function is used anymore.
Phoca Gallery is great, but the code obfuscation.... no comment!
my phoca is v 2.2.4 and have`nt librairies and i want to remove the phoca gallery logo on footer of user viwe plz help me
ReplyDeletesajad2000x@hotmail.com
Ohh man.. Love your work guys..
ReplyDeleteIn fact that Jan in the phoca forum site totally deny to give people the option to remove this damn encoded link! In my opinion he is really irritating people more than helping them.. and also try force people to donate money! Thats is fucking wrong.. well, they had made a really good work about extentions (no doubt about that) but again.. don't force people to pay!
Kemiga
Does someone know how to do it with Phoca Gallery 2.7 ?..
ReplyDeleteHow is beta version 2.7.1?
ReplyDelete/public_html/components/com_phocagallery/views/category --> view.html.php dosyasındaki line 168
ReplyDeletecode:
$tmpl['md'] = base64_decode('PGRpdiBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyOyBjb2xvcjojZDNkM2QzOyI+UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LnBob2NhLmN6IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYS5jeiI+UGhvY2E8L2E+IDxhIGhyZWY9Imh0dHA6Ly93d3cucGhvY2EuY3ovcGhvY2FnYWxsZXJ5IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYSBHYWxsZXJ5Ij5HYWxsZXJ5PC9hPjwvZGl2Pg0K');
change to
code:
$tmpl['md'] = base64_decode('a');
haline
sonrasında da
/public_html/components/com_phocagallery/views/categories --> view.html.php line 220
code:
$tmpl['ab'] = base64_decode('PGRpdiBzdHlsZT0idGV4dC1hbGlnbjogY2VudGVyOyBjb2xvcjogcmdiKDIxMSwgMjExLCAyMTEpOyI+UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LnBob2NhLmN6IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYS5jeiI+UGhvY2E8L2E+IDxhIGhyZWY9Imh0dHA6Ly93d3cucGhvY2EuY3ovcGhvY2FnYWxsZXJ5IiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiBub25lOyIgdGFyZ2V0PSJfYmxhbmsiIHRpdGxlPSJQaG9jYSBHYWxsZXJ5Ij5HYWxsZXJ5PC9hPjwvZGl2Pg0K');
change to
code:
$tmpl['ab'] = base64_decode('a');
thanks for help... it works for version 2.7.0... but, only does for category list.. when you clic on an item, a new window opens showing the "Powered by Phoca Gallery"... it must be some other file to change... but where is it?
ReplyDeletethanks again...
Thanks dude...dis information was really helpful
ReplyDeletephoca 2.7.4
ReplyDeletefollow the following very simple steps to remove the phoca gallery powered by text.
1) Go to 'administrator' folder
2) and then open 'components' folder
3) and then open 'com_phocagallery' folder
4) and then open 'libraries' folder
5) and then open 'phocagallery' folder
6) and then open 'render' folder
7) and in the last open this file 'renderfront.php'
8) in this file find :
>> find 1.
line 1099
function getString() {
delete return info..
>> find 2.
line 1251
function getRoute(){
delete return info..
Below is the complete path for the above file.
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Thanks for share, it work with version 2.7.4
ReplyDeletedoesnt work any more under 2.7.4 ...
ReplyDeletewhen you say delete info should it look like this for getroute? :
function getRoute(){}
?
and what about this stuff, should i delete it ? :/*
function correctRender() {
if (class_exists('plgSystemRedact')) {
echo "Phoca Gallery doesn't work in case Redact plugin is enabled. Please disable this plugin to run Phoca Gallery";exit;
$db =& JFactory::getDBO();
$query = 'SELECT a.params AS params'
.' FROM #__plugins AS a'
.' WHERE a.element = \'redact\''
.' AND a.folder = \'system\''
.' AND a.published = 1';
$db->setQuery($query, 0, 1);
$params = $db->loadObject();
if(isset($params->params) && $params->params != '') {
$params->params = str_replace('phoca.cz', 'phoca_cz', $params->params);
$params->params = str_replace('phoca\.cz', 'phoca_cz', $params->params);
if ($params->params != '') {
$query = 'UPDATE #__plugins'
.' SET params = \''.$params->params.'\''
.' WHERE element = \'redact\''
.' AND folder = \'system\'';
$db->setQuery($query);
$db->query();
}
}
}
if (class_exists('plgSystemReReplacer')) {
echo "Phoca Gallery doesn't work in case ReReplacer plugin is enabled. Please disable this plugin to run Phoca Gallery";exit;
/*$db =& JFactory::getDBO();
$query = 'SELECT a.id, a.search'
.' FROM #__rereplacer AS a'
.' WHERE (a.search LIKE \'%phoca.cz%\''
.' OR a.search LIKE \'%phoca\\\\\\\\.cz%\')'
.' AND a.published = 1';
$db->setQuery($query);
$search = $db->loadObjectList();
if(isset($search) && count($search)) {
foreach ($search as $value) {
if (isset($value->search) && $value->search != '' && isset($value->id) && $value->id > 0) {
$value->search = str_replace('phoca.cz', 'phoca_cz', $value->search);
$value->search = str_replace('phoca\.cz', 'phoca_cz', $value->search);
if ($value->search != '') {
$query = 'UPDATE #__rereplacer'
.' SET search = \''.$value->search.'\''
.' WHERE id = '.(int)$value->id;
$db->setQuery($query);
$db->query();
}
}
}
}
}
}*/
In latest version of Phocagallery
ReplyDelete>> function getString() is on line 550
and
>> function getRoute() is on line 626
Delete all the matter after return (in gray color) till ;
I used Notepad++ to edit the file.
Very Wise method of securing the footer information by phoca.cz without using any encryption.
If they change the line no. simply search for both the functions using the search tool of the editor.
2.6.2
ReplyDeleteHere:
1)
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
2) Open "renderfront.php"
3) Search for:
function getString() { .....
and delete all code in {...}
Results :
function getString() {
return '';
}
Damn... weird, none of the methods working. I've removed everything from renderfront.php functions getString() and getRoute() but copyright keeps showing
ReplyDeletethanks ! great post
ReplyDeleteWith Phoca 2.7.5:
ReplyDeleteadministrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Find function: getString() change return to '';
and function: getDivs() change return to '';
It works fine with me!
With 2.7.5, the above mentioned method worked, but where to make changes to remove the link from the categories page?
ReplyDeletefor categories page: i suppose, in com_phocagallery\front\views\categories view.html.php you should remove text between '' in $tmpl['tm'] = '<div... (line 248)
ReplyDeletei don't use joomla often, and never made nested galleries so don't know for sure if it works, but looks like the right code...
In 2.7.5 it is line 261, remove
ReplyDelete$tmpl['phoac'] = .....
WORKED for the gallery portion!
ReplyDeleteVũ Ngọc Thiện said...
ReplyDeleteWith Phoca 2.7.5:
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Find function: getString() change return to '';
and function: getDivs() change return to '';
It works fine with me!
Deu certo pra mim
blondesign said...
ReplyDeletefor categories page: i suppose, in com_phocagallery\front\views\categories view.html.php you should remove text between '' in $tmpl['tm'] = '<div... (line 248)
i don't use joomla often, and never made nested galleries so don't know for sure if it works, but looks like the right code...
Ao invés de apagar esta linha 248, eu recomendo fazer o comentário dela.
Além de fazer esse procedimento deve ser feito também o comentário das linhas 261 e 262 ok.
language text is portuguese brazilian
I'm running Phoca Gallery for Joomla 1.6 and I can't find any of these methods. Are there different ways for 1.6 version?
ReplyDeleteHey guys, how about Phoca PDF v1.0.9
ReplyDeleteAcesoftech is one of the leading web design and Joomla training center where you can get live and professional training. We train you Joomla at from installation to module and component development. You can get chance to learn on our international project on joomla. If you are looking for real
ReplyDeletehttp://www.training.acesoftech.com/ joomla-training/Joomla Training in Kolkata and Surat, you can find Acesoftech to be your first choice.
Hey men!!!! I'm using too version 3.0 for joomla1.6 i tried all the instructions, but doesnt work for phoca gall v3.0, anyone find a solution for this version?
ReplyDeleteHey men!!!! I'm using too version 3.0 for joomla1.6 i tried all the instructions, but doesnt work for phoca gall v3.0, anyone find a solution for this version?
ReplyDeleteread the post ,I think it is very good.
ReplyDeleteor perhaps you will like to the
ray ban uk:
http://www.raybans.uk.com
Solved for 2.7.8 for Joomla 1.5
ReplyDeleteGo to /administrator/components/com_phocagallery/libraries/phocagallery/render
open up renderfront.php
Navigate to the bottom of the page around line 687
Change
function getDivs(){
return '< styl..="tex'
.'t-align: center; color:#d3d3'
.'d3;">Power'
.'ed by Phoc'
.'a Gal'.'lery';
to
return '';
cheers :)
This works on phoca gallery 3.1.3 on joomla 1.7
ReplyDeletehttp://www.wirzfamily.ch/index.php/component/content/article/10-blog/joomla/2-remove-powered-by-phoca-gallery
I am using version 3.1.4. Does anyone know how to remove or disable the "Powered by Phoca Gallery" footer at the bottom of Phoca.
ReplyDelete