Phoca Guest Book – Remove Copyright Link
Joomla – Phoca Guest Book – Remove Copyright Link ::
Phoca Guest Book is used to make stunning guest book and feedback page in joomla website. I had already installed Phoca Guest Book in some of my two projects but was unable to remove the link. I was trying from a long time to remove the phoca guest book copyright link which displays in the guest book component and also I had found some blogs about it. Finally I got a very simple and stupid clue to remove the copyright link from guest book. See the image below, where there is a link in bottom rounded by red.
Now follow the steps :
- Go to site\components\com_phocaguestbook\helpers\
- Open the file phocaguestbook.php
- Go to line 39 or see the image below
4. The str==0 plays the great role on the phoca guest book component
5. Now refresh your guestbook page and you will find the link removed.
The link has been removed, waiting for u r comments and suggestions.










THANK YOU! Oh I want to kiss you! Your the best!
You are violating copyrights, nothing more
You’re a life saver man!!!
Or you can use this plugin http://www.abivia.net/help/forums/topic?id=7
great, i’ve been trying to remove it but couldn’t get it done. thanxs a lot!!!
Thank you so much for the info I would have spent the whole day trying to solve this problem. By the way check your fonts color for the input I can’t see what I’m typing
hi,pls help me to fix this problem ..
from line 39 to 57 i have:
function displaySimpleTinyMCEJS()
{
$js = ” . “\n”;
$js .= ‘tinyMCE.init({‘. “\n”
.’mode : “textareas”,’. “\n”
.’theme : “advanced”,’. “\n”
.’language : “en”,’. “\n”
.’plugins : “emotions”,’. “\n”
.’editor_selector : “mceEditor”,’. “\n”
.’theme_advanced_buttons1 : “bold, italic, underline, separator, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, undo, redo, link, unlink, separator, emotions”,’. “\n”
.’theme_advanced_buttons2 : “”,’. “\n”
.’theme_advanced_buttons3 : “”,’. “\n”
.’theme_advanced_toolbar_location : “top”,’. “\n”
.’theme_advanced_toolbar_align : “left”,’. “\n”
.’theme_advanced_path_location : “bottom”,’. “\n”
.’extended_valid_elements : “a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]”
});’ . “\n”;
$js .= ”;
return $js;
this is my whole text in this file :
class PhocaguestbookHelper
{
function setTinyMCEJS()
{
$js = “\t\n”;
return $js;
}
function setCaptchaReloadJS()
{
/* $js = “\t”. ‘function reloadCaptcha() { var capObj = document.getElementById(\’phocacaptcha\’); if (capObj) { capObj.src = capObj.src + (capObj.src.indexOf(\’?\’) > -1 ? \’&\’ : \’?\’) + Math.random(); }} ‘ . “\n”;
*/
$js = “\t”. ”.”\n”.’var pcid = 0;’.”\n”
. ‘function reloadCaptcha() {‘ . “\n”
. ‘now = new Date();’ . “\n”
. ‘var capObj = document.getElementById(\’phocacaptcha\’);’ . “\n”
. ‘if (capObj) {‘ . “\n”
. ‘capObj.src = capObj.src + (capObj.src.indexOf(\’?\’) > -1 ? \’&pcid[\'+ pcid +\']=\’ : \’?pcid[\'+ pcid +\']=\’) + Math.ceil(Math.random()*(now.getTime()));’ . “\n”
. ‘pcid++;’ . “\n”
. ‘ }’ . “\n”
. ‘}’. “\n”
. ” . “\n”;
return $js;
}
function displaySimpleTinyMCEJS()
{
$js = ” . “\n”;
$js .= ‘tinyMCE.init({‘. “\n”
.’mode : “textareas”,’. “\n”
.’theme : “advanced”,’. “\n”
.’language : “en”,’. “\n”
.’plugins : “emotions”,’. “\n”
.’editor_selector : “mceEditor”,’. “\n”
.’theme_advanced_buttons1 : “bold, italic, underline, separator, strikethrough, justifyleft, justifycenter, justifyright, justifyfull, bullist, numlist, undo, redo, link, unlink, separator, emotions”,’. “\n”
.’theme_advanced_buttons2 : “”,’. “\n”
.’theme_advanced_buttons3 : “”,’. “\n”
.’theme_advanced_toolbar_location : “top”,’. “\n”
.’theme_advanced_toolbar_align : “left”,’. “\n”
.’theme_advanced_path_location : “bottom”,’. “\n”
.’extended_valid_elements : “a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]”
});’ . “\n”;
$js .= ”;
return $js;
}
function displayTextArea($name=’content’,$content=”, $width=50, $height=50, $col=10, $row=10, $buttons = false)
{
if (is_numeric( $width )) {
$width .= ‘px’;
}
if (is_numeric( $height )) {
$height .= ‘px’;
}
$editor = “$content\n” . $buttons;
return $editor;
}
function setP($new) {
if ($new == 1) {
$new = ”.”.’P’.’h’.’o’.’c’.’a’.’ ‘.’G’.’u’.’e’.’s’.'t’.'b’.'o’.'o’.'k’.”.”;
} else {
$new = ”;
}
return $new;
}
function wordDelete($string,$length,$end)
{
if (JString::strlen($string)
hi guys, i dont think that work anymore…
the link site\components\com_phocaguestbook\helpers\ doesnt exist.
i found out the file on site\administrator\components\com_phocaguestbook\front\helpers\
however if i change the char to ‘0′ will not work :S maybe isnt that file, because i deleted to test, and didnt get any error… :S any idea?
howdy !!! HD can u please let me know the version of your joomla!
hi pracas, its 1.5.14
HD , u can email me the details , i will remove it if u r unable to manage from here ,
thanks