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

Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 01-28-2002 Last Update: Never Installs: 1206
 
No support by the author.

Here's an easy one, it barely took 4 minutes to do. :china:
This hack will add a quick replying box at the bottom of all threads, only if the user has permission to reply, so when you need to reply to something real quickly you don't need to click the Post Reply button and wait for the page to load.

Instructions are in the attached .txt file, and if you want a demo... just look below.

NOTE: For the vB 2.3.2 version please see this post.

Extras:
  • If you want users who have the Use Email Notification option ON, to automatically subscribe to threads they reply to with this hack, see this post.
  • If you want to add an option for each user to turn this feature on and off, please see this post.
  • If you want smilies in your quick reply box please see this post.

Show Your Support

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

Comments
  #452  
Old 06-11-2002, 02:54 PM
Lucrecia Lucrecia is offline
 
Join Date: May 2002
Location: Canada
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I saw on this site that they also have a drop down option to choose a smilie. What would be the code to put that in?

http://www.ffimpulse.com/forum/showt...?threadid=7900
Reply With Quote
  #453  
Old 06-12-2002, 02:31 AM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How exactly do you get the EMAIL and SIGNATURE feature in there? Is there simply something in the code you must turn on? Or is it a recent addition? When I installed this hack, I never saw these options anywhere. But now, I'm seeing them...
Reply With Quote
  #454  
Old 06-13-2002, 02:12 AM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your members will love this one!

I installed it and traffic has probably doubled...
Reply With Quote
  #455  
Old 06-15-2002, 08:39 AM
Pabs Pabs is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting script errors after installing this hack.

It says this:


Line: 1388
Char: 63
Error: Unterminated String Constant
Code: 0
Reply With Quote
  #456  
Old 06-16-2002, 12:37 PM
N.B. N.B. is offline
 
Join Date: Oct 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, nice work
Reply With Quote
  #457  
Old 06-17-2002, 09:02 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very great hack but having one problem here though. My checj message length button doesnt work and my smilies when i click on them dont work. What could be the prob? I am so lost i think it is something with the java or something i don't know so i diced to ask the professionals

Here is my Template for ReplyBox

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>

<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<input type="hidden" name="title" value="">
<input type="hidden" name="iconid" value="0">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="email" value="$emailbox">
<input type="hidden" name="disablesmilies" value="">
<input type="hidden" name="closethread" value="">
<input type="hidden" name="hiddenreply" value="">
<input type="hidden" name="rating" value="0">
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

<tr>
	<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td>
</tr>
<tr>
	<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>
	<td bgcolor="{secondaltcolor}">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr valign="top">
			<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea><br>
			<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
        	<td nowrap valign="bottom"><smallfont>
        	  <input type="checkbox" name="email" value="yes" $emailchecked> Subscribe to thread<br>
        	  <input type="checkbox" name="signature" value="yes" $signaturechecked> Show signature<br>
        	  <br> </smallfont></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
	<td align="center"><normalfont>
	<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2">
	<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
<input type="submit" class="bginput" name="preview" value="Preview Reply" accesskey="p" tabindex="4">
	</normalfont></td>
</tr>
</table>

</form>
Please help thanks so much. I took out the smilies just for now because they were causing to much hassle. thanks.
Reply With Quote
  #458  
Old 06-17-2002, 04:14 PM
mentalblocks mentalblocks is offline
 
Join Date: May 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just tried to install this. Didn't work. I'm not sure on the #3 in the instructions,

I've put $replybox into the template just as that. Does it need to be in {} or some other syntatic supports?
Reply With Quote
  #459  
Old 06-17-2002, 07:46 PM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please help. If i cant get the smilies to work then i dont think I am going to keep this hack then. Please help i really enjoy this feature.
Reply With Quote
  #460  
Old 06-17-2002, 08:16 PM
RobP RobP is offline
 
Join Date: Apr 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack worked with vb version 2.2.5 but after we upgraded to 2.2.6 this has now stopped working, the code is in place where it should, the reply box doesn't appear
Reply With Quote
  #461  
Old 06-18-2002, 08:35 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^^BUMP^^^
Reply With Quote
  #462  
Old 06-18-2002, 09:00 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i fixed the prob nevermind sorry guys.
Reply With Quote
  #463  
Old 06-18-2002, 06:12 PM
jbell jbell is offline
 
Join Date: Dec 2001
Location: PHNX, AZ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the hack but when I tried to add $clickysmilies into the replybox - after the <form> I can't get it to show up - where exactly does this belong ???
Reply With Quote
  #464  
Old 06-19-2002, 06:27 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great on 2.2.6!
Reply With Quote
  #465  
Old 06-19-2002, 08:17 PM
Doyler Doyler is offline
 
Join Date: Jun 2002
Location: Dublin, Ireland
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet hack, Greet thing about vb all old hacks seem to work perfectly on new boards.
Reply With Quote
  #466  
Old 06-21-2002, 01:07 AM
Razor's Avatar
Razor Razor is offline
 
Join Date: Jan 2002
Location: Grand Rapids, MI
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the instructions step by step in the text file, but the reply box doesnt show up. Running on 2.2.6
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 06:07 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.10115 seconds
  • Memory Usage 2,371KB
  • Queries Executed 30 (?)
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
  • (1)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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