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
  #982  
Old 05-19-2003, 04:46 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:48 AM xs1 said this in Post #980
when typed the messge and clicked sumbit i got that error

No thread specified. If you followed a valid link, please notify the webmaster
LOL I meant here on vb.org to search this thread for the answer.
Reply With Quote
  #983  
Old 05-20-2003, 09:14 PM
AaahhNuts AaahhNuts is offline
 
Join Date: May 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, just added it to my site v2.3.0

http://www.AaahhNuts.com/
Reply With Quote
  #984  
Old 05-28-2003, 02:01 AM
Sheep10 Sheep10 is offline
 
Join Date: May 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

People said this works for V 2.3.0 but it doesn't work for me. First of all...in showthread.php it says to find this code but I can't:

<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>

Also, it said to find:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}

and replace it with text but in showthread.php

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
----These two are seperated by a bunch of code...----
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}

Hope im not making some mistake
Reply With Quote
  #985  
Old 05-28-2003, 02:08 AM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does work in 2.30-- should work on all 2.X.X forums
the <table> things should be the template not the file
Reply With Quote
  #986  
Old 05-28-2003, 02:20 PM
KamuiX KamuiX is offline
 
Join Date: Apr 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, very easy to install.
Reply With Quote
  #987  
Old 05-28-2003, 02:22 PM
KamuiX KamuiX is offline
 
Join Date: Apr 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, very easy to install.
Reply With Quote
  #988  
Old 06-05-2003, 02:36 AM
David_McPherson David_McPherson is offline
 
Join Date: Oct 2002
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is a great hack...

Can anyone tell me if there is a way to CENTER This text box? I'm killing myself on this one... Thanks.
Reply With Quote
  #989  
Old 06-05-2003, 02:38 AM
David_McPherson David_McPherson is offline
 
Join Date: Oct 2002
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And here is the code for the text box..
Reply With Quote
  #990  
Old 06-05-2003, 02:57 PM
Nomb's Avatar
Nomb Nomb is offline
 
Join Date: Nov 2002
Location: Phoenix, AZ
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 09:36 PM David_McPherson said this in Post #987
It is a great hack...

Can anyone tell me if there is a way to CENTER This text box? I'm killing myself on this one... Thanks.
Find this code:

Code:
		<td bgcolor="{secondaltcolor}">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr valign="top">
			<td><textarea name="message" rows="18" cols="66" wrap="virtual" tabindex="1" style="background-image: url('images/head/tmr.gif'); background-repeat: no-repeat; background-attachment: fixed;" class="quick"></textarea><br>
			<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
		</tr>
		</table>
	</td>
Replace it with this code:

Code:
		<td bgcolor="{secondaltcolor}" align="center" valign="middle">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr valign="top">
			<td><textarea name="message" rows="18" cols="66" wrap="virtual" tabindex="1" style="background-image: url('images/head/tmr.gif'); background-repeat: no-repeat; background-attachment: fixed;" class="quick"></textarea><br>
			<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
		</tr>
		</table>
	</td>
Reply With Quote
  #991  
Old 06-05-2003, 04:25 PM
Nomb's Avatar
Nomb Nomb is offline
 
Join Date: Nov 2002
Location: Phoenix, AZ
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-19-03 at 10:48 AM xs1 said this in Post #980
when typed the messge and clicked sumbit i got that error

No thread specified. If you followed a valid link, please notify the webmaster
Either turn on file_uploads on your webserver or remove the enctype from the <form> tag to avoid this.
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 03:33 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.07047 seconds
  • Memory Usage 2,313KB
  • 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
  • (3)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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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
  • 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