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 SHEET Giây phút êm đềm      ♥ Máy Triệt Lông Công Nghệ Cao K18A      ♥ Cách chọn giày bảo hộ tại Đà Nẵng      ♥ hình ảnh Yae Miko Game Genshin Impact      ♥ Cách bảo quản và vệ sinh giày bảo hộ lao động      ♥ SHEET Yêu 1 người sao buồn đến thế      ♥ Bí quyết bảo quản giày bảo hộ lao động      ♥ Máy Triệt Lông Lạnh Diode Laser K17      ♥ Công Nghệ Đùn Ống Nhựa Với Hạt Nhựa Nguyên Sinh      ♥ SHEET Xin cho 1 tiếng kinh cầu      ♥ máy nâng cơ xóa nhăn      ♥ Top 5 dầu gội thảo dược Việt nam 2025      ♥ Nhà phân phối giày bảo hộ tại Đà Nẵng uy tín      ♥ Máy Laser 1450nm Noable Triệt Dầu - Trị Mụn      ♥ Những ích lợi từ dầu gội thảo dược trị gàu      ♥ Công ty bảo hộ lao động tại Nghệ An uy tín      ♥ SHEET Vì em quá yêu anh      ♥ Unlock Your Medical Career with the MCCQE Part 1:      ♥ So sánh các thương hiệu giày bảo hộ hàng đầu      ♥ SHEET Quê hương tình yêu và tuổi trẻ      

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

Mod trả lời nhanh đầy đủ & luôn mở, Như diễn đàn này


Tacaza
post Nov 6 2005, 12:28 PM
Gửi vào: #16


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





Đầu tiên phải làm khung trả lời nhanh luôn mở (ko cần click nút trả lời nhanh):

Mở ./sources/topics.php
Tìm:

CODE

$sqr = $std->my_getcookie("open_qr");


Thay bằng:

CODE

$sqr = 1;


66.gif

Tiếp theo làm cho trả lời nhanh đầy đủ mặt cười và bbcode 4.gif


Mở file topic.php ra tìm

CODE

var $poll_html  = "";



Thêm dzô bên dưới

CODE

//FastReply Mod
var $qreply_html= "";
//FastReply Mod



Tìm tiếp

CODE

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


Thay bằng

CODE

//FastReply Mod
$ibforums->lang = $std->load_words($ibforums->lang, 'lang_post', $ibforums->lang_id);
$this->qreply_html = $std->load_template('skin_post');
//FastReply Mod

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

//FastReply Mod
$this->output = str_replace( "<!--IBF.NAME_FIELD-->", $this->html_name_field(), $this->output);
$this->output = str_replace( "<!--IBF.REPLY_JAVA-->", $this->qreply_html->get_javascript(), $this->output);
$this->output = str_replace( "<!--IBF.POST_BOX-->", $this->html_post_body(), $this->output);
$this->output = $this->html_add_smilie_box( $this->output );
$this->html_checkboxes($this->topic['tid'], $this->topic['forum_id']);
//FastReply Mod


Tìm tiếp


CODE

// Pass it to our print routine

$print->add_output("$this->output");
    $print->do_output( array( 'TITLE'    => $ibforums->vars['board_name']." -> {$this->topic['title']}",
             'JS'       => 1,
             'NAV'      => $this->nav,
         )      );
       
}


Thêm dzô bên dưới


CODE

//FastReply Mod
//--------------------------------------------------------------
// MOD: Extended Fast Reply
// QUICK REPLY BOX FUNCTIONS (MODIFED, FROM POST MODULE)
//--------------------------------------------------------------

/*-------------------------------------------------------------------------*/
// HTML: Post body.
// ------------------
// Returns the HTML for post area, code buttons and
// post icons
/*-------------------------------------------------------------------------*/

function html_post_body($raw_post="") {
global $ibforums;

$ibforums->lang['the_max_length'] = $ibforums->vars['max_post_length'] * 1024;

return $this->qreply_html->postbox_buttons($raw_post);

}

/*-------------------------------------------------------------------------*/
// HTML: name fields.
// ------------------
// Returns the HTML for either text inputs or membername
// depending if the member is a guest.
/*-------------------------------------------------------------------------*/

function html_name_field() {
global $ibforums;

return $ibforums->member['id'] ? $this->qreply_html->nameField_reg() : $this->qreply_html->nameField_unreg( $ibforums->input[UserName] );
}

/*-------------------------------------------------------------------------*/
// HTML: checkboxes
// ------------------
// Returns the HTML for sig/emo/track boxes
/*-------------------------------------------------------------------------*/

function html_checkboxes($tid="", $fid="")
{
global $ibforums, $DB;

$default_checked = array(
      'sig' => 'checked="checked"',
        'emo' => 'checked="checked"',
        'tra' => $ibforums->member['auto_track'] ? 'checked="checked"' : ''
          );
         

// Make sure we're not previewing them and they've been unchecked!

if ( isset( $ibforums->input['enablesig'] ) AND ( ! $ibforums->input['enablesig'] ) )
{
$default_checked['sig'] = "";
}

if ( isset( $ibforums->input['enableemo'] ) AND ( ! $ibforums->input['enableemo'] ) )
{
$default_checked['emo'] = "";
}

if ( isset( $ibforums->input['enabletrack'] ) AND ( ! $ibforums->input['enabletrack'] ) )
{
$default_checked['tra'] = "";
}
else if ( isset( $ibforums->input['enabletrack'] ) AND ( $ibforums->input['enabletrack'] == 1 ) )
{
$default_checked['tra'] = 'checked="checked"';
}

$this->output = str_replace( '<!--IBF.EMO-->'  , $this->qreply_html->get_box_enableemo( $default_checked['emo'] )  , $this->output );

$this->output = str_replace( '<!--IBF.SIG-->'  , $this->qreply_html->get_box_enablesig( $default_checked['sig'] )  , $this->output );

if ( $ibforums->cache['forum_cache'][$fid]['use_html'] and $ibforums->cache['group_cache'][ $ibforums->member['mgroup'] ]['g_dohtml'] )
{
$this->output = str_replace( '<!--IBF.HTML-->' , $this->qreply_html->get_box_html( array( intval($ibforums->input['post_htmlstatus']) => ' selected="selected"' ) ), $this->output );
}

if ( $tid and $ibforums->member['id'] )
{
$DB->simple_construct( array( 'select' => 'trid', 'from' => 'tracker', 'where' => "topic_id=$tid AND member_id=".$ibforums->member['id'] ) );
$DB->simple_exec();

if ( $DB->get_num_rows() )
{
$this->output = str_replace( '<!--IBF.TRACK-->',$this->qreply_html->get_box_alreadytrack(), $this->output );
}
else
{
$this->output = str_replace( '<!--IBF.TRACK-->', $this->qreply_html->get_box_enabletrack( $default_checked['tra'] ), $this->output );
}
}

}

/*-------------------------------------------------------------------------*/
// HTML: add smilie box.
// ------------------
// Inserts the clickable smilies box
/*-------------------------------------------------------------------------*/

function html_add_smilie_box($in_html="")
{
global $ibforums, $DB;

$show_table = 0;
$count      = 0;
$smilies    = "<tr align='center'>\n";

//------------------------------
// Get the smilies from the DB
//------------------------------

if ( ! is_array( $ibforums->cache['emoticons'] ) )
{
$ibforums->cache['emoticons'] = array();

$DB->simple_construct( array( 'select' => 'typed,image,clickable,emo_set', 'from' => 'emoticons' ) );
$DB->simple_exec();

while ( $r = $DB->fetch_row() )
{
$ibforums->cache['emoticons'][] = $r;
}
}

foreach( $ibforums->cache['emoticons']  as $a_id => $elmo )
{

if ( $elmo['emo_set'] != $ibforums->skin['_emodir'] )
{
continue;
}

if ( ! $elmo['clickable'] )
{
continue;
}

$show_table++;
$count++;

//------------------------------
// Make single quotes as URL's with html entites in them
// are parsed by the browser, so ' causes JS error :o
//------------------------------

if (strstr( $elmo['typed'], "'" ) )
{
$in_delim  = '"';
$out_delim = "'";
}
else
{
$in_delim  = "'";
$out_delim = '"';
}

$smilies .= "<td><a href={$out_delim}javascript:emoticon($in_delim".$elmo['typed']."$in_delim){$out_delim}><img src=\"".$ibforums->vars['EMOTICONS_URL']."/".$elmo['image']."\" alt='smilie' border='0' /></a>&nbsp;</td>\n";

if ($count == $ibforums->vars['emo_per_row'])
{
$smilies .= "</tr>\n\n<tr align='center'>";
$count = 0;
}
}

if ($count != $ibforums->vars['emo_per_row'])
{
for ($i = $count; $i < $ibforums->vars['emo_per_row']; ++$i)
{
$smilies .= "<td>&nbsp;</td>\n";
}
$smilies .= "</tr>";
}

$table = $this->qreply_html->smilie_table();

if ($show_table != 0)
{
$table   = preg_replace( "/<!--THE SMILIES-->/", $smilies, $table );
$in_html = preg_replace( "/<!--SMILIE TABLE-->/", $table, $in_html );
}

return $in_html;

}

//FastReply Mod





// ***************************************************
// 2: Sửa Skin
// Dzô Admin CP > Skins & Templates > Skin Manager >
// Edit Root Skin Template HTML => Topic View => quick_reply_box_open
// ***************************************************

Thay đoạn


CODE

