Hi,
If you want to remove the copyright link of Phoca Guest Book
1) Root -> Project Folder
2) ->Component - > com_phocaguestbook - > helpers
3) in phocaguestbook.php on line number 73 replace below function
function pF($dF) {
if ($dF == 1) {
$pF = '<'.'d'.'i'.'v'.' '.'s'.'t'.'y'.'l'.'e'.'='.'"'.'m'.'a'.'r'.'g'.'i'.'n'.':'.'1'.'0'.'p'.'x'.';'.'t'.'e'.'x'.'t'.'-'.'a'.'l'.'i'.'g'.'n'.':'.'r'.'i'.'g'.'h'.'t'.'"'.'>'.'<'.'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'.'u'.'e'.'s'.'t'.'b'.'o'.'o'.'k'.''.'"'.' '.'t'.'a'.'r'.'g'.'e'.'t'.'='.'"'.'_'.'b'.'l'.'a'.'n'.'k'.'"'.'>'.'P'.'h'.'o'.'c'.'a'.' '.'G'.'u'.'e'.'s'.'t'.'b'.'o'.'o'.'k'.'<'.'/'.'a'.'>'.'<'.'/'.'d'.'i'.'v'.'>';
} else {
$pF = '';
}
return $pF;
}
with the other function below
function pF($dF) {
if ($dF == 1) {
$pF = '';
} else {
$pF = '';
}
return $pF;
}
Tuesday, June 30, 2009
Subscribe to:
Post Comments (Atom)
Thanks just what I needed
ReplyDeleteworks great. thanks!
ReplyDeleteHi did you know this line doesn't exist in the latest versions, so you cannot use this to remove the link any longer. Is there another work around to remove the link from the guestbook?
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
thanks!
ReplyDeleteVersion 1.3.2
ReplyDeletesame file
funcion setP($new){
if($new == 0) {
replace -->
function setP($new) {
if($new ==1) {
Thanks for your help. I can tell you another way. It is very simple.
ReplyDeleteGo to the Function SetP.
There is IF condition.
Change if($new==1) as if($new==0)
We have to change only single charactor.
Thanks and Regards
Thanks for the solutions, but in version 1.4.0 BETA this doesn't work. They have changed it again:(
ReplyDeleteIs there someone who has found this one?
Greetings,
Franko
Yes same file,line 101. Delete all inside of the () after the base64_decode.
ReplyDeleteAnd insert a space character in place of the encoded text. Should look like this:
ReplyDeletereturn base64_decode('IA==');
Thank you for your help Rick. I decided to replace the entire code inside the parentheses with a letter "a" (without quotes) which removed the link.
ReplyDeletei downloaded 1.41 version they removed these lines please let me know how to remove this hypertext
ReplyDeleteremove this after base64decode "PGRpdiBzdHlsZT0idGV4dC1hbGlnbjogcmlnaHQ7IGNvbG9yOiNkM2QzZDM7Ij5Qb3dlcmVkIGJ5IDxhIGhyZWY9Imh0dHA6Ly93d3cucGhvY2EuY3oiIHN0eWxlPSJ0ZXh0LWRlY29yYXRpb246IG5vbmU7IiB0YXJnZXQ9Il9ibGFuayIgdGl0bGU9IlBob2NhLmN6Ij5QaG9jYTwvYT4gPGEgaHJlZj0iaHR0cDovL3d3dy5waG9jYS5jei9waG9jYWd1ZXN0Ym9vayIgc3R5bGU9InRleHQtZGVjb3JhdGlvbjogbm9uZTsiIHRhcmdldD0iX2JsYW5rIiB0aXRsZT0iUGhvY2EgR3Vlc3Rib29rIj5HdWVzdGJvb2s8L2E+PC9kaXY+"
ReplyDeleteHow to remove phoca maps Copyright Link
ReplyDelete