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
Ngọc Bích xanh bản tính thuộc dòng đá đá hoa (jade). Và cẩm thạch là tên gọi chung của ngọc bích. Vì bản chất chúng thuộc dòng đá đa khoáng được hình thành từ chất Silicat dưới dạng dioxy. Ngọc bích...
Tìm hiểu Vòng tay ngọc bích xanh...