99
I set up a test site and added to the
/modules/newbb/language/english/modinfo.php
Like this
le="color: #000000"><?php // FOR installation define("_MI_NEWBB_INSTALL_CAT_TITLE", "Category Test"); define("_MI_NEWBB_INSTALL_CAT_DESC", "Category for test."); define("_MI_NEWBB_INSTALL_FORUM_NAME", "Forum Test"); define("_MI_NEWBB_INSTALL_FORUM_DESC", "Forum for test."); define("_MI_NEWBB_INSTALL_POST_SUBJECT", "Congratulations! The forum is working."); define("_MI_NEWBB_INSTALL_POST_TEXT", " Welcome to ".(htmlspecialchars($GLOBALS["xoopsConfig"]['sitename'], ENT_QUOTES))." forum. Feel free to register and login to start your topics. If you have any question concerning CBB usage, plz visit your local support site or <a href="http://xoopsforge.com/modules/newbb/" target="_blank">CBB Module Site</a>. "); // FOR installation define("_MI_NEWBB_INSTALL_CAT_TITLE", "Category Test 1"); define("_MI_NEWBB_INSTALL_CAT_DESC", "Category for test 1."); define("_MI_NEWBB_INSTALL_FORUM_NAME", "Forum Test 1"); define("_MI_NEWBB_INSTALL_FORUM_DESC", "Forum for test 1."); define("_MI_NEWBB_INSTALL_POST_SUBJECT", "Congratulations! The forum is working 1."); define("_MI_NEWBB_INSTALL_POST_TEXT", " Welcome to ".(htmlspecialchars($GLOBALS["xoopsConfig"]['sitename'], ENT_QUOTES))." forum. Feel free to register and login to start your topics 1. If you have any question concerning CBB usage, plz visit your local support site or <a href="http://xoopsforge.com/modules/newbb/" target="_blank">CBB Module Site 1</a>. ");
So I changed the data by a adding a 1 to the content inserted. Didn't work when I installed it. The cbb module did install but no second cat, forum or content.
How would you mod this code?
-----
On another note you can change all the preloaded words on the install of xoops.
install/makedata.php
I wonder if this is a file I will need to modify in order for the cbb module to be installed from the start.
I think I only need one example and I will be good to go...