New articles Năng lực quản lý: nhân tố thứ năm     ♥ Lựa chọn mục tiêu cuộc đời     ♥ 10 bí quyết cân bằng công việc và gia đình     ♥ Cô đơn trên mạng     ♥ Chứng khoán: Giấc mơ và ác mộng     ♥ Tám     ♥ Những tính năng của blog VnVista     ♥ Các mạng xã hội thống trị Google     ♥ Điều gì tạo nên một giám đốc công nghệ thông tin giỏi?     ♥ Cố gắng xóa bỏ những ấn tượng xấu     ♥ Cần một cách làm ăn mới     ♥ Tiếp thị hướng đến doanh nhân     ♥ Đưa cửa hàng thật lên chợ ảo     ♥ Bí quyết quản lý các nhân viên trẻ     ♥ Một số câu hỏi phỏng vấn “đặc biệt” của Microsoft     ♥ 4 bài học thành công trong kinh doanh     ♥ Tạo dựng hình ảnh một cô gái trẻ chuyên nghiệp     ♥ Góc “khác” của thế giới online đêm     ♥ Phong cách người Mỹ     ♥ Chỉ nghĩ đến tiền cũng làm người ta ích kỷ     
New blog entries Nowgoal: Tạo cơ hội tiện lợi cho người mới      ♥ lịch thi đấu nowgoal nạp rút an toàn      ♥ Tại sao giày bảo hộ thể thao được ưa chuộng?      ♥ Nowgoal chơi game bài nhận tiền thưởn      ♥ Nowgoal trò chơi cá cược trực tuyến v      ♥ RX4718 リレー試験機 買取 査定 価格      ♥ Nowgoal hệ thống đổi thưởng hiện đại      ♥ lịch thi đấu nowgoal trò chơi mới lạ, hấp dẫn      ♥ Nowgoal cập nhật kèo cược bóng đá trự      ♥ たい方向 758      ♥ ベクトル 信号発生器 中古      ♥ 共済事業 67      ♥ Địa chỉ bán giày bảo hộ tại Bắc Ninh giá tốt      ♥ SHEET Tiếng gió xôn xao      ♥ SHEET Còn những bâng khuâng      ♥ Bay789 – Thiên đường giải trí trực tuyến      ♥ SHEET Nhớ em nào nguôi      ♥ Điểm mạnh nổi bật của Bay789      ♥ Cá cược đa dạng và hấp dẫn tại Bay789      ♥ Ưu điểm nổi bật của Bay789      

[ Liệt Kê ] · Bình Thường · Tách Biệt+

BBcode ở fast reply


Tacaza
post Dec 22 2005, 10:44 AM
Gửi vào: #1


Group Icon

The chALLeNgER
**********
Thành viên: 1
Nhập: 3-July 05
Bài viết: 3,003
Tiền mặt: 1,210
Thanked: 1572
Cấp bậc: 43
------
Giới tính: Male
Sinh nhật: 3 Tháng 4 - 1983
Đến từ: Hà Nội
------
Xem blog
Bạn bè: 253 (Xem)
Thêm vào nhóm bạn bè
Gửi thiệp điện tử
Trang thông tin





Mở ./sources/action_public/topics.php

Tìm:

CODE

  $this->output = str_replace( "<!--IBF.QUICK_REPLY_OPEN-->"  , $this->ipsclass->compiled_templates['skin_topic']->quick_reply_box_open($this->topic['forum_id'], $this->topic['tid'], $show, $this->md5_check), $this->output );


Thêm dưới:

CODE
 //---------------------------------------------------
 //BBCodes in Fast Reply
  if ( ! $this->ipsclass->compiled_templates['skin_editors'] )
  {
   $this->ipsclass->load_template( 'skin_editors' );
  }
  $this->ipsclass->load_language( 'lang_editors' );

  $editor_html = $this->ipsclass->compiled_templates['skin_editors']->editor_std("", "Post", "650px", "250", "9", "1");

  $this->output = str_replace( "<!--BBCode-->", $editor_html, $this->output );
 //BBCodes in Fast Reply
 //---------------------------------------------------



Vào acp --> LOOK & FEEL -> Skin Manager -> your(s)skin(s) -> Edit Template HTML -> Post / PM Editor -> editor_std

Bấm nút mũi tên và chọn từ dropdown menu: Edit Data Variables

Tìm:

CODE

$text="", $form_field='post_content', $width, $height


Thay bằng:

CODE

$text="", $form_field='post_content', $width, $height, $rows='20', $bott_but


Save lại.

Tiếp ngay trong khung code của phần này:

Tìm:
CODE

