| Anonymous | Login | Signup for a new account | 02-09-10 22:07 GMT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0003980 | phplist | Subscriber Import | public | 07-09-05 09:21 | 18-02-08 14:19 | ||||||
| Reporter | chronarc | ||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 2.8.12 | ||||||||||
| Target Version | 2.11.X | Fixed in Version | |||||||||
| Summary | 0003980: Subscriber page id when importing multiple users | ||||||||||
| Description | The subscriber page id was being set to null when importing users. I tweaked the code to use the default subscriber page id. However it would be great to be able to specify which subscriber page id to use when importing. | ||||||||||
| Additional Information | code change to use default subscriber page id in /admin/import1.php Line 150… # ****** find default subscriber page id and apply to NEW users ONLY if (!$page_id) { $page_id = getConfig("defaultsubscribepage"); # fix the true/false issue if ($page_id == "true") $page_id = 1; if ($page_id == "false") $page_id = 0; if (!$page_id) { # pick a first $req = Sql_Fetch_row_Query(sprintf('select ID from %s where active',$tables["subscribepage"])); $page_id = $req[0]; } } # ******* and line 200 # **** my changes add subscribepage $page_id to INSERT statement $query = sprintf('INSERT INTO %s (email,entered,confirmed,uniqid,htmlemail,subscribepage) values("%s",now(),%d,"%s","%s","%d")', $tables["user"],$email,$notify != "yes",$uniqid,$htmlemail,$page_id); # **** end of my changes | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0006657) chronarc (reporter) 07-09-05 09:45 |
Also when I specify that a confirmation email be sent to users in import file, the confirmation message comes from defaults on “Configure” menu option NOT the default subscriber page. If one could set the subscriber page id on import it would make sense to use that pages confirmation message. |
| Copyright © 2000 - 2010 MantisBT Group |