2010-01-26 16:43:43

rathersplendid
Plugin Author
êta
Real name: Zander
From: London
Known languages: English
Website

Request for plugin to install multiple plugins at once

Like you, I create many Textpattern sites and I generally always use the same, or similar, plugins on each install. I would like to request a plugin that allows me to group together a bunch of plugins and install them all at once, and preferably enable them afterwards if I so choose.

My suggestion would be to create a large text file consisting of a few, or many, individual plugins with specific delimeters, so that this new plugin could determine when an individual plugin’s code starts and stops.

I think it could lead to the creation of plugin sets, for example we could have an SEO set or development set, or admin specific set to name a few.


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

 

2010-01-26 17:02:18

maniar
Member
delta
Real name: Jaffer
From: Hamilton, Ontario
Known languages: en, fr, gu, ur, hi
Website

Re: Request for plugin to install multiple plugins at once

Interesting Idea although it may or may not not apply to me. +1

But this ‘plugin sets’ worries me a little – could it happen that a set would have a some plugins an individual would never use ?

After years of sticking to a clean – skeleton installation, Drupal is changing to include “commonly used” plugins – unfortunately many I would never use and are a waste of space on my server.


اردو میں بھی دستیاب Textpattern آپ کے لیے اب

Offline

 

2010-01-26 17:08:14

Bloke
Developer
omega
Real name: Stef Dawson
From: Leeds, UK
Known languages: Engl(ish)
Website

Re: Request for plugin to install multiple plugins at once

More importantly, should the plugin manager plugin ever be included in any of the sets, and will the universe collapse if so?

stef runs after the space-time continuum with a sticking plaster


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

 

2010-01-26 17:14:34

MattD
Plugin Author
sigma
Real name: Matt Davis
From: Monterey, California
Website

Re: Request for plugin to install multiple plugins at once

I think a better idea would be to install plugins from a directory. FTP the text files to the directory, run this installer plugin and it imports the plugins. This would allow it to work well with templating.

I don’t think combining plugins into one text file is a good idea. Another alternative may be uploading a zip file that contains mutilple plugin text files.


My Plugins

In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)

Offline

 

2010-01-26 17:22:03

rathersplendid
Plugin Author
êta
Real name: Zander
From: London
Known languages: English
Website

Re: Request for plugin to install multiple plugins at once

@Bloke Haha, I had pondered that myself, but my thought would be that you install the ‘Plugin Manager’ (for want of a better term) and then the ‘plugin set(s)’.

maniar wrote:

But this ‘plugin sets’ worries me a little – could it happen that a set would have a some plugins an individual would never use?

I know, it was just a thought and I suppose the best example of what I mean is Firefox’s Add-on Collections. I often stumble upon plugins that make my life easier when developing sites and spend a fair bit of time looking around for them, if these plugins were to be in a ‘set’ already it would make things much easier for developers and new users to Textpattern alike.


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

 

2010-01-26 17:23:25

rathersplendid
Plugin Author
êta
Real name: Zander
From: London
Known languages: English
Website

Re: Request for plugin to install multiple plugins at once

@Matt Love those ideas! I only thought of that one way because I thought it would be easier, if a plugin can manage what you suggest, then all the better.

Thanks


Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle

Offline

 

2010-01-26 18:04:47

Bloke
Developer
omega
Real name: Stef Dawson
From: Leeds, UK
Known languages: Engl(ish)
Website

Re: Request for plugin to install multiple plugins at once

Expanding on Matt’s suggestion, why not just upload the uncompiled PHP files (template format) of the plugins to a dir in your installation, and then set that to be your plugin cache directory in Advanced Prefs? Your plugins are just one FTP away with no need for installation: they’re always “on”.

ied_plugin_composer can export the plugins you use most often in this format (export as .php on the edit pane). You can then organise your own “sets” on your local machine, or on a repo somewhere in web land.

Last edited by Bloke (2010-01-26 18:09:06)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

 

2010-01-26 19:13:55

uli
Moderator
omega
Real name: Uli
From: Cologne/Köln
Known languages: de > en

Re: Request for plugin to install multiple plugins at once

Bloke wrote:

why not just upload the uncompiled PHP files (template format) of the plugins to a dir in your installation

Needs some attention, loading a plugin-file like that once stopped another of my plugins from working.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

 

2010-01-26 19:15:59

masa
Member
rho
Real name: Martin Sammtleben
From: Reykjavik, Iceland
Known languages: is, en, de

Re: Request for plugin to install multiple plugins at once

Another possible way to achieve this, is to set up a clean local install of Textpattern, install your preferred set of plugins and then export the DB. You can then import that into a fresh installation on the remote server, before doing anything else.

Naturally you can also use this method to bring over a standard set of templates, forms, CSS etc. The fact that it’s all contained in the DB is one of Textpattern’s strengths.

It gets more tricky with an installation that already has content in the DB but you might be able to only import for instance the plugins table; I haven’t tried that though.

Offline

 

2010-01-26 19:24:13

jsoo
Developer
omega
Real name: Jeff Soo
From: NC, USA
Known languages: English
Website

Re: Request for plugin to install multiple plugins at once

masa wrote:

It gets more tricky with an installation that already has content in the DB but you might be able to only import for instance the plugins table; I haven’t tried that though.

Works fine. You do have to be aware of any plugins that have their own preferences or extra tables, though.

So one solution to the idea of “plugin sets” is simply a txp_plugin dump file.


Txp tags not doing what you expect? Learn to use a tag trace. And the Tag Reference.

Offline

 

Powered by FluxBB