473,471 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

1. Find the file /components/com_maxcomment/includes/
maxcomment.utils.php
2. Find the lines that contain call to a function named "eval()", for
ex. "eval(stripslashes(base64_decode("...")));"

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 _getNoticeCopyright() it starts something like
this:

function _getNoticeCopyright(){
global $mosConfig_absolute_path, $COMMENT;
require($mosConfig_absolute_path.\'/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 _getNoticeCopyright(){
return;
global $mosConfig_absolute_path, $COMMENT;
require($mosConfig_absolute_path.\'/administrator/components/
com_maxcomment/version.php\');
....
}

8. select all that text now, copy it to clipboard and go to
http://www.opinionatedgeek.com/dotne.../Base64Encode/
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.utils.php

Have fun, cheers :)
Aug 20 '08 #1
2 1626
burek021 wrote:
1. Find the file /components/com_maxcomment/includes/
maxcomment.utils.php
2. Find the lines that contain call to a function named "eval()", for
ex. "eval(stripslashes(base64_decode("...")));"

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 _getNoticeCopyright() it starts something like
this:

function _getNoticeCopyright(){
global $mosConfig_absolute_path, $COMMENT;
require($mosConfig_absolute_path.\'/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 _getNoticeCopyright(){
return;
global $mosConfig_absolute_path, $COMMENT;
require($mosConfig_absolute_path.\'/administrator/components/
com_maxcomment/version.php\');
...
}

8. select all that text now, copy it to clipboard and go to
http://www.opinionatedgeek.com/dotne.../Base64Encode/
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.utils.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.
js*******@attglobal.net
==================

Aug 20 '08 #2
While the city slept, burek021 feverishly typed:
1. Find the file /components/com_maxcomment/includes/
maxcomment.utils.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. ni***@dog.nigenet.org.uk - take the dog out!
"You're mother ate my dog!", "Not all of him..."
Aug 20 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephen Durtschi | last post by:
I want to be able to set the version, copyright info, and file description on my executables. It seems like this should be a very simple thing, but I can't find where or how to do it.
2
by: Grey Knight | last post by:
Here's a problem which is driving me slowly insane. Using GCC version 3.3.1 on SuSE 9.0, I keep getting "undefined reference to `function'"-type errors for no apparent reason! It's driving me...
2
by: Dave Cullen | last post by:
Is there a C# equivalent of the Version Info resource found in VC++ 6.0? Thanks
2
by: M Shafaat | last post by:
Hi, I want to develop an application with menus. I want to make only one event handler method which handles a whole group of menu items by firstly identifying which MenuItem sends the click event...
8
by: Malakie | last post by:
Hi all: Being that I am trying out VB.net for the first time finally, I am finding much has changed. But what should be one of the easiest things to do is somehow eluding me! Setting your...
24
by: invitro81 | last post by:
Hello I've recently learnt python and I do love it! I congratulate all those geeks who produce this nice language; well, because I could be called a nearby newbee I've decided to improve my...
9
by: PomonaGrange | last post by:
HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.