How To Remove Phoca Gallery 2.6.0 Powered By Text

This forum is for general questions about extensions for Joomla! version 1.5.x.

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.
User avatar
farooqwasi
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jul 15, 2009 11:10 am
Location: Islambad Pakistan
Contact:

Removing Phoca Gallery Powered By Text

Post by farooqwasi » Fri Dec 11, 2009 10:19 am

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]
Last edited by Geoff on Sun Dec 20, 2009 8:46 am, edited 2 times in total.
Reason: removed self-promotion
Joomla Developer
Muhammad Farooq Wasi
http://www.vutube.edu.pk

mukhan86
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Aug 05, 2009 11:48 am

Re: How To Phoca Gallery Powered By Text

Post by mukhan86 » Mon Dec 14, 2009 7:54 am

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
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65

tomalex0
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Jan 22, 2010 1:06 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by tomalex0 » Fri Jan 22, 2010 1:12 pm

Hi , that was a cool, saved a lot time

Thanks once again

dmihalj
Joomla! Fledgling
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

Post by dmihalj » Tue Feb 02, 2010 3:17 pm

Thanks farooqwasi, it means to me so much!

jjena
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Sat Nov 21, 2009 6:37 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by jjena » Mon Feb 22, 2010 5:58 am

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

User avatar
farooqwasi
Joomla! Apprentice
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

Post by farooqwasi » Wed Feb 24, 2010 7:31 am

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'.'>';
}
Joomla Developer
Muhammad Farooq Wasi
http://www.vutube.edu.pk

jjena
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Sat Nov 21, 2009 6:37 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by jjena » Thu Feb 25, 2010 10:06 am

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

User avatar
farooqwasi
Joomla! Apprentice
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

Post by farooqwasi » Thu Feb 25, 2010 11:01 am

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
Joomla Developer
Muhammad Farooq Wasi
http://www.vutube.edu.pk

jjena
Joomla! Apprentice
Joomla! Apprentice
Posts: 41
Joined: Sat Nov 21, 2009 6:37 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by jjena » Fri Feb 26, 2010 8:00 am

Hi,

Please find the file renderfront.php.

Thanks a lot,
Jyotirmay
renderfront.txt
You do not have the required permissions to view the files attached to this post.

User avatar
farooqwasi
Joomla! Apprentice
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

Post by farooqwasi » Fri Feb 26, 2010 10:09 am

Use the file uploaded.
Joomla Developer
Muhammad Farooq Wasi
http://www.vutube.edu.pk

lightrip
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Feb 27, 2010 5:27 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by lightrip » Sat Feb 27, 2010 5:35 pm

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"
You do not have the required permissions to view the files attached to this post.

lightrip
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Feb 27, 2010 5:27 pm

finally made it

Post by lightrip » Sat Feb 27, 2010 6:10 pm

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

mitring
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 31, 2007 12:03 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by mitring » Tue Mar 09, 2010 8:09 pm

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 :/

User avatar
farooqwasi
Joomla! Apprentice
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

Post by farooqwasi » Wed Mar 10, 2010 5:27 am

Can you please tell me your website URL so i can check the problem..
Joomla Developer
Muhammad Farooq Wasi
http://www.vutube.edu.pk

mitring
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 31, 2007 12:03 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by mitring » Wed Mar 10, 2010 9:39 am

Sorry forgot

Code: Select all

function getString() {
		return '';
	}
:)

itsnetservices
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Jun 12, 2008 8:20 pm

Re: finally made it

Post by itsnetservices » Thu Mar 11, 2010 8:31 pm

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:

Code: Select all

$tmpl['ab'] = ”;
and

Code: Select all

$tmpl['md'] = ”;
Use this code below:

Code: Select all

$tmpl['ab'] = '';
and

Code: Select all

$tmpl['md'] = '';
The only difference is instead of using 1 double quote, it uses 2 single quotes.

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

fearless4711
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Mar 16, 2010 8:59 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by fearless4711 » Tue Mar 16, 2010 9:06 pm

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

sall
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Jan 19, 2010 12:12 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by sall » Tue Mar 16, 2010 10:51 pm

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:(

User avatar
kerastes
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 100
Joined: Sun Oct 18, 2009 9:51 am
Location: Citizen of the World
Contact:

Re: finally made it

Post by kerastes » Wed Mar 17, 2010 10:25 am

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:

Code: Select all

$tmpl['ab'] = ”;
and

Code: Select all

$tmpl['md'] = ”;
Use this code below:

Code: Select all

$tmpl['ab'] = '';
and

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
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……)''

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..

fabiobarby
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Feb 13, 2009 4:16 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by fabiobarby » Wed Mar 17, 2010 11:47 pm

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!

User avatar
kerastes
Joomla! Enthusiast
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

Post by kerastes » Thu Mar 18, 2010 12:01 am

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!

sall
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Tue Jan 19, 2010 12:12 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by sall » Sat Mar 20, 2010 11:12 pm

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...

fearless4711
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Mar 16, 2010 8:59 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by fearless4711 » Sun Mar 21, 2010 2:31 pm

I solved the problem w/ description above, was in wrong folder (don't know how).

thank you

m100s2
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Tue Feb 09, 2010 3:59 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by m100s2 » Mon Mar 29, 2010 11:36 am

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>';

invokers
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 11:28 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by invokers » Wed Mar 31, 2010 11:35 am

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..

khoriass
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 2:02 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by khoriass » Wed Mar 31, 2010 2:21 pm

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 ?

invokers
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 11:28 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by invokers » Wed Mar 31, 2010 2:50 pm

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 ?
Make sure you are not looking under administrator/components folder.
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.

khoriass
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 2:02 pm

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by khoriass » Wed Mar 31, 2010 3:52 pm

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 !

agjs10
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Apr 03, 2010 5:46 am

Re: How To Remove Phoca Gallery 2.6.0 Powered By Text

Post by agjs10 » Sat Apr 03, 2010 5:53 am

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?

NHRADeuce
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 106
Joined: Sat Aug 26, 2006 8:26 pm
Location: Huntersville, NC
Contact:

Re: Removing Phoca Gallery Powered By Text

Post by NHRADeuce » Sun Apr 25, 2010 8:48 pm

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 -

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'.'>';
	}
Replace with -

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'
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
Brent Friar
BNR Branding Solutions Website Development
bnrbranding.com


Locked

Return to “Extensions for Joomla! 1.5”