area43webmaster
Forum Replies Created
-
Forum: Plugins
In reply to: [12 Step Meeting List] Import online meetings via CSV?A previous webmaster implemented
tsml_import_reformatin our theme’s functions.php file … their implementation did several things:1) Validated the input CSV to make sure it had only expected columns
2) Validated the type codes to make sure they only had expected type codes
3) Formatted certain other columns we get from Area Fellowship (such as GSO #), into the “Notes” column.In this case — when I added values for Conference URL, the validation in the
tsml_import_reformatmethod was choosing to ignore the row, rather than pass it through, since it had unexpected data in it.So TSML was not failing to import it — it was being removed before TSML had a chance to.
Similarly, the type code validation was removing ONL, because it wasn’t in it’s own list of “recognized” type codes.
According to their comments in the script, this was originally implemented to account for some discrepancies between type codes in Area Fellowship and TSML — or to allow for custom type codes the Area Registrar can enter into Area Fellowship that weren’t part of the community code.
Needless to say, now that I know this exists, I will be investigating it further and hopefully removing it entirely.
- This reply was modified 6 years, 1 month ago by area43webmaster.
- This reply was modified 6 years, 1 month ago by area43webmaster.
Forum: Plugins
In reply to: [12 Step Meeting List] Import online meetings via CSV?I found and modified tsml_import_reformat method to account for the new columns, “Conference URL” and “Conference Phone”
This is working perfectly now — no need to add the ONL type code.
Thank you!!
Forum: Plugins
In reply to: [12 Step Meeting List] Import online meetings via CSV?I see a comment in the plugin to call tsml_import_reformat for New Hampshire … was that a feature added for Area 43 that’s likely killing this data for me :)?
admin_import.php line 59
Where do I find the theme function definitions to validate this?
Forum: Plugins
In reply to: [12 Step Meeting List] Import online meetings via CSV?Still not working … here is the exact CSV I’m working with — unmodified / unfiltered. The second meeting imports, the first one does not.
Day,Number,Time,End Time,Region,Name,Location,Address,Types,District,Updated,"Conference URL","Conference Phone" Saturday,7,10:15AM,11:45AM,Raymond,ZOOM ONLY - TIMTEST - ONLINE,The Old Library,"1 Church Street","O,X,T,D,+,90M,ONL",9,139657,https://zoom.us/j/111111111,1-800-111-1111 Saturday,7,10:15AM,11:45AM,Raymond,ZOOM ONLY - TIMTEST - INPRSN,The Old Library,"1 Church Street","O,X,T,D,+,90M", 9,139657- This reply was modified 6 years, 1 month ago by area43webmaster.
Forum: Plugins
In reply to: [12 Step Meeting List] Import online meetings via CSV?Yes — I obscured the real address and location for this post … but those are two lines out of my actual meeting database. Once I add a Conference URL to any row in the CSV, that row is no longer imported.
Using plugin version 3.6.4
- This reply was modified 6 years, 1 month ago by area43webmaster.