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
  #422  
Old 06-01-2002, 11:15 PM
NSeXcellent NSeXcellent is offline
 
Join Date: Jan 2002
Location: Tampa Bay
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Allstar DC
NSeXcellent: that coding was in answer to hellsatans question about how to add the smiles to the replybox.

thats how i have done it and it does work.

if it isn't working then you must have done something wrong
Yes that is what I was attempting to do... I installed the quick reply box, then that addition there, but i get no smilies for the quick reply box
Reply With Quote
  #423  
Old 06-01-2002, 11:43 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Arrgh!

I installed everything exactly as it was supposed to be, but when I try and reply using the Quick Reply Box I get a "no thread was specified" error message.
Reply With Quote
  #424  
Old 06-02-2002, 04:32 PM
AviationForum AviationForum is offline
 
Join Date: Apr 2002
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HELLLLLLLLLLLP!
Reply With Quote
  #425  
Old 06-02-2002, 09:51 PM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... if you installed everything exactly as you were supposed to, you should be flying... but the error message sounds like something you'd get if this; " <input type="hidden" name="threadid" value="$threadid">" was omitted from the "showthread_replybox" template.

:ermm:
Reply With Quote
  #426  
Old 06-03-2002, 01:44 AM
rebirth rebirth is offline
 
Join Date: Jun 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?
Reply With Quote
  #427  
Old 06-03-2002, 12:37 PM
desi desi is offline
 
Join Date: Jun 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers
Reply With Quote
  #428  
Old 06-03-2002, 12:47 PM
chr@nox chr@nox is offline
 
Join Date: Nov 2001
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice hack m8...i had an old one of this which did work on 2.2.5 but it gave a runtime error
thanks alot!!

and cihangir...the one at 230 is the one u need to have
Reply With Quote
  #429  
Old 06-03-2002, 04:38 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.

To do this, I tried adding this at the end of the template:

<SCRIPT LANGUAGE="JavaScript"><!--
document.vbform.message.focus();
//--></SCRIPT>


...but it doesn't do the job sometimes. Wonder where I'm going wrong?

Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"... I'll go hunting for a reason.
Reply With Quote
  #430  
Old 06-03-2002, 05:27 PM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by desi
how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers
The hack works fine in 2.2.5. The code changes between the latest versions are often not very big, and thus most hacks work for 2.2.5 or 2.2.6 even though they were made for 2.2.1, for example.
Reply With Quote
  #431  
Old 06-03-2002, 05:34 PM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by rebirth
can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?
Basically, you need to include "<input type="checkbox" name="parseurl" value="yes" $parseurlchecked>" and "<input type="checkbox" name="signature" value="yes" $signaturechecked>" to the layout (and some text labels for the check boxes, obviously ) and add it to the "showthread_replybox"-template where you want them. Afterwards remove "<input type="hidden" name="parseurl" value="yes">" and
"<input type="hidden" name="signature" value="yes">" from the template.

It isn't very hard. Have fun! :rambo:
Reply With Quote
  #432  
Old 06-03-2002, 10:35 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by James Cridland
For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.
And the reason why we don't do this, kids, is because it then scrolls to the bottom of the page when you click on a thread to read, annoying the hell out of everyone.

Ignore me.
Reply With Quote
  #433  
Old 06-04-2002, 12:08 AM
Bimma Boy Bimma Boy is offline
 
Join Date: Dec 2001
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job!
Reply With Quote
  #434  
Old 06-04-2002, 01:47 PM
James Cridland James Cridland is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"...
This is a valid point: we argue a lot on our board, and it's easy to post a reply without reading where the argument is going...

To make your reply box always appear at the END of the conversation (which will be at the beginning if you sort your posts the other way round!)... search for the following in the hack:
PHP Code:
$textareacols gettextareawidth();
eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";"); 
Replace with:
PHP Code:
//We might have a reply box here

//Get total posts in this thread
$jrc_threadinfo=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE threadid='$threadid'");

//Check post order
if (!$postorder) {
    
// newest last page
    
$jrc_wherearewe=$jrc_threadinfo[posts]-($perpage*$pagenumber);
} else {
    
// oldest last page
    
$jrc_wherearewe=($perpage*$pagenumber)-$jrc_threadinfo[posts];
}
    
// print a reply box on page containing last post
    
if ($jrc_wherearewe<=or (!isset($pagenumber) and ($jrc_threadinfo[posts]<$perpage))) {
    
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";");
    } 
Hope that's of use to you.
Reply With Quote
  #435  
Old 06-04-2002, 02:19 PM
desi desi is offline
 
Join Date: Jun 2002
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hiya all ,
i installed this hack today this is what i get

No thread specified. If you followed a valid link, please notify the webmaster

any suggestions would be helpfull

also matinCX thankx for the info i have most of the hcaks working now


cheers
Reply With Quote
  #436  
Old 06-04-2002, 03:28 PM
sidhighwind's Avatar
sidhighwind sidhighwind is offline
 
Join Date: Oct 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Bimma Boy
Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job!
Yes it works very good on 2.2.6!

:bunny:
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:38 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.07972 seconds
  • Memory Usage 2,372KB
  • 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
  • (2)bbcode_php
  • (6)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