webmasteraaneok
Forum Replies Created
-
Forum: Plugins
In reply to: [12 Step Meeting PDF] Displaying A Meeting Type Legend etc…Thanks very much. That is what we needed.
Forum: Plugins
In reply to: [12 Step Meeting PDF] Displaying A Meeting Type Legend etc…We also would like legend of meeting type abbreviations, but only one, on the first or last page.
Meanwhile, I can build that page myself, but I cannot discern the various meeting abbreviations. Where can I find a list of the meeting type abbreviations?We use the Column 2 format.
Thanks very much.Forum: Plugins
In reply to: [12 Step Meeting PDF] User Permission required to useI found the answer upon looking at the code. Will post here in case someone else has the same question.
Must have the “manage_options” capability to have the option on the dashboard to invoke the plugin.
Must have the “edit_posts” capability to use the plugin.Thanks
The error was in 12-step-meeting-pdf.php
(line numbers are as shown in the GitHub code)on line 162 the code reads
‘group’ => @$meeting[‘group’],
it should read
‘group’ => @$meeting[‘name’],
group is not an index in the $meeting array.
I’m not sure how the code is working for anyone.Also, line 146 reads
$key = @$meeting[‘group_id’] . ‘-‘ . @$meeting[‘location_id’];
There is no group_id index in the $meeting array, so the first term evaluates to null. I’m not sure if that makes a difference.That will let us use the table1 format until you are kind enough to get column2 format changed to print by region.
Thanks. As an old php coder, it was fun to dig into the guts of a plugin a bit.
In the meantime, I think we would use the table1 format. Only trouble is, the Group name seems to be missing.?
See https://test.aaneok.org/wp-content/uploads/table1_meeting_list.pdf
Is there a fast fix? I don’t mind making the fix temporarily myself. I’m fluent in both php and tcppdf. Not so fluent in WP plugins.Thanks.