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
  #1342  
Old 01-22-2004, 12:50 AM
MeTaL_oRgY MeTaL_oRgY is offline
 
Join Date: Jul 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol... I don´t know what I do wrong the first time... I didn´t found two instances... I don´t know.. the only thing I know is that now I can use Quick Reply... THNX!!!
Reply With Quote
  #1343  
Old 01-22-2004, 11:37 AM
Fargo's Avatar
Fargo Fargo is offline
 
Join Date: Jan 2004
Location: North Dakota
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3rd hack, 1st headache & 1st post! After reading 90 pages (twice!!) I finally got it working.

How I did it? By using someone elses posted showthread.php

Personal opinion:
Every forum should have a quick reply box - they rock, theyre a time saver if you post a lot & they save some bandwidth, however I think the instructions need to be looked over again - or at least supply a version that deals with the code of the newer versions.

Either way, great hack and I thank you and the others here who submitted their additional features for this hack. Well done.
Reply With Quote
  #1344  
Old 01-22-2004, 12:59 PM
johnkruk johnkruk is offline
 
Join Date: Jan 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack and only added it once in showthread.php. Its my own fault. It reads right in the text file

Quote:
1. In showthread.php find this bit of code both times!:
Working like a charm now!
Reply With Quote
  #1345  
Old 01-22-2004, 03:40 PM
Kerr's Avatar
Kerr Kerr is offline
 
Join Date: Jan 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone help me. My users are griping that my quick reply box is above all the posts. It is above them not like this box which is below, and they want it changed. I am not stupid but not good yet...so can someone please tell me how to get the damn thing below my posts and not the first box you see on the thread?

BTW the instructions are right...there are two instances of that code in showthread.php and it says both times....just like johnkruk said.

I just need to know how to change its location. Oh my version is 2.3.4. Waiting for a very stable 3 to come out.

I FIXED IT. sorry
Reply With Quote
  #1346  
Old 01-22-2004, 07:00 PM
Marcellus Marcellus is offline
 
Join Date: Oct 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elyk X
tell me where it says to change it twice in the install file and ill kiss your butt. All it says is to find that code. It never mentions it beign there again.
Start kissing. If you read the previous posts and are in fact using the 2.3.2 version like you are supposed to, the then instuctions specificaly state to replace BOTH instances. Direct copy/past from the file:

Quote:
// ##################################################
// ################ Quick Reply Box #################
// ########### Hack version 1.0 (01.29.02) ##########
// ############## for vBulletin v2.3.2 ##############
// ##################################################
// ########### by Chen 'FireFly' Avinadav ###########
// ########## (chen.avinadav@vbulletin.com) #########
// ########## Updated by Chris #########
// ########## www.runaked.com #########
// ##################################################

1. In showthread.php find this bit of code both times!:
// ##################################################
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
// ##################################################
And replace it with the following:
// ##################################################
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
show_nopermission();
}

if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
$replybox='';
} elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
$replybox='';
} elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
$replybox='';
} else {
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}
Reply With Quote
  #1347  
Old 01-23-2004, 10:29 PM
borg69 borg69 is offline
 
Join Date: Jan 2004
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kerr
Can someone help me. My users are griping that my quick reply box is above all the posts. It is above them not like this box which is below, and they want it changed. I am not stupid but not good yet...so can someone please tell me how to get the damn thing below my posts and not the first box you see on the thread?

BTW the instructions are right...there are two instances of that code in showthread.php and it says both times....just like johnkruk said.

I just need to know how to change its location. Oh my version is 2.3.4. Waiting for a very stable 3 to come out.

I FIXED IT. sorry
Can you tell me how you fixed it mate?

Mine is still stuck at the top!! :ermm:

Cheers
Reply With Quote
  #1348  
Old 01-23-2004, 10:46 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borg69
Can you tell me how you fixed it mate?

Mine is still stuck at the top!! :ermm:

Cheers

go into your showthread template and find where you put $replybox

and move it down below this code:

</tr>
</table>
<!-- first unread and next/prev -->


that is what controls where the reply box shows in the thread.
Reply With Quote
  #1349  
Old 01-24-2004, 06:34 AM
armani1072 armani1072 is offline
 
Join Date: Jan 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any reason why i cannot get it to work for vb 2.3.4???? please help.
Reply With Quote
  #1350  
Old 01-24-2004, 11:17 AM
MeTaL_oRgY MeTaL_oRgY is offline
 
Join Date: Jul 2003
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, I don´t know dude.... you should search for that line two times..... or so... dunno...
Reply With Quote
  #1351  
Old 01-24-2004, 03:43 PM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by armani1072
any reason why i cannot get it to work for vb 2.3.4???? please help.
ummm...because you can't follow directions?
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 02:53 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.05123 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
  • (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
  • (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