<script type="text/javascript">
<!--
function emo_pop()
{
window.open('index.{ipb.vars['php_ext']}?act=legends&amp;CODE=emoticons&amp;s={ipb.session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes');
}
//-->
</script>
<br />
<div align='left' id='qr_open' style="display:$show;position:relative;">
<form name='REPLIER' action="{ipb.script_url}" method='post'>
<input type='hidden' name='act' value='Post' />
<input type='hidden' name='CODE' value='03' />
<input type='hidden' name='f' value='$fid' />
<input type='hidden' name='t' value='$tid' />
<input type='hidden' name='st' value='{ipb.input['st']}' />
<input type='hidden' name='enabletrack' value='{ipb.member['auto_track']}' />
<input type='hidden' name='auth_key' value='$key' />
<!-- TITLE DIV -->
<div class="tableborder">
  <div class='maintitle'><{CAT_IMG}>&nbsp;{ipb.lang['qr_title']}</div>
<div class="tablepad" align="center">
<textarea cols='70' rows='8' name='Post' class='textarea' tabindex="1"></textarea>
<br /><br />
<a href='javascript:emo_pop();'>{ipb.lang['show_emo']}</a> |
<input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" />&nbsp;{ipb.lang['qr_add_smilie']} |
<input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" />&nbsp;{ipb.lang['qr_add_sig']}
<br /><br />
<input type='submit' name='submit' value='{ipb.lang['qr_submit']}' class='button' tabindex="2" accesskey="s" />&nbsp;
<input type='submit' name='preview' value='{ipb.lang['qr_more_opts']}' class='button' />
&nbsp;&nbsp; <input type='button' name='qrc' onclick="ShowHide('qr_open','qr_closed');" value='{ipb.lang['qr_closeit']}' class='button' />
</div>
</div>
</form>
</div>


Bằng đoạn này


CODE

<!--IBF.REPLY_JAVA-->
<br />
<div align='left' id='qr_open' style="display:$show;position:relative;">
<form name='REPLIER' action="{ipb.script_url}" method='post'>
<input type='hidden' name='act' value='Post' />
<input type='hidden' name='CODE' value='03' />
<input type='hidden' name='f' value='$fid' />
<input type='hidden' name='t' value='$tid' />
<input type='hidden' name='st' value='{ipb.input['st']}' />
<input type='hidden' name='enabletrack' value='{ipb.member['auto_track']}' />
<input type='hidden' name='auth_key' value='$key' />
<!-- TITLE DIV -->
<div class="tableborder">
  <div class='maintitle'><{CAT_IMG}>&nbsp;{ipb.lang['qr_title']}</div>
<table cellpadding="0" cellspacing="0" width="100%">
<!--IBF.NAME_FIELD-->
<!--IBF.POST_BOX-->
<tr>
<td class='pformstrip' align='center' style='text-align:center' colspan="2">
<input type="submit" name="submit" value="{ipb.lang['submit_reply']}" tabindex='7' class='button' accesskey='s' />&nbsp;
<input type="submit" name="preview" value="{ipb.lang['button_preview']}" tabindex='8' class='button' />
</td>
</tr>
</table>
</div>
</form>
</div>



6.gif


--------------------
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

Posts in this topic
Tacaza   Mod trả lời nhanh đầy đủ & luôn mở   Nov 6 2005, 12:28 PM
Ghost   Skin mình không có Edit Root Skin Template HTML...   Nov 6 2005, 06:45 PM
Tacaza   Bạn dùng ipb phiên bản mấy? Nếu 2.1 thì...   Nov 6 2005, 06:59 PM
Ghost   hixx , đúng là bản của 3T share đó Admin....   Nov 6 2005, 07:17 PM
Tacaza   Ko có cái này trong acp thì ta edit trực ti�...   Nov 6 2005, 07:37 PM
Thank you ^_^   1 thành viên đã cảm ơn bạn: binlat   Bạn có thể share file topic.php này cho mìn...   Dec 17 2005, 11:35 PM
Tacaza   Lỗi gì bạn cứ post lên đây để mọi n...   Dec 18 2005, 12:04 AM
binlat   Bạn ơi,vào kiểm tra forum của mình với,...   Dec 18 2005, 12:51 AM
billythekids   upload lại cái file uportal.php di nó báo ko ...   Dec 18 2005, 04:35 AM
Tacaza   Đêm qua mình đi ngủ sớm nên ko xem bài c...   Dec 18 2005, 10:21 AM
pine&p   Xin bạn làm ơn hướng dẫn đầy đủ cá...   Jan 4 2006, 11:56 PM
Tacaza   Bản 3T chỉ khác ở chỗ là ko có skin tro...   Jan 5 2006, 10:08 AM
pine&p   Đọc bên topic kia cũng chẳng hiểu đượ...   Jan 5 2006, 03:35 PM
pine&p   sau khi m2inh hack mod xong đúng là nó lun m�...   Jan 5 2006, 03:43 PM
Tacaza   Edit trong file skin thì tất cả những chỗ...   Jan 5 2006, 04:02 PM
crazyboys3000   Trời ơi, các bạn ới. Từ khi mình thay c...   Jan 6 2006, 04:20 PM
Tacaza   Bạn xem lại hack mod file sources/topics.php �...   Jan 6 2006, 04:34 PM
miencattrang   ặc làm được chết liền á hix   Feb 2 2006, 05:44 PM


Thank you! Reply to this topicTopic OptionsStart new topic
 

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