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
Go88 là 1 trong các cổng game uy tín và phổ thông tại Việt Nam. Với giao diện trực giác, dễ sử dụng và tính bảo mật cao, Go88 đã lôi kéo hàng triệu người chơi từ khắp nơi. 1 trong các ưu thế của Go88...
Giới thiệu kho game thú vi với sân...