vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Reply Box (with Close/Open thread switch) (https://vborg.vbsupport.ru/showthread.php?t=40380)

KuraFire 01-20-2003 07:11 PM

Oblivion: that's only the signature box thingy, which, yes, does not require file hacks.

KuraFire 01-23-2003 09:16 AM

I finished & released my hack, see my signature for the link :):up:

Mike Gaidin 02-02-2003 06:39 PM

How can I make it so that if I hit the TAB on my keyboard it will tab to the GO button instead of the forum banner?

KuraFire 02-03-2003 07:48 AM

Put

tabindex="#"

in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.

Doubledoom 02-24-2003 10:59 AM

I had some people at the board complaing they were getting errors with this quick reply box when i wasnt.

Turned out that if you have scipt debugging enabled, it reports that the script is bad. If you dont have debugging enabled, it appears to work fine.

Unfortunatly, i dont know how much about scripts so cant post any help

Doubledoom 02-24-2003 05:19 PM

OK, here is the script fix:

In showthread_replybox, a whole chunk of code is missing.

You need to add this at the top:

Code:

<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>

This will stop those with script debug turned on from getting errors on pressing the go button

L-Mane 03-02-2003 05:58 PM

I use 2.30 and well it works fine except

Quick Reply:

Close This Thread

won't show up unless you highlight it.

Also when I goto edit post the delete post is already checked and if I do try to delete it says that I chose not to delete.

AllMadden.net 03-14-2003 11:09 PM

I installed it and it works great...BUT the background of the box is GREEN! How do I change the color? It doesn't mesh all that well with my grey background board

AllMadden.net 03-14-2003 11:21 PM

Never mind...figured out that it was the spaces making it do that...

great hack...

However...I don't have a close thread check box...any idea why? I thought this hack was supposed to put that in there

AllMadden.net 03-15-2003 12:43 PM

Quote:

02-03-03 at 04:48 AM KuraFire said this in Post #94
Put

tabindex="#"

in the <input type="submit" ..> code in the template. And replace # with the number one higher than the tabindex of your Textarea field.

Which template is that info in? I can't seem to find it...

edit...Never mind...found it...


All times are GMT. The time now is 11:10 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
  • Page Generation 0.02145 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete