WP : wp_new_user_notification customizing Hint

wp-include/pluggable.php ------------------------------- $message = sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n"; $message .= __('To set your password, visit the following address:') . "\r\n\r\n"; $message .=  network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user->user_login), 'login'); $message .= "\r\n\r\n"; $message .= wp_login_url(); $message .= "\r\n"; -------------------------------

Read More

WP : theme-my-login : profile-form.php password strangth Hint

theme-my-login.css ----------------------------- #pass1-text { display: none; } -----------------------------   profile-form.php ----------------------------- <?php $show_password_fields = apply_filters( 'show_password_fields', true, $profileuser ); if ( $show_password_fields ) : ?> <tr id="password"> <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th> <td><input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> <span class="description"><?php _e( 'If you would like to change the password type a […]

Read More

centos 7 : ntpd kernel level time sync Hint, NTP synchronized timedatectl

centos 7 NTP synchronized   # timedatectl  status     # timedatectl set-ntp true   More Hint! # timedatectl | grep -i 'time zone' # ls -l /etc/localtime # timedatectl list-timezones | grep Asia/Seoul # timedatectl set-timezone Asia/Seoul Asia/Seoul => KST     yum install -y ntp firewall-cmd --add-service=ntp --permanent firewall-cmd --reload systemctl enable ntpd systemctl […]

Read More

CentOS7 : /caucho-status setup with .htpasswd in VirtualHost, using pure php Hint

configurate apache-caucho   /etc/httpd/conf/httpd.conf LoadModule caucho_module modules/mod_caucho.so <Location /caucho-status> AuthType Basic AuthName "restricted area" AuthUserFile /home/domain/.htpasswd require valid-user   SetHandler caucho-status </Location> <Location /servlet/*>    SetHandler caucho-request </Location> NameVirtualHost *:80 <VirtualHost *:80> ServerName www.domain.com DocumentRoot /home/domain/public_html php_admin_value open_basedir /home/domain:/tmp php_admin_value include_path /home/domain LimitRequestLine 81900 <FilesMatch "^((?!\.php).)*$"> ResinConfigServer localhost 6800 CauchoConfigCacheDirectory /etc/httpd CauchoStatus yes   </FilesMatch>   […]

Read More

CentOS 7 : /resin-admin setup Hint

/etc/resin/resin.properties   app.http          : 8080 web.http          : 8080 remote_admin_enable : true web_admin_enable : true web_admin_external : true admin_external : true admin_secure : true   http://www.domain.com:8080/resin-admin/login.php   Generate encrypted password by [Create Configuration FIle]     /etc/resin/admin-users.xml <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"                     […]

Read More