View Single Post
  #18  
Old 08-27-2002, 10:46 AM
wolfe
Guest
 
Posts: n/a
Default

here is another one guys made by me

Quote:
PHP Code:
Replace Everything In Your showthread_quickreply template with the following code.


// -------------QuickReply Revamp By Wolfe--------------------------------

<script language="javascript">
<!--
var 
postmaxchars $postmaxchars;
function 
validate(theform) {
    if (
theform.message.value=="") {
        
alert("Please complete the message field.");
        return 
false; }
    if (
postmaxchars != 0) {
        if (
theform.message.value.length $postmaxchars) {
            
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
            return 
false; }
        else { return 
true; }
    } else { return 
true; }
}
function 
checklength(theform) {
    if (
postmaxchars != 0) { message "\nThe maximum permitted length is $postmaxchars characters."; }
    else { 
message ""; }
    
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>
<
form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post">
<
input type="hidden" name="s" value="$session[sessionhash]">
<
input type="hidden" name="action" value="postreply">
<
input type="hidden" name="threadid" value="$threadid">
<
table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"  width="100%" align="center"><tr><td><table cellpadding="4" cellspacing="1" border="0"  width="100%"><tr><td width="175" bgcolor="{firstaltcolor}" valign="top" nowrap><b>QUICK REPLY:</b><br><normalfont>Please note that this is only a fast text reply.<br><br>For replies including imagesfontscolourssmileys etc plz use the "post reply" button below.<br><br><input type="submit" class="bginput" value="Submit quick reply" accesskey="s" tabindex="3"></normalfont></td><td width="45%" bgcolor="{firstaltcolor}">&nbsp;<textarea name="message" rows="10" cols="$textareacolswrap="virtual" tabindex="1"></textarea><br><smallfont><a href="java script:checklength(document.vbform);">[check message length]</a></smallfont></td><td width="*" bgcolor="{firstaltcolor}" valign="top"><smallfont><b>OPTIONS:</b></font><br><smallfont><input type="checkbox" name="parseurl" value="yes"> <b>Automatically parse URLs: </b>Automatically adds <a href="http:// and " target="_blank"> and </aaround internet addresses.<br><input type="checkbox" name="email" value="yes" CHECKED> <b>Email Notification: </b>Emails sent to you whenever someone repliesOnly registered users are eligible.<br><input type="checkbox" name="disablesmilies" value="yes" > <b>Disable Smilies in This Post:</b>
<
br><input type="checkbox" name="signature" value="yes" CHECKED> <b>Show Signature: </b>Include your profile signatureOnly registered users may have signatures.<br><br><br><b><i>Quick Reply Design By Wolfe</i></b></select></smallfont></td></tr></table></font></td></tr></tr></table></td></tr></form>

// -------------QuickReply Revamp By Wolfe-------------------------------- 
http://www.vbulletintemplates.com/mo...s=&postid=5145
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01264 seconds
  • Memory Usage 1,830KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete