2
There is a way to do it. Basically you have to change the values throughout the whole module though. Especially the MySQL table names. An example:
mylinks
folder SQL
BEFORE you install it a second time you would change all queries:
LIKE THIS:
CREATE TABLE mylinks_links (
lid int(11) unsigned NOT NULL auto_increment,
cid int(5) unsigned NOT NULL default '0',
title varchar(100) NOT NULL default '',
url varchar(250) NOT NULL default '',
logourl varchar(60) NOT NULL default '',
submitter int(11) unsigned NOT NULL default '0',
status tinyint(2) NOT NULL default '0',
date int(10) NOT NULL default '0',
hits int(11) unsigned NOT NULL default '0',
rating double(6,4) NOT NULL default '0.0000',
votes int(11) unsigned NOT NULL default '0',
comments int(11) unsigned NOT NULL default '0',
PRIMARY KEY (lid),
KEY cid (cid),
KEY status (status),
KEY title (title(40))
) TYPE=MyISAM;
TO:
CREATE TABLE mylinks_links2 (
lid int(11) unsigned NOT NULL auto_increment,
cid int(5) unsigned NOT NULL default '0',
title varchar(100) NOT NULL default '',
url varchar(250) NOT NULL default '',
logourl varchar(60) NOT NULL default '',
submitter int(11) unsigned NOT NULL default '0',
status tinyint(2) NOT NULL default '0',
date int(10) NOT NULL default '0',
hits int(11) unsigned NOT NULL default '0',
rating double(6,4) NOT NULL default '0.0000',
votes int(11) unsigned NOT NULL default '0',
comments int(11) unsigned NOT NULL default '0',
PRIMARY KEY (lid),
KEY cid (cid),
KEY status (status),
KEY title (title(40))
) TYPE=MyISAM;
Then you would need to update all files like includes/functions.php to reflect these changes as well. THEN install the module. You just want to make sure all of the table names are different and no part of the module is still trying to use the tables from the original module or else you will have problems.
Magick can never be restrained, but when freely given is thrice regained!