![]() |
This works on 3.7 like a charm
just the vbulletin_textedit.js modification is different i've modificied this for quote linkback integrate myself Find: Code:
this.allowbasicbbcode=((typeof allowbasicbbcode!="undefined"&&allowbasicbbcode)?true:false); Code:
if(this.editorid == 'vB_Editor_QR'){this.current_selection='';this.captured_selection='';this.Capture_Selection=function(){if(window.getSelection){this.current_selection=window.getSelection();}else if(document.getSelection){this.current_selection=document.getSelection();}else if(document.selection && document.selection.createRange){this.current_selection=document.selection.createRange().text;}if (is_opera){this.captured_selection=(this.current_selection != '' ? this.current_selection : this.captured_selection);}else{this.captured_selection=this.current_selection;}};this.Insert_Quote=function(username, postid){if (this.disabled || this.editorid != 'vB_Editor_QR' || this.captured_selection == ''){return false;}else{var new_text = '[quote="' + username + '\;' + postid + '"]' + this.captured_selection + '[/quote]';this.set_editor_contents(this.get_editor_contents() + (this.get_editor_contents().length > 0 ? (this.wysiwyg_mode ? '<br />' : '\r\n') : '') + new_text);this.captured_selection = '';return true;}}}; postbit/postbit_legacy template: Find: Code:
Insert_Quote('$post[username]') Code:
Insert_Quote('$post[username]', '$post[postid]') |
in my case i can't install this hack on 3.7.3 patch 1, i try to use previous post with hack manual, so seems to be working, but....
|
All times are GMT. The time now is 08:21 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|