Skip to content
Nicasio Web Design & Development
Book A Consultation
  • Contact
  • Services
    • Wild Apricot
    • WordPress
    • Shopify Small Business Bundle
    • Social Media Marketing & Management Services
    • Online Marketing & SEO.
    • Redesign / Before and After
  • Portfolio
  • Blog
  • Our Team
Best Web Designers in Savannah
tech-behemoths
Book A Consultation
Nicasio Web Design & Development
Book A Consultation
  • Contact
  • Services
    • Wild Apricot
    • WordPress
    • Shopify Small Business Bundle
    • Social Media Marketing & Management Services
    • Online Marketing & SEO.
    • Redesign / Before and After
  • Portfolio
  • Blog
  • Our Team
  • Contact
  • Services
    • Wild Apricot
    • WordPress
    • Shopify Small Business Bundle
    • Social Media Marketing & Management Services
    • Online Marketing & SEO.
    • Redesign / Before and After
  • Portfolio
  • Blog
  • Our Team
  • About
  • Blog
  • Blog Categories
  • Contact
  • Contact (Thanks)
  • diib-template
  • FAQ
  • friends-of-eat-it-and-like-it
  • Home
  • Landing Page Template
  • Our Services
    • Google Business View
    • Magento
    • Mobile Sites
    • Nicasio Wild Apricot Themes
    • Online Marketing & SEO
    • Online Marketing & SEO.
    • Redesign / Before and After
    • Shopify
    • Shopify Small Business Bundle
    • Small Business Branding Bundle
    • Social Media Marketing & Management Services
    • Video Production Services
    • Wild Apricot
    • Wild Apricot
    • Wild Apricot
    • WordPress
    • WordPress
    • WordPress
  • Our Team
  • Portfolio
  • Portfolio
    • Cape Med Express
    • Dallas ACFE
    • Eat It and Like It
    • HHI Furniture
    • Ikanos
    • Mommy Noire
    • Optim Health Systems
    • Pecans Unlimited
    • Portland Rescue Mission
    • Rockefeller Group
    • Savannah Luxury Cruises
    • Savannah Secrets
    • Sonoma County
    • Strictly Ecig
    • The Italian Cultural Center
    • The Lighthouse Inn
    • The Young Onset Parkinson’s Network
    • US Green Building
    • West Paces
  • Testimonials
  • Website Design Savannah Ga
  • Policies
    • Terms of Service
    • Privacy Policy
    • Refund Policy
    • End User License Agreement
    • Disclaimer
  • Blog

    1. Home>
    2. Wild Apricot Design and Development>
    3. How to get Wild Apricot members to edit their profiles

    How to get Wild Apricot members to edit their profiles

    • Felix Figuereo
    • January 23, 2023
    • 8:18 pm
    How to [in theory] influence members to edit their profiled:
    • Note steps outlined below are pretty straight forward
    • There are is a how to setting cookie value/time interval
    • *Disclaimer; please make sure you adhere to applicable rules about using cookies
    ### STEP 1 ###
     
    Upload “jquery.cookie.js” script file (provided separately via link below) to the site… (Dashboard > Website > Files… within the /resources/Site folder).
    nicasiodesign.com/…/4576-WA_Nicasio_Profile-Edit-Alert.zip

     
    ### STEP 2 ###
     
    Copy/Paste the following “Custom Profile Edit script by Nicasio LLC” javascript to the top of “Global javascript” editor… (Dashboard > Website > Settings > Global javascript):
     
    <!– Custom Profile Edit script by Nicasio LLC –>
    <!– Needed for forceProfileEdit() –>
    <script type=”text/javascript” src=”/resources/Site/jquery.cookie.js”></script>
    <script>
    jq$(document).ready(function() {
     
    /* Change this number for days between forcing a user to edit their profile */
    fpe_cookie_days = 1;
     
    /* Change this message for alerting a user to edit their profile */
    fpe_alert_msg = “It appears you haven’t updated your profile in a while. Please check for new membership fields and update your profile as needed.”;
     
    // uncomment to reset cookie (for testing purposes only)…
    //jq$.removeCookie(‘forceProfileEdit’, { path: ‘/’ });
     
    /* Pushes member to the Edit Profile form, if necessary, on page load, only when logged in, or shows the page content */
    if ( jq$(‘body.memberContentView’).length > 0 ) {
    forceProfileEdit(fpe_cookie_days);
    } else {
    jq$(‘html’).show();
    }
     
    // Where the magic happens (a function)…
    function forceProfileEdit(fpe_cookie_days) {
     
    // Check for existence of our cookie being used conditionally…
    if ( !jq$.cookie(‘forceProfileEdit’) ) {
    // Our cookie doesn’t exist so we need to take action…
     
    // Force the user to the edit profile form…
    if ( jq$(‘#FunctionalBlock1_ctl00_ctl00_editButtonTop‘).length > 0 ) {
    // The “Edit Profile” button exists on this page…
    // Create the cookie…
    jq$.cookie(‘forceProfileEdit’, ‘true’, { expires: fpe_cookie_days, path: ‘/’ });
     
    // Create a cookie for alerts/customizations to page…
    jq$.cookie(‘forceProfileEdit_alert’, ‘true’, { expires: fpe_cookie_days, path: ‘/’ });
     
    // Click that button to force the user to the edit form…
    jq$(‘#FunctionalBlock1_ctl00_ctl00_editButtonTop‘).click();
    } else {
    // We must not be on the Edit Profile page…
    // So redirect to the Edit Profile page first…
    window.location = ‘/Sys/Profile’;
    }
     
    } else {
    // Our cookie exists…
    // So forget about creating the cookies and the redirect, and show the hidden page content instead…
     
    // But let’s add in a check for our custom alert cookie…
    if ( !jq$.cookie(‘forceProfileEdit_alert’) ) {
     
    // custom alerts not necessary
     
    // Ok, load content as usual…
    jq$(‘html’).show();
     
    } else {
     
    // custom alerts are necessary
     
    // lets include our alert message when viewing the edit profile form…
    if ( jq$(‘.WaGadgetContactProfileStateMain’).length > 0 ) {
    // add our alert mesage to the page
    jq$(‘.WaGadgetContactProfileStateMain’).prepend(‘<div id=”forceEditProfile_alertMsg” class=”commonMessageBox”><div class=”confirmWindowWarning”><div class=”cww”><div class=”cww1″></div><div class=”cww2″></div><div class=”cww3″></div><div class=”cww4″></div></div><div class=”cww-inner”><div class=”cww-co”><div class=”text”>’ + fpe_alert_msg + ‘</div></div></div><div class=”cww”><div class=”cww4″></div><div class=”cww3″></div><div class=”cww2″></div><div class=”cww1″></div></div></div></div>’);
     
    }
     
    // Ok, load content as usual…
    jq$(‘html’).show();
     
    // remove the alert cookie so it isn’t persistent
    $.removeCookie(‘forceProfileEdit_alert’, { path: ‘/’ });
     
    }
     
    }
     
    }
     
    });
    </script>
    <!– End Custom Profile Edit script –>
     
     
    #### STEP 3 ###
     
    You can set the duration of the time between forcing the alert in the “Custom Profile Edit script by Nicasio LLC” code above, by changing the “fpe_cookie_days = 1;” value… where 1 is equal to 1 day.
    i.e., fpe_cookie_days = 60; would wait 60 days between each log in.
     
    Make this change in the “Custom Profile Edit script” above within the Global javascript editor and remember to Save your changes.
     
     
    #### STEP 4 ###
     
    Copy/Paste the following custom CSS code to the top of “CSS Customization” editor… (Dashboard > Website > CSS):
     
    /* Profile Edit CSS
    Added by Nicasio LLC
    Avoids page load lag seen with Profile Edit script
    Html shown after Profile Edit script runs
    Remove if Profile Edit script is not being used!
    */
    html {
    display: none;
    }
    /* End Profile Edit CSS by Nicasio LLC *

    /4576-WA_Nicasio_Profile-Edit-Alert

    Need our help to grow your company in the internet?

    We can develop the perfect solution for your business, generating more revenue through the internet. It's easy, fast and cheap!

    talk to one of our consultants
    • Home
    • Our Services
    • Portfolio
    • Blog
    • About
    • Contact
    • Policies
    • Testimonials
    • Small Business Branding Bundle
    • Home
    • Our Services
    • Portfolio
    • Blog
    • About
    • Contact
    • Policies
    • Testimonials
    • Small Business Branding Bundle

    FOLLOW US

    Facebook-f Twitter Instagram
    • Testimonials
    • WordPress Design
    • Wild Apricot
    • Other Things
    • FAQ
    • Testimonials
    • WordPress Design
    • Wild Apricot
    • Other Things
    • FAQ

    RECENT POSTS

    • Nicasio Design: Savannah’s Premier WordPress Web Design & Development Experts
      Nicasio Design: Savannah’s Premier WordPress Web Design & Development Experts
      May 2, 2025/
      0 Comments
    • Nicasio Design Launches Custom Wild Apricot Website for NTEA Chapter 44
      Nicasio Design Launches Custom Wild Apricot Website for NTEA Chapter 44
      April 29, 2025/
      0 Comments
    • Outstanding Website Design in Savannah GA | Nicasio Design
      Outstanding Website Design in Savannah GA | Nicasio Design
      April 29, 2025/
      0 Comments
    Best Web Designers in Savannah
    tech-behemoths

    Nicasio Web Design & Development
    100 Bull St – Unit 200
    Savannah, GA 31401

    © Copyright 2024 Nicasio Design ☘ Website Design Savannah Ga

    Get Help Today

    Experienced development support!

    Fill out my online form.