EBP Attendance 출석 스킨 월별 부지런상 포인트는 어떻게 하나요?
짧은주소
- - 짧은주소: http://v2.eyoom.net/bbs/?t=313 주소복사
본문
EBP Attendance 출석 스킨 월별 부지런상 포인트는 어떻게 하나요?
월별로 각 달의 말일에 한달동안 계속 개근한 회원들에게 포인트를 주려고 합니다
www/eyoom/user_program/page/attendance.php에 부지런상 코드들 아래부분에 아래와 같이 월별 부지런상 포인트 코드를 넣었습니다
// 월별 부지런상 포인트
if($attendance['monthhard_use'] == 'y') {
if($atd_count%$attendance['monthhard_cond']==0) {
$point['monthhard'] = attendance_point($attendance['monthhard_point']);
insert_point($member['mb_id'], $point['monthhard'], "{$date_day} 월별 출석체크 부지런상", '@attendance',$member['mb_id'], "{$date_day}");
}
www/data/attendance.config.php에 아래와 같이 월별 부지런상 포인트 관련 config코드들을 넣었습니다
추가한 부분은 $monthhard_today = date('j'); $lastday = date('t','monthhard_today'); "monthhard_use" => "y","monthhard_point" => "200","monthhard_cond" => $lastday, 입니다
<?php
if (!defined('_GNUBOARD_')) exit;
$monthhard_today = date('j');
$lastday = date('t','monthhard_today');
$attendance = array(
"target" => "모든회원",
"stime" => "00:00",
"etime" => "24:00",
"point_default" => "100",
"point_type" => "0",
"hard_use" => "y",
"hard_point" => "200",
"hard_cond" => "10",
"monthhard_use" => "y",
"monthhard_point" => "200",
"monthhard_cond" => $lastday,
"group_use" => "y",
"group_point" => "200",
"group_cond" => "20",
"lucky_use" => "y",
"lucky_point" => "100",
"someday_use" => "y",
"someday_point" => "100",
"someday_date" => "20150525",
"ranking_use" => "5",
"ranking1_point" => "100",
"ranking2_point" => "90",
"ranking3_point" => "80",
"ranking4_point" => "70",
"ranking5_point" => "60",
"ranking6_point" => "50",
"ranking7_point" => "40",
"ranking8_point" => "30",
"ranking9_point" => "20",
"ranking10_point" => "10",
);
?>
위들과 같이 했는데 아래 화면들같이 깨지고 기능들이 제대로 출력안되고 출석기능도 출력안됩니다
어떻게 해야 하나요?
좋아요!
Progress Bar 87%
번호 | 제목 | 글쓴이 | 날짜 | 뷰 | 추천 |
---|---|---|---|---|---|
305 |
![]() ![]() |
2015.07.25 | 1,284 | 0 | |
304 |
![]() ![]() |
2016.08.19 | 1,284 | 0 | |
303 |
![]() |
2015.08.06 | 1,282 | 0 | |
302 |
![]() ![]() |
2015.07.14 | 1,281 | 1 | |
301 |
![]() |
2015.10.10 | 1,280 | 0 | |
300 |
![]() ![]() |
2015.11.25 | 1,280 | 0 | |
299 |
![]() ![]() |
2015.07.13 | 1,278 | 0 | |
298 |
![]() ![]() |
2016.11.29 | 1,273 | 0 | |
297 |
![]() |
2017.07.14 | 1,273 | 0 | |
296 |
![]() ![]() |
2015.04.12 | 1,270 | 0 | |
295 |
![]() |
2016.01.24 | 1,270 | 0 | |
294 |
![]() ![]() |
2015.09.23 | 1,267 | 1 | |
293 |
![]() ![]() |
2016.05.05 | 1,266 | 0 | |
292 |
![]() ![]() |
2016.05.31 | 1,264 | 0 | |
291 |
![]() ![]() |
2015.08.26 | 1,258 | 0 | |
290 |
![]() ![]() |
2015.08.23 | 1,257 | 0 | |
289 |
![]() ![]() |
2015.06.21 | 1,255 | 0 | |
288 |
![]() |
2016.03.25 | 1,253 | 0 | |
287 | 3f7uaec1 | 2016.08.24 | 1,252 | 0 | |
286 |
![]() ![]() |
2015.05.24 | 1,251 | 1 |
댓글목록
등록된 댓글이 없습니다.