Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
企業CMSとしてXOOPSを利用したいので、ユーザ情報にいらないものが多いので消したい。 | 社内SEのウェブ制作

2011.04.27xoopsズープス

企業CMSとしてXOOPSを利用したいので、ユーザ情報にいらないものが多いので消したい。

コミュニティに特化したサイトでない場合、確かにAIM,YIM,MSNMなどの記入欄が必要ないと感じることが多いと思います。その場合には、
edituser.phpの170行目付近


のようにコメントアウトしてしまう方法が簡単です。
また、お使いのテンプレートセットのsystem_userinfo.htmlも同様に該当部分を削除したほうがよいでしょう。

//    $icq_text = new XoopsFormText(_US_ICQ, 'user_icq', 15, 15, $xoopsUser->getVar('user_icq', 'E')); 
//    $aim_text = new XoopsFormText(_US_AIM, 'user_aim', 18, 18, $xoopsUser->getVar('user_aim', 'E'));
//    $yim_text = new XoopsFormText(_US_YIM, 'user_yim', 25, 25, $xoopsUser->getVar('user_yim', 'E'));
//    $msnm_text = new XoopsFormText(_US_MSNM, 'user_msnm', 30, 100, $xoopsUser->getVar('user_msnm', 'E'));

このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (15500)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/197

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