Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
PHPKD - Advanced Quick Reply 'Ultimate' Details »»
PHPKD - Advanced Quick Reply 'Ultimate'
Version: 4.0.110, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 05-23-2008 Last Update: 03-23-2010 Installs: 676
Uses Plugins Auto-Templates
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!.................. 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:
  • vBulletin version 3.8.x/4.0.x


Helpful links:

Features:
  • General Features:-
    • MD5 checked.
    • Fully Phrased.
    • Fully Supported.
    • Fully Automated.
    • Accurate Processing.
    • Professionally Coded.
    • Detailed Documentation.
    • Zero Additional Queries.
    • Unique unmatchable product!!
    • Maximum flexibility & usability.
    • Require only one small manual JS edit.
    • Doing all default vBulletin checks & vBulletin Fully Compatible.
    • Built using native vBulletin code, it works smoothly as default part of vBulletin.
    • Available not only for threads, but also for albums & pciture comments, social group discussions, social groups picture comments, visitor message comments and private messages replies. It's just a complete ultimate product. All in one!!

  • Specific Features:-
    • AdminCP Options:
      • ON/OFF
        Choose whether the product "PHPKD - Advanced Quick Reply 'Ultimate'" is active or not (Global On/Off Switch).

      • Applied locations
        Where do you wish to activate this product? You've four valid locations this product can be applied on & take affect:
        1. Thread Quick Reply
        2. Private Message Quick Reply
        3. Profile Visitor Message
        4. Album Picture Comment
        5. Social Group Comment
        6. Social Group Picture Comment
        7. Blog Comments

      • Thread Options: Enable/Disable Options
        You can control all "Advanced Quick Reply 'Ultimate'" options through this setting, check the check box beside the appropriate option to activate it, or un-check it to deactivate.
        • Allow attachments
        • Thread Management Tools
        • Quote message in reply
        • Show Signature
        • Display "Disable Smilies" option
        • Smiliebox Below Editor
        • Hide Attachments' Extensions
        • Collapse Quick Reply

      • General Options: Enable/Disable Options
        You can control general options of "Advanced Quick Reply 'Ultimate'" through this setting, check the check box beside the appropriate option to activate it, or un-check it to deactivate.
        • Auto Quote PM in QR

      • Thread Options: Checked by default
        You can set the default check status for each option of the "Advanced Quick Reply 'Ultimate'", any checked option here will be checked by default within forums.
        • Thread Manage: Close
        • Thread Manage: Stick
        • Disable Smilies
        • Quote message in reply
        • Show Signature

      • Enabled Built-in BB Code Tags
        This setting allows you to enable and disable various built-in BBCode Tags in the "Advanced Quick Reply 'Ultimate'".
        Disabling a BBCode will NOT prevent it from working in the "Advanced Quick Reply 'Ultimate'", but only hide it's relevant button from the editor.

      • Include/Exclude Users
        You can specify certain users to have this product's effect, or to exclude others from being participated at all.
        You've three options to choose from:
        • Include All Users
        • Include Specific Users
        • Exclude Specific Users
        Select "Include All Users" for the product to take effect on all users (DEFAULT), or select "Include Specific Users" for the product to take effect on certain users only -defined in the following setting-, or select "Exclude Specific Users" for the product NOT to take effect on certain users -defined in the following setting-.

      • Included/Excluded Users
        If you've chosen "Include Specific Users" OR "Exclude Specific Users" from the above setting, then you've to enter those specified user IDs here in this setting's field. Please enter user IDs separated with commas.

      • Include/Exclude Usergroups
        You can specify certain usergroups to have this product's effect, or to exclude others from being participated at all.
        You've three options to choose from:
        • Include All Usergroups
        • Include Specific Usergroups
        • Exclude Specific Usergroups
        Select "Include All Usergroups" for the product to take effect on all usergroups (DEFAULT), or select "Include Specific Usergroups" for the product to take effect on certain usergroups only -defined in the following setting-, or select "Exclude Specific Usergroups" for the product NOT to take effect on certain usergroups -defined in the following setting-.

      • Included/Excluded Usergroups
        If you've chosen "Include Specific Usergroups" OR "Exclude Specific Usergroups" from the above setting, then you've to enter those specified user group IDs here in this setting's field. Please enter user group IDs separated with commas.

      • Include/Exclude Forums
        You can specify certain forums to have this product's effect, or to exclude others from being participated at all.
        You've three options to choose from:
        • Include All Forums
        • Include Specific Forums
        • Exclude Specific Forums
        Select "Include All Forums" for the product to take effect on all forums (DEFAULT), or select "Include Specific Forums" for the product to take effect on certain forums only -defined in the following setting-, or select "Exclude Specific Forums" for the product NOT to take effect on certain forums -defined in the following setting-.

      • Included/Excluded Forums
        If you've chosen "Include Specific Forums" OR "Exclude Specific Forums" from the above setting, then you've to enter those specified forum IDs here in this setting's field. Please enter forum IDs separated with commas.

      • Affected Styles
        You can enable this product on certain styles only & keep it disabled for others, just select the styles you wish this product to take affect on. For multiple selecting press 'CTRL' & keep holding it while selecting.

      • Smilie Menu Total Smilies
        How many smilies would you like to display in the WYSIWYG popup smilie menu before the 'show all smilies' link is displayed.
        Set this value to 0 if you would like to hide the popup smilie menu completely.

      • Smiliebox Total Smilies
        How many smilies would you like to be displayed in the smiliebox before the user is prompted to click for the more smilies popup window?
        Set this value to 0 if you would like to hide the clickable smiliebox completely.

      • Smiliebox Smilies Per Row
        If the smiliebox is enabled, how many smilies would you like to be displayed per row of the box?
        Note: positive integer values allowed. Minimum value is one "1".


