All about jQuery Migrate Message

The following message is displayed on admin bar:

jQuery Migrate(Previously known: 4 discovered on this page:(0)

jQuery Migrate is used to preserve the compatibility of   jQuery code developed for versions of jQuery older than 1.9.  The message states that there are 4 instances of deprecated functions being used.

The message can safely be ignored.  However, jQuery Migrate cannot be safely removed without fixing the warning messages.

For more info:

What is Migrate.js – Why and How to Remove jQuery Migrate from WordPress

Posted by Tom- admin in Tech Maint Info

Updating Mailchimp with Renewed and New Members

This document describes the steps to update Mailchimp with New and Renewed Members from the MemberPress data in myHPREC.

Extract data to import into Mailchimp from MemberPress

  1. Log into myHPREC as an administrator
  2. From MemberPress, view the Transactions page
  3. In the Search box, enter the expiration date for new and renewed members in the format
    yyyy-mm-dd (e.g. 2021-10-31)
  4. In the by Field box, select Any (Slow)
  5. Click on either Go button and the first 10 results will be displayed
  6. Download all results by clicking Export table as CSV in the lower left corner of the results, save the data with a file name such as yyyy-mm-dd transactions.csv
  7. Open the csv file in Excel to prepare it to be imported into Mailchimp
  8. Remove the rows with no user_login data. These are transactions leftover from testing with test users that don’t exists anymore.
  9. To update only members since the last update, delete records created on or before the last update, as indicated by the created_at column
  10. Delete the following columns:
    • id
    • created_at
    • user_login
    • user_id
    • product_id
    • gateway
    • gateway_id
    • subscr_id
    • sub_id
    • trans_num
    • amount
    • total
    • tax_amount
    • tax_rate
    • tax_class
    • tax_desc
    • status
    • coupon_id
    • coupon
  11. Leaving the following columns
    • expires_at
    • user_email
    • first_name
    • last_name
    • product_name
  12. Add three columns on the right labeled Online, Paper and Members
  1. Create formulas to fill
    • the Online column with active if the product_name is Online
    • the Paper column with active if the product_name is Online+Print
  2. Fill the Members column with the number 1
  3. Rename the column headers as follows:
    • user_email -> Email Address
    • first_name -> First Name
    • last_name -> Last Name
  4. Save the file as a tab delimited text (.txt) file. You can use the same name as was used for the CSV file.

Note- The columns can be in any order as the column headers indicate the data field being imported.


Import data into Mailchimp

The data can be imported into Mailchimp by copy and paste or loading it from the saved .txt file

  1. Log into Mailchimp
  2. Select the MemberPress audience
  3. Click on the View Contacts button
  4. Click on the Add contacts pull down and select Import contacts
  5. Select either Upload file or Copy and paste according to the desired method
  6. Click on the Continue to Upload button and follow the instructions to get the data
  7. Click on the Continue to Organize button
  8. Select Update any existing contacts
  9. Optional– create a tag to identify this import, such as yyyy-dd-mm Import
  10. Click on the Continue To Match button (it may require multiple clicks if a tag was specified)
    There will be one column that will not be imported- product_name, which is correct.
  11. Click on the Finalize Import button
    The Review and complete your import page will be displayed showing a summary of the import
  12. Click on the Complete Import button

 

 

Posted by Ed-Admin in Tech Maint Info

Add Blue Bar to HPREC page

This blue bar or something like it is a unifying design element for the myHPREC site.

Couple of ways to add the blue bar:

Use Ultimate Shortcuts shortcode: [[su_divider top=”no” divider_color=”#0096D6″ size=”30″]]

Use Shortcoder plugin designed shortcode:   [sc name="blue-bar"]

Use shortcode [blue-bar] which was added via Snippets plugin.

Personal choice. They all do the same thing.

Posted by Tom- admin in Tech Maint Info

Keeping words together in WordPress

Sometimes it is necessary to keep a string of text together on one line:

Example:

"Industry Updates - 8th
 September 2013"

What is desired is for the date to be kept together.

"Industry Updates
8th
September 2013"

First method

HTML – use &nbsp

"Industry Updates - 8th September 2013"  2nd Method CSS
.nowrap {
    white-space: nowrap;
}

HTML

<span class="nowrap">Industry Updates -</span>
<span class="nowrap">8th September 2013</span>

Posted by Tom- admin in Tech Maint Info

How to format pages using Custom CSS

Posted by Tom- admin in Tech Maint Info