Files
slot/src
chpark 0e549cad46 Initial import of slot-ss.com (gnuboard5 + Eyoom + YoungCart) for migration
Original PHP source rsync'd from production server (slot-ss.com) on 2026-04-27.
Excluded from import:
  - data/editor (74GB user uploads), data/file (8.5GB attachments)
  - data/member_image, vendor/, db100up/, caches/sessions/logs/tmp

Includes:
  - 11,636 files, ~206MB source code (gnuboard5 v5.6.6, Eyoom builder, YoungCart 4)
  - 28 plugins (bacara, chatbot, cron, swiunApi, sns, sms5, ...)
  - Active theme: eb4_maga_005 (Eyoom magazine layout)
  - Local Docker dev stack (PHP 7.4 + Apache + Redis + MariaDB) under docker/
  - PostgreSQL migration setup (pgloader configs) under db/
  - Architecture/migration docs under docs/

Single non-source patch: src/config.php now reads G5_DOMAIN_OVERRIDE env var
so the local Docker stack can serve at http://localhost:8088 without touching
the production constant. Falls back to https://slot-ss.com when unset.
2026-04-27 18:23:16 +09:00
..

알리고 문자 플러그인

그누보드에서 알리고 API 를 이용해 문자를 보내는 프로그램입니다.

본 프로그램은 <그누보드>/adm/sms_admin/ 디렉토리의 일부 파일을 교체하는 식으로 구현되었으며, 그누보드 5.4.29 에서 테스트되었습니다.

특징

  • SMS, LMS, MMS 는 자동전환됩니다.
  • 문자보내기 페이지의 보낼내용 하단에 "사진첨부" 버튼이 있습니다.
  • 문자에 받는사람이름을 치환하는 치환자가 %고객명% 입니다.

설치하기

  • 압축파일을 해제한다.
  • 그누보드가 설치된 디렉토리에 업로드한다.
  • adm/config_form.php 하단에 다음 코드를 추가한다.
<script>
    $(function() {
        $('#cf_sms_use').append('<option value="aligo"<?php echo get_selected($config['cf_sms_use'], 'aligo'); ?>>알리고</option>');
    })
</script>
  • 그누보드 관리자 > 기본환경설정 > SMS 에서 "SMS 사용"을 "알리고"로 설정한다.
  • 그누보드 관리자 > SMS 기본설정에 라이센스 등록 이메일과 알리고 회원 아이디, API Key 를 입력한다.

영카트의 문자보내기 기능 사용을 위한 추가 설정

다음링크 참조 : https://byfun.com/bbs/board.php?bo_table=tech&wr_id=2

알리고 문자보내기 함수 사용 예제

관리자페이지 뿐 아니라 임의의 페이지에서 문자발송 코드를 사용하고자 할 때 사용할 수 있는 예제 코드입니다. aligo_send() 의 정의 및 파라미터는 extend/aligo.sms.php 파일을 참고하시기 바랍니다.

[code] $sender_hp = '010-1234-5678'; // 회신 휴대폰 번호 $receiver_hp = '010-6789-1023'; // 수신자 휴대폰 번호 (배열로 사용 가능) $receiver_name = '수신자명'; // 수신자명 (배열로 사용 가능) $title = '제목'; // LMS 또는 MMS 인 경우에만 사용 $content = '문자내용'; $rdate = ''; // 예약일, YYYYMMDD 형식으로 $rtime = ''; // 예약시간, HHMM 형식으로 $img_path = G5_DATA_PATH.'/test.jpg'; // 첨부할 이미지 절대경로 $delete_img = false; // 문자발송 후 이미지 삭제할지 $is_test = false; // 테스트 전송인지

$res = aligo_send($sender_hp, $receiver_hp, $receiver_name, $content, $img_path, $rdate, $rtime, $title, $delete_img, $is_test);

/* $res = Array ( [result_code] => 1 [message] => success [msg_id] => 124567890 [success_cnt] => 1 [error_cnt] => 0 [msg_type] => MMS ) */
[/code]