Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Canned Text Details »»
Canned Text
Version: 1.00, by filburt1 filburt1 is offline
Developer Last Online: May 2007 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-19-2003 Last Update: Never Installs: 24
 
No support by the author.

This hack allows members to reply to messages with "canned text" (prewritten messages). This is useful for moderators and helpful members who find that they are constantly answering the same question over and over again.

Show Your Support

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

Comments
  #102  
Old 06-11-2003, 10:58 AM
reismarktq2 reismarktq2 is offline
 
Join Date: Feb 2003
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo: That was my guess, but I asked the question because I couldn't find the same block of code in newthread.php as in newreply.php, and I wasn't sure where to put the hack code in the file. Where did you put it in newthread.php?

As for adding more than one canned message - the code as is doesn't prevent you from doing that. If you click on the listing and pick another item, it still will add it. It's just a visual rather than a function distraction right now.
Reply With Quote
  #103  
Old 06-11-2003, 11:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I pick a canned text from the drop down I have to set the drop down at the default (Select canned text before I can do another pick from the listing. I want it to go back to the default after I have picked a canned text from the listing so I can pick another one instead of having to manually going back to the default first. Does that make any sense?

In newthread, I put the same code for newreply after this:

PHP Code:
    if ($bbuserinfo[emailnotification]) {
      
$emailchecked="checked";
    } else {
            
$emailchecked='';
        }
  } 
Reply With Quote
  #104  
Old 06-11-2003, 11:22 AM
reismarktq2 reismarktq2 is offline
 
Join Date: Feb 2003
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:04 AM Boofo said this in Post #102
If I pick a canned text from the drop down I have to set the drop down at the default (Select canned text before I can do another pick from the listing. I want it to go back to the default after I have picked a canned text from the listing so I can pick another one instead of having to manually going back to the default first. Does that make any sense?
Unfortunately, it doesn't to me, because I don't have to go back to the default... I can just select the next item and it'll add it without a problem.

Quote:
In newthread, I put the same code for newreply after this:

PHP Code:
    if ($bbuserinfo[emailnotification]) {
      
$emailchecked="checked";
    } else {
            
$emailchecked='';
        }
  } 
Thanks, this did the trick.
Reply With Quote
  #105  
Old 06-11-2003, 12:04 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe it's because I only have 1 canned text in there now. I'll add a few more and try it.

Glad you got it working in the newthread. I also have it in the editpost but I only have it turned on for Admins and Mods.

If there a way to have it add the canned text wherever the cursor is at? Or do we need to go in the js files for that?
Reply With Quote
  #106  
Old 07-01-2003, 05:13 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo, your addon for the newthread is awesome. However, you also need to follow the newreply template instructions on put them in the newhtread template instead. Works like a charm.

Awesome hack filbert. How do I add this to the PM system. I am constantly getting PMs that require the same reply. Can we add this there?

I would also like to see and option to turn off the PM Canned text like the Thread Canned text canned be turned off.
Reply With Quote
  #107  
Old 07-07-2003, 02:39 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, it seems that only Admins and Moderators can make use of this hack. Can somebody please tell me how to make this available to everybody?
Reply With Quote
  #108  
Old 07-15-2003, 02:15 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on guys!! I need a bit of help here.
Reply With Quote
  #109  
Old 07-15-2003, 03:30 PM
proxyMX's Avatar
proxyMX proxyMX is offline
 
Join Date: Jun 2002
Location: Seven of Nine is hot! :do
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Canned Text is sorta a macro tool then?
Reply With Quote
  #110  
Old 01-16-2004, 12:50 AM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bitg
Well, it seems that only Admins and Moderators can make use of this hack. Can somebody please tell me how to make this available to everybody?
I just installed this and it worked fine for registered members as well
Reply With Quote
  #111  
Old 02-29-2004, 03:52 PM
Crank Crank is offline
 
Join Date: Jan 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have installed but am having trouble trying to integrate to the quick reply box on my site. anyone able to help please?
Reply With Quote
Reply


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 08:54 AM.


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.04765 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete