<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Request to change plugin load workflow]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I want to use the "Nextcloud Attachment" plugin (see <a href="https://packagist.org/packages/bennet0496/nextcloud_attachments" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>) because it would be great to have it.</p>
<p dir="auto">Unfortunately it needs to be loaded before any other attachment plugin. From the readme:</p>
<p dir="auto">When enabling the plugin make sure to place it before any other attachment plugins like filesystem_attachments E.g.</p>
<pre><code>$config['plugins'] = array('nextcloud_attachments', /*...*/ 'filesystem_attachments', /*...*/ 'vcard_attachments' /*...*/);
</code></pre>
<p dir="auto">At the moment the plugins coming with the package are loaded like this:</p>
<pre><code>$config['plugins'] = array('acl', 'archive', 'attachment_reminder', 'emoticons', 'managesieve', 'markasjunk', 'newmail_notifier', 'vcard_attachments', 'zipdownload');
</code></pre>
<p dir="auto">I would suggest:</p>
<ul>
<li>Create an empty array for the plugins</li>
<li>require_once "/app/data/customconfig.php";</li>
<li>array_push($config['plugins'], 'acl', 'archive', 'attachment_reminder', 'emoticons', 'managesieve', 'markasjunk', 'newmail_notifier', 'vcard_attachments', 'zipdownload')</li>
</ul>
<p dir="auto">Could that be possible?</p>
]]></description><link>https://forum.cloudron.io/topic/11011/request-to-change-plugin-load-workflow</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 20:14:12 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11011.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Feb 2024 09:10:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Request to change plugin load workflow on Tue, 20 Feb 2024 09:10:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jaschaezra" aria-label="Profile: jaschaezra">@<bdi>jaschaezra</bdi></a> what did you do?</p>
]]></description><link>https://forum.cloudron.io/post/83631</link><guid isPermaLink="true">https://forum.cloudron.io/post/83631</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Tue, 20 Feb 2024 09:10:24 GMT</pubDate></item><item><title><![CDATA[Reply to Request to change plugin load workflow on Tue, 20 Feb 2024 07:43:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> this worked for me, thanks.</p>
]]></description><link>https://forum.cloudron.io/post/83625</link><guid isPermaLink="true">https://forum.cloudron.io/post/83625</guid><dc:creator><![CDATA[jaschaezra]]></dc:creator><pubDate>Tue, 20 Feb 2024 07:43:21 GMT</pubDate></item><item><title><![CDATA[Reply to Request to change plugin load workflow on Fri, 02 Feb 2024 11:38:16 GMT]]></title><description><![CDATA[<p dir="auto">Think you just use <a href="https://www.php.net/manual/en/function.array-unshift.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.php.net/manual/en/function.array-unshift.php</a> ?</p>
<pre><code>array_unshift($config['plugins'], "nextcloud_attachments", "filesystem_attachments");
</code></pre>
]]></description><link>https://forum.cloudron.io/post/82524</link><guid isPermaLink="true">https://forum.cloudron.io/post/82524</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 02 Feb 2024 11:38:16 GMT</pubDate></item><item><title><![CDATA[Reply to Request to change plugin load workflow on Fri, 02 Feb 2024 11:26:11 GMT]]></title><description><![CDATA[<p dir="auto">If someone can tell me how I can manipulate the array that plugins from /app/data/customconfig.php are loaded first because I have nearly no clue about php.</p>
]]></description><link>https://forum.cloudron.io/post/82521</link><guid isPermaLink="true">https://forum.cloudron.io/post/82521</guid><dc:creator><![CDATA[jaschaezra]]></dc:creator><pubDate>Fri, 02 Feb 2024 11:26:11 GMT</pubDate></item><item><title><![CDATA[Reply to Request to change plugin load workflow on Fri, 02 Feb 2024 09:16:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jaschaezra" aria-label="Profile: jaschaezra">@<bdi>jaschaezra</bdi></a> <code>/app/data/customconfig.php</code> is loaded in the very end - <a href="https://git.cloudron.io/cloudron/roundcube-app/-/blob/master/config.inc.php?ref_type=heads#L64" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/roundcube-app/-/blob/master/config.inc.php?ref_type=heads#L64</a> . You can do whatever php manipulation to <code>$config['plugins']</code> in that file. Wouldn't that be enough?</p>
]]></description><link>https://forum.cloudron.io/post/82509</link><guid isPermaLink="true">https://forum.cloudron.io/post/82509</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 02 Feb 2024 09:16:11 GMT</pubDate></item></channel></rss>