รายละเอียดเกี่ยวกับ [BETA]ToS Agree เป็นฟังก์ชั่นที่เพิ่ม ช่องยอมรับเงื่อนไขการสมัครสมาชิก เพื่อเป็นการยืนยันอีกและกรอกสมาชิกอีกชั้นหนึ่ง
พัฒนาโดย : FatalFrameRate
Version : v0.0.2 (Prosilver Only)
phpBB Version(s) : 3.0.11
ดาวน์โหลดได้ที่ :
https://www.phpbb.com/community/viewtop ... &t=2180041
- 1.jpg (27.75 KiB) Viewed 987 times
- 2.jpg (24.78 KiB) Viewed 987 times
ขั้นตอนติดตั้ง
เปิดไฟล์ language/en/common.php
ค้นหา
โค้ด: เลือกทั้งหมด
'DISPLAY_TOPICS' => 'Display topics from previous',
เติมหลังคำที่หา
เปิดไฟล์ styles/prosilver/template/overall_header.html
ค้นหา
โค้ด: เลือกทั้งหมด
<meta http-equiv="imagetoolbar" content="no" />
เติมหลังคำที่หา
โค้ด: เลือกทั้งหมด
<meta http-equiv="X-UA-Compatible" content="IE=9">
ค้นหา
เติมก่อนคำที่หา
โค้ด: เลือกทั้งหมด
<script type="text/javascript">
function checkSubmit(ele, id) {
document.getElementById(id).disabled = !ele.checked;
}
</script>
เปิดไฟล์ styles/prosilver/template/ucp_agreement.html
ค้นหา
เติมหลังคำที่หา
โค้ด: เลือกทั้งหมด
<NOSCRIPT>
<meta http-equiv="refresh" content="0;url=error.php">
</NOSCRIPT>
ค้นหา
โค้ด: เลือกทั้งหมด
<input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" />
เติมแทน
โค้ด: เลือกทั้งหมด
<h3 align="center"><input type="checkbox" name="agree" onclick="checkSubmit(this, 'agreed')" value="y" />{L_DO_YOU}</h3>
<input type="submit" name="agreed" disabled="disabled" id="agreed" value="{L_AGREE}" class="button1" />
เปิดไฟล์ styles/prosilver/theme/commom.css
ค้นหา
โค้ด: เลือกทั้งหมด
.clear {
display: block;
clear: both;
font-size: 1px;
line-height: 1px;
background: transparent;
}
เติมหลังคำที่หา
โค้ด: เลือกทั้งหมด
/* Erroe Page styles
---------------------------------------- */
.browser img {
margin: 10px 10px 10px 10px;
}
.disabled {
border: solid 1px #A21111;
background: #FFFCDF;
color: #000000;
}
[disabled]
{
color: #7F7F7F;
cursor: default;
}
.thumbs {
margin-left: 15px;
padding: 0;
overflow: hidden;
}
.thumbs li {
list-style: none;
float: left;
margin: 5px;
padding: 3px;
width: 75px;
height: 90px;
}
.thumbs li img {
display: block;
}
.thumbs li a img {
border: none;
}
.thumbs li a:hover img {
border: solid 1px #FFF;
}
ol li{
font-size: 11px;
}
- คืนค่า theme
- คืนค่า template
- คืนค่า Purge the cache
รายละเอียดเกี่ยวกับ [BETA]ToS Agree เป็นฟังก์ชั่นที่เพิ่ม ช่องยอมรับเงื่อนไขการสมัครสมาชิก เพื่อเป็นการยืนยันอีกและกรอกสมาชิกอีกชั้นหนึ่ง
พัฒนาโดย : FatalFrameRate
Version : v0.0.2 (Prosilver Only)
phpBB Version(s) : 3.0.11
ดาวน์โหลดได้ที่ : https://www.phpbb.com/community/viewtopic.php?f=70&t=2180041
[attachment=1]1.jpg[/attachment]
[attachment=0]2.jpg[/attachment]
ขั้นตอนติดตั้ง
เปิดไฟล์ language/en/common.php
ค้นหา
[code=php] 'DISPLAY_TOPICS' => 'Display topics from previous', [/code]
เติมหลังคำที่หา
[code=php] 'DO_YOU' => ' Do you Agree?', [/code]
เปิดไฟล์ styles/prosilver/template/overall_header.html
ค้นหา
[code]<meta http-equiv="imagetoolbar" content="no" />[/code]
เติมหลังคำที่หา
[code=php]<meta http-equiv="X-UA-Compatible" content="IE=9"> [/code]
ค้นหา
[code]</head>[/code]
เติมก่อนคำที่หา
[code]<script type="text/javascript">
function checkSubmit(ele, id) {
document.getElementById(id).disabled = !ele.checked;
}
</script>
[/code]
เปิดไฟล์ styles/prosilver/template/ucp_agreement.html
ค้นหา
[code]<!-- INCLUDE overall_header.html -->[/code]
เติมหลังคำที่หา
[code]<NOSCRIPT>
<meta http-equiv="refresh" content="0;url=error.php">
</NOSCRIPT>
[/code]
ค้นหา
[code] <input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" /> [/code]
เติมแทน
[code] <h3 align="center"><input type="checkbox" name="agree" onclick="checkSubmit(this, 'agreed')" value="y" />{L_DO_YOU}</h3>
<input type="submit" name="agreed" disabled="disabled" id="agreed" value="{L_AGREE}" class="button1" /> [/code]
เปิดไฟล์ styles/prosilver/theme/commom.css
ค้นหา
[code].clear {
display: block;
clear: both;
font-size: 1px;
line-height: 1px;
background: transparent;
}[/code]
เติมหลังคำที่หา
[code]/* Erroe Page styles
---------------------------------------- */
.browser img {
margin: 10px 10px 10px 10px;
}
.disabled {
border: solid 1px #A21111;
background: #FFFCDF;
color: #000000;
}
[disabled]
{
color: #7F7F7F;
cursor: default;
}
.thumbs {
margin-left: 15px;
padding: 0;
overflow: hidden;
}
.thumbs li {
list-style: none;
float: left;
margin: 5px;
padding: 3px;
width: 75px;
height: 90px;
}
.thumbs li img {
display: block;
}
.thumbs li a img {
border: none;
}
.thumbs li a:hover img {
border: solid 1px #FFF;
}
ol li{
font-size: 11px;
}[/code]
- คืนค่า theme
- คืนค่า template
- คืนค่า Purge the cache