How to get rid of annoying copyright info in mxComment (which isGNU/GPL licensed!)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • burek021

    How to get rid of annoying copyright info in mxComment (which isGNU/GPL licensed!)

    1. Find the file /components/com_maxcomment/includes/
    maxcomment.util s.php
    2. Find the lines that contain call to a function named "eval()", for
    ex. "eval(stripslas hes(base64_deco de("...")));"

    the eval function is used to evaluate the php code inside brackets,
    base64_decode function is used to encode the human readable php code
    into base64 encoded text, thus, here is where the copyright code is
    hidden

    3. copy the text between quotation marks in base64_decode(" ") function
    call
    4. go to http://www.opinionatedgeek.com/dotne.../Base64Decode/
    5. paste that text into the page and press DECODE button
    6. you'll see a human readable php code now, copy it to the Notepad,
    find the function named _getNoticeCopyr ight() it starts something like
    this:

    function _getNoticeCopyr ight(){
    global $mosConfig_abso lute_path, $COMMENT;
    require($mosCon fig_absolute_pa th.\'/administrator/components/
    com_maxcomment/version.php\');
    ....
    }

    7. delete all the code in that function or just put one 'return' at
    the beginning of the function, for ex.

    function _getNoticeCopyr ight(){
    return;
    global $mosConfig_abso lute_path, $COMMENT;
    require($mosCon fig_absolute_pa th.\'/administrator/components/
    com_maxcomment/version.php\');
    ....
    }

    8. select all that text now, copy it to clipboard and go to

    9. paste the text in the page and press ENCODE button
    10. the resulting text (base64 encoded text) should be put back in the
    file /components/com_maxcomment/includes/maxcomment.util s.php

    Have fun, cheers :)
  • Jerry Stuckle

    #2
    Re: How to get rid of annoying copyright info in mxComment (whichis GNU/GPL licensed!)

    burek021 wrote:
    1. Find the file /components/com_maxcomment/includes/
    maxcomment.util s.php
    2. Find the lines that contain call to a function named "eval()", for
    ex. "eval(stripslas hes(base64_deco de("...")));"
    >
    the eval function is used to evaluate the php code inside brackets,
    base64_decode function is used to encode the human readable php code
    into base64 encoded text, thus, here is where the copyright code is
    hidden
    >
    3. copy the text between quotation marks in base64_decode(" ") function
    call
    4. go to http://www.opinionatedgeek.com/dotne.../Base64Decode/
    5. paste that text into the page and press DECODE button
    6. you'll see a human readable php code now, copy it to the Notepad,
    find the function named _getNoticeCopyr ight() it starts something like
    this:
    >
    function _getNoticeCopyr ight(){
    global $mosConfig_abso lute_path, $COMMENT;
    require($mosCon fig_absolute_pa th.\'/administrator/components/
    com_maxcomment/version.php\');
    ...
    }
    >
    7. delete all the code in that function or just put one 'return' at
    the beginning of the function, for ex.
    >
    function _getNoticeCopyr ight(){
    return;
    global $mosConfig_abso lute_path, $COMMENT;
    require($mosCon fig_absolute_pa th.\'/administrator/components/
    com_maxcomment/version.php\');
    ...
    }
    >
    8. select all that text now, copy it to clipboard and go to

    9. paste the text in the page and press ENCODE button
    10. the resulting text (base64 encoded text) should be put back in the
    file /components/com_maxcomment/includes/maxcomment.util s.php
    >
    Have fun, cheers :)
    >
    And why would I want to violate the copyright by removing this
    information? Just because it's GNU/GPL licensed does not mean you can
    legally remove copyright notices.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • nice.guy.nige

      #3
      Re: How to get rid of annoying copyright info in mxComment (which is GNU/GPL licensed!)

      While the city slept, burek021 feverishly typed:
      1. Find the file /components/com_maxcomment/includes/
      maxcomment.util s.php
      [...]

      Or, if you don't want to attribute someone for their hard work, just write
      your own? Or maybe you can't

      --
      Nigel Moss | http://www.nigenet.org.uk
      Email not valid. nigel@dog.nigen et.org.uk - take the dog out!
      "You're mother ate my dog!", "Not all of him..."


      Comment

      Working...