Is there an option to export member's list from Admin to CSV / Excel file? I need to produce a list of members, few details and if they paid or not
Is there an option to export member's list from Admin to CSV / Excel file? I need to produce a list of members, few details and if they paid or not |
Only way i know of is by using PHP my Admin through your CPanel. If you want more info tell me to post. |
I'll be happy if you can provide more details how to add this option in the admin |
Just export the 'Profiles" table to Excel format using phpmyadmin in cpanel. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Okey mate, this is how it can be done (more or less...) Go to your CPanel and click on the phpMyAdmin icon...once you are there, you'll see the following. From here, of interest is the database of dolphin , so click on it. Once in the database you'll see many table on your left... from these we need the table called "profiles". It has a small "box" icon on it's left, which means we do not want to see the architecture of the table but the data stored inside. That is, your users. After you click on that little box, you'll see the data stored in the database, so Click the tab named "Export", choose your settings and your file will be downloaded. and that's it. Cheers, NickL |
I know how to do it from Cpanel but since the Dolphin admin don't have access to my Cpanel therefore I want to allow him to retrieve the list and export it. |
Sounds like you need a mod developed. Try posting it in the Jobs section! Cheers, NickL |
I found this code for people who need it: <?php |
I made few little changes to profiles.php in Administration folder however my CSV creation is not showing up. Here are my changes: 1. I've created a new function function ExportToCsv($aProfiles, $sPaginate){ 2. I've added a new button under the control panel function PageCodeMembers($sDefaultCtl = BX_DOL_ADM_MP_CTL, $sDefaultView = BX_DOL_ADM_MP_VIEW) { 3. Call to this function from the foreach($_POST['members'] as $iId) However it's not opening the file. When I'm executing it as external php program it works. I just want it to be as addition button in the admin Any idea where I did something wrong?? |