Textpattern CMS support forum

You are not logged in. Register | Login | Help

#831 2016-09-06 09:32:20

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: ign_password_protect

Hi there,
could someone explain how do I install the plugin using the source from github? Thank you, my dear!

Offline

#832 2016-09-06 09:55:02

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,456
Website

Re: ign_password_protect

dorka wrote #301107:

could someone explain how do I install the plugin using the source from github?

Two methods:

  1. Set up a plugin cache directory (preferably outside document root) and link to it from your Prefs. Then drop the full .php file from GitHub in there. It’ll be loaded immediately when you use the site.
  2. Use ied_plugin_composer. You can Browse… for the .php file from the Plugin Composer’s Installation area and upload it.

Option 1 will be “always on”, so to disable the plugin you’ll need to remove it from that directory. It also doesn’t respond to lifecycle events (install/enable/disable/delete) but in this plugin’s case it doesn’t matter as it predates the lifecycle system.

Option 2 installs it into the database as a regular plugin. Lifecyle events are controllable via the Plugin Composer’s settings.

Hope that helps.


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

#833 2016-09-06 10:24:51

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: ign_password_protect

Absolutely! Thanks a lot Steff.

Offline

Board footer

Powered by FluxBB