473,657 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ 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.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
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.util s.php

Have fun, cheers :)
Aug 20 '08 #1
2 1638
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
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.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.
js*******@attgl obal.net
=============== ===

Aug 20 '08 #2
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. ni***@dog.nigen et.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
291
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
1563
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 bonkers. Here's a tiny sample program which reproduces the problem. I've also included an extract of the shell session I used to launch it (so you can tell me if I'm missing any crucial commandline parameters), and an excerpt from the -aux-info dump...
2
3906
by: Dave Cullen | last post by:
Is there a C# equivalent of the Version Info resource found in VC++ 6.0? Thanks
2
1595
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 and then performing the appropriate action. But I don't find any way to retrieve any info telling me which specific MenuItem sends a click event at the moment. The sender and e parameters seem to carry some very general information, not from a...
8
2348
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 project information such as copyright, trademark and version numbers is simple in VB6. Right click on the project and use the properties. But how do you do it in VS.Net 2003????? Right clicking and selecting properties gives me NO such options...
24
2848
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 abilities by writing my own nice editor with python; so I've to choose among all those GUI toolkit's available there.. But I've no idea which one I should use to start with.. I've read that tkinter seems to be the de facto standart in the pyhon...
9
1826
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 would like the script to show the president's and vice president's Contact info all the time, but hide the contact info for everyone else when viewed by the general public, then if the user logs in all contact information is displayed, for everyone....
0
8411
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8838
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8513
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8613
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5638
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
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.