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
  #882  
Old 03-17-2003, 07:23 PM
Skyrender's Avatar
Skyrender Skyrender is offline
 
Join Date: Jul 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aurore, yes you can use the quote
Just put [*Quote]whateveryouwant[/quote*]
I'll try and and make this easier give me you s/n to msn or aim and i'll help you.

Achaeon ask Firefly he could help you or maybe i'll try.
Reply With Quote
  #883  
Old 03-17-2003, 07:30 PM
Skyrender's Avatar
Skyrender Skyrender is offline
 
Join Date: Jul 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok here is the code Aurore. Just add this to showthread_quickreply

PHP Code:
<script language="Javascript" src="vbcode.js"></script>
<
script language="Javascript" src="vbcode_language.js"></script>
<
style>
#codebuttons input { font-family: verdana, arial, helvetica; font-size: 11px; }
#codebuttons select { font-family: verdana, arial, helvetica; font-size: 11px; }
.smilieTable border-width2pxborder-styleoutset; }
</
style>

<
tr id="codebuttons">
    <
td bgcolor="#E8ECF0" valign="top"><font face="tahoma" size="1"><b>vB Code</b></font>
    <
font face="tahoma" size="1">
    [<
a href="misc.php?action=bbcode#buttons" target="_blank">help</a>]<br>
    <
input type="radio" name="mode" value="0" title="Normal Mode: (alt+n)" accesskey="n"
    
onclick="setmode(this.value)" onmouseover="stat('norm')" checkedNormal Mode
    
<br>
    <
input type="radio" name="mode" value="1" title="Enhanced Mode: (alt+e)" accesskey="e"
    
onclick="setmode(this.value)" onmouseover="stat('enha')" Enhanced Mode
    
</font></td>
    
    <
td bgcolor="#E8ECF0">

    <
table cellpadding="0" cellspacing="0" border="0">
    <
tr>
        <
td nowrap><font face="tahoma" size="1">
        <
input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')" title="BOLD (alt+b)" accesskey="b" 
        
><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')" title="ITALIC (alt+i)" accesskey="i" 
        
><input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')" title="UNDERLINE (alt+u)" accesskey="u" >
        &
nbsp;

        <
select id="sizeselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')" onmouseover="stat('size')">
        <
option value="0">SIZE</option><option value="1">small</option>
<
option value="3">large</option>
<
option value="4">huge</option></select

        
><select id="fontselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')" onmouseover="stat('font')">
        <
option value="0">FONT</option><option value="arial">Arial</option>
<
option value="times new roman">Times</option>
<
option value="courier new">Courier</option>
<
option value="century gothic">Century</option></select

        
><select id="colorselect" 
        
onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')" onmouseover="stat('color')">
        <
option value="0">COLOR</option><!-- you should edit this list to remove the colors you don't want -->
<option value="skyblue" style="color:skyblue">sky blue</option>
<option value="royalblue" style="color:royalblue">royal blue</option>
<option value="blue" style="color:blue">blue</option>
<option value="darkblue" style="color:darkblue">dark-blue</option>
<option value="orange" style="color:orange">orange</option>
<option value="orangered" style="color:orangered">orange-red</option>
<option value="crimson" style="color:crimson">crimson</option>
<option value="red" style="color:red">red</option>
<option value="firebrick" style="color:firebrick">firebrick</option>
<option value="darkred" style="color:darkred">dark red</option>
<option value="green" style="color:green">green</option>
<option value="limegreen" style="color:limegreen">limegreen</option>
<option value="seagreen" style="color:seagreen">sea-green</option>
<option value="deeppink" style="color:deeppink">deeppink</option>
<option value="tomato" style="color:tomato">tomato</option>
<option value="coral" style="color:coral">coral</option>
<option value="purple" style="color:purple">purple</option>
<option value="indigo" style="color:indigo">indigo</option>
<option value="burlywood" style="color:burlywood">burlywood</option>
<option value="sandybrown" style="color:sandybrown">sandy brown</option>
<option value="sienna" style="color:sienna">sienna</option>
<option value="chocolate" style="color:chocolate">chocolate</option>
<option value="teal" style="color:teal">teal</option>
<option value="silver" style="color:silver">silver</option></select>
        <br>
        
        <input type="button" class="bginput" value="http://" title="Insert Hyperlink" onclick="namedlink(this.form,'
URL')" onmouseover="stat('url')"
        ><input type="button" class="bginput" value=" @ " title="Insert Email Address" onclick="namedlink(this.form,'
EMAIL')" onmouseover="stat('email')"
        ><input type="button" class="bginput" value="IMG" title="Insert Image" onclick="vbcode(this.form,'
IMG','http://')" onmouseover="stat('img')">
        
&nbsp;
        <
input type="button" class="bginput" value=" # " title="CODE" onclick="vbcode(this.form,'CODE','')" onmouseover="stat('code')"
        
><input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')"
        
><input type="button" class="bginput" value="List" title="Ordered List" accesskey="l" onclick="dolist(this.form)" onmouseover="stat('list')"
        
><input type="button" class="bginput" value="Quote" title="Insert Quote" onclick="vbcode(this.form,'QUOTE','')" onmouseover="stat('quote')"><br>
        
        <
input type="text" class="bginput" name="status" style="font-size:7pt" size="50" value="Use these controls to insert vBcode">

        </
font></td>
        <
td>&nbsp;</td>
        <
td><font face="tahoma" size="1">
        <
input type="button" class="bginput" value=" x " accesskey="c" title="Close Current Tag (alt+c)" style="color:red; font-weight:bold" onclick="closetag(this.form)" onmouseover="stat('closecurrent')">
        
Close Current Tag<br>
        <
input type="button" class="bginput" value=" x " accesskey="x" title="Close All Open Tags (alt+x)" style="color:red; font-weight:bold" onclick="closeall(this.form)" onmouseover="stat('closeall')">
        
Close All Tags
        
</font></td>
    </
tr>
    </
table>
    
    </
td>
</
tr
That adds all the buttons as in the normal replybox.
Reply With Quote
  #884  
Old 03-18-2003, 01:44 AM
laycomp laycomp is offline
 
Join Date: Mar 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
02-14-02 at 10:53 AM squawell said this in Post #127
Chen~did u ever think add the attach file option to ur quick reply

box if u can do that it will be great!!

Yes, this is a must hack for us sites that use a lot of attachments, it would really enhance the reply box.

Is there a possibility of doing this??

Thanks
Reply With Quote
  #885  
Old 03-18-2003, 02:57 PM
kr?mel kr?mel is offline
 
Join Date: Feb 2003
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack
Reply With Quote
  #886  
Old 03-18-2003, 06:59 PM
Skyrender's Avatar
Skyrender Skyrender is offline
 
Join Date: Jul 2002
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:44 AM laycomp said this in Post #883



Yes, this is a must hack for us sites that use a lot of attachments, it would really enhance the reply box.

Is there a possibility of doing this??

Thanks
I'll try and do this.
Reply With Quote
  #887  
Old 03-18-2003, 09:10 PM
laycomp laycomp is offline
 
Join Date: Mar 2003
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:59 PM Skyrender said this in Post #885


I'll try and do this.
Wow Skyrender, that would be awesome! :banana:

I'm surprised no one has yet done it.

Thank you. Look forward to news and any assistance I can provide you. (i am not a programmer though)

Perhaps it could work as an addon for all the many that already have the Quick Reply hack installed? Just a suggestion
Reply With Quote
  #888  
Old 03-18-2003, 09:40 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Come on, guys, the answer has been in the thread for a while now. The search box at the bottom really works.

Just add this where you want it in the replybox:

PHP Code:
<tr>
    <
td bgcolor="{secondaltcolor}" valign="top"><normalfont><b>Attach file:</b></normalfont><br>
    <
smallfont>Maximum size$maxattachsize bytes</smallfont></td>
    <
td bgcolor="{secondaltcolor}" valign="top"><smallfont><input type="hidden" name="MAX_FILE_SIZE" value="$maxattachsize_temp">
    <
input type="file" class="bginput" name="attachment"><br>
    
Valid file extensions$attachextensions</smallfont></td>
</
tr
Reply With Quote
  #889  
Old 03-18-2003, 09:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's also a hack that allows you to turn attachments on or off for the quick replybox on a per forum basis. But I'll let you find it [high]using the search box[/high] at the bottom of this page.
Reply With Quote
  #890  
Old 03-19-2003, 02:36 AM
catocom2 catocom2 is offline
 
Join Date: Aug 2002
Location: Gainesville, Georgia
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this installed on 2.3.0 with the
smilies box, and attachments addins.

Works great.

I just have to add the custom smilies option,
and it's jammin'.

Thanks for the great hack.
LOL I've read through all 60 pages here.
Reply With Quote
  #891  
Old 03-19-2003, 12:54 PM
Randomlove Randomlove is offline
 
Join Date: Sep 2002
Location: X
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 2.3.0.RC3, works fine so far. Some people complained about "No thread specified" error (just like post#871 up there). But not sure if this was because of the hack.
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 08:55 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.05063 seconds
  • Memory Usage 2,378KB
  • 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_php
  • (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
  • (4)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