Installation Procedure:
  1. Upload required files to their appropriate places:
    • clientscript
      • phpkd_vbaqr.js
    • includes
      • xml
        • bitfield_phpkd_vbaqr.xml
      • md5_sums_phpkd_vbaqr.php
  2. Do the following small manual edit, open the file "clientscript/vbulletin_quick_reply.js" (follow instructions relative to your vB version):
    Both 3.8.x & 4.0.x:
    Search for:
    Code:
    firstChild.nodeValue;qr_disable_controls();qr_hide_errors();
    Replace with:
    Code:
    firstChild.nodeValue;qr_disable_controls();qr_hide_errors();phpkd_vbaqr();
    Save the modified file "clientscript/vbulletin_quick_reply.js" and upload it to it's place again (ALLOW OVERWRITE).
  3. Import the product's XML file "product-phpkd_vbaqr.xml" from AdminCP.
  4. Configure product's settings -if required-.
  5. You're Done .


Upgrade Procedure:
  1. Same as "Installation Procedure", but "Allow Overwrite" for both file uploads & product import.


Controls:
  • Settings:
    vBulletin AdminCP ? Settings ? Options ? PHPKD - Advanced Quick Reply 'Ultimate'


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/
--------------- --------------- --------------- ---------------
  • You are free:
    • To Share ? to copy, distribute and transmit the work
    • To Remix ? to adapt the work

  • Under the following conditions:
    • [Attribution]: You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
    • [Noncommercial]: You may not use this work for commercial purposes.
    • [Share Alike]: If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

  • For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
  • Any of the above conditions can be waived if you get explicit permission from the copyright holder.
  • Nothing in this license impairs or restricts the author's moral rights.
--------------- --------------- --------------- ---------------
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:
  • Translations to benefit more users.
  • Suggestions & feature requests to develop this product.
  • Contributing any updates, upgrades and/or any new features.
  • Spreading this product. Yes, you're free to re-distribute this product as it is (See 'Free License' details).


Known Issues:
  • Nothing till now!


Future TO-DO-LIST:

