Page 1 of 1
Automatic Plugin installation
Posted: Thu Jul 30, 2009 5:08 pm
by ndee
Hi,
is there a way to install plugins of my choice automatically? If I sweep a testinstallation or set up a new blog and need many plugins I have to do it by hand everytime in the admin area - this is very time consuming. Would be great if anybody already found a solution to this.
Greets,
ndee
Re: Automatic Plugin installation
Posted: Thu Jul 30, 2009 5:53 pm
by yellowled
ndee wrote:is there a way to install plugins of my choice automatically?
You mean something like a list of plugins which should be installed in any given installation?
No.
YL
Re: Automatic Plugin installation
Posted: Thu Jul 30, 2009 6:17 pm
by Don Chambers
I occasionally install serendipity with a pre-determined collection of plugins. What I did was to create a folder on my computer for this purpose. It has the most recent version of serendipity. It also has all the plugins I want in the /plugins/folder. I will FTP this package to the new server. Each plugin still has to be installed, but it is much faster than downloading each plugin or installing each through spartacus.
The only thing I could think of to make it even faster would be to do a fresh installation of serendipity, install all your plugins, then make a file backup AND a database backup. Then when you want a new site, simply FTP the files and import the database... the database records will need to be modified for anything that references the site's unique info, like URLS, user names, passwords, etc.
Re: Automatic Plugin installation
Posted: Thu Jul 30, 2009 10:52 pm
by garvinhicking
Hi!
Actually, s9y has a cool feature, where you can create a simple file "plugins/preload.txt" where you simple add each plugin name one line after another, and s9y will then automatically install those plugins mentioned in that .txt file. You only need to upload the plugins together with the s9y release.
HTH,
Garvin
Re: Automatic Plugin installation
Posted: Thu Jul 30, 2009 11:27 pm
by Don Chambers
garvinhicking wrote:Hi!
Actually, s9y has a cool feature, where you can create a simple file "plugins/preload.txt" where you simple add each plugin name one line after another, and s9y will then automatically install those plugins mentioned in that .txt file. You only need to upload the plugins together with the s9y release.
HTH,
Garvin
I certainly never knew that!! Does it just proceed to the next plugin configuration after saving the prior one?
Re: Automatic Plugin installation
Posted: Fri Jul 31, 2009 4:15 pm
by garvinhicking
Hi!
Its done on installation, so all plugins are saved with default config. You'd need to visit each plugin for its specific configuration.
HTH,
Garvin
Re: Automatic Plugin installation
Posted: Fri Jul 31, 2009 6:50 pm
by Don Chambers
Very cool!
Re: Automatic Plugin installation
Posted: Sat Aug 01, 2009 5:12 pm
by ndee
Hi guys,
sorry for the late answer, I forgot to subscribe to the topic. This is great news Garvin - thank you!
I also tried to make a "template" installation - all plugins I needed installed. But even if I changed the path and domain settings in the sql dump some plugins were disabled or greyed out or broken. For future releases it would be nice if the path and all host dependend settings are stored in the serendipity_config_local_inc.php instead of the db. Even migrations to other folders / hosts are not that easy with s9y, imho.
But this preloading functionality is really great, thanks!
Greets,
ndee
Re: Automatic Plugin installation
Posted: Sun Aug 02, 2009 4:30 pm
by stm999999999
garvinhicking wrote:Hi!
Actually, s9y has a cool feature, where you can create a simple file "plugins/preload.txt" w
very cool!
does it work with an shared installation, too? where I have to put the file for this situation?
Re: Automatic Plugin installation
Posted: Mon Aug 03, 2009 1:33 pm
by garvinhicking
Hi ndee!
Yeah, it's a bit of a problem with those paths. But there is no easy solution to change that to a file, without possible breaking upgrade installations and not being that compatible.
There is actually only a little amount of where paths need to be adjusted: In the serendipity_config Table (search+replace, usually for all the %Path% keys), and in serendipity_plugins for the pluginlocation. Then also delete all rows (not the table itself) of serendipity_pluginlist, and that should be all...
Regards,
Garvin
Re: Automatic Plugin installation
Posted: Wed Aug 19, 2009 12:18 pm
by ndee
Hi again,
I had time to try it but many plugins display error on backend.
#
Fehler!
Fehler: serendipity_event_entrysplit:5e4546891dc2b0f36e0a42ae5dd1839c
#
Fehler!
Fehler: serendipity_event_assigncategories:5303c3ce1c6a9ff7fb2637a6e9e42f7a
#
Fehler!
Fehler: serendipity_event_linklist:3178d9614fd349e77d0886815a28852b
#
Fehler!
Fehler: serendipity_plugin_linklist:6fb9399840787b6e63e24c48cc19d209
#
Fehler!
Fehler: serendipity_event_remotelinklist:f99f76743c5b265d8f0aa3f946e3d432
#
Fehler!
Fehler: serendipity_event_head_nugget:9eeef1c02dec8931a87ea5d3d9882879
#
Fehler!
Fehler: serendipity_event_metadesc:4d90feb316b23b7ae2eb2ce5b19df343
#
[C] Übliche XHTML-Fehler beseitigen
Korrigiert übliche Fehler, die beim XHTML-Markup der Einträge gemacht werden können
version: 1.5
#
Browser-Kompatibilität
Wendet verschiedene (CSS) Methoden an, um maximale Browserkompatibilität zu erreichen
version: 1.1
#
Fehler!
Fehler: serendipity_event_layout_printerfriendly:a23cfe0485e791f02f421769c231a38c
#
Fehler!
Fehler: serendipity_event_linktoolbar:844c81daf7a65a2bae2c0a1a500124b4
#
Fehler!
Fehler: serendipity_event_metadesc:5cac6e870d4a73346f65064b11e9a557
#
Fehler!
Fehler: serendipity_event_page_nugget:0efa208dffa4b125c5c1dc00d58fecad
#
Fehler!
Fehler: serendipity_event_entrypaging:d5a09368d5ed3ca42022ed599b0f86c2
#
Fehler!
Fehler: serendipity_event_google_sitemap:be7fcc97f353049b37aa5a1f9e37aded
#
Fehler!
Fehler: serendipity_event_lightbox:1fd803029166e0033f4d411560de557c
#
Fehler!
Fehler: serendipity_event_imageselectorplus:867a48b3cb30f204785064fb1bad742d
#
Fehler!
Fehler: serendipity_plugin_freetag:4ab4cceadeceb794286e79a63d0d8367
#
Fehler!
Fehler: serendipity_event_freetag:597398e46e16b015622828c0bb4b43f0
#
[C] Kontaktformular
Stellt ein E-Mail Kontaktformular auf Ihrem Blog als statische Seite dar. Darauf kann entweder mittels des eigenen Permalinks oder mittels index.php?serendipity[subpage]=contactform aufgerufen werden. Die Darstellung kann durch Smarty Templates angepasst werden, indem die Datei plugin_contactform.tpl in Ihren Templateordner kopiert und modifiziert wird. Captchas des Spamblock-Plugins (falls aktiviert) werden angewendet.
version: 1.12
#
Fehler!
Fehler: serendipity_plugin_multilingual:287427d254ef6fa933acec05b0976666
#
Fehler!
Fehler: serendipity_event_htmlvalidator:0471cbc9190cb165e160b43467af02b8
#
[C] Übliche XHTML-Fehler beseitigen
Korrigiert übliche Fehler, die beim XHTML-Markup der Einträge gemacht werden können
version: 1.5
#
Fehler!
Fehler: serendipity_event_categorytemplates:007c7bac2dd09524538f3973a09de555
#
Fehler!
Fehler: serendipity_event_typoquote:935186b716ce66d85ac1865df2c8baab
#
Fehler!
Fehler: serendipity_event_tooltips:68e0cfbc77b2af51c9efeac1d6d5aee5
#
Fehler!
Fehler: serendipity_event_trackback:2d434c8a67232c52b37920081e3db0d0
#
Fehler!
Fehler: serendipity_event_google_analytics:fffbb699d5d567bdaabecfdc1224cbf2
My preload.txt stored in plugins/preload.txt
serendipity_event_spartacus
serendipity_event_spamblock_surbl
serendipity_event_weblogping
serendipity_event_entryproperties
serendipity_event_entrysplit
serendipity_event_assigncategories
serendipity_event_linklist
serendipity_plugin_linklist
serendipity_event_remotelinklist
serendipity_event_head_nugget
serendipity_event_metadesc
serendipity_event_xhtmlcleanup
serendipity_event_browsercompatibility
serendipity_event_layout_printerfriendly
serendipity_event_linktoolbar
serendipity_event_metadesc
serendipity_event_page_nugget
serendipity_event_entrypaging
serendipity_event_google_sitemap
serendipity_event_lightbox
serendipity_event_imageselectorplus
serendipity_plugin_freetag
serendipity_event_freetag
serendipity_event_contactform
serendipity_plugin_multilingual
serendipity_event_htmlvalidator
serendipity_event_xhtmlcleanup
serendipity_event_categorytemplates
serendipity_event_typoquote
serendipity_event_tooltips
serendipity_event_trackback
serendipity_event_google_analytics
they are all more or less displayed on the sidebar plugins not in the event plugin section. Ideas?
EDIT: The few successfully installed event plugins like spartacus appear on the sidebar plugin overview in section "Keine"/None. If I go to event plugins management spartacus appears as not active and i can install it again.
Thanks in advance, greets.
ndee
Re: Automatic Plugin installation
Posted: Wed Aug 19, 2009 1:17 pm
by garvinhicking
Hi!
The plugins you listed must all be uploaded to the directory of the s9y installation, did you make sure they exist?
Also, I'm sorry I gave you the wrong format, it should be like this:
Code: Select all
serendipity_event_entrysplit:event
serendipity_plugin_sidebar:right
etc. So first the plugin class name (with the directory existing in plugins/), then comes a ":" and then the side to place the plugin (left, right, hide, event,).
HTH,
Garvin
Re: Automatic Plugin installation
Posted: Thu Aug 20, 2009 8:26 am
by johnny
Hi,
You are giving the perfect plugin installation for everyone. I specially thank you for your effort. This will really improves the automatic installation.
Re: Automatic Plugin installation
Posted: Sun Aug 23, 2009 4:01 pm
by ndee
Hi Garvin,
thank you very much for the hint. I just saw my mistake by reading the part of the shared installation in the serendipity book. It is mentioned there although it is about another nice feature of s9y - shared installation.
So all who need multiple installs and have access to their server should read the info on shared installation. You will end with 1 core installation across all domains. Easy updateable and each install can have its own set of plugins and templates - if I got it right.
We did not move all sites yet but we will try it on a test site and then switch to the shared installation if plugins, customized templates work individually.
Thanks!
PS: The notification on new postings does not work for me.