Tâm trạng hàng ngày | Hạnh phúc 2-7-2025 09:43 PM |
|---|
Đã viết: 13 ngày [LV.3]Spam 3
|
Mời bạn đăng ký để giao lưu kết bạn nhé <3
Bạn phải đăng nhập để xem được nội dung, nếu bạn chưa có tài khoản? hãy Đăng ký
x
Hướng dẫn sau cho phép khách thấy nội dung chát nhưng không gửi tin nhắn lên được bằng cách thêm thẻ if vào
- <!--{if $discuz_uid}-->
- <!--{/if}-->
Sao chép mã
Lưu ý với các trang đông truy cập không nên làm.
Mở file shoutbox.htm tìm
Đoạn từ
- <div class="editor" align="left"><div id="e_controls"><div class="editorbtn"> cho tới thẻ </div>
Sao chép mã
Thay bằng
- <!--{if $discuz_uid}-->
- <div class="editor" align="left"><div id="e_controls"><div class="editorbtn">
- <!--{if $shoutbox['allow']['smilies']}-->
- <a class="" href="javascript:;" id="e_popup_smilies" title="$shout_lang[smilies]"></a>
- <!--{/if}-->
- <!--{if $shoutbox['allow']['bbcode']}-->
- <a href="javascript:;" id="e_popup_tools" title="$shout_lang[bbcode]"></a>
- <!--{/if}-->
- </div></div></div>
- <!-- new editer -->
- <div class="editor_tb_shout">
- <span class="right">
- <input class="txtarea" rows="5" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, 'fastpostvalidate($(\'fastpostform\'))');">
- <span class="pipe">|</span>
- <span id="newspecialtmp"> <button id="shoutbox-submit-button" class="shoutbox-button">$shout_lang[shout_submit]</button>
-
- <button id="shoutbox-refresh-button" class="shoutbox-button">$shout_lang[refresh]</button>
- <span id="fastpostmessage-skin"></span>
- </span>
- </span>
- <!--{if $shoutbox['allow']['smilies']['bbcode']}-->
- {eval $seditor = array('fastpost', array('bold' ,'color' ,'smilies'));}
- <!--{/if}-->
- {subtemplate seditor}
- </div>
- <!--{/if}-->
Sao chép mã
Save , Update cache |
|