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

Closed Thread
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-07-2001 Last Update: Never Installs: 59
 
No support by the author.

This hack add answer form on bottom page with thread

Show Your Support

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

Comments
  #12  
Old 12-22-2001, 10:18 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
  #13  
Old 12-22-2001, 04:30 PM
fineclicks's Avatar
fineclicks fineclicks is offline
 
Join Date: Dec 2001
Location: Shelby Twp, MI
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #14  
Old 03-04-2002, 12:30 AM
tony tony is offline
 
Join Date: Feb 2002
Location: ri
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #15  
Old 04-10-2002, 04:34 PM
CHNoodles CHNoodles is offline
 
Join Date: Mar 2002
Location: Costa Mesa, California, U
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"?
  #16  
Old 04-10-2002, 06:39 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1st mean Your reply
2nd mean Send or Submit
  #17  
Old 04-12-2002, 01:10 AM
CHNoodles CHNoodles is offline
 
Join Date: Mar 2002
Location: Costa Mesa, California, U
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much.
  #18  
Old 04-15-2002, 01:33 PM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
  #19  
Old 04-17-2002, 07:36 PM
CHNoodles CHNoodles is offline
 
Join Date: Mar 2002
Location: Costa Mesa, California, U
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #20  
Old 04-17-2002, 08:16 PM
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Location: Oslo
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Appreciate it.
  #21  
Old 04-19-2002, 01:48 PM
CHNoodles CHNoodles is offline
 
Join Date: Mar 2002
Location: Costa Mesa, California, U
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Closed Thread


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 04:40 PM.


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.04602 seconds
  • Memory Usage 2,299KB
  • 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_code
  • (1)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
  • (10)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete