Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
DreamOn Posted May 18, 2021 Posted May 18, 2021 Hello everybody, I have created a plugin that I sent to a Git repository. I have installed a fresh new IPS install. How can I import my plugin from source? I put the plugin folder in plugins/ directory but it's not automatically detected. Thanks!
Miss_B Posted May 18, 2021 Posted May 18, 2021 1 hour ago, DreamOn said: Hello everybody, I have created a plugin that I sent to a Git repository. I have installed a fresh new IPS install. How can I import my plugin from source? I put the plugin folder in plugins/ directory but it's not automatically detected. Thanks! Assuming you have the plugin 's xml file, go to the Plugins section in your Admin Panel and once there click the manual upload link.
DreamOn Posted May 18, 2021 Author Posted May 18, 2021 2 hours ago, Miss_B said: Assuming you have the plugin 's xml file, go to the Plugins section in your Admin Panel and once there click the manual upload link. I no longer have the XML file unfortunately but I have all folders and files in my Git repository. Is it possible? It's amazing that IPS can't read PHP files from folder. Any PHP app can do this. Developing with IPS is really a horror.
Adriano Faria Posted May 18, 2021 Posted May 18, 2021 If you have all folders with files, it’s easier and faster to create a new plugin and use what you already have.
DreamOn Posted May 18, 2021 Author Posted May 18, 2021 How do you deal IPS plugins with git? Even if I had the XML file, I should import plugin in ACP with XML file, copy/paste files from source to override files imported from XML and change all class names like this: class hook50 extends _HOOK_CLASS_ { Because when we import a plugin from XML file, hook numbers change and we need to change class name. How is it possible that it is done like this?
DreamOn Posted May 18, 2021 Author Posted May 18, 2021 1 minute ago, Adriano Faria said: If you have all folders with files, it’s easier and faster to create a new plugin and use what you already have. Thanks for the idea, but what a disaster for a developer... We should just have to do a git clone from our IPS plugin repository and let's go, why it is so complicated with IPS... 1 minute ago, Adriano Faria said: Copy and paste the methods. Seriously... This is not how things should be done.
DreamOn Posted May 18, 2021 Author Posted May 18, 2021 Yes... Looks like IPS team doesn't want us to develop plugins...
Recommended Posts