|
Show all posts by userYou need help about plugins? You can ask your question here.
Re: Add a directory - 15 years agoThanks for guiding. The plugin is done. I'll send you .pkg file by mail.by romanh - Help - Plugins Re: Add a directory - 16 years agoWell it took me a bit of time to get it. Here are some steps to reproduce ... 1.Create an empty « your_plugin » dir. 2.Add your files to the plugin directory. 3.Create, in « your_plugin », a file named install_manual_inc.php 4.Put the code page from this page => to install_manual_inc.php. 5.Use Vincent's magic generator => (Merci vincent) and put the created files into « yoby romanh - Help - Plugins Add a directory - 16 years agoHow cand I add a directory to an existing plugin ?by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoGetting there step by step. I've used your example with the plugin Search to build my install_inc.php. The installation works well and plugin is installed. The problem is that the “uninstall” link is missing. When I run manualy the . The plugin is removed (directory included) but the link stays. I've got already 5 undelete links ..... I've checked the plugin db tables :by romanh - Help - Plugins Re: File corrupted or not a Mantis plugin - 16 years agoI think that a simple generator of style 'hello world' would be enough. After would be good to to implement the following possibilities to plugin manager : 1.add files 2.delete / rename file 3.rename / attribute name to plugin This is all that a developer need to write the plugin.by romanh - Help - Plugins Re: File corrupted or not a Mantis plugin - 16 years agoGreat . Let me know if I can help you.by romanh - Help - Plugins Re: File corrupted or not a Mantis plugin - 16 years agoWorks like a charm. Thanksby romanh - Help - Plugins Re: File corrupted or not a Mantis plugin - 16 years agoDone you should have the file in your mail boxby romanh - Help - Plugins File corrupted or not a Mantis plugin - 16 years agoHi Vincent. I'm trying to export 'search plugin' in 'pkg' format. I'added the content of to package_inc.php in plugins/search directory. The plugin appear in the drop down 'Package a plugin' and is well exported in 'pkg' format, but when I try to reinstall the exported 'pkg' files I get the error => 'File corrupted or notby romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoI've replaced all the pluginmanager by the name of 'my plugin' in all functions. The plugin's installed without the option 'uninstall' and it's added one more link 'Plugins' among the links.by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoDone for : plugins_my_plugin_upgrade_undo_plugin and plugins_my_plugin_install_undo_plugin It didn't help.by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoShouldn't all of the patterns 'pluginmanager' be changed to my_plugin?by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoI've changed all the install/upgrade functions : plugins_my_plugin_install_description_plugin plugins_my_plugin_upgrade_description_plugin plugins_my_plugin_install_plugin plugins_my_plugin_upgrade_plugin The $t_result['plugin'] display right the name of my plugin It doesn't help. I'm still getting 'Install/Upgrade instructions missing'by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoNow the message is 'Install/Upgrade instructions missing'. Thanks for the comments on wiki. It makes the procedure much more clear.by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoThe file install_inc.php is in mantis_installation/plugins/my_plugin directory. The code is copy / paste of =>by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoI didn't change anything it the same as on wiki here you go <?php /** * This file is used to install the plugin manually. * * Created: 2007-02-12 * Last update: 2007-09-18 * */ $t_result = array(); // Don't change $t_result['info_pm'] $t_result['info_pm'] = array( 'name' => 'Plugin Manager',by romanh - Help - Plugins Re: Check install script FAIL Corrupted file - 16 years agoThanks for quick replay. Non it is not the case. I have all files as described in I think about to reduce the code so I can find the where it stucksby romanh - Help - Plugins Check install script FAIL Corrupted file - 16 years agoHi Vincent. Thanks for your excellent work. I'm using mantis as bugtracker and I'd like to transfer couple of my patches on plugins. I'm trying to create, for the beginning, a simple 'hello world' plugin. I've followed the manual on . The plugin shows on plugins_page.php but when I click on 'install now' I get the 'Check install script Fby romanh - Help - Plugins |