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
  #542  
Old 07-27-2002, 07:57 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah I see, thanks didn't know that

Drk
Reply With Quote
  #543  
Old 07-27-2002, 08:02 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem. I didn't know either. I found out the hard way.
Reply With Quote
  #544  
Old 07-28-2002, 08:18 AM
Kiraly Kiraly is offline
 
Join Date: Jul 2002
Location: Italia - Puglia
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx Boofo!
Reply With Quote
  #545  
Old 07-28-2002, 08:43 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My pleasure. Enjoy!
Reply With Quote
  #546  
Old 07-28-2002, 06:41 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I add a Attatchement field?

Drk
Reply With Quote
  #547  
Old 07-28-2002, 06:49 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put this:

PHP Code:
<tr>
    <
td bgcolor="#4A7B9D" valign="top" nowrap><normalfont><b>Attach file:</b></normalfont><br>
    <
smallfont>Size Limit$maxattachsize bytes</smallfont></td>
    <
td bgcolor="#4A7B9D" 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
right after this:

PHP Code:
<a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont>

<
br>

</
table
Quote:
Originally posted by DrkFusion
How do I add a Attatchement field?

Drk
Reply With Quote
  #548  
Old 07-28-2002, 06:58 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks man

Drk
Reply With Quote
  #549  
Old 07-28-2002, 07:52 PM
Kiraly Kiraly is offline
 
Join Date: Jul 2002
Location: Italia - Puglia
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Drk have you screeshots of this hack?
Reply With Quote
  #550  
Old 07-28-2002, 11:11 PM
nemesis01's Avatar
nemesis01 nemesis01 is offline
 
Join Date: Dec 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Allstar DC
to add the smilies do the following:


open showthread_quickreply template

find:
PHP Code:
<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td

and replace it with:

PHP Code:
<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b><br>$clickysmilies</normalfont></td
That should do the trick


*Remove the spaces after { and before }
Sorry to bring this up again, I installed the quick reply box easy poo and want this addon described here, I have done it exactly as it says but the smilies will not appear.

I took the 'showthread_quickreply' template for the 'showthread_replybox' template, dont think that's anything to do with it though. I know this subject is old but I need an answer for this please......ta. :ermm:
Reply With Quote
  #551  
Old 07-31-2002, 05:44 PM
nemesis01's Avatar
nemesis01 nemesis01 is offline
 
Join Date: Dec 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to bring this up again but I still need help, I dont like clogging up email or PM inboxes asking for help so i'll ask again here. I have been working on this now for 2 days with another person and we still cannot get the clickable smilies to show up in the quickreply box, I really dont know what we are doing wrong.

We are using the exact same template as described in the hack txt file with the small adjustment highlighted earlier in this thread, alas it does not work.

If somebody can please help I would be grateful, would be even better help if somebody could post a modified showthread_replybox template with the changes implemented to enable the clickable smilies. If it helps we are running 2.2.6 if that makes any difference to what needs to be added to the showthread_replybox template.

Thanks. :dead:
Reply With Quote
  #552  
Old 07-31-2002, 05:50 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To add smilies to the quick reply box:

Add this line:

$clickysmilies = getclickysmilies();

to showthread.php right after this:

$textareacols = gettextareawidth();

then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:

<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

to the template right after the <form> tag. That should work.
Reply With Quote
  #553  
Old 07-31-2002, 07:21 PM
nemesis01's Avatar
nemesis01 nemesis01 is offline
 
Join Date: Dec 2001
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Boofo, you have just saved me another load of greif.

Top man. :bored: :cheeky:
Reply With Quote
  #554  
Old 07-31-2002, 07:37 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad I could help. Enjoy.
Reply With Quote
  #555  
Old 08-01-2002, 01:30 PM
ExAvIoUr ExAvIoUr is offline
 
Join Date: Jan 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey can some1 help on this. i installed it almost perfect. the problem is that the reply box it at the top of the thread instead at the bottom. how can i fix that?

reply asap
Reply With Quote
  #556  
Old 08-01-2002, 01:44 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reply ASAP? What is that?

You need to put the code after the second instance in the showthread template.

Quote:
Originally posted by ExAvIoUr
hey can some1 help on this. i installed it almost perfect. the problem is that the reply box it at the top of the thread instead at the bottom. how can i fix that?

reply asap
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 01:34 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.15249 seconds
  • Memory Usage 2,375KB
  • 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
  • (4)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
  • (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