![]() |
PHPKD - Advanced Quick Reply 'Ultimate'
1 Attachment(s)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !.................. Brought to you by PHP KingDom (www.phpkd.net) ..................! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PHPKD - Advanced Quick Reply 'Ultimate' [ Attachments - Smilies - Thread Management - AJAX ] ( Threads / Blogs / Albums / Social Groups / Private Messages / Visitor Messages ) ?? If you like it, Vote for it! ?? Please remember to click Mark as Installed if you use this product. Support requests from members who have not marked this as installed will be considered low priority. Name: PHPKD - Advanced Quick Reply 'Ultimate' Version: 4.0.110 Description: This product extends 'Quick Reply' functionality to allow all "Advanced Editor" options [ All Built-In BBCodes / Attachments / Smilies / Management ], (threads, blogs, social groups, albums, visitor messages, private messages) [customizable]. Compatible with: All 3.8.x/4.0.x vBulletin versions. Requirements:
Helpful links: Features:
Installation Procedure:
Upgrade Procedure:
Controls:
License: Read Here: http://info.phpkd.net/en/license/free/ --------------- --------------- --------------- --------------- Creative Commons - Attribution-Noncommercial-Share Alike 3.0 http://creativecommons.org/licenses/by-nc-sa/3.0/ --------------- --------------- --------------- ---------------
Your fair dealing and other rights are in no way affected by the above. This is a human-readable summary of the Legal Code (the full license). http://creativecommons.org/licenses/.../3.0/legalcode --------------- --------------- --------------- --------------- Help with:
Known Issues:
Future TO-DO-LIST: History:
Screen Shots:
Technical Notes:
Recent Products: |
Reserved!!
|
Excellent add on for those sites where the staff desires to go full throttle with the quick reply box, without going into the advanced editor
|
good new functions, thanks alot,
but I have some problem, hope to fix them 1- smile box: I want to disable the hole smile box, when set Smiliebox Total Smilies = 0 the smile box is disappear but its added 1 more query and 1 unchecked template Quote:
the file content Code:
function vB_AJAX_QuickEdit_Init(C){if(AJAX_Compatible){if(typeof C=="string"){C=fetch_object(C)}var B=fetch_tags(C,"a");for(var A=0;A<B.length;A++){if(B[A].name&&B[A].name.indexOf("vB::QuickEdit::")!=-1){B[A].onclick=vB_AJAX_QuickEditor_Events.prototype.editbutton_click}}}}function vB_AJAX_QuickEditor(){this.postid=null;this.messageobj=null;this.container=null;this.originalhtml=null;this.editstate=false;this.editorcounter=0;this.ajax_req=null;this.show_advanced=true}vB_AJAX_QuickEditor.prototype.ready=function(){if(this.editstate||YAHOO.util.Connect.isCallInProgress(this.ajax_req)){return false}else{return true}};vB_AJAX_QuickEditor.prototype.edit=function(A){if(typeof vb_disable_ajax!="undefined"&&vb_disable_ajax>0){return true}var B=A.substr(A.lastIndexOf("::")+2);if(YAHOO.util.Connect.isCallInProgress(this.ajax_req)){return false}else{if(!this.ready()){if(this.postid==B){this.full_edit();return false}this.abort()}}this.editorcounter++;this.editorid="vB_Editor_QE_"+this.editorcounter;this.postid=B;this.messageobj=fetch_object("post_message_"+this.postid);this.originalhtml=this.messageobj.innerHTML;this.unchanged=null;this.unchanged_reason=null;this.fetch_editor();this.editstate=true;return false};vB_AJAX_QuickEditor.prototype.fetch_editor=function(){if(fetch_object("progress_"+this.postid)){fetch_object("progress_"+this.postid).style.display=""}document.body.style.cursor="wait";YAHOO.util.Connect.asyncRequest("POST","ajax.php?do=quickedit&p="+this.postid,{success:this.display_editor,failure:this.error_opening_editor,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=quickedit&p="+this.postid+"&editorid="+PHP.urlencode(this.editorid))};vB_AJAX_QuickEditor.prototype.error_opening_editor=function(A){vBulletin_AJAX_Error_Handler(A);window.location="editpost.php?"+SESSIONURL+"do=editpost&postid="+this.postid};vB_AJAX_QuickEditor.prototype.handle_save_error=function(A){vBulletin_AJAX_Error_Handler(A);this.show_advanced=false;this.full_edit()};vB_AJAX_QuickEditor.prototype.display_editor=function(C){if(C.responseXML){if(fetch_object("progress_"+vB_QuickEditor.postid)){fetch_object("progress_"+vB_QuickEditor.postid).style.display="none"}document.body.style.cursor="auto";if(fetch_tag_count(C.responseXML,"disabled")){window.location="editpost.php?"+SESSIONURL+"do=editpost&postid="+this.postid}else{if(fetch_tag_count(C.responseXML,"error")){}else{var B=fetch_tags(C.responseXML,"editor")[0];if(typeof B=="undefined"){window.location="editpost.php?"+SESSIONURL+"do=editpost&postid="+this.postid;return false}var D=B.getAttribute("reason");this.messageobj.innerHTML=B.firstChild.nodeValue;if(fetch_object(this.editorid+"_edit_reason")){this.unchanged_reason=PHP.unhtmlspecialchars(D);fetch_object(this.editorid+"_edit_reason").value=this.unchanged_reason;fetch_object(this.editorid+"_edit_reason").onkeypress=vB_AJAX_QuickEditor_Events.prototype.reason_key_trap}vB_Editor[this.editorid]=new vB_Text_Editor(this.editorid,B.getAttribute("mode"),B.getAttribute("parsetype"),B.getAttribute("parsesmilies"));if(fetch_object(this.editorid+"_editor")&&fetch_object(this.editorid+"_editor").scrollIntoView){fetch_object(this.editorid+"_editor").scrollIntoView(true)}vB_Editor[this.editorid].set_editor_width("100%",true);vB_Editor[this.editorid].check_focus();this.unchanged=vB_Editor[this.editorid].get_editor_contents();fetch_object(this.editorid+"_save").onclick=this.save;fetch_object(this.editorid+"_abort").onclick=this.abort;fetch_object(this.editorid+"_adv").onclick=this.full_edit;var A=fetch_object(this.editorid+"_delete");if(A){A.onclick=this.show_delete}}}}};vB_AJAX_QuickEditor.prototype.restore=function(B,A){this.hide_errors(true);if(this.editorid&&vB_Editor[this.editorid]&&vB_Editor[this.editorid].initialized){vB_Editor[this.editorid].destroy()}if(A=="tableobj"){fetch_object("edit"+this.postid).innerHTML=B}else{this.messageobj.innerHTML=B}this.editstate=false};vB_AJAX_QuickEditor.prototype.abort=function(A){if(fetch_object("progress_"+vB_QuickEditor.postid)){fetch_object("progress_"+vB_QuickEditor.postid).style.display="none"}document.body.style.cursor="auto";vB_QuickEditor.restore(vB_QuickEditor.originalhtml,"messageobj");PostBit_Init(fetch_object("post"+vB_QuickEditor.postid),vB_QuickEditor.postid)};vB_AJAX_QuickEditor.prototype.full_edit=function(B){var A=new vB_Hidden_Form("editpost.php?do=updatepost&postid="+vB_QuickEditor.postid);A.add_variable("do","updatepost");A.add_variable("s",fetch_sessionhash());A.add_variable("securitytoken",SECURITYTOKEN);if(vB_QuickEditor.show_advanced){A.add_variable("advanced",1)}else{A.add_variable("quickeditnoajax",1)}A.add_variable("postid",vB_QuickEditor.postid);A.add_variable("wysiwyg",vB_Editor[vB_QuickEditor.editorid].wysiwyg_mode);A.add_variable("message",vB_Editor[vB_QuickEditor.editorid].get_editor_contents());A.add_variable("reason",fetch_object(vB_QuickEditor.editorid+"_edit_reason").value);A.submit_form()};vB_AJAX_QuickEditor.prototype.save=function(B){var C=vB_Editor[vB_QuickEditor.editorid].get_editor_contents();var A=vB_Editor[vB_QuickEditor.editorid];if(C==vB_QuickEditor.unchanged&&A==vB_QuickEditor.unchanged_reason){vB_QuickEditor.abort(B)}else{fetch_object(vB_QuickEditor.editorid+"_posting_msg").style.display="";document.body.style.cursor="wait";pc_obj=fetch_object("postcount"+vB_QuickEditor.postid);this.ajax_req=YAHOO.util.Connect.asyncRequest("POST","editpost.php?do=updatepost&postid="+this.postid,{success:vB_QuickEditor.update,failure:vB_QuickEditor.handle_save_error,timeout:vB_Default_Timeout,scope:vB_QuickEditor},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=updatepost&ajax=1&postid="+vB_QuickEditor.postid+"&wysiwyg="+vB_Editor[vB_QuickEditor.editorid].wysiwyg_mode+"&message="+PHP.urlencode(C)+"&reason="+PHP.urlencode(fetch_object(vB_QuickEditor.editorid+"_edit_reason").value)+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):""));vB_QuickEditor.pending=true}};vB_AJAX_QuickEditor.prototype.show_delete=function(){vB_QuickEditor.deletedialog=fetch_object("quickedit_delete");if(vB_QuickEditor.deletedialog&&vB_QuickEditor.deletedialog.style.display!=""){vB_QuickEditor.deletedialog.style.display="";vB_QuickEditor.deletebutton=fetch_object("quickedit_dodelete");vB_QuickEditor.deletebutton.onclick=vB_QuickEditor.delete_post;if(fetch_object("del_reason")){fetch_object("del_reason").onkeypress=vB_AJAX_QuickEditor_Events.prototype.delete_items_key_trap}if(!is_opera&&!is_saf){vB_QuickEditor.deletebutton.disabled=true;vB_QuickEditor.deleteoptions=new Array();vB_QuickEditor.deleteoptions.leave=fetch_object("rb_del_leave");vB_QuickEditor.deleteoptions.soft=fetch_object("rb_del_soft");vB_QuickEditor.deleteoptions.hard=fetch_object("rb_del_hard");for(var A in vB_QuickEditor.deleteoptions){if(YAHOO.lang.hasOwnProperty(vB_QuickEditor.deleteoptions,A)&&vB_QuickEditor.deleteoptions[A]){vB_QuickEditor.deleteoptions[A].onclick=vB_QuickEditor.deleteoptions[A].onchange=vB_AJAX_QuickEditor_Events.prototype.delete_button_handler;vB_QuickEditor.deleteoptions[A].onkeypress=vB_AJAX_QuickEditor_Events.prototype.delete_items_key_trap}}}}};vB_AJAX_QuickEditor.prototype.delete_post=function(){var A=fetch_object("rb_del_leave");if(A&&A.checked){vB_QuickEditor.abort();return }var B=new vB_Hidden_Form("editpost.php");B.add_variable("do","deletepost");B.add_variable("s",fetch_sessionhash());B.add_variable("securitytoken",SECURITYTOKEN);B.add_variable("postid",vB_QuickEditor.postid);B.add_variables_from_object(vB_QuickEditor.deletedialog);B.submit_form()};vB_AJAX_QuickEditor.prototype.update=function(C){if(C.responseXML){vB_QuickEditor.pending=false;document.body.style.cursor="auto";fetch_object(vB_QuickEditor.editorid+"_posting_msg").style.display="none";if(fetch_tag_count(C.responseXML,"error")){var D=fetch_tags(C.responseXML,"error");var A="<ol>";for(var B=0;B<D.length;B++){A+="<li>"+D[B].firstChild.nodeValue+"</li>"}A+="</ol>";vB_QuickEditor.show_errors("<ol>"+A+"</ol>")}else{vB_QuickEditor.restore(C.responseXML.getElementsByTagName("postbit")[0].firstChild.nodeValue,"tableobj");PostBit_Init(fetch_object("post"+vB_QuickEditor.postid),vB_QuickEditor.postid)}}return false};vB_AJAX_QuickEditor.prototype.show_errors=function(A){set_unselectable("ajax_post_errors_closebtn");fetch_object("ajax_post_errors_message").innerHTML=A;var B=fetch_object("ajax_post_errors");B.style.width="400px";B.style.zIndex=500;var C=(is_saf?"body":"documentElement");B.style.left=(is_ie?document.documentElement.clientWidth:self.innerWidth)/2-200+document[C].scrollLeft+"px";B.style.top=(is_ie?document.documentElement.clientHeight:self.innerHeight)/2-150+document[C].scrollTop+"px";B.style.display=""};vB_AJAX_QuickEditor.prototype.hide_errors=function(A){this.errors=false;fetch_object("ajax_post_errors").style.display="none";if(A!=true){vB_Editor[this.editorid].check_focus()}};function vB_AJAX_QuickEditor_Events(){}vB_AJAX_QuickEditor_Events.prototype.editbutton_click=function(A){return vB_QuickEditor.edit(this.name)};vB_AJAX_QuickEditor_Events.prototype.delete_button_handler=function(A){if(this.id=="rb_del_leave"&&this.checked){vB_QuickEditor.deletebutton.disabled=true}else{vB_QuickEditor.deletebutton.disabled=false}};vB_AJAX_QuickEditor_Events.prototype.reason_key_trap=function(A){A=A?A:window.event;switch(A.keyCode){case 9:fetch_object(vB_QuickEditor.editorid+"_save").focus();return false;break;case 13:vB_QuickEditor.save();return false;break;default:return true}};vB_AJAX_QuickEditor_Events.prototype.delete_items_key_trap=function(A){A=A?A:window.event;if(A.keyCode==13){if(vB_QuickEditor.deletebutton.disabled==false){vB_QuickEditor.delete_post()}return false}return true};var vB_QuickEditor=new vB_AJAX_QuickEditor(); its still have 'Option' frame on fast replay with empty options or boxes and I hope to disable hole option frame |
Quote:
Thank you for commenting :up:. Quote:
First & third issues has been confirmed & reported HERE & HERE respectively. Thanks for the reports, it will be addressed soon and an update will be released. But for the second issue, I've already searched for required JS code & it's already there in vB 3.8.4 PL2. Check if you're using default JS files for 3.8.4 PL2 not old or modified ones. |
PHPKD, great mod, thanks! Installed. And enjoyed. :)
Makes a big difference to workflow. However, since you called this ultimate don't you think it should also work with "edit post"? It is a shame to lose all those nice quick-features when you come to "quick edit" your "quick reply"! Aint so quick all of a sudden. Please +1 the mod to make it work in inline-edit. |
Please remember to click Mark as Installed if you use this product.
Support requests from members who have not marked this as installed will be considered low priority. Quote:
The "Advanced Quick Edit 'Ultimate' is a separate product coming soon with as much features as it's ancestor "Advanced Quick Reply" ;). It was already released few years ago HERE & will be revived soon. The new release under construction. Keep tuned :cool: |
New Update ...
|
thanks a lot for the new update,
its been more powerful thank previous version I hope to add a new function if possible checkbox in fast reply (disable email notification) |
if i upload product showthread is stop
PHP Code:
wait u |
Please remember to click Mark as Installed if you use this product.
Support requests from members who have not marked this as installed will be considered low priority. Quote:
Nice idea, I've added it as a feature request HERE & it will be implemented in upcoming featured release ;). Quote:
|
This should be standard for vbulletin. great one. Installed in a minute, not a single problem.
|
Quote:
done . Quote:
Problem persists wait u |
Thank you.
|
Quote:
Quote:
By the way, this is uncommon issue that no one has faced before. Please try to activate the product on the default style & browse your forum board using the default style & see what's going on, if the problem still exists, then please supply a link for your forum with demonstration of the problem so I can analyze it & see what's wrong with your installation ... Quote:
|
Quote:
|
Great mod only 1 question, does this let individual users customize the way their quick editor looks if they have permission to use the advanced editor? I can't tell and that is the main reason keeping me from switching from this mod HERE also does this effect quick edit? or would I have ot install your other mod also, if so I think it would be nice to add them into a single mod.
Suggestion: Not sure if this is possible but maybe make the quick reply box appear below the thread you clicked the quick reply button in like this site does Not sure if all vb4 websites do it or not, i haven't used many vb4 sites before. |
Hello Tom,
Currently this product has same effect on all users, there isn't per user settings. This may be added later in future release. As I see it's really nice & has potential advantages (I've added it as a feature request HERE). Regarding quick editor features, it isn't included in this product. It's available as a separate product currently & will have significant updates in the near future. Last but not least, displaying the quick reply box under the post from which you clicked 'quick reply', it's a new feature in vBulletin 4 by default & our product supports it as well. Please don't hesitate to suggest more features, I'll be happy to hear from you :). Best Regards Abdelrahman - PHP KingDom |
I'm getting an error after installing:
The error is across the top of the page (above header) Code:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/balances/public_html/blu-ops/forum/showthread.php(2167) : eval()'d code on line 81 Line 81 of showthread is Code:
'editor_css', |
Installed... great mod-
any way we can pick which smilies show up in the box? It appears to be random? |
I spoke too soon, I have it set to work on the following usergroups; 5,6,7,20,21
5,6,7 are super mods, admins, mods - these all work 20 & 21 are groups I created, it's not working for them... no members are primary users of these groups, but they are members. |
well I manually changed the primary usergroup for the 40 affected members so it's working but if future releases could work with 'additional' usergroups instead of primary that would be cool- or at least update the documentation to say 'primary usergroup'.
|
PHPKD, social groups comment, pictures and blogs and showthread quick reply doesn't work for registered users. Only administrator can see that on my site, why?
|
Thank you. ;)
|
Worked great and installed smoothly.. Thank you!
|
will it work on 3.7.3?
|
plz add this plugin advance quick editor
|
Installed. Wonderful mod.
|
Tried to install on vb 4.1 but it does not work. Is there an update coming for this version?
|
ditto, doesnt work in v4.1
|
after enabling this, all my members' signatures are no longer showing in the threads! anyone experienced this??? :(
|
this mod looks really nice but I just want to ass smilies to my quick reply box - is there a template mod or something simpler to accomplish this?
|
Hello bro, doenst work in vB 4.1.11
Thanks. |
Considering this is the "VB 3.8 Add-ons" section I wouldn't expect any mod here to work on 4.1.11.
|
Really, thanks.
|
Quote:
:D:D:D |
i have installed it but thread management tools are showing two times. how can i remove one????
|
Hi, how can I remove the "attachment manager" button below the editor, not the paperclip, the actual big button that says "attachment manager" on it, thanks. I've searched through most of the templates and plugins but I can't seem to find where to do it. :)
|
All times are GMT. The time now is 08:02 AM. |
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:
|