سلام
برای غیر فعال کردن دوبار کلیک روی گزینه ارسال پاسخ یا + باید به پوشه clientscript برید و فایل vbulletin_quick_reply.js ویرایش کنید و کد زیرو پیدا کنید.
کد PHP:
function qr_init_buttons(obj)
{
// intercept post button clicks to use inline form
var anchors = fetch_tags(obj, 'a');
for (var i = 0; i < anchors.length; i++)
{
// reply button
if (anchors[i].id && (anchors[i].id.substr(0, 3) == 'qr_' || anchors[i].id.substr(0, 5) == 'qrwq_'))
{
YAHOO.util.Event.on(anchors[i], "click", qr_newreply_activate, this);
//anchors[i].onclick = function(e) { return qr_newreply_activate(this.id.substr(3), false); };
}
}
// set the "+Reply to Thread" buttons onlclick events
var replytothreadids = ["newreplylink_top", "newreplylink_bottom"];
YAHOO.util.Event.on(replytothreadids, "click", qr_replytothread_activate, this);
//YAHOO.util.Event.on(replytothreadids, "dblclick", function(e) { window.location = this.href; }, this);
}
و کد زیرو به جاش قرار بدید:
کد PHP:function qr_init_buttons(obj)
{
// intercept post button clicks to use inline form
var anchors = fetch_tags(obj, 'a');
for (var i = 0; i < anchors.length; i++)
{
// reply button
if (anchors[i].id && (anchors[i].id.substr(0, 3) == 'qr_' || anchors[i].id.substr(0, 5) == 'qrwq_'))
{
//YAHOO.util.Event.on(anchors[i], "click", qr_newreply_activate, this);
//anchors[i].onclick = function(e) { return qr_newreply_activate(this.id.substr(3), false); };
}
}
// set the "+Reply to Thread" buttons onlclick events
var replytothreadids = ["newreplylink_top", "newreplylink_bottom"];
//YAHOO.util.Event.on(replytothreadids, "click", qr_replytothread_activate, this);
//YAHOO.util.Event.on(replytothreadids, "dblclick", function(e) { window.location = this.href; }, this);
}





LinkBack URL
About LinkBacks





پاسخ با نقل قول


علاقه مندی ها (Bookmarks)