CONTENTS
Lastmodified 2014-08-26 (火) 11:18:32
OpenPNE2系だとメンバの最終ログイン期間をみてアクティビティが解るが、3系ではそういう表示ができない。
で、メンバのLastLoginは、何処に格納されているか見てみた。
管理画面で、「最終ログイン」の表示を作っているのは、
/usr/home/EUSM/apps/pc_backend/modules/member/templates/listSuccess.php <th><?php echo __('Last login') ?></th> <td><?php if ($member->getLastLoginTime()) : ?><?php echo date('y-m-d<b\r />H:i:s', $member->getLastLoginTime()) ?><?php endif; ?></td>
の部分。で、実際のDBでは、
member_config name LastLogin value_datetime
に格納されているので、ソートして見るヨロシ。ただ、IDは数字のママなので誰だか解らん。w
root@g7 # grep 'dd481' /base_url -r /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-color:#dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -moz-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -ms-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ce4213), to(#dd4814)); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -webkit-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -o-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce4213', endColorstr='#dd4814', GradientType=0); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -moz-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -ms-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ce4213), to(#dd4814)); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -webkit-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: -o-linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-image: linear-gradient(top, #ce4213, #dd4814); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce4213', endColorstr='#dd4814', GradientType=0); /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: border-color: #dd4814 #dd4814 #97310e; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-color: #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-color: #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: background-color: #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: border-left: 0px solid #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: border-right: 0px solid #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: border-top: 0px solid #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css: border-bottom: 0px solid #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css:.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#dd4814;white-space:nowrap;} /base_url/plugins/opSkinUnitedPlugin/web/css/bootstrap.css:.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#dd4814;} /base_url/plugins/opSkinUnitedPlugin/web/css/main.css: background-color: #dd4814; /base_url/plugins/opSkinUnitedPlugin/web/css/main.css: border: 1px solid #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-color:#dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -moz-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -ms-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ce4213), to(#dd4814)); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -webkit-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -o-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce4213', endColorstr='#dd4814', GradientType=0); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -moz-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -ms-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ce4213), to(#dd4814)); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -webkit-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: -o-linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-image: linear-gradient(top, #ce4213, #dd4814); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce4213', endColorstr='#dd4814', GradientType=0); /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: border-color: #dd4814 #dd4814 #97310e; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-color: #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-color: #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: background-color: #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: border-left: 0px solid #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: border-right: 0px solid #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: border-top: 0px solid #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css: border-bottom: 0px solid #dd4814; /base_url/web/opSkinUnitedPlugin/css/bootstrap.css:.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#dd4814;white-space:nowrap;} /base_url/web/opSkinUnitedPlugin/css/bootstrap.css:.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#dd4814;} /base_url/web/opSkinUnitedPlugin/css/main.css: background-color: #dd4814; /base_url/web/opSkinUnitedPlugin/css/main.css: border: 1px solid #dd4814;
/base_url/plugins/opSkinUnitedPlugin/web/css/main.css にあるいかの部分を、カスタム CSS 設定 で書き込む。
div.partsHeading { margin-bottom: 10px; padding: 7px 14px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; /*---------------------------------------------- background-color: #dd4814; border: 1px solid #dd4814; *--------------------------------------------*/ background-color: #00dd00; border: 1px solid #00dd00; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size: 100%; text-align: left; color: #FFFFFF; }
Total access 2574:本日 1:昨日 1