Before proceed, you may want to follow up
- Send Welcome Email Notification with Event and Listener and
- Enable Account Activation in Order to Login to the System
Create a middleware
| Create smartagent.service in /lib/systemd/system/ and run systemctl daemon-reload. |
| /** | |
| * Simple way to lazyload iframes. | |
| * | |
| * Add class of 'lazyload' to iframe and change | |
| * the 'src' attribute to 'data-src' | |
| */ | |
| jQuery(function($) { | |
| function isVisible(element) { | |
| var element = element.getBoundingClientRect() | |
Before proceed, you may want to follow up
Create a middleware
Before proceed, you may want to follow up Send Welcome Email Notification with Event and Listener.
Create new migration script to add activation_token and activated_at column in users table.
php artisan make:migration add_activation_column --table=users
| /** | |
| * Change the URL for static files to use the CDN | |
| */ | |
| if (FIT_USE_CDN) | |
| { | |
| add_filter('theme_root_uri', 'fit_cdn_rewrite', 99, 1); | |
| add_filter('wp_get_attachment_image_src', 'fit_cdn_image_rewrite', 99, 1); | |
| add_filter('the_content', 'fit_cdn_content_rewrite', 99, 1); | |
| } |
| <?php | |
| /** | |
| * Adds active to the class if current path | |
| * equals passed path. Allows custom | |
| * classes as well. | |
| * | |
| * @param $paths | |
| * @param null $classes | |
| * @return string |
I hereby claim:
To claim this, I am signing this object: