View Member Information
Provides the request data identifiers and response structure required to implement the view member information feature.
Refer to the descriptions of each field and its usage below when integrating.
Data Identifier
{
"dataID": "MY_PAGE",
"fail_redirect_url":"",
"my_notice_limit":20,
"my_notice_flg":"Y",
"page":1,
"block_number":5,
"my_post_list_flg":"Y",
"my_post_list_limit":20,
"post_responder_flg":"Y",
"post_responder_limit":20
}| Key | Description |
|---|---|
| dataID | Unique data identifier |
| fail_redirect_url | URL to redirect to when accessed while not logged in |
| my_notice_limit | Number of my notifications to retrieve |
| page | Page number for my notifications |
| block_number | Number of page blocks to display for my notifications |
| my_post_list_flg | Whether to retrieve the list of posts I have written: Y or leave unset |
| my_post_list_limit | Number of posts I have written to retrieve |
| my_notice_flg | Whether to retrieve my notifications: Y or leave unset |
| post_responder_flg | Whether to retrieve the list of people who reacted to my posts: Y or leave unset |
| post_responder_limit | Number of my notifications to retrieve |
Response Result
{
"avatar_url": "/avatar/url",
"nickname": "Kim",
"name": "Gi; dong",
"level": 1,
"member_post_count": 10,
"member_comment_count": 20,
"member_like_count": 10,
"oauth_flg": "Y"
}| Key | Description |
|---|---|
| avatar_url | Avatar URL |
| nickname | Nickname |
| name | Name |
| level | Member level |
| member_post_count | Number of posts written by the member |
| member_comment_count | Number of comments the member has replied to |
| member_like_count | Number of likes the member has given |
| oauth_flg | Whether it is an OAuth account: Y or N |
<div class="container">
<div class="row">
<div class="col-12 mb-5">
<div class="px-lg-4 mb-5">
<!-- USER PROFILE START -->
<div class="mb-3 row rounded-3 py-3">
<div class="col-12 col-md-12 col-lg-auto mb-3 mb-sm-0 d-flex justify-content-center align-items-center">
<div class="mx-4" style="width:6rem;">
<img colon:src="output.user.avatar_url" class="img-fluid">
</div>
</div><!-- media-img -->
<div class="w-100 my-2 ps-3 py-3 me-4 rounded-3 col-12 col-md-12 col-lg media-body d-flex flex-column align-items-start justify-content-center">
<div class="w-100 text-center text-lg-start d-flex align-items-center justify-content-start">
<h4>
{{ output.user.nickname }}
</h4>
<small class="d-block my-2 ms-2">({{ output.user.name }})</small>
</div>
<div class="w-100 mt-2 row row-cols-sm-auto justify-content-center justify-content-lg-start">
<div class="col-6 col-sm-3">
<span class="w-100 mt-2 badge text-white rounded-pill bg-secondary">Level : {{ output.member[0].level.toLocaleString() }}</span>
</div>
<div class="col-6 col-sm-3">
<span class="w-100 mt-2 badge text-white rounded-pill bg-secondary">Post : {{ output.member_post_count ? output.member_post_count.toLocaleString() : 0 }}</span>
</div>
<div class="col-6 col-sm-3">
<span class="ms-3 mt-2 badge text-white rounded-pill bg-secondary">Comment : {{ output.member_comment_count ? output.member_comment_count.toLocaleString() : 0 }}</span>
</div>
<div class="col-6 col-sm-3">
<span class="ms-3 mt-2 badge text-white rounded-pill bg-secondary">Like : {{ output.member_like_count ? output.member_like_count.toLocaleString() : 0 }}</span>
</div>
</div>
</div>
</div>
<!-- USER PROFILE START -->
<!-- MY NOTICE LIST START -->
<div v-if="output.notice_list?output.notice_list.length:false">
<ul class="list-group list-group-flush my-5">
<li class="list-group-item py-3 bg-transparent" v-for="result in output.notice_list">
<p class="d-sm-flex flex-wrap align-items-center mb-2">
<a href="" class="avatar avatar-sm me-2 d-none d-sm-inline"><img colon:src="result.avatar_url" alt=""></a>
<span class="fs-sm" v-html="result.notice_message"></span>
<span class="my-2 text-secondary text-nowrap fs-xs ms-auto d-flex align-items-center justify-content-end">
<i class="far fa-clock me-1"></i><small>{{ result.create_date }}</small>
</span>
</p>
<div class="card border-0" v-if="result.notice_content">
<div class="card-body small" v-html="result.notice_content"></div>
</div>
</li>
</ul>
<!-- PAGINATION START -->
<div class="mt-2">
<nav>
<ul class="pagination justify-content-center mb-0">
<li class="page-item"><a class="page-link border-0 bg-transparent" v-bindcolon:href="output.pagination.paging.first.link" v-bindcolon:data-page="output.pagination.paging.first.number"><i class="fas fa-angle-double-left"></i></a></li>
<li class="page-item"><a class="page-link border-0 bg-transparent" v-bindcolon:href="output.pagination.paging.prev.link" v-bindcolon:data-page="output.pagination.paging.prev.number"><i class="fas fa-angle-left"></i></a></li>
<li class="page-item h-page-numbers" v-if="output.pagination.paging.page" v-for="page in output.pagination.paging.page"><a class="border-0 bg-transparent" colon:class="{'page-link'colon:true, 'active'colon: output.pagination.page == page.number }" v-bindcolon:href="page.link" v-bindcolon:data-page="page.number">{{ page.number }}</a></li>
<li class="page-item" v-else><a class="border-0 page-link bg-transparent">1</a></li>
<li class="page-item"><a class="page-link border-0 bg-transparent" v-bindcolon:href="output.pagination.paging.next.link" v-bindcolon:data-page="output.pagination.paging.next.number"><i class="fas fa-angle-right"></i></a></li>
<li class="page-item"><a class="page-link border-0 bg-transparent" v-bindcolon:href="output.pagination.paging.end.link" v-bindcolon:data-page="output.pagination.paging.end.number"><i class="fas fa-angle-double-right"></i></a></li>
</ul>
</nav>
</div>
<!-- PAGINATION END -->
</div>
<div v-else class="my-4 px-3 py-4 text-center rounded-3 d-flex align-items-center justify-content-center"><i class="far fa-bell me-2"></i> <small>No activity history.</small></div>
<!-- MY NOTICE LIST END -->
</div>
</div>
</div>
</div><div class="container">
<div class="row">
<div class="col-12 col-lg-9 border-md-end-none border-end mb-5">
<div class="px-lg-4 mb-5">
<!-- USER PROFILE START -->
<div class="mb-3 row rounded-3 py-3">
<div class="col-12 col-md-12 col-lg-auto mb-3 mb-sm-0 d-flex justify-content-center align-items-center">
<div class="mx-4" style="width:6rem;">
<img src="<?=$output['member'][0]['avatar_url'];?>" class="img-fluid">
</div>
</div><!-- media-img -->
<div class="w-100 my-2 ps-3 py-3 me-4 rounded-3 col-12 col-md-12 col-lg media-body d-flex flex-column align-items-start justify-content-center">
<div class="w-100 text-center text-lg-start d-flex align-items-center justify-content-start">
<h4>
<?=$output['member'][0]['nickname'];?>
</h4>
<small class="d-block my-2 ms-2">(<?=$output['member'][0]['name'];?>)</small>
</div>
<div class="w-100 mt-2 row row-cols-sm-auto justify-content-center justify-content-lg-start">
<div class="col-6 col-sm-3">
<span class="w-100 mt-2 badge text-white rounded-pill bg-secondary">Level : <?=number_format($output['member'][0]['level']);?></span>
</div>
<div class="col-6 col-sm-3">
<span class="w-100 mt-2 badge text-white rounded-pill bg-secondary">Post : <?=number_format($output['member'][0]['member_post_count']);?></span>
</div>
<div class="col-6 col-sm-3">
<span class="ms-3 mt-2 badge text-white rounded-pill bg-secondary">Comment : <?=number_format($output['member'][0]['member_comment_count']);?></span>
</div>
<div class="col-6 col-sm-3">
<span class="ms-3 mt-2 badge text-white rounded-pill bg-secondary">Like : <?=number_format($output['member'][0]['member_like_count']);?></span>
</div>
</div>
</div>
</div>
<!-- USER PROFILE END -->
<!-- MODIFY FORM START-->
<form id="frm_member" class="my-5">
<input type="hidden" name="return_url" id="return_url" value="/mypage/view"/>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Email</h6>
<p class="small mb-0">Enter the email address you use.</p>
</div><!-- col -->
<div class="col-md">
<input type="email" value="<?=$output['member'][0]['email'];?>" class="form-control" data-validation="email" data-validation-type="replace" id="email" name="email" placeholder="Enter your email" data-gtm-form-interact-field-id="0">
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Mobile phone</h6>
<p class="small mb-0">Enter your mobile phone number.</p>
</div><!-- col -->
<div class="col-md">
<input type="text" value="<?=$output['member'][0]['cell_phone'];?>" class="form-control" data-validation="number" data-validation-type="replace" id="cell_phone" name="cell_phone" placeholder="Enter your mobile phone number">
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Name</h6>
<p class="small mb-0">Enter your name.</p>
</div><!-- col -->
<div class="col-md">
<input type="text" value="<?=$output['member'][0]['name'];?>" class="form-control" data-validation="not-empty" id="name" name="name" placeholder="Enter your name">
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Nickname</h6>
<p class="small mb-0">Enter a nickname to use in forums and other places.</p>
</div><!-- col -->
<div class="col-md">
<input type="text" value="<?=$output['member'][0]['nickname'];?>" class="form-control" data-validation="not-empty" id="nickname" name="nickname" placeholder="Enter your nickname">
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Avatar</h6>
<p class="small mb-0">Select your profile avatar.</p>
</div><!-- col -->
<div class="col-md">
<div class="d-flex flex-wrap justify-content-start align-items-center">
<? foreach ($arrAvatar as $intKey => $strResult) { ?>
<div class="me-2 my-1 text-center">
<label class="form-check-label avatar avatar-lg" for="avatar_<?= $intKey + 1; ?>"><img src="<?= $strResult; ?>"/></label>
<input class="" type="radio" id="avatar_<?= $intKey + 1; ?>" name="avatar_url" value="<?= $strResult; ?>" <? if($output['member'][0]['avatar_url']==$strResult){ ?>checked="checked"<? } ?>>
</div>
<? } ?>
</div>
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>Birthday</h6>
<p class="small mb-0">Select your birthday.</p>
</div><!-- col -->
<div class="col-md">
<div class="row">
<div class="col">
<label for="birth_y" class="form-label visually-hidden">Birthday (year)</label>
<select class="form-select" id="birth_y" name="birth_y" data-validation="not-empty">
<option value="">Select year</option>
<? for ($y = date('Y'); $y > date('Y') - 80; $y--) { ?>
<option value="<?= $y; ?>" <? if($output['member'][0]['birth_y']==$y){ ?>selected="selected"<? } ?>><?= $y; ?></option>
<? } ?>
</select>
</div>
<div class="col">
<label for="birth_m" class="form-label visually-hidden">Birthday (month)</label>
<select class="form-select" id="birth_m" name="birth_m" data-validation="not-empty">
<option value="" selected="selected">Select month</option>
<? for ($m = 1; $m < 13; $m++) { ?>
<option value="<?= $m; ?>" <? if($output['member'][0]['birth_m']==$m){ ?>selected="selected"<? } ?>><?= $m; ?></option>
<? } ?>
</select>
</div>
<div class="col">
<label for="birth_d" class="form-label visually-hidden">Birthday (day)</label>
<select class="form-select" id="birth_d" name="birth_d" data-validation="not-empty">
<option value="" selected="selected">Select day</option>
<? for ($d = 1; $d < 32; $d++) { ?>
<option value="<?= $d; ?>" <? if($output['member'][0]['birth_d']==$d){ ?>selected="selected"<? } ?>><?= $d; ?></option>
<? } ?>
</select>
</div>
</div>
</div><!-- col -->
</div><!-- row -->
</div>
<div class="setting-item">
<div class="row g-2 align-items-center">
<div class="col-md-5">
<h6>News and information</h6>
<p class="small mb-0">Choose whether to receive news and information.</p>
</div><!-- col -->
<div class="col-md">
<div class="form-group has-validation">
<div class="form-check lh-base mt-3">
<input class="form-check-input" type="checkbox" id="receive_message_flg" name="receive_message_flg" value="Y" <? if($output['member'][0]['receive_message_flg']){ ?>checked="checked"<? } ?>><label class="form-check-label" for="receive_message_flg">I agree to receive news and information.</label>
</div>
</div>
</div><!-- col -->
</div><!-- row -->
</div>
<div class="my-5 text-center">
<div class="my-4 text-center mb-5">
<button type="submit" class="mx-1 btn border-hbnc-primary bg-hanbnc-primary-3 border border-3 px-4">Confirm</button>
<a href="/console/public/profile/" class="mx-1 btn border-gray-default-op-50 bg-gray-light border border-3 px-4">Cancel</a>
</div>
</div>
</form>
<!-- MODIFY FORM END -->
</div>
</div>
</div>
</div>Related Links
User Discussions
ADD- There are no posts yet.