Phoca Guest Book – Remove Copyright Link

November 27th, 2009 | Tags: ,
234x60

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.

Joomla - Phoca Guest Book - Remove Copyright Link
Joomla – Phoca Guest Book – Remove Copyright Link

Now follow the steps :

  1. Go to site\components\com_phocaguestbook\helpers\
  2. Open the file phocaguestbook.php
  3. Go to line 39 or see the image below
    Joomla - Phoca Guest Book - Remove Copyright Link

    Joomla - Phoca Guest Book - Remove Copyright Link

    4. The str==0 plays the great role on the phoca guest book component

Joomla - Phoca Guest Book - Remove Copyright Link
Joomla – Phoca Guest Book – Remove Copyright Link

5. Now refresh your guestbook page and you will find the link removed.

remove link in phoca guest book
remove link in phoca guest book

The link has been removed, waiting for u r comments and suggestions.

  1. Rebecca
    November 27th, 2009 at 23:10
    Reply | Quote | #1

    THANK YOU! Oh I want to kiss you! Your the best! ;-)

  2. Sep
    December 10th, 2009 at 04:32
    Reply | Quote | #2

    You are violating copyrights, nothing more

  3. December 17th, 2009 at 21:23
    Reply | Quote | #3

    You’re a life saver man!!!

  4. Bob
    December 17th, 2009 at 21:45
    Reply | Quote | #4
  5. mick
    December 23rd, 2009 at 17:05
    Reply | Quote | #5

    great, i’ve been trying to remove it but couldn’t get it done. thanxs a lot!!!

  6. Fyona
    January 10th, 2010 at 10:34
    Reply | Quote | #6

    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

  7. January 24th, 2010 at 20:36
    Reply | Quote | #7

    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;

  8. January 24th, 2010 at 21:07
    Reply | Quote | #8

    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)

  9. HD
    January 29th, 2010 at 08:20
    Reply | Quote | #9

    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?

  10. January 31st, 2010 at 09:44

    howdy !!! HD can u please let me know the version of your joomla!

  11. HD
    January 31st, 2010 at 21:38

    hi pracas, its 1.5.14

  12. February 1st, 2010 at 14:19

    HD , u can email me the details , i will remove it if u r unable to manage from here ,
    thanks

TOP