RadarURL
웹 프로그래밍

제로보드 코멘트에 이름(name)을 실명(aol)으로 바꾸기

by JaeSoo posted Sep 16, 2005
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print
※ 우선 이 방법은 기존에 aol 필드를 실명을 입력받는 필드로
사용하고 계신분에 한합니다.

스킨 폴더의 view_comment.php 파일의 제일 윗부분에
다음을 추가시켜주시면 됩니다.

<?
if($c_data[ismember]){
$mem=mysql_fetch_array(mysql_query("select * from zetyx_member_table where no ='".$c_data[ismember]."'"));
$comment_name = stripslashes($mem[aol]);
}else { $comment_name = $comment_name;}
?>

간단하네요. ^^;

출처 : 내가 작성 ㅋㅋ
http://www.nzeo.com/bbs/zboard.php?id=cgi_tip&no=7429

중복이면 알려주세요.

ps : 가입할때 aol 을 실명으로 입력받는 방법은 '실명'이나
aol로 검색을 해보시기 바랍니다.

Who's JaeSoo

profile

http://JaeSoo.com Administrator


Articles

1 2 3 4 5 6 7 8 9 10