Everything about Domino, PHP and other programming languages

CMS MS: Newsletter Made Simple, export user status

Ferdi Verlaan  September 28 2015 11:55:41 AM
Following up a feature request from one of our customers in the Newletter Made Simple (NMS) module for CMS Made Simple.
Our customer wanted to export the status of the newletter users, but by default, only the email and username fields are exported.
We've found a similar request on
http://dev.cmsmadesimple.org/feature_request/view/2990.

Since we don't have the time to create another sponsorship for CMS MS and wait until calguy1000 has time to change the code, since he is very busy with CMS MS 2.0. Please look at the following:
Change the following file:
modules/NMS/action.export_user.php

around line 56 add the green fields for the headers:


$cols = array('email','username','disabled','confirmed');

around line 131 add the green fields for the export:

 // export everything
 while( !$u_dbr->EOF ) {
   $row = $u_dbr->fields;
   $uid = $row['userid'];
   $fields = array();
   $fields[] = $row['email'];
   $fields[] = $row['username'];

   $fields[] = $row['disabled'];

   $fields[] = $row['confirmed'];

Comments

1Itube  06/05/2018 12:07:16 PM  CMS MS: Newsletter Made Simple, export user status

[url={ Link }

2Itube Vedio  06/05/2018 12:07:43 PM  CMS MS: Newsletter Made Simple, export user status

iTube plays music on background while using Whatsapp, Facebook and everything else. iTube downloads videos while watching: save battery, bandwidth, and loading times. Great for limited bandwidth plans and for areas without reception such as airplanes, trains etc. iTube removes ads before video starts: no more annoying video ads before favorite video clip.

<a href="https://www.itube.video">itube</a>

3Itube Vedios  06/05/2018 12:08:20 PM  Itube

iTube plays music on background while using Whatsapp, Facebook and everything else. iTube downloads videos while watching: save battery, bandwidth, and loading times. Great for limited bandwidth plans and for areas without reception such as airplanes, trains etc. iTube removes ads before video starts: no more annoying video ads before favorite video clip.

[url=https://www.itube.video]itube download[/url]