<iframe width="154" height="104" id="cp" src="{ipb.vars['img_url']}/folder_rte_files/palette.html" marginwidth="0" marginheight="0" scrolling="no" style="visibility:hidden; display: none; position: absolute;"></iframe>


Thay =:

CODE
<iframe width="154" height="104" id="cp" src="{ipb.vars['img_url']}/folder_rte_files/palette.html" marginwidth="0" marginheight="0" scrolling="no" style="visibility:hidden; display: none; position: absolute; z-index: 1;"></iframe>



Tìm:

CODE

<textarea cols="80" rows="20" style='margin:0px;width:{$width}' id='postcontent' name="{$form_field}" tabindex="5" class="rteiframe">$text</textarea>


Thay =:

CODE

<textarea cols="80" rows="{$rows}" style='margin:0px;width:{$width}' id='postcontent' name="{$form_field}" tabindex="5" class="rteiframe">$text</textarea>


Tìm:

CODE

<div class="rteDiv" style="width:{$width}">
  <!-- Bottom Buttons -->
  <table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;" id='std-table-buttons' width="100%">
<tr>
 <td style="padding:0px;margin:0px;" align="left" width="1%" valign='top' nowrap="nowrap">
  <input type="button" value=" + " onclick='std_window_resize( 100  );' id="rtesizeplus"  class="rtebottombutton" />
  <input type="button" value=" - " onclick='std_window_resize( -100 );' id="rtesizeminus" class="rtebottombutton" />
</td>
 <td style="padding:0px;margin:0px;height:30px" align="right" valign='top' width="99%">
  <input type="button" value=" Initializing... " title='{ipb.lang['js_bbeasy_toggle']}' onclick='toggle_bbmode(); return false;' id="togglebbmode"  class="rtebottombutton" />
  <input type="button" value="{ipb.lang['js_check_length']}" title='{ipb.lang['js_check_length']}' onclick='check_length(); return false;' id="checklength"  class="rtebottombutton" />
 </td>
</tr>
</table>
<!-- / Bottom Buttons -->
 </div>



Thay bằng:

CODE

<if="bott_but==0">
<div class="rteDiv" style="width:{$width}">
  <!-- Bottom Buttons -->
  <table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;" id='std-table-buttons' width="100%">
<tr>
 <td style="padding:0px;margin:0px;" align="left" width="1%" valign='top' nowrap="nowrap">
  <input type="button" value=" + " onclick='std_window_resize( 100  );' id="rtesizeplus"  class="rtebottombutton" />
  <input type="button" value=" - " onclick='std_window_resize( -100 );' id="rtesizeminus" class="rtebottombutton" />
</td>
 <td style="padding:0px;margin:0px;height:30px" align="right" valign='top' width="99%">
  <input type="button" value=" Initializing... " title='{ipb.lang['js_bbeasy_toggle']}' onclick='toggle_bbmode(); return false;' id="togglebbmode"  class="rtebottombutton" />
  <input type="button" value="{ipb.lang['js_check_length']}" title='{ipb.lang['js_check_length']}' onclick='check_length(); return false;' id="checklength"  class="rtebottombutton" />
 </td>
</tr>
</table>
<!-- / Bottom Buttons -->
 </div>
</if>
<else>
<input type="hidden" name="any" value="any" id="togglebbmode" />
</else>


Save lại.

Vào LOOK & FEEL -> Skin Manager -> tu(s)skin(s) -> Edit Template HTML -> Topic View -> quick_reply_box_open

Tìm:

CODE
<form name="REPLIER" action="{ipb.script_url}" method="post">


Thay =:
CODE

<form id='postingform' action='{ipb.script_url}' method='post' name='REPLIER'>


Tìm:
CODE

 <textarea onmouseover='checkselection()' id='fastreplyarea' cols="70" rows="8" name="Post" class="textarea" tabindex="1"></textarea>


Thay =:

CODE

 <input type='hidden' name='bbmode' value='ezmode' />
 <input type='hidden' name='bbmode' value='normal' />
 <input type='hidden' name="tagcount" value="0" />
 <div style="width: 650px;"><!--BBCode--></div>


Done!


--------------------
Nhóm bạn bè:


dung_buong_tay

tamhonngoc_536

uchinhuong

MTTH

xuxusp2

Xem tất cả


--------------------

Sao không là mặt trời, gieo hạt nắng vô tư?


 
Nếu bạn thấy bài viết này vi phạm nội quy forum, hãy click nút này:
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topicStart Poll
Trả Lời



Thank you! Reply to this topicTopic OptionsStart new topic
 

Bản Rút Gọn Bây giờ là: 28th July 2025 - 05:45 PM
Home | Mạng xã hội | Blog | Thiệp điện tử | Tìm kiếm | Thành viên | Sổ lịch