Upgrade WordPress plugin "Postie" to latest version with code changes from previous project.
Document code changes done to Postie for future easy upgrading, prefer to have "include page" inserts?
New SQL database wp-table(5 columns). filename, form_name, user_id, date_added, and verified.
Add new function to Postie:
If email sent to
-Check to see if PDF attachment, if not forward the mail to oops at domain dot com(find less spam way?)
-Check to see if QR code(zxing?), if not forward the mail to at domain dot com(scan entire page? QR code in fixed 0,0 position top left?)
-Decode QR code(zxing?) (3 words separated by a space) $form_name(first 2 words), $username/id(3rd word), if username/id not found forward the mail to at domain dot com(user_id better than username?)
-Save PDF file as hashed/salted filename(userid/date, is this secure?), add data $filename, $form_name, $username/id and $date in database.
-Display files matching username/id on a Buddypress profile tab "Documents". Use "$form_name" and "$date" fields as href link to PDF.
-wp-admin page. Table list from wp-database: form_name, user_name, date, verified values with +/- sort order table titles in WP posts/pages styling.
-form_name links to the PDF document, user_name links to users profile page.
-verified column value(yes/no) links to "Buddypress Verified" plugins profile page.