How To Remove Phoca Gallery 2.6.0 Powered By Text
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- farooqwasi
- Joomla! Apprentice
- Posts: 19
- Joined: Wed Jul 15, 2009 11:10 am
- Location: Islambad Pakistan
- Contact:
Removing Phoca Gallery Powered By Text
Follow 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 the getString() function.
9) the first line of this function will have concatenated string replace or remove this to permanently remove the phoca gallery powered by text.
Below is the complete path for the above file.
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Thanks
[removed self promotion]
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 the getString() function.
9) the first line of this function will have concatenated string replace or remove this to permanently remove the phoca gallery powered by text.
Below is the complete path for the above file.
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php
Thanks
[removed self promotion]
Last edited by Geoff on Sun Dec 20, 2009 8:46 am, edited 2 times in total.
Reason: removed self-promotion
Reason: removed self-promotion
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Aug 05, 2009 11:48 am
Re: How To Phoca Gallery Powered By Text
Hi Thanks for such a nice post i was getting a trouble on removing / deleting phoca gallery powered by text for such a along time.
Thanks for submitting such a nice post.
Regards
Mukhan 86
Thanks for submitting such a nice post.
Regards
Mukhan 86
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65
-
- Joomla! Apprentice
- Posts: 6
- Joined: Fri Jan 22, 2010 1:06 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi , that was a cool, saved a lot time
Thanks once again
Thanks once again
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Feb 02, 2010 3:09 pm
- Location: Belgrade
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Thanks farooqwasi, it means to me so much!
-
- Joomla! Apprentice
- Posts: 41
- Joined: Sat Nov 21, 2009 6:37 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi,
Thanks a lot for such a information, but I am getting confused which line I have to modify or delete. The available line after getString() is as follows.
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'/'.'p'.'h'.'o'.'c'.'a'.'g'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.'>'.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
Which line I want to delete or modify.
Regards,
Jyotirmay Jena
Thanks a lot for such a information, but I am getting confused which line I have to modify or delete. The available line after getString() is as follows.
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'/'.'p'.'h'.'o'.'c'.'a'.'g'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.'>'.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
Which line I want to delete or modify.
Regards,
Jyotirmay Jena
- farooqwasi
- Joomla! Apprentice
- Posts: 19
- Joined: Wed Jul 15, 2009 11:10 am
- Location: Islambad Pakistan
- Contact:
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi Jyotirmay Jena,
Simply replace the code/function with the following code/function so you will understand the diffrence easily.
function getString() {
return '';
}
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'/'.'p'.'h'.'o'.'c'.'a'.'g'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.'>'.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
Simply replace the code/function with the following code/function so you will understand the diffrence easily.
function getString() {
return '';
}
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'/'.'p'.'h'.'o'.'c'.'a'.'g'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.'>'.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
-
- Joomla! Apprentice
- Posts: 41
- Joined: Sat Nov 21, 2009 6:37 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi,
I have replace the code, but still I did not get any changes.
I have replace the Phoca texts with another name, but still getting Powered by Phoca Gallery.
I am modifying the code in the following location.
administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php
I just want to remove the Powered by Phoca Gallery. Kindly guide me to do that.
Thanks a lot,
Jyotirmay
I have replace the code, but still I did not get any changes.
I have replace the Phoca texts with another name, but still getting Powered by Phoca Gallery.
I am modifying the code in the following location.
administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php
I just want to remove the Powered by Phoca Gallery. Kindly guide me to do that.
Thanks a lot,
Jyotirmay
- farooqwasi
- Joomla! Apprentice
- Posts: 19
- Joined: Wed Jul 15, 2009 11:10 am
- Location: Islambad Pakistan
- Contact:
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi Jyotirmay Jena,
You are doing changes in the right file but please check your phoca gallery version it should be 2.6.0 if you are using the same version them the code will must have the effect. If its not getting solve by yourself then please send me the file i will make changes myself.
Thanks
You are doing changes in the right file but please check your phoca gallery version it should be 2.6.0 if you are using the same version them the code will must have the effect. If its not getting solve by yourself then please send me the file i will make changes myself.
Thanks
-
- Joomla! Apprentice
- Posts: 41
- Joined: Sat Nov 21, 2009 6:37 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi,
Please find the file renderfront.php.
Thanks a lot,
Jyotirmay
Please find the file renderfront.php.
Thanks a lot,
Jyotirmay
You do not have the required permissions to view the files attached to this post.
- farooqwasi
- Joomla! Apprentice
- Posts: 19
- Joined: Wed Jul 15, 2009 11:10 am
- Location: Islambad Pakistan
- Contact:
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Use the file uploaded.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Feb 27, 2010 5:27 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
i use Phoca 2.6.2 and still have the same trouble - changing code can't affect anything.
i used uploaded example with
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'s'.'e'.'m'.'l'.'.'.'c'.'o'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'s'.'e'.'m'.'l'.'.'.'j'.'h'.'"'.'>'.'s'.'e'.'m'.'l'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'s'.'e'.'m'.'l'.'.'.'j'.'h'.'/'.'s'.'e'.'m'.'l'.'S'.'y'.'s'.'t'.'e'.'m'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'s'.'e'.'m'.'l'.' '.'s'.'y'.'s'.'t'.'e'.'m'.'"'.'>'.'s'.'y'.'s'.'t'.'e'.'m'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
but still have the same "Powered by Phoca Gallery"
i used uploaded example with
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'s'.'e'.'m'.'l'.'.'.'c'.'o'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'s'.'e'.'m'.'l'.'.'.'j'.'h'.'"'.'>'.'s'.'e'.'m'.'l'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'s'.'e'.'m'.'l'.'.'.'j'.'h'.'/'.'s'.'e'.'m'.'l'.'S'.'y'.'s'.'t'.'e'.'m'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'s'.'e'.'m'.'l'.' '.'s'.'y'.'s'.'t'.'e'.'m'.'"'.'>'.'s'.'y'.'s'.'t'.'e'.'m'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
but still have the same "Powered by Phoca Gallery"
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sat Feb 27, 2010 5:27 pm
finally made it
finally made it for Phoca gallery 2.6.2
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find: $tmpl['ab'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) Replace it for: $tmpl['ab'] = ”;
save the file
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find: $tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) replace it for: $tmpl['md'] = ”;
Save the file
or you can comment that strings
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find: $tmpl['ab'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) Replace it for: $tmpl['ab'] = ”;
save the file
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find: $tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) replace it for: $tmpl['md'] = ”;
Save the file
or you can comment that strings
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Dec 31, 2007 12:03 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Hi, did You have the powered footer in:
index.php?option=com_phocagallery&view=category
I remove these line but in category view I have footer :/
index.php?option=com_phocagallery&view=category
I remove these line but in category view I have footer :/
- farooqwasi
- Joomla! Apprentice
- Posts: 19
- Joined: Wed Jul 15, 2009 11:10 am
- Location: Islambad Pakistan
- Contact:
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Can you please tell me your website URL so i can check the problem..
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Dec 31, 2007 12:03 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Sorry forgot
Code: Select all
function getString() {
return '';
}
-
- Joomla! Apprentice
- Posts: 8
- Joined: Thu Jun 12, 2008 8:20 pm
Re: finally made it
I just wanted to correct a small bit of code in this post.
When you replace the 2 pieces of code with the ones lightrip gives you below, it will result in an odd character (may be a question mark inside of a diamond, or it may be a square) replacing the powered by code you just removed.
To remedy this, instead of using the code below:
and
Use this code below:
and
The only difference is instead of using 1 double quote, it uses 2 single quotes.
I can confirm this works on 2.6.2
When you replace the 2 pieces of code with the ones lightrip gives you below, it will result in an odd character (may be a question mark inside of a diamond, or it may be a square) replacing the powered by code you just removed.
To remedy this, instead of using the code below:
Code: Select all
$tmpl['ab'] = ”;
Code: Select all
$tmpl['md'] = ”;
Code: Select all
$tmpl['ab'] = '';
Code: Select all
$tmpl['md'] = '';
I can confirm this works on 2.6.2
lightrip wrote:finally made it for Phoca gallery 2.6.2
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find: $tmpl['ab'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) Replace it for: $tmpl['ab'] = ”;
save the file
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find: $tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) replace it for: $tmpl['md'] = ”;
Save the file
or you can comment that strings
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Mar 16, 2010 8:59 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
what if I don't find map components/com_phocagallery/views/categories/ for 2.6.2 version. I have 23 directories all starts with phocagallery...
how to find view.html.php
I tried search and got about 22 results. Searched everyone multipletimes with ctrl+f with no results.
Please help,
Matej
how to find view.html.php
I tried search and got about 22 results. Searched everyone multipletimes with ctrl+f with no results.
Please help,
Matej
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Jan 19, 2010 12:12 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
please help me too.how to remove powered by phoca gallery. i m new on joomla.i m not understanding these codes:(
i have got the path but in the file renderfront.php i m not understanding the further process.here i m gonna mention the version of phoca gallery2.6.2
please help:(
i have got the path but in the file renderfront.php i m not understanding the further process.here i m gonna mention the version of phoca gallery2.6.2
please help:(
- kerastes
- Joomla! Enthusiast
- Posts: 100
- Joined: Sun Oct 18, 2009 9:51 am
- Location: Citizen of the World
- Contact:
Re: finally made it
I have found the '' $tmpl['ab'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……)'' and successfully replaced it with the code you have instructed, and the powered by phoca has dissapeared from the categories, but when i click one category is it still there, probably because i cant find anywhere the second line ''$tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……)''itsnetservices wrote:I just wanted to correct a small bit of code in this post.
When you replace the 2 pieces of code with the ones lightrip gives you below, it will result in an odd character (may be a question mark inside of a diamond, or it may be a square) replacing the powered by code you just removed.
To remedy this, instead of using the code below:
andCode: Select all
$tmpl['ab'] = ”;
Use this code below:Code: Select all
$tmpl['md'] = ”;
andCode: Select all
$tmpl['ab'] = '';
Code: Select all
$tmpl['md'] = '';
lightrip wrote:finally made it for Phoca gallery 2.6.2
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find: $tmpl['ab'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) Replace it for: $tmpl['ab'] = ”;
save the file
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find: $tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……) replace it for: $tmpl['md'] = ”;
Save the file
inside the view.html.php i see only the ''$tmpl['ab'] '' cant find the ''$tmpl['md']'' is that possible or i am missing something here???
thanks
update: I FOUND IT , replaced it with ''$tmpl['md'] ='';'' but nothing happened, powered by phoce is still visible..
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Feb 13, 2009 4:16 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
For frontend.
Follow the following very simple steps to remove the phoca gallery powered by text.
2) Go to 'components' folder
3) and then open 'com_phocagallery' folder
4) and then open 'views' folder
5) and then open 'categories' folder
6) and then open 'tmpl' folder
7) and in the last open this file 'default.php'
8) Complete path is "components\com_phocagallery\views\categories\tmpl\default.php"
9) in this file find the echo '</form><div> </div>' . $this->tmpl['ab'].'</div>';
10) you can replace or remove ' . $this->tmpl['ab'].' to permanently remove the phoca gallery powered by text.
Note : if you want to edit the text
echo '</form><div> </div>TYPE YOUR TEXT HERE</div>';
Salut!
Follow the following very simple steps to remove the phoca gallery powered by text.
2) Go to 'components' folder
3) and then open 'com_phocagallery' folder
4) and then open 'views' folder
5) and then open 'categories' folder
6) and then open 'tmpl' folder
7) and in the last open this file 'default.php'
8) Complete path is "components\com_phocagallery\views\categories\tmpl\default.php"
9) in this file find the echo '</form><div> </div>' . $this->tmpl['ab'].'</div>';
10) you can replace or remove ' . $this->tmpl['ab'].' to permanently remove the phoca gallery powered by text.
Note : if you want to edit the text
echo '</form><div> </div>TYPE YOUR TEXT HERE</div>';
Salut!
- kerastes
- Joomla! Enthusiast
- Posts: 100
- Joined: Sun Oct 18, 2009 9:51 am
- Location: Citizen of the World
- Contact:
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
thank you! i did it.
can you answer another question please??
how can one user leave more than one comment in a photo?? only one comment is allowed per user, per photo right? can i do something to change that??
thanks a lot!
can you answer another question please??
how can one user leave more than one comment in a photo?? only one comment is allowed per user, per photo right? can i do something to change that??
thanks a lot!
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Jan 19, 2010 12:12 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
hi thanx for telling me the way to removing powered by text but seriously it doesnt work:( am very worried becauz i remove which line u told me.but still it is showing footer powered by...
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Mar 16, 2010 8:59 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
I solved the problem w/ description above, was in wrong folder (don't know how).
thank you
thank you
-
- Joomla! Apprentice
- Posts: 15
- Joined: Tue Feb 09, 2010 3:59 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Taking the guidance in the posts above, this appears to not work in 2.6.2 where there are subdirectories as it only removes the tag from the top level,
i.e. /phocagallery is ok
/phocagallery/xyz still has the tag
Changes I've made so far
In
/components/com_phocagallery/views/categories/view.html.php
I replaced $tmpl['ab'] = base64_decode(‘PGR....);
with
$tmpl['ab'] = ' ';
I replaced $tmpl['md'] = base64_decode(‘PGR....);
with
$tmpl['md'] = ' ';
I assume between the single quotes is a space , i.e. ' ' and not ''
But i've tried both with and without and it makes no difference
I've also edited
/components/com_phocagallery/views/categories/tmpl/default.php
on the last line of this file
echo '</form><div> </div>' . $this->tmpl['ab'].'</div>';
editing so that it appears as
echo '</form><div> </div></div>';
i.e. /phocagallery is ok
/phocagallery/xyz still has the tag
Changes I've made so far
In
/components/com_phocagallery/views/categories/view.html.php
I replaced $tmpl['ab'] = base64_decode(‘PGR....);
with
$tmpl['ab'] = ' ';
I replaced $tmpl['md'] = base64_decode(‘PGR....);
with
$tmpl['md'] = ' ';
I assume between the single quotes is a space , i.e. ' ' and not ''
But i've tried both with and without and it makes no difference
I've also edited
/components/com_phocagallery/views/categories/tmpl/default.php
on the last line of this file
echo '</form><div> </div>' . $this->tmpl['ab'].'</div>';
editing so that it appears as
echo '</form><div> </div></div>';
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 31, 2010 11:28 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
For 2.6.2 version:
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find:
$tmpl['ab'] = base64_decode(‘
(Important -- Make sure you replace the complete line - Example:
$tmpl['ab'] = base64_decode(‘fadhfkajnbbceeuyyyttaee);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replace the full string ending with );
Replace it for:
$tmpl['ab'] = ' ';
save the file and upload
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find:
$tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……)
replace it for:
$tmpl['md'] = ' ';
3º: just under the string $tmpl['md'] you will need to replace:
$tmpl['em'] = PhocaGalleryRenderFront::getString();
with:
$tmpl['em'] = ' ';
Save and upload..
1º – Edit the file view.html.php (localized in components/com_phocagallery/views/categories/)
Find:
$tmpl['ab'] = base64_decode(‘
(Important -- Make sure you replace the complete line - Example:
$tmpl['ab'] = base64_decode(‘fadhfkajnbbceeuyyyttaee);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replace the full string ending with );
Replace it for:
$tmpl['ab'] = ' ';
save the file and upload
——————————————-
2º – Edit the file view.html.php (localized in components/com_phocagallery/views/category/)
find:
$tmpl['md'] = base64_decode(‘PGRpdiBzdHlsZT0idGV4dC……)
replace it for:
$tmpl['md'] = ' ';
3º: just under the string $tmpl['md'] you will need to replace:
$tmpl['em'] = PhocaGalleryRenderFront::getString();
with:
$tmpl['em'] = ' ';
Save and upload..
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 31, 2010 2:02 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
I'm sorry, I run the 2.6.2 version but don't have : components/com_phocagallery/views/categories/
This folder "categories" doesn't exist on my version...
Does somebody has a solution ?
This folder "categories" doesn't exist on my version...
Does somebody has a solution ?
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 31, 2010 11:28 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Make sure you are not looking under administrator/components folder.khoriass wrote:I'm sorry, I run the 2.6.2 version but don't have : components/com_phocagallery/views/categories/
This folder "categories" doesn't exist on my version...
Does somebody has a solution ?
The folder must be under (root)/components/com_phocagallery
If you still don't find the folder you are not running pocha gallery component that's for sure.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Mar 31, 2010 2:02 pm
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
You're perfectly right... I was looking in administrator ! It seems to work perfectly.
Thanx you for your support, and also thanks to fabiobarby for his contribution !
Thanx you for your support, and also thanks to fabiobarby for his contribution !
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Apr 03, 2010 5:46 am
Re: How To Remove Phoca Gallery 2.6.0 Powered By Text
Okay this works fine in 2.6.2 for the gallery and its categories, but the powered by text still shows up in my upload section. Do you guys have any solution to this?
-
- Joomla! Enthusiast
- Posts: 106
- Joined: Sat Aug 26, 2006 8:26 pm
- Location: Huntersville, NC
- Contact:
Re: Removing Phoca Gallery Powered By Text
Just confirmed that this works in 2.6.1 and 2.6.2. This is the best way to do it since it will remove it everywhere the link might show up.
Find this -
Replace with -
Find this -
Code: Select all
function getString() {
return '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.' '.'c'.'e'.'n'.'t'.'e'.'r'.';'.' '.'c'.'o'.'l'.'o'.'r'.':'.' '.'r'.'g'.'b'.'('.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.','.' '.'2'.'1'.'1'.')'.';'.'"'.'>'.'P'.'o'.'w'.'e'.'r'.'e'.'d'.' '.'b'.'y'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.'<'.'/'.'a'.'>'.' '.'<'.'a'.' '.'h'.'r'.'e'.'f'.'='.'"'.'h'.'t'.'t'.'p'.':'.'/'.'/'.'w'.'w'.'w'.'.'.'p'.'h'.'o'.'c'.'a'.'.'.'c'.'z'.'/'.'p'.'h'.'o'.'c'.'a'.'g'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'t'.'e'.'x'.'t'.'-'.'d'.'e'.'c'.'o'.'r'.'a'.'t'.'i'.'o'.'n'.':'.' '.'n'.'o'.'n'.'e'.';'.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.' '.'t'.'i'.'t'.'l'.'e'.'='.'"'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'"'.'>'.'G'.'a'.'l'.'l'.'e'.'r'.'y'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
}
Code: Select all
function getString() {
return '';
}
farooqwasi wrote:Follow 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'
in this file find the getString() function.
9) the first line of this function will have concatenated string replace or remove this to permanently remove the phoca gallery powered by text.
Below is the complete path for the above file.
administrator\components\com_phocagallery\libraries\phocagallery\render\renderfront.php