Code: Select all
'table_column_add' => array(
array(USERS_TABLE,'user_garage_guestbook_pm_notify', array('BOOL', 1)),
),
Code: Select all
Notice: Use of undefined constant USERS_TABLE - assumed 'USERS_TABLE' in C:Program Filesxampphtdocsquickinstallboardsumilgarage_install.php on line 177
Yes, it will be hosted here on phpBB.com, it’s the last thing that needs to be done before we can do an actual preview to the community.poyntesm wrote:So I see the new gui folder in SVN. I take it this is the tool to help auto create an UMIL file?
umil itself resides in the umil directory, which is then packaged as a MOD, so it has /root/ and then the /umil/ directory which the user would copy to their phpBB directory.poyntesm wrote:Also you have ./umil/root/umil/language/en/, should this not move to /umil/root/langauge/en/umil/ ?? Any good reason to have just this UMIL language stuff seperate to all other phpBB language files?
That’s a good idea. I was thinking of giving UMIL a logo.poyntesm wrote:2) Allow MOD author have a logo displayed on auto page. This would go where the normal phpBB one would in the installer system, just a small graphical improvement IMO.
UMIL supports these already, of course they have to follow a proper format such as lowercase a/b, uppercase RC, etc. Did you find a case where it was not working?poyntesm wrote:3) Support for alpha,beta,rc version numbers. 2.0.A1, 2.0.B1,2.0.RC1 etc.. code comments (& brief testing) seem to suggest this will not work. version_compare should allow support for this I think.
1. Tabs may be used for something else in the future.poyntesm wrote:So some suggestions I have. Nothing to major I think and obviously up to you if you implement.
1) Remove the action selection from auto and make this display tabs like the phpBB installer for install/update/remove. This would fit the phpBB way of design in a cleaner approach.
2) Allow MOD author have a logo displayed on auto page. This would go where the normal phpBB one would in the installer system, just a small graphical improvement IMO.
3) Support for alpha,beta,rc version numbers. 2.0.A1, 2.0.B1,2.0.RC1 etc.. code comments (& brief testing) seem to suggest this will not work. version_compare should allow support for this I think.
Will post anymore I think of or discover. Keep up the good work, I do think UMIL & AutoMOD provide a nice answer to the MOD install issue on phpBB3.
The constants do indeed work. Were you using the stand alone system and somehow not including the constants file?poyntesm wrote:Use of the constants for a table name seem not to work. I see I can use phpbb_users and it will be replaced by the correct table prefix but documentation says constants are supported.
Results inCode: Select all
'table_column_add' => array( array(USERS_TABLE,'user_garage_guestbook_pm_notify', array('BOOL', 1)), ),
EDIT : 1 further suggestionCode: Select all
Notice: Use of undefined constant USERS_TABLE - assumed 'USERS_TABLE' in C:Program Filesxampphtdocsquickinstallboardsumilgarage_install.php on line 177
Have a another array for options selection during install. i.e present a yes/no question to the user and then the response could be used in a custom function. So input option somthing like array('post_var', 'LANG_VAR', 1); The language variable would display the question to the user and post_var we the input value and then a default value. If kept to a simple bool it should be useful but simple. Just another idea for you. Sorry for string of posts, but just posting as I find stuff.
EDIT :2 another suggestion
How about a langauge entry for when MOD is installed successfully.
But all MODs are meant to place there language in /phpBB/language/en/mods why should it be different for UMIL?umil itself resides in the umil directory, which is then packaged as a MOD, so it has /root/ and then the /umil/ directory which the user would copy to their phpBB directory.
So you would have: /phpBB/umil/language/en/ ... etc.
I was using the auto systemThe constants do indeed work. Were you using the stand alone system and somehow not including the constants file?
No issue at all with this, its a great tool already and was just providing feedback as I converted a installer script I wrote to use UMIL.Right now the main goal is to get the current package released. After it is released, when we have time, we will begin working on the next version which will bring some new stuff.
phpBB v3.0.3 allows the use of the custom_lang_path, which is what UMIL utilises to keep all files and changes outside of the phpBB directory and in it’s own. The idea of UMIL is it’s a simple drag-and-drop directory, as easy to use as possible.poyntesm wrote:But all MODs are meant to place there language in /phpBB/language/en/mods why should it be different for UMIL?
I don’t quite follow. What would be the benefit of relocating the language directory?poyntesm wrote:My €0.02 says best to reconsider the language placement design. Deliever one folder "root" and then place in the correct place. Things like the acp language pack detail mode know about the mods directory but not about umil/langauge.
Can you provide the installation script you are using? I want to check this and see what’s not working here and why.poyntesm wrote:I was using the auto system
That’s fantastic.poyntesm wrote:No issue at all with this, its a great tool already and was just providing feedback as I converted a installer script I wrote to use UMIL.
Yes, we should be supporting this since it’s available in 3.0.4 -- Nathan, can you add this functionality?mtotheikle wrote:Well this is a great tool guys, however after messing with the module installer system, I see that if you use the automatic way you, UMIL will only look inside the phpBB root directory, however phpBB now allows a custom module path to be defined so if we have our modules outside the phpBB directory we must use the manual method. So is it possible to make it so we can also define a custom module path for UMIL so the automatic method can be used? This should be really easy, just add an extra function parameter that is not required and if it is set use that path instead of the phpbb root path.
Actually, we are not using custom_lang_path because it doesn't have the fallback options we need if the translations do not exist and I think this still needs to support < 3.0.3.Highway of Life wrote:phpBB v3.0.3 allows the use of the custom_lang_path, which is what UMIL utilises to keep all files and changes outside of the phpBB directory and in it’s own.
Yes, we should be supporting this since it’s available in 3.0.4 -- Nathan, can you add this functionality?mtotheikle wrote:Well this is a great tool guys, however after messing with the module installer system, I see that if you use the automatic way you, UMIL will only look inside the phpBB root directory, however phpBB now allows a custom module path to be defined so if we have our modules outside the phpBB directory we must use the manual method. So is it possible to make it so we can also define a custom module path for UMIL so the automatic method can be used? This should be really easy, just add an extra function parameter that is not required and if it is set use that path instead of the phpbb root path.