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
プロフィール編集ページに注意書きを加えたい。 | 社内SEのウェブ制作

2011.04.27xoopsズープス

プロフィール編集ページに注意書きを加えたい。

XOOPSのプロフィールは、公開/非公開の切替が備わっていません。登録者が個人を特定できる情報を記入しないよう、注意を促すことは非常に重要です。

設定はedituser.phpの148行目付近

 

echo '<a href="userinfo.php?uid='.$xoopsUser->getVar('uid').'">'. _US_PROFILE .'</a>&nbsp;<span style="font-weight:bold;">»»</span>&nbsp;'. _US_EDITPROFILE .'<br /><br />';
	// YOUR SETTING 注意書きを挿入
	echo 'ここで入力する情報はメールアドレスを除いては、全て公開されます。<br />個人を特定できる情報や知られたくない情報は入力しないで下さい。<br />';


のように記入します。

またデフォルトの日本語言語ファイルでは、「本名」としている部分がありますが、これは是非ニックネームなどに変更されることを強くお勧めします。

該当ファイルは、/language/japanese/user.phpの109行目付近です。
define('_US_REALNAME','ニックネーム');
などに変更しまうのもよいでしょう。


このカテゴリの人気記事



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

トラックバック

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

コメントの投稿

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

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