This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
plugin:subscribers [2022/04/27 06:22] duncanc [Subscriber commands] |
plugin:subscribers [2022/04/27 06:30] duncanc [Import from the command line] |
||
---|---|---|---|
Line 302: | Line 302: | ||
The text of the links can be customised on the Settings page in the Subscription settings group. Also, you can change the styling of the link by specifying additional attributes for the <a> element, such as a specific class or a custom style. For example | The text of the links can be customised on the Settings page in the Subscription settings group. Also, you can change the styling of the link by specifying additional attributes for the <a> element, such as a specific class or a custom style. For example | ||
- | '' | + | |
or | or | ||
- | '' | + | |
===== Import from the command line ===== | ===== Import from the command line ===== | ||
Line 322: | Line 322: | ||
The command to run the import page from the command line is similar to this but adjusted for the location of phplist and the actual command to run php: | The command to run the import page from the command line is similar to this but adjusted for the location of phplist and the actual command to run php: | ||
- | '' | + | |
where the **f** parameter provides the path to the file to be imported, and the **l** parameter provides the id of the list to which the email addresses should be added. | where the **f** parameter provides the path to the file to be imported, and the **l** parameter provides the id of the list to which the email addresses should be added. | ||
Line 329: | Line 329: | ||
- | '' | + | |
where the **import_file** parameter provides the path to the file to be imported, the **list_id** parameter provides the id of the list, and the **secret** parameter is the //Secret for remote processing// | where the **import_file** parameter provides the path to the file to be imported, the **list_id** parameter provides the id of the list, and the **secret** parameter is the //Secret for remote processing// | ||
Line 336: | Line 336: | ||
- | '' | + | < |
Reading emails from file .....ok, 2 lines< | Reading emails from file .....ok, 2 lines< | ||
var parentJQuery = window.parent.jQuery; | var parentJQuery = window.parent.jQuery; | ||
Line 343: | Line 343: | ||
All the emails already exist in the database and are member of the lists | All the emails already exist in the database and are member of the lists | ||
Subscriber data was updated for 1 subscribers | Subscriber data was updated for 1 subscribers | ||
- | 0 subscribers were matched by foreign key, 1 by email'' | + | 0 subscribers were matched by foreign key, 1 by email</ |