Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 08:20 am EDT

Geeklog Forums

plugins as vendor module


Status: offline

remy

Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
I see that Geeklog is using system/vendor as the location for third-party scripts. This is good.

What is the policy for third-party plugins? Same for third-party themes? Same for php_blocks?

What if a plugin is bought from an external vendor? F.i. geeklog.fr sells plugins, which are installed following current policies (in the gl filesystem).

Is this a feature-request, or is this coming in some future release anyway?

Background: I'm using a plugin that can be extended (with some configuration, or add-on, or plug-in, or whatever one names it). In fact, it allows being extended with web-apps (config + sql + templates). The 'vendor' issue exists here on various levels: the plugin itself, the app and the database component. Possibly also the middleware like cloud or protocol. Usage of google firebase is a similar thought experiment.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Right now plugins should only keep their files in the following directories:

/plugins/plugin_name/
/public_html/plugin_name/
/public_html/admin/plugin_name/

I have seen some plugins which include 3rd party libraries use:

/plugins/plugin_name/vendor/

Currently there is not a way for plugins to add and remove libraries from system/vendor so the library can be shared by all. Nothing has been planned at the moment either so you would need to make a feature request.

One of the Geeklog Core Developers.
 Quote

All times are EDT. The time is now 08:20 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content