Cái này sẽ thêm 1 tùy chọn vào trong usercp để mem có thể chọn nền cho tất cả các bài viết của mình
Chỉ lưu lại link ảnh chứ ko cho phép up ảnh lên host để tránh gây nặng host
Import tệp xml vào rùi sửa như sau:
Sửa Template:
Trong temp modifyprofile
Tìm
Mã:
<fieldset for="tb_homepage">$vbphrase[home_page_url]</label></legend>
Thêm bên trên:
Mã:
<!-- CTIT User Postbit Background -->
<fieldset bài viết</legend>
<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr>
<td>Nền bài viết</td>
</tr>
<if condition="$ctit_userbg!=''">
<tr>
<td align=center><img src="$ctit_userbg" width="300"></td>
</tr>
</if>
<tr>
<td>
<input name="ctit_userbg" id="ctit_userbg" value="$ctit_userbg" size="50" maxlength="200" type="text">
</td>
</tr>
</table>
</fieldset>
<!-- CTIT User Postbit Background -->
Trong temp postbit hoặc postbit_legacy
Mã:
<div id="post_message_$post[postid]">$post[message]</div>
Thay bằng:
Mã:
<!--CTIT User Postbit Background-->
<if condition="$ctit['userbg']==''">
<div id="post_message_$post[postid]">$post[message]</div>
<else />
<div id="post_message_$post[postid]" style=";>$post[message]</div>
</if>
<!--/CTIT User Postbit Background-->
Mở tệp class_dm_user.php trong thư mục include
Tìm:
Mã:
'rank' => array(TYPE_STR, REQ_NO),
Thêm bên dưới:
Mã:
'u_background' => array(TYPE_STR, REQ_NO),
Cẩn thận đó nha )
Vậy là xong
Tải Về Với Pass congtruongit.com
Develop by CongTruongIT.Com
Bạn mê say cổng game Go88 và muốn luôn cập nhật các tin tức mới nhất về nền móng này? Dưới đây là 1 bài viết chuẩn SEO giúp bạn tìm hiểu về các tin tức, sự kiện và cập nhật hàng ngày từ Go88: Xem...
Tổng quan về Go88 - Cập nhật thông...