History:
  • v1.0.0 24/05/2008 04:07 AM UTC: First initial release (public)
  • v1.1.0 15/06/2008 04:07 AM UTC: First updated release (private)
  • v1.5.0 21/06/2008 03:00 AM UTC: Too many updates (public)
    1. Core Changes: Changing product id from "phpkd_full_quickreply" to "phpkd_aqr".
    2. Core Changes: Changing product name from "Full Quick Reply" to "Advanced Quick Reply".
    3. Preferences: Changing setting group location from 'under BBCode settings' to order '1005'.
    4. Settings: "Smiliebox Smilies Per Row" default value (3 -> 15).
    5. Settings: "Smiliebox Below Editor" default value (No -> Yes).
    6. Settings: "Message box width" default value (Default -> 100%).
    7. Phrases: "Advanced Quick Reply BB Code Settings" -> "Advanced Quick Reply Settings".
    8. Optimizations: Optimizing smilies query (encapsulating inside if statment, if smilies are disabled then it won't be excuted).
    9. Optimizations: Beautifying product's code & auto generate helpful debuging info.
    10. Optimizations: Optimizing product's code as a whole.
    11. New Features: Adding "Attachments in Quick Reply" with full support for all attachment's features in the full editor.
    12. New Features: Ajaxifying all management actions & doing all stuff on the fly without reloading (changing phrases/images/options on fly).
    13. New Features: Adding Ajaxified "disable smilies in text" options.
    14. New Features: Adding Ajaxified "Thread Management" options (open/close | stick/unstick).
    15. New Features: On/Off "Display Cut/Copy/Paste Buttons" option.
    16. New Features: On/Off "Display Undo/Redo Buttons" option.
    17. New Features: On/Off "Display Extra Buttons" option.
    18. New Features: Default "Message box Height" option.
  • v1.5.1 01/07/2008 06:00 PM UTC: Maintenance release (public)
    1. Optimizations: Optimizing AJAX Code (And Fixing some bugs with disabled features).
    2. Optimizations: Disabling some features by default (manual activation required from AdminCP settings whenever it's needed) [ Allow attachments / Display Thread Management Options / Display "Disable Smilies" option ].
    3. New Features: Two new options [ Hide Attachments' Extensions (On/Off) / Hide Default Quick Reply Options (On/Off) ].
  • v2.0.0 26/07/2008 12:03 PM UTC: Next Generation -Too many updates- (public)
    1. Core Changes: Re-writing ~ the whole product's code.
    2. Core Changes: Optimizing/Fixing minnor bugs in the product's code.
    3. Core Changes: Minimizing JavaScript file edits to just one tiny edit & separating all required JavaScript Code in a new compressed file.
    4. Preferences: Changing setting group varname from 'phpkd_aqr_bbcode' to 'phpkd_aqr'.
    5. Settings: Re-writing all boolean settings with a new technique depending on bitfields.
    6. New Features: Adding md5 sum check.
    7. New Features: Optimizing & Beautifying product's code.
    8. New Features: Developing the helpfull debugging info.
    9. New Features: Adding usergroup permissions (per usergroup on/off permission).
    10. New Features: Adding forums permissions (per forum on/off switch).
    11. New Features: Adding "Exclude Users" permissions (can exclude users from using product).
    12. New Features: Adding "Collapse Advanced Quick Reply by default" feature.
  • v4.0.100 03/03/2010 03:03 AM UTC: First 3.8.x/4.0.x release .. Third Generation -Too many updates- (public)
    1. Core Changes: Shifting up the product to a completely new level.
    2. Core Changes: Re-writting product's code from scratch to be highly customizable/flexible/reusable and fully compatible with both 3.8.x & 4.0.x vB series.
    3. Core Changes: Product's ID has been changed to "phpkd_vbaqr" & name to "PHPKD - Advanced Quick Reply 'Ultimate'".
    4. Core Changes: Redesigning & standardizing all settings for better using experience.
    5. New Features: Added support for albums & picture comments.
    6. New Features: Added support for social group discussions.
    7. New Features: Added support for social groups picture comments.
    8. New Features: Added support for visitor message comments.
    9. New Features: Added support for private messages replies.
    10. New Features: Ability to include/exclude users from using this product.
    11. New Features: Ability to include/exclude usergroups from using this product.
    12. New Features: Ability to include/exclude forums from using this product.
    13. New Features: Ability to include/exclude styles from using this product.
  • v4.0.110 23/03/2010 03:03 AM UTC: Featured & Maintenance Release (public)
    1. New Feature: Added support for vBulletin Blogs.
    2. New Feature: Auto quote PM message with ability to enable/disable it.
    3. Bug Fix: Empty 'options' fieldset after disabling all thread options 3.8.x.
    4. Bug Fix: Uncached templates when disabling smilie box.
    5. Bug Fix: Private message quick reply doesn't quote original PM.
    6. Miscellaneous optimizations & improvements.


Screen Shots:
  • Available down there.


Technical Notes:
  • New Plugins: 14
  • New Phrases: 74
  • New Templates: 8
  • Manual Template changes: 0
  • Auto Template changes: *
  • New Files: 3
  • Manual File Changes: 1
  • New vBulletin Settings: 16
  • New Usergroup Permissions: 0
  • New Moderator Permissions: 0
  • New Administrator Permissions: 0
  • New Forum Options: 0
  • New DB Tables: 0
  • DB Alterations: 0
  • New Cronjobs: 0
    --------------------------------
  • Installation Level: V.Easy
  • Installation Time: ~15 seconds


Recent Products:

Download Now

File Type: zip PHPKD_VBAQR_Ultimate_4.0.110.zip (345.2 KB, 2679 views)

Screenshots

File Type: jpg phpkd_vbaqr_admincp_settings.jpg (152.2 KB, 0 views)
File Type: png phpkd_vbaqr_quickreply_4.0.x.png (34.2 KB, 0 views)
File Type: png phpkd_vbaqr_quickreply_3.8.x.png (57.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #262  
Old 05-04-2010, 06:57 PM
Gosef Gosef is offline
 
Join Date: Mar 2008
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #263  
Old 05-05-2010, 10:18 PM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've noticed a bug on 3.8.5. After quick replying with attachments and pressing Post Quick Reply, the attachments are still shown under the Manage Attachments button. Although the post has been already finished...
Reply With Quote
  #264  
Old 05-07-2010, 08:15 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sunka View Post
But now another problem.
I have vB 4.0.3
Smiliebox Smilies Per Row option not working. If I choose total 30 smilies, and 10 per row, it shows ala 30 smilies, no matter how many I choose in Smiliebox Smilies Per Row option

Another question: How to make all smilies normal sizes? Some are smaller
Having the same issue :-/ no matter what the change to # of smilies or rows or anything, it still shows 15, and the box is all kinds of off... the more shows up near the Go Advanced button.

Please see my site, link is in my sig.

Otherwise wonderful mod
Reply With Quote
  #265  
Old 05-21-2010, 07:52 AM
Oracle simsim Oracle simsim is offline
 
Join Date: Dec 2009
Location: Iraq
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is great product, Thank you
Reply With Quote
  #266  
Old 06-11-2010, 06:41 AM
TheTrust's Avatar
TheTrust TheTrust is offline
 
Join Date: Jul 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Voted.

Thank you
Reply With Quote
  #267  
Old 06-11-2010, 08:32 AM
Orakk's Avatar
Orakk Orakk is offline
 
Join Date: Nov 2007
Location: SouthOZ
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TeknoSounds View Post
Having the same issue :-/ no matter what the change to # of smilies or rows or anything, it still shows 15, and the box is all kinds of off... the more shows up near the Go Advanced button.

Please see my site, link is in my sig.

Otherwise wonderful mod
Same here. Have always been restricted to single row no matter what the setting is in admin CP but didn't notice the out of skew look till installing a fixed width style.
Reply With Quote
  #268  
Old 06-22-2010, 11:34 AM
PeterXP PeterXP is offline
 
Join Date: Sep 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm..... is there a fix to get it running under 4.0.4 ? It seems to be out of order :-(
Reply With Quote
  #269  
Old 06-29-2010, 03:07 AM
mattpist mattpist is offline
 
Join Date: Jul 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work for putting custom bbcode icons in the quick reply as well?
Reply With Quote
  #270  
Old 07-04-2010, 08:27 AM
behnam behnam is offline
 
Join Date: Dec 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im not able to find this line in my vbulletin_quick_reply.js :

Code:
firstChild.nodeValue;qr_disable_controls();qr_hide_errors();
all my js file contents are:

Code:
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.4 Patch Level 1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
var qr_repost=false;var qr_errors_shown=false;var qr_active=false;var qr_ajax=null;var qr_postid=null;var qr_withquote=null;var qr_imgsrc="";var clickedelm=false;var qr_require_click=false;if(typeof (vB_XHTML_Ready)!="undefined"){vB_XHTML_Ready.subscribe(qr_init)}function qr_init(){if(typeof (vBulletin.attachinfo)=="undefined"){vBulletin.attachinfo={posthash:"",poststarttime:""}}if(fetch_object("quick_reply")){qr_disable_controls();qr_init_buttons(fetch_object("posts"))}}function qr_init_buttons(D){var C=fetch_tags(D,"a");for(var B=0;B<C.length;B++){if(C[B].id&&(C[B].id.substr(0,3)=="qr_"||C[B].id.substr(0,5)=="qrwq_")){YAHOO.util.Event.on(C[B],"click",qr_newreply_activate,this)}}var A=["newreplylink_top","newreplylink_bottom"];YAHOO.util.Event.on(A,"click",qr_replytothread_activate,this);YAHOO.util.Event.on(A,"dblclick",function(E){window.location=this.href},this)}function qr_disable_controls(){if(require_click){fetch_object("qr_postid").value=0;vB_Editor[QR_EditorID].disable_editor(vbphrase.click_quick_reply_icon);var A=fetch_object("cb_signature");if(A!=null){A.disabled=true}active=false;qr_active=false}else{vB_Editor[QR_EditorID].write_editor_contents("");qr_active=true}}function qr_activate(D,B){var C=fetch_object("collapseobj_quickreply");if(C&&C.style.display=="none"){toggle_collapse("quickreply")}fetch_object("qr_postid").value=D;if(fetch_object("qr_specifiedpost")){fetch_object("qr_specifiedpost").value=1}var A=fetch_object("cb_signature");if(A){A.disabled=false;A.checked=true}B=(B?B:"");vB_Editor[QR_EditorID].enable_editor(B);if(!is_ie&&vB_Editor[QR_EditorID].wysiwyg_mode){fetch_object("qr_scroll").scrollIntoView(false)}vB_Editor[QR_EditorID].check_focus();qr_active=true;return false}function qr_replytothread_activate(C){var A=this.href;if(qr_postid==last_post_id&&qr_withquote==true){window.location=A;return true}YAHOO.util.Event.preventDefault(C);qr_postid=last_post_id;qr_withquote=true;YAHOO.util.Dom.setStyle("progress_newreplylink_top","display","");YAHOO.util.Dom.setStyle("progress_newreplylink_bottom","display","");document.body.style.cursor="wait";var B=YAHOO.util.Dom.get("qr_threadid").value;qr_ajax=YAHOO.util.Connect.asyncRequest("POST","ajax.php",{success:qr_replytothread_handle_activate,failure:function(D){window.location=A},timeout:vB_Default_Timeout},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=getquotes&t="+B)}function qr_replytothread_handle_activate(B){qr_reset();qr_disable_controls();qr_hide_errors();var C="";if(B){var A=B.responseXML.getElementsByTagName("quotes");if(A.length&&A[0].firstChild){var C=A[0].firstChild.nodeValue;if(vB_Editor[QR_EditorID].wysiwyg_mode){C=C.replace(/\r?\n/g,"<br />")}}}if(YAHOO.util.Dom.hasClass("qr_defaultcontainer","qr_require_click")){YAHOO.util.Dom.removeClass("qr_defaultcontainer","qr_require_click");qr_require_click=true}qr_activate(last_post_id,C);fetch_object("progress_newreplylink_top").style.display="none";fetch_object("progress_newreplylink_bottom").style.display="none";document.body.style.cursor="auto"}function qr_newreply_activate(C){var B=false;if(this.id.substr(0,3)=="qr_"){var D=this.id.substr(3)}else{if(this.id.substr(0,5)=="qrwq_"){var D=this.id.substr(5);B=true}else{return true}}if(qr_postid==D&&qr_withquote==B){return true}YAHOO.util.Event.stopEvent(C);qr_postid=D;qr_withquote=B;if(YAHOO.util.Dom.get("progress_"+D)){var A=(B?"quoteimg_":"replyimg_")+D;qr_imgsrc=YAHOO.util.Dom.get(A).getAttribute("src");YAHOO.util.Dom.get(A).setAttribute("src",YAHOO.util.Dom.get("progress_"+D).getAttribute("src"))}document.body.style.cursor="wait";if(B){qr_ajax=YAHOO.util.Connect.asyncRequest("POST","ajax.php?do=getquotes&p="+D,{success:qr_handle_activate,failure:vBulletin_AJAX_Error_Handler,timeout:vB_Default_Timeout},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=getquotes&p="+D)}else{qr_handle_activate(false)}}function qr_handle_activate(H){var B=qr_postid;qr_reset();qr_disable_controls();qr_hide_errors();qr_postid=B;var F="";if(H){var E=H.responseXML.getElementsByTagName("quotes");if(E){var F=E[0].firstChild.nodeValue;if(vB_Editor[QR_EditorID].wysiwyg_mode){F=F.replace(/\r?\n/g,"<br />")}}}var G=fetch_object("qr_cancelbutton");G.style.display="";var J=document.createElement("li");J.id="qr_"+B;var I=YAHOO.util.Dom.get("post_"+B);var D=I.parentNode.insertBefore(J,I.nextSibling);var C=fetch_object("quick_reply");D.appendChild(C);qr_activate(B,F);if(YAHOO.util.Dom.get("progress_"+B)){var A=(qr_withquote?"quoteimg_":"replyimg_")+B;YAHOO.util.Dom.get(A).setAttribute("src",qr_imgsrc)}document.body.style.cursor="auto"}function qr_reset(){qr_postid=null;fetch_object("qr_postid").value=last_post_id;var C=fetch_object("quick_reply");var B=fetch_object("qr_defaultcontainer");if(C.parentNode!=B){var D=C.parentNode;B.appendChild(C);D.parentNode.removeChild(D)}var A=fetch_object("qr_cancelbutton");A.style.display="none";if(!require_click){vB_Editor[QR_EditorID].enable_editor("")}if(qr_require_click&&!YAHOO.util.Dom.hasClass("qr_defaultcontainer","qr_require_click")){YAHOO.util.Dom.addClass("qr_defaultcontainer","qr_require_click")}return false}function qr_prepare_submit(D,A){if(qr_repost==true){return true}if(!allow_ajax_qr||!AJAX_Compatible){return qr_check_data(D,A)}else{if(qr_check_data(D,A)){if(typeof vb_disable_ajax!="undefined"&&vb_disable_ajax>0){return true}if(is_ie&&userAgent.indexOf("msie 5.")!=-1){if(PHP.urlencode(D.message.value).indexOf("%u")!=-1){return true}}if(YAHOO.util.Connect.isCallInProgress(qr_ajax)){return false}D.posthash.value=vBulletin.attachinfo.posthash;D.poststarttime.value=vBulletin.attachinfo.poststarttime;if(clickedelm==D.preview.value){return true}else{var E="ajax=1";if(typeof ajax_last_post!="undefined"){E+="&ajax_lastpost="+PHP.urlencode(ajax_last_post)}for(var C=0;C<D.elements.length;C++){var F=D.elements[C];if(F.name&&!F.disabled){switch(F.type){case"text":case"textarea":case"hidden":E+="&"+F.name+"="+PHP.urlencode(F.value);break;case"checkbox":case"radio":E+=F.checked?"&"+F.name+"="+PHP.urlencode(F.value):"";break;case"select-one":E+="&"+F.name+"="+PHP.urlencode(F.options[F.selectedIndex].value);break;case"select-multiple":for(var B=0;B<F.options.length;B++){E+=(F.options[B].selected?"&"+F.name+"="+PHP.urlencode(F.options[B].value):"")}break}}}fetch_object("qr_posting_msg").style.display="";document.body.style.cursor="wait";qr_ajax_post(D.action,E);return false}}else{return false}}}function qr_resubmit(){qr_repost=true;var B=document.createElement("input");B.type="hidden";B.name="ajaxqrfailed";B.value="1";var A=YAHOO.util.Dom.get("quick_reply");if(!A){A=YAHOO.util.Dom.get("qrform")}A.appendChild(B);A.submit()}function qr_check_data(B,A){switch(fetch_object("qr_postid").value){case"0":fetch_object("qr_postid").value=last_post_id;case"who cares":if(typeof B.quickreply!="undefined"){B.quickreply.checked=false}break}if(clickedelm==B.preview.value){A=0}return vB_Editor[QR_EditorID].prepare_submit(0,A)}function qr_ajax_post(B,A){if(YAHOO.util.Connect.isCallInProgress(qr_ajax)){YAHOO.util.Connect.abort(qr_ajax)}qr_repost=false;qr_ajax=YAHOO.util.Connect.asyncRequest("POST",B,{success:qr_do_ajax_post,failure:qr_handle_error,timeout:vB_Default_Timeout},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&"+A)}function qr_handle_error(A){vBulletin_AJAX_Error_Handler(A);fetch_object("qr_posting_msg").style.display="none";document.body.style.cursor="default";qr_resubmit()}function qr_do_ajax_post(F){if(F.responseXML){document.body.style.cursor="auto";fetch_object("qr_posting_msg").style.display="none";var D;if(fetch_tag_count(F.responseXML,"postbit")){qr_reset();ajax_last_post=F.responseXML.getElementsByTagName("time")[0].firstChild.nodeValue;qr_disable_controls();qr_hide_errors();var C=F.responseXML.getElementsByTagName("postbit");for(D=0;D<C.length;D++){var I=document.createElement("div");I.innerHTML=C[D].firstChild.nodeValue;var A=I.getElementsByTagName("li")[0];var H=YAHOO.util.Dom.get("posts");if(A){var B=H.appendChild(A);PostBit_Init(B,C[D].getAttribute("postid"));A.scrollIntoView(false)}}if(typeof mq_unhighlight_all=="function"){mq_unhighlight_all()}if(fetch_object("qr_submit")){fetch_object("qr_submit").blur()}}else{if(!is_saf){var G=F.responseXML.getElementsByTagName("error");if(G.length){var E="<ol>";for(D=0;D<G.length;D++){E+="<li>"+G[D].firstChild.nodeValue+"</li>"}E+="</ol>";qr_show_errors(E);return false}}qr_resubmit()}}else{qr_resubmit()}}function qr_show_errors(A){qr_errors_shown=true;fetch_object("qr_error_td").innerHTML=A;YAHOO.util.Dom.removeClass("qr_error_tbody","hidden");vB_Editor[QR_EditorID].check_focus();return false}function qr_hide_errors(){if(qr_errors_shown){qr_errors_shown=true;YAHOO.util.Dom.addClass("qr_error_tbody","hidden");return false}}var vB_QuickReply=true;
Reply With Quote
  #271  
Old 07-05-2010, 11:38 AM
PretorianoAlfa's Avatar
PretorianoAlfa PretorianoAlfa is offline
 
Join Date: Apr 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do not work with version 4.0.4? or am I'm doing something wrong
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07146 seconds
  • Memory Usage 2,406KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete