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
  #527  
Old 07-27-2002, 08:37 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to delete this message. You can't post your php files for download. This is according to the vBulletin licensing agreement.

Quote:
Originally posted by Kiraly
this in php file

thx
Reply With Quote
  #528  
Old 07-27-2002, 09:57 AM
Kiraly Kiraly is offline
 
Join Date: Jul 2002
Location: Italia - Puglia
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
You need to delete this message. You can't post your php files for download. This is according to the vBulletin licensing agreement.

sorry :cry:
Reply With Quote
  #529  
Old 07-27-2002, 10:07 AM
Kiraly Kiraly is offline
 
Join Date: Jul 2002
Location: Italia - Puglia
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i resolve the problem but the quick reply don't appear
Reply With Quote
  #530  
Old 07-27-2002, 11:21 AM
Kiraly Kiraly is offline
 
Join Date: Jul 2002
Location: Italia - Puglia
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Kiraly
i resolve the problem but the quick reply don't appear
ok Quick reply go ON
Reply With Quote
  #531  
Old 07-27-2002, 04:09 PM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I set it that when you use the quick reply box, people are automatically subscribed to the thread and receive email notification when there is a reply?
Reply With Quote
  #532  
Old 07-27-2002, 05:27 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Heineken, now I am sure if the members turn that off in there options, there must be a reason for it, you really shouldn't go forcing that.

If they have it on, it automaticaly gets subscribed anyways.

Drk
Reply With Quote
  #533  
Old 07-27-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

How did you resolve it?

Quote:
Originally posted by Kiraly
i resolve the problem but the quick reply don't appear
Reply With Quote
  #534  
Old 07-27-2002, 07:17 PM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey DrkFusion

Thanks for the reply, but are you sure that if we have it picked to notify by email to reply it automatically subscribes us when we reply through the quick reply box?

I have email notification enabled, however whenever I use the quick reply box, I never get subscribed

Thanks for the reply
Heineken
Reply With Quote
  #535  
Old 07-27-2002, 07:21 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I remember that FireFly said that the reply box does use the newreply.php and well it should work.

Drk
Reply With Quote
  #536  
Old 07-27-2002, 07:22 PM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doh! well i'll try reinstalling it and see if that changes

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

Sorry, buddy, I have to call you on this one. It will not use the email check in newreply. I had to add an external one to do it for the Quick Reply box.

Quote:
Originally posted by DrkFusion
Well, I remember that FireFly said that the reply box does use the newreply.php and well it should work.

Drk
Reply With Quote
  #538  
Old 07-27-2002, 07:30 PM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Boofo Think you could explain to me how to do that?
Reply With Quote
  #539  
Old 07-27-2002, 07:34 PM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Boofo
Sorry, buddy, I have to call you on this one. It will not use the email check in newreply. I had to add an external one to do it for the Quick Reply box.

Really...hmm, when I posted a problem, I said that people were able to post though it was closed (this was when I was new to vb) he said they shouldn't be able to because, it uses the newreply.php, later I found out, they can't post only I can cuz im admin lol

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

Here is a simpler way to do it than I did it.

1- in showthread.php (in hacks code), find:

PHP Code:
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
  
show_nopermission();

after that add:

PHP Code:
if ($bbuserinfo[emailnotification]!=0) {$emailchecked='yes';} 

2- edit template showthread_replybox, find:

PHP Code:
<input type="hidden" name="email" value=""
Replace it AS:

PHP Code:
<input type="hidden" name="email" value="$emailchecked"

Quote:
Originally posted by Heineken77
Hey Boofo Think you could explain to me how to do that?
Reply With Quote
  #541  
Old 07-27-2002, 07:47 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, but they won't get a notification email about the new message to the thread if it is made with the Quick reply Box unless you add some code to it to check for email notification.

Quote:
Originally posted by DrkFusion

Really...hmm, when I posted a problem, I said that people were able to post though it was closed (this was when I was new to vb) he said they shouldn't be able to because, it uses the newreply.php, later I found out, they can't post only I can cuz im admin lol

Drk
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:31 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.07197 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
  • (4)bbcode_php
  • (8)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