테스트 사이트 - 개발 중인 베타 버전입니다

그룹 관리자, 게시판 관리자 복수지정하기 팁 관련 질문입니다. 채택완료

heon2slow 10년 전 조회 3,403

http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=12780">http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=12780

 

위에 배추님께서 팁을 주신것을 적용하려고 하는데요.

 

일단 저는 그룹관리자 기능만이 필요하므로 아래처럼 다른것은 다 지우고 extend/group_admin.php로 올렸습니다.

</p><p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><?</span><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"> </span></p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">// 그룹관리자 </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">if ($gr_id == 'community') </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">{ </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">    if ($member[mb_id] == 'aaaa') $is_admin = 'group'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">    if ($member[mb_id] == 'bbbb') $is_admin = 'group'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">    if ($member[mb_id] == 'cccc') $is_admin = 'group'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">} </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"><p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);">?></span><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(252, 253, 254);"> </span> </p><p>

 

그럼 끝난거 맞나요?? 그냥 올리는것만으로 동작할리 없을거 같고 뭔가를 더 해줘야 하는것 같은데 모르겠네요.

aaaa 나 다른 아이디로 접속해봐도 관리자 기능이 적용되지 않아서 질문드립니다.

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

배추님이 개발해서 마이위트에서 배포하는 배추파워팩을 추천합니다.

그누원본을 건드리지 않으며 설치후 관리자에서 설정만으로 가능합니다.

 

http://umz.kr/0M6Zm">http://umz.kr/0M6Zm

http://umz.kr/0M6Zm">http://umz.kr/0M6Zm 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인