Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-26 16:43:43

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

[request] 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

#2 2010-01-26 17:02:18

maniar
Member
From: Hamilton, Ontario
Registered: 2010-01-04
Posts: 66
Website

Re: [request] 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

#3 2010-01-26 17:08:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: [request] 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. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2010-01-26 17:14:34

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [request] 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

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2010-01-26 17:22:03

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [request] 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

#6 2010-01-26 17:23:25

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [request] 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

#7 2010-01-26 18:04:47

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: [request] 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. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2010-01-26 19:13:55

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: [request] 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

#9 2010-01-26 19:15:59

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: [request] 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

#10 2010-01-26 19:24:13

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [request] 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.


Code is topiary

Offline

#11 2010-01-26 20:30:54

rathersplendid
Plugin Author
From: London
Registered: 2008-05-02
Posts: 163
Website

Re: [request] Request for plugin to install multiple plugins at once

There must be a more user-friendly way to achieve this, it would be nice to have a solution that even TXP novices can use.

Last edited by rathersplendid (2010-01-26 21:45:20)


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

#12 2010-01-26 20:54:04

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [request] Request for plugin to install multiple plugins at once

Txp novices are unlikely to need a set of plugins all at once, unless we’re talking about themes, which is another story.


Code is topiary

Offline

Board footer

Powered by FluxBB