그누보드 외부로그인 적용 문제입니다. 정보
그누보드 외부로그인 적용 문제입니다.본문
처음 그누보드를 접하게 되었습니다.
학원에서는 게시판 넣는 정도만 배웠구요..
외부로그인을 넣으려고 하는데 도대체가 어느 파일을 건들여야하며 소스 수정은 또 어떻게 해야하는지 너무 머리가 아픕니다..ㅜㅜ 밤낮 정보 찾아가며 시도를 해보았지만 뜨는건 전부 오류 투성이에요....ㅜㅜ
외부로그인을 넣으려고 한다면 도대체 어느 파일부터 손을 봐야하는거죠?
그리고
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("basic"); // basic 스킨으로 아웃로그인을 출력합니다.
?>
이런 소스들을 다들 말씀해주시는데 저 소스를 어느위치에 넣는지도 정말 궁금합니다..
저같은 분들 없으신가요?? 제가 기본 지식이 없는 상태에서 뛰어들어서 정말 멘붕입니다..
저 소스들을 하나하나 어느 부분에 넣어야하는지 알려주세요 ㅜㅜㅜ
상단에 넣으라는 말씀은 모든걸 다 무시하고 그냥 상단에 넣으라는 말씀인가요?
<body>안에 따로 넣어야하는 부분은 없나요?
질문이 너무 횡설수설하지만,, 정말 급합니다.. 고수님들 도움 좀 주세요 ㅜㅜ
그리고 기회가 된다면 직접 만나서 배우고라도 싶은 마음입니다 ㅜㅜ인천 사시는 고수분들 없나요??
학원에서는 게시판 넣는 정도만 배웠구요..
외부로그인을 넣으려고 하는데 도대체가 어느 파일을 건들여야하며 소스 수정은 또 어떻게 해야하는지 너무 머리가 아픕니다..ㅜㅜ 밤낮 정보 찾아가며 시도를 해보았지만 뜨는건 전부 오류 투성이에요....ㅜㅜ
외부로그인을 넣으려고 한다면 도대체 어느 파일부터 손을 봐야하는거죠?
그리고
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("basic"); // basic 스킨으로 아웃로그인을 출력합니다.
?>
이런 소스들을 다들 말씀해주시는데 저 소스를 어느위치에 넣는지도 정말 궁금합니다..
저같은 분들 없으신가요?? 제가 기본 지식이 없는 상태에서 뛰어들어서 정말 멘붕입니다..
저 소스들을 하나하나 어느 부분에 넣어야하는지 알려주세요 ㅜㅜㅜ
상단에 넣으라는 말씀은 모든걸 다 무시하고 그냥 상단에 넣으라는 말씀인가요?
<body>안에 따로 넣어야하는 부분은 없나요?
질문이 너무 횡설수설하지만,, 정말 급합니다.. 고수님들 도움 좀 주세요 ㅜㅜ
그리고 기회가 된다면 직접 만나서 배우고라도 싶은 마음입니다 ㅜㅜ인천 사시는 고수분들 없나요??
댓글 전체

<?=outlogin("basic");?>
위부분을 html 파일 넣고 싶은곳에 넣으시면 됩니다.
위부분을 html 파일 넣고 싶은곳에 넣으시면 됩니다.
<?=outlogin("basic");?> 이 부분을 index 파일에 넣는것인가요??

만든 인덱스페이지에 아웃로그인이 들어갈 자리에 저코드를 삽입하심 됩니다.
아 감사합니다!
그런데 인덱스페이지에 저 코드를 삽입한 후에도 적용이 되지 않는다면
어떤 문제가 있는건가요?
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home3/ryang0206/html/index.html on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/ryang0206/html/index.html on line 2
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home3/ryang0206/html/index.html on line 3
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/ryang0206/html/index.html on line 3
Fatal error: Call to undefined function outlogin() in /host/home3/ryang0206/html/index.html on line 15
이런 에러들이 노출되는데,, 이건 경로가 잘못지정되었단건가요??
그런데 인덱스페이지에 저 코드를 삽입한 후에도 적용이 되지 않는다면
어떤 문제가 있는건가요?
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home3/ryang0206/html/index.html on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/ryang0206/html/index.html on line 2
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home3/ryang0206/html/index.html on line 3
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home3/ryang0206/html/index.html on line 3
Fatal error: Call to undefined function outlogin() in /host/home3/ryang0206/html/index.html on line 15
이런 에러들이 노출되는데,, 이건 경로가 잘못지정되었단건가요??

<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
요기 outlogin.lib.php 안에 outlogin을 쓸 수 있도록 만든 명령어가 들어가있기때문에
상단에 불러줘야 outlogin이 제대로 작동하겠쬬?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
요기 outlogin.lib.php 안에 outlogin을 쓸 수 있도록 만든 명령어가 들어가있기때문에
상단에 불러줘야 outlogin이 제대로 작동하겠쬬?
답변 정말 정말 감사합니다!^^
인덱스 파일에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?=outlogin("basic")?>
</body>
</html>
이렇게 넣었는데도 안나온다면, 정말 이번엔 경로 문제겠죠??
인덱스 파일에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?=outlogin("basic")?>
</body>
</html>
이렇게 넣었는데도 안나온다면, 정말 이번엔 경로 문제겠죠??

모든 경로의 기준은 그누보드 를 기준으로 합니다.
gnuboard/index.php 파일이 있는곳을 기준으로 상단을 인크루드 하시고 아웃로긴 테스트를 해보시면 나옵니다 ㅋㅋ
gnuboard/index.php 파일이 있는곳을 기준으로 상단을 인크루드 하시고 아웃로긴 테스트를 해보시면 나옵니다 ㅋㅋ
덕분에 성공했습니다. ^^ 정말 감사드립니다~!!!