The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions Details »» | |||||||||||||||||||||||||||
Canned Replies - User Saved Text for Replies, Threads, PMs & Infractions
Developer Last Online: Nov 2023
Description: This mod allows each user to store standard replies which they can quickly access upon creating a reply, thread, pm or infraction. [Demo here - registered members have permissions to use canned replies] Features:
Donations: If you want to donate please click 'Support Developer' Show Your Support
|
Благодарность от: | ||
caoducanh9x |
Comments |
#212
|
||||
|
||||
That is weird. I have never noticed that before.
|
#213
|
|||
|
|||
Quote:
template cr_js: Code:
<script language="javascript" type="text/javascript"> function storeCaret (textEl) { if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate(); } function insertAtCaret (text) { text = text.replace(/\\"/ig, "\""); var textb = text; text = text.replace(/ \<br\>/ig, ""); var o = document.getElementById("{$editorid}_iframe"); if (o) { document.getElementById("{$editorid}_iframe").contentWindow.document.body.innerHTML += textb; } if (document.vbform.message.createTextRange && document.vbform.message.caretPos) { var caretPos = document.vbform.message.caretPos; caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text; } else document.vbform.message.value += text; document.vbform.message.focus(); setCursorPosition(document.vbform.message,document.vbform.message.value.lastIndexOf(text)+3,1); } function setCursorPosition(oInput,oStart,oEnd) { if( oInput.setSelectionRange ) { oInput.setSelectionRange(oStart,oEnd); } else if( oInput.createTextRange ) { var range = oInput.createTextRange(); range.collapse(true); range.moveEnd('character',oEnd); range.moveStart('character',oStart); range.select(); } } function showOutput(){ if (o) { document.getElementById("{$editorid}_iframe").contentWindow.document.body.innerHTML += textb; } document.getElementById('msgOutput').innerHTML += document.vbform.message.value; } </script> |
#214
|
||||
|
||||
Just added that to a test style and tried it out in IE 7 - Worked like a charm!
Thanks very much for looking in to it and solving the issue, answering posts just became a whole lot easier |
#215
|
||||
|
||||
Quote:
Again, thanks for taking the time to create this fix! |
#216
|
|||
|
|||
Same here, thanks for the fix Banana.
|
#217
|
|||
|
|||
Anyone know if this works for 3.8.x? Im getting this error when trying to set permissions.
Code:
Database error in vBulletin 3.8.2: Invalid SQL: UPDATE vb_usergroup SET ### UPDATE QUERY GENERATED BY fetch_query_sql() ### `title` = '<!-- Order=\"1\" -->Administrators', `description` = '', `usertitle` = 'Administrator', `opentag` = '<B><font color=\"red\">', `closetag` = '</font></B>', `passwordexpires` = '180', `passwordhistory` = '360', `cannedreplies` = '1', `maxcr` = '8', `ecdownloadpermissions` = '32767', `ecexcludecatlist` = '', `ecdownloadsmaxuploadtotal` = '-1', `ecdownloadsmaxdailydl` = '-1', `ecdownloadsmaxdailyfiles` = '-1', `ecdownloaddelaygrp` = '-1', `moderatepm_permissions` = '4', `pmquota` = '5000', `pmpermissions` = '7', `pmsendmax` = '5', `pmthrottlequantity` = '0', `forumpermissions` = '16777215', `genericpermissions` = '2147483583', `attachlimit` = '0', `calendarpermissions` = '63', `wolpermissions` = '31', `adminpermissions` = '3', `genericpermissions2` = '1', `genericoptions` = '63', `profilepicmaxwidth` = '350', `profilepicmaxheight` = '400', `profilepicmaxsize` = '999999999', `avatarmaxwidth` = '100', `avatarmaxheight` = '100', `avatarmaxsize` = '999999999', `signaturepermissions` = '245759', `sigpicmaxwidth` = '650', `sigpicmaxheight` = '200', `sigpicmaxsize` = '999999999', `sigmaxrawchars` = '0', `sigmaxchars` = '0', `sigmaxlines` = '0', `sigmaxsizebbcode` = '7', `sigmaximages` = '0', `albumpermissions` = '255', `albumpicmaxwidth` = '600', `albumpicmaxheight` = '600', `albumpicmaxsize` = '100000', `albummaxpics` = '100', `albummaxsize` = '0', `usercsspermissions` = '63', `visitormessagepermissions` = '63', `socialgrouppermissions` = '65535', `maximumsocialgroups` = '5', `groupiconmaxsize` = '999999999', `mgc_cb_evo_permissions` = '0', `mgc_cb_evo_nbmsg_show` = '', `mgc_cb_evo_nbmsg_perday_show` = '', `arcadepermissions` = '255', `minpoststoplay` = '0', `minreptoplay` = '-1000', `minreglengthtoplay` = '0' WHERE usergroupid=6; MySQL Error : Unknown column 'mgc_cb_evo_permissions' in 'field list' Error Number : 1054 Request Date : Tuesday, May 12th 2009 @ 09:34:48 PM Error Date : Tuesday, May 12th 2009 @ 09:34:48 PM Script : http://movie-forumz.org/admincp/usergroup.php?do=update Referrer : http://movie-forumz.org/admincp/usergroup.php?do=edit&usergroupid=6 IP Address : 82.33.12.57 Username : *** Classname : vB_Database_MySQLi MySQL Version : 5.0.51a-24+lenny1 |
#218
|
|||
|
|||
Quote:
|
#219
|
|||
|
|||
Ah, i did not see that down there. I've been having allot of issues with that MGC chatbox. Thanks for the help.
|
#220
|
|||
|
|||
Another question. I seem to be having issues with "Shared Canned Replies" When a canned reply is selected that has been added by another user or "Shared" nothing comes up in the text box and the drop down menu becomes blank.
Any help appreciated. -Raf |
#221
|
||||
|
||||
Shared replies are shared by using {shared}, whichever user shares them everyone who has access to use canned replies can use them, any personal canned replies not shared remain hidden from everyone else.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|