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 answer form (https://vborg.vbsupport.ru/showthread.php?t=29829)

10-07-2001 09:00 PM

This hack add answer form on bottom page with thread :cool:

kamrad.ru 10-08-2001 08:27 AM

This is a vB on screenshot :)

RobAC 10-08-2001 11:26 AM

Can you be more specific and explain a little more what this hack does? What's the purpose of an "answer form"??

floleb7 10-08-2001 12:09 PM

you have the the textarea et the attach file option directly in post you can create directly without using post reply

kamrad.ru 10-08-2001 02:25 PM

Can you be more specific and explain a little more what this hack does? What's the purpose of an "answer form"??
This form add`s in thread page and you can answer on the this thread don`t opening page with answer form

you have the the textarea et the attach file option directly in post you can create directly without using post reply
No, sorry. It`s QUICK answer form :)

Lesane 12-02-2001 02:05 PM

Pretty cool, Thanks :)

fineclicks 12-16-2001 11:48 PM

Great hack!
Also, if you want to be able to support smilies with the quick reply form you can by:

1. Add this to the head tags of your showthread template:

<SCRIPT LANGUAGE="JavaScript"><!--
function win(fileName) {
myFloater = window.open('','myWindow','scrollbars=yes,status=n o,width=300,height=250')
myFloater.location.href = fileName;
}
//--></SCRIPT>



2. Then simply add this wherever you would like the link to show up at on the form:

<A HREF="javascript:win('http://www.YOUR-LINK-TO/misc.php?action=getsmilies')">Smilie Codes</A>

Be sure to change YOUR-LINK-TO to the correct path to your misc.php file.

This will bring up a small popup with all of your smilies that the users can simply click ont to add to their reply just like they can do in the regular reply form.

nuno 12-16-2001 11:52 PM

indeed nice hack
:stupid: this thread is almost 2 months old :stupid:

fineclicks 12-16-2001 11:53 PM

Oh, I'm sorry...
Was there a time limit you have to reply to old posts here?
:D

TheComputerGuy 12-17-2001 09:01 AM

this is sweet!!

I am glad someone pointed it out even if it was 2 months old!!!!:)

Lesane 12-22-2001 10:18 AM

Quote:

Originally posted by fineclicks
Great hack!
Also, if you want to be able to support smilies with the quick reply form you can by:

1. Add this to the head tags of your showthread template:

<SCRIPT LANGUAGE="JavaScript"><!--
function win(fileName) {
myFloater = window.open('','myWindow','scrollbars=yes,status=n o,width=300,height=250')
myFloater.location.href = fileName;
}
//--></SCRIPT>



2. Then simply add this wherever you would like the link to show up at on the form:

<A HREF="javascript:win('http://www.YOUR-LINK-TO/misc.php?action=getsmilies')">Smilie Codes</A>

Be sure to change YOUR-LINK-TO to the correct path to your misc.php file.

This will bring up a small popup with all of your smilies that the users can simply click ont to add to their reply just like they can do in the regular reply form.

Thanks for the addon!

fineclicks 12-22-2001 04:30 PM

No problem :)
You can pretty much add anything else by simply copy and pasting from the newreply template. I also added the 3 checkboxes below the reply form to support signatures, email notifications and url parsing.

tony 03-04-2002 12:30 AM

Nice I like it.
and there is a but
I have a win xp so i get an error when I submit a reply
line 356
error object expected

CHNoodles 04-10-2002 03:34 PM

As the man from Mars used to say, "I am only an egg". I tried looking at the proposed change to the showthread template, and when I unzipped the attachment mentioned in the OP, I saw two lines that had "extended ASCII" characters:
Code:

<td width="18%" bgcolor="#DFDFDF" valign="top"><normalfont><b>??? ?????:</b></normalfont>
and
Code:

<input type="submit" class="bginput" value="?????????"
 accesskey="s" tabindex="3"></normalfont> </td>

Those are because the OP was displaying text in a Russian Font I guess? They should be something like "Your reply" and "Submit reply"?

wooolF[RM] 04-10-2002 05:39 PM

1st mean Your reply
2nd mean Send or Submit

CHNoodles 04-12-2002 12:10 AM

Thank you very much.

bandersen 04-15-2002 12:33 PM

Thank you for a nice hack!

I am using Windows Me... and also get an error when I submit a reply... something like "line 325..error, object expected".

Did anyone else get this message and managed to fix it?

I have been around this error message before on another page, and not for vb stuff (it was a geocities page) I then got rid of the error as I had chosen an image, but not included it (there was an empty box showing when looking at the html coding).

I dare not change anything here tho... as I am not a pro!

CHNoodles 04-17-2002 06:36 PM

Yes, the HTML expert at our site managed to fix it. It seems like there is a call to a javascript function called "validate" and she added the validate function to the template. She found the source code of the validate function by looking at the page source for a post reply page, IIRC. If you need more information I can look it up for you.

bandersen 04-17-2002 07:16 PM

Thanks, that would have been nice :)
I was almost thinking about un-installing this one until someone else took over!

Appreciate it.

CHNoodles 04-19-2002 12:48 PM

Sorry, I don't check this forum every day. Here's the change made in a template, to avoid the javascript error caused by applying the template change suggested in the original post:

=============
In Templates -> Show Thread Templates -> showthread

Added

<script language="javascript">
<!--
var postmaxchars = 20000;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > 20000) {
alert("Your message is too long.\n\nReduce your message to 20000 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 20000 characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>

After the other </script> tag in the head
=============

Replace 20000 by the maximum post size at your board.

Moegames 04-20-2002 02:14 AM

Thanks........i will give it a try

bandersen 04-21-2002 05:57 PM

Thank You !!!!! worked like a charm..

Boofo 05-08-2002 09:13 AM

Is there any way we could get the code for the smilies and add-ons you put in it? :-)


Quote:

Originally posted by fineclicks
No problem :)
You can pretty much add anything else by simply copy and pasting from the newreply template. I also added the 3 checkboxes below the reply form to support signatures, email notifications and url parsing.


cain 05-29-2002 07:54 AM

thats good :)

DanIAm 08-04-2002 05:14 AM

When I install this hack, it puts the quick reply box on the top of the threads... how can I get it to show on the bottom after the threads?

thanks in advance

DanIAm 08-13-2002 11:29 PM

bump

vkrazzy 09-12-2002 11:57 PM

wow

king sting 10-02-2002 11:26 AM

for some reason i cant allign the table with the rest of the threads, here is an example

http://illstylez.com/board/showthrea...&threadid=2243

anybody want to help me out?

king sting 10-02-2002 08:40 PM

up

digitalJE5U5 10-04-2002 04:32 AM

Quote:

Originally posted by DanIAm
When I install this hack, it puts the quick reply box on the top of the threads... how can I get it to show on the bottom after the threads?

thanks in advance

I did this too, its a simple mistake.

In showthread template there are 4 instances of
PHP Code:

<!-- first unread and next/prev --> 

put where you want the box right after that 4th instance. For example,

PHP Code:

<!-- first unread and next/prev -->
$replybox 

Hope that helps.

/DJ

digitalJE5U5 10-04-2002 04:36 AM

Quote:

Originally posted by fineclicks
No problem :)
You can pretty much add anything else by simply copy and pasting from the newreply template. I also added the 3 checkboxes below the reply form to support signatures, email notifications and url parsing.

Can you tell me how to do this also? Im a mook when it comes to figuring this stuff out on my own.

Thanks alot,
/DJ

MacKenzie 10-30-2002 05:53 PM

This hack looks good. Nice work :)

xXoOmegaoXx 11-03-2002 08:58 AM

One problem.

When I close a thread, people can still reply with the quick answer form.

xXoOmegaoXx 11-03-2002 09:14 AM

And of course I never noticed that since I'm admin I can reply. I got a normal user to try and reply, and it said "sorry closed thread" so disregard that last one.

sparky1969 11-11-2002 10:42 PM

Hi there (from a newbie)

I get this error

No thread specified. If you followed a valid link, please notify the webmaster.

Can you help?

Xenon 11-12-2002 04:22 PM

the hacker wasn't around since nearly one year, also fireflys hack does the same, you should install this one:

https://vborg.vbsupport.ru/showthrea...threadid=34597

i'll close this thread here


All times are GMT. The time now is 02:12 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.03867 seconds
  • Memory Usage 1,804KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete