User Tools

Site Tools


plugin:subscribers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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
  
-''class="myclass"''+  class="myclass"
  
 or or
  
-''style="color: #ea5b0c;"''+  style="color: #ea5b0c;"
  
 ===== 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:
  
-''php /path/to/phplist/admin/index.php -m SubscribersPlugin -p import2 -c /path/to/phplist/config/config.php -l 1 -f /path/to/file/import.csv''+  php /path/to/phplist/admin/index.php -m SubscribersPlugin -p import2 -c /path/to/phplist/config/config.php -l 1 -f /path/to/file/import.csv
  
 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:
  
  
-''curl  -F list_id=2 -F import_file=@import.csv %%"http://mysite.com/lists/admin/?page=import2&pi=SubscribersPlugin&secret=xxxxx"%%''+  curl  -F list_id=2 -F import_file=@import.csv "http://mysite.com/lists/admin/?page=import2&pi=SubscribersPlugin&secret=xxxxx"
  
 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// value from the Settings page 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// value from the Settings page
Line 336: Line 336:
  
  
-''phpList version 3.3.1 (c) 2000-2018 phpList Ltd, http://www.phplist.com+<code>phpList version 3.3.1 (c) 2000-2018 phpList Ltd, http://www.phplist.com
 Reading emails from file .....ok, 2 lines<script type="text/javascript"> Reading emails from file .....ok, 2 lines<script type="text/javascript">
         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</code>
  
  
plugin/subscribers.txt · Last modified: 2022/04/27 06:30 by duncanc

Resources
Contact Us

e: info@phplist.com

Boring Bit

phpList is a registered limited company

UK Company No. 07582966

VAT Registration 122 0788 37

© phpList 2016