Admin Lãnh Chúa
Giới tính tớ là : Posts : 221 Points : 548 Thanked : 14 Tuổi : 30 Đến từ : wWw.Kiddy9.cO.cC Blast : Love Kiddy9
| Tiêu đề: [Share] Thông điệp yêu thương - Tự động cập nhật (Full) 17/11/2010, 7:10 pm | |
| First topic message reminder :cOde chôm by c3z (sr a VietK nhé)........ Demo: [You must be registered and logged in to see this link.]B1: - Tạo một chuyên mục để gửi Thông điệp yêu thương (ACP/Quản lí tổng thể/Forum/Categories and forums/Add)- Điều chỉnh lại một số phần như sau: B2: -Tạo 1 trang Html(ACP/Modules/HTML/HTML pages management) và chèn code này vào: - Code:
-
<meta http-equiv="content-type" content="text/html; charset=utf-8;" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script><script src="http://illiweb.com/rs3/13/frm/lang/vi.js" type="text/javascript"></script> <form action="/posting.forum" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data"><table width="450px" border="0" cellspacing="1" cellpadding="0"><tr><td width="22%"><span class="gen"><b><font color="green">Gửi đến :</font></b></span></td><td><span class="gen"><input class="post gen" style="width:270px; display:inline" type="text" name="subject" value="Tất cả thành viên" onblur="if(this.value=='') this.value='Tất cả thành viên';" onfocus="if(this.value=='Tất cả thành viên') this.value='';" size="45" maxlength="40" tabindex="2" title="" onkeypress="if (event.keyCode==13){return false}"></span><input onclick="set_solved(this.form.elements['subject'],'»')" class="mainoption" style="float:right" type="submit" name="post" value="Gửi" tabindex="6" accesskey="s" /></td></tr><tr><td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="1"><tr><td><span class="gen"> <a href="#" onClick="window.open('HTML 1','_blank','width=450,height=150')"><b><font color="blue">Thông điệp: </font></b></a></font> </span></td></tr></table></td><td valign="top"><span class="genmed"></span><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td colspan="9"><span class="gensmall" style="width:450px;font-size:10px" id="helpbox"></span></td></tr><tr><td colspan="9"> <span class="gen"><input id="text_editor_textarea" class="post" style="width:320px; display:inline" type="text" name="message" value="Nội dung thông điệp bạn muốn gửi" onblur="if(this.value=='') this.value='Nội dung thông điệp bạn muốn gửi';" onfocus="if(this.value=='Nội dung thông điệp bạn muốn gửi') this.value='';" onclick="storeCaret(this)" onkeyup="storeCaret(this)" rows="15" cols="35" tabindex="3" onselect="storeCaret(this)" wrap="virtual"></span> </td></tr></table></td></tr></table><input type="hidden" name="lt" value="0" /><input type="hidden" name="mode" value="newtopic" /><input type="hidden" name="f" value="3" /></form>
- Ở đoạn html trên tìm và thay: value="3"Trong đó 3 là số chuyên mục bạn đã tạo ở B1. VD: của mình: [You must be registered and logged in to see this link.] thì thay số 96 vào là: value=" 96" B2: - Thay toàn bộ Mod_news(ACP/Display/Templates/Portal) bằng code sau: a) Trong đoạn trên tìm (Ctrl+F) số: 96và thay bằng số chuyên mục bạn đã tạo ở B1. b) Trong đoạn trên tìm: - Trích dẫn :
- [You must be registered and logged in to see this link.]
và thay vào link html bạn đã tạo ở B2. | |
|