Thread: New Posting Features - vS-Hide Hack Resurrection
View Single Post
  #70  
Old 04-08-2010, 04:49 PM
jensis jensis is offline
 
Join Date: Apr 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In file(s) ./clientscript/vbulletin_quick_reply.js

Please ensure that you have downloaded an "uncompressed javascript" version of vbulletin.
FIND

/**
* Handles quick reply data when AJAX says qr_ajax_post() is complete
*
* @param object YUI AJAX
*/
function qr_do_ajax_post

make it to

// [HIDE] Hack Resurrection :: Expanded Edition :: Hide Reply Ajax Update
function hhr_get_posts()
{
if (hide_reply_xml.handler.readyState == 4 && hide_reply_xml.handler.status == 200 && hide_reply_xml.handler.responseXML)
{
var posts = fetch_tags(hide_reply_xml.handler.responseXML, 'post');

for (var i = 0; i < posts.length; i++)
{
var postid = fetch_tags(posts[i], 'postid')[0].firstChild.nodeValue;
var message = fetch_tags(posts[i], 'message')[0].firstChild.nodeValue;
fetch_object('post_message_' + postid).innerHTML = message;
}

if (is_ie)
{
hide_reply_xml.handler.abort();
}
}
}
// [HIDE] Hack Resurrection :: Expanded Edition :: Hide Reply Ajax Update

i don?t found this in the

and the next is

edit this one

In file(s) ./clientscript/vbulletin_quick_reply.js

Please ensure that you have downloaded an "uncompressed javascript" version of vbulletin.
FIND

ajax_last_post = ajax.responseXML.getElementsByTagName('time')[0].firstChild.nodeValue;

edit in this

// [HIDE] Hack Resurrection :: Expanded Edition :: Hide Reply Ajax Update
var anchors = fetch_tags(fetch_object('posts'), 'div');
var postids = '';
var tmppostid = 0;
for (var i = 0; i < anchors.length; i++)
{
if (anchors[i].id && anchors[i].id.indexOf('dis_hhr_hide_reply::') != -1 || anchors[i].id && anchors[i].id.indexOf('dis_hhr_hide_rt::') != -1)
{
tmppostid = anchors[i].id.substr(anchors[i].id.lastIndexOf('::') + 2);
tmppostid = tmppostid.substr(0, tmppostid.lastIndexOf('_'));
postids = postids + ',' + tmppostid;
}
}

if (postids != '')
{
hide_reply_xml = new vB_AJAX_Handler(true);
hide_reply_xml.onreadystatechange(hhr_get_posts);
hide_reply_xml.send('ajax.php', 'do=hhr_get_posts&postids=' + postids.substr(1));
}
// [HIDE] Hack Resurrection :: Expanded Edition :: Hide Reply Ajax Update

i have found the uncompressed jave file on here http://www.vbulletinprogramming.com/...r_do_ajax_post


can one please upp this edit file vbulletin_quick_reply.js vor Version 4.0.2
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01172 seconds
  • Memory Usage 1,773KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete