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
  #1082  
Old 08-10-2003, 11:47 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 07:49 AM MaDCaT75 said this in Post #1079
I got vB 2.3.0 and I did everything right and my quick reply box wont show up!?
Reply With Quote
  #1083  
Old 08-11-2003, 01:39 PM
Angelus1753 Angelus1753 is offline
 
Join Date: Jan 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack won't install for version 2.3.2

I can find these lines of code:

Code:
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
  show_nopermission();
}
But the ones after this I can't:

Code:
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
  $pagenumber=1;
}
They apparantly don't exist in showthread.php for vbulletin 2.3.2
Reply With Quote
  #1084  
Old 08-11-2003, 03:35 PM
[BA]Techie [BA]Techie is offline
 
Join Date: Aug 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Techie]I have version 2.3.0 and I get this error when I try to go to a post.

Quote:
Parse error: parse error, unexpected $ in /home/cncb/public_html/showthread.php on line 516
Reply With Quote
  #1085  
Old 08-11-2003, 07:00 PM
Salari Salari is offline
 
Join Date: Nov 2001
Location: Vancouver, BC
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hgave 2.3.0 and works perfect
Reply With Quote
  #1086  
Old 08-11-2003, 08:59 PM
[BA]Techie [BA]Techie is offline
 
Join Date: Aug 2003
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it to work but I searched this thread and I could find no answer as to how to fix it because the quickreply is on top of the page ?
Reply With Quote
  #1087  
Old 08-11-2003, 09:59 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:39 PM Angelus1753 said this in Post #1082
They apparantly don't exist in showthread.php for vbulletin 2.3.2
This was fixed here.
Reply With Quote
  #1088  
Old 08-12-2003, 02:19 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 07:49 AM MaDCaT75 said this in Post #1079
I got vB 2.3.0 and I did everything right and my quick reply box wont show up!?
Reply With Quote
  #1089  
Old 08-12-2003, 09:48 AM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
01-29-02 at 07:59 PM FireFly said this in Post #21
JTMON - Add this line:
Code:
	$clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:
	$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:
Code:
<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.

Wow this is even handier than I thought...

I've done that. When i click on a smile it sends me back to the top of the page and it does not insert it into the box?
Reply With Quote
  #1090  
Old 08-12-2003, 04:39 PM
Bergman Bergman is offline
 
Join Date: Aug 2002
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-02-02 at 08:28 AM boatdesign said this in Post #259
OK - it was easier than I thought.

Just add

Code:
} elseif ($bbuserinfo['usergroupid']=="1") {
	$replybox='';
in the list of conditionals to not show the reply box to guests.

Now the only thing I can't figure out is how to only show the reply box if:
1.) it is the last page of a multipage thread, or
2.) it is a single page thread.

I can use
} elseif ($pagenumber!="1") {
$replybox='';

for example to not show it on page 1 but to show it on page 2.

I see above there is this conditional statement:
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {

Which I thought I would be able to easily adapt, but I can't seem to make it work.

Can anyone give me a hand?
Great ! That one solved my problems with not registred users.
Reply With Quote
  #1091  
Old 08-17-2003, 08:12 AM
Cal Poly Forum Cal Poly Forum is offline
 
Join Date: Jul 2003
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm.. maybe the author or someone can edit the download text so that it is compatible with 2.3.2.
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 12:51 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.06439 seconds
  • Memory Usage 2,316KB
  • Queries Executed 27 (?)
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_code
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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