2
Herko Coomans: you can duplicate the module easily bu changing the module folder name, and all references to that folder name in the code, as well as the xoops_vserion.php
Herko Coomans: then you change the mysql.sql file to fit your changed prefix
Herko Coomans: install the module and then import your data into the tables, using that new names
Gruessle: The module folder name is easy , MySQL too but how do I find all the "all references to that folder name in the code"
Herko Coomans: newbb, right?
Gruessle: yes
Herko Coomans: let me check
Gruessle: Thanks
Herko Coomans: do you have a text editor with seach/replace functions?
Gruessle: Yes
Herko Coomans: then open modules/newbb/index.php
Gruessle: OK
Gruessle: Where is the module, I can't find it at xoops.org?
Herko Coomans: it's in the core package
Gruessle: got it
Gruessle: I have changed $bbUrl['root'] = XOOPS_URL."/modules/newbbvic/";
Gruessle: in confic.php
Herko Coomans: also change xoops_version.php
Herko Coomans: it has references like module_dir
Herko Coomans: and index.php has references to the newbb_ tables, as well as the modules/newbb/ folder
Gruessle: can't find references anything with module or dir
Herko Coomans: $modversion['dirname'] = "newbb";
Gruessle: got is
Herko Coomans: like I said, newbb is a complex module to duplicate, but do a search for the text newbb in every file, and replace it with your other name. But check every instance you do this, because for templates, you don't need to change them
Gruessle: Thanks - I think I can take it from here
Herko Coomans: great