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
  #332  
Old 04-29-2002, 11:34 AM
MikeL MikeL is offline
 
Join Date: Apr 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice but I get a runtime error line 274 anyone else...

PS I'm a newbie... be kind.

Thanks
Reply With Quote
  #333  
Old 04-29-2002, 09:42 PM
Pulsorock Pulsorock is offline
 
Join Date: Oct 2001
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if I allow Guest/Unregistered users to post in my boards. Is there a way I can prevent them from using the quick reply box to post and in that way preventing that what they type appears with no name in the author field?
Reply With Quote
  #334  
Old 05-01-2002, 12:03 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We installed the quick reply box, which by the way is a great hack. We installed bira's expand and contract like you have here and now when we use the reply box it gives us this error:

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

Firefly, have you run into this problem yet and do you have any idea what might be causing it? Thanks in advance.
Reply With Quote
  #335  
Old 05-01-2002, 05:58 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Boofo - How do you mean?

Will it not allow you to post?

If not, maybe you should check your "showthread" template again, and make sure you havent put the $replybox, or the code it tells you to put in, in the wrong place...

Satan
Reply With Quote
  #336  
Old 05-01-2002, 08:31 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is an excellent hack. I love it. I tried it and it works very fine.
Reply With Quote
  #337  
Old 05-01-2002, 09:29 PM
Sketch Sketch is offline
 
Join Date: Apr 2002
Location: Baltimore, Maryland
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work, Firefly. Works weel.

Sketch
Reply With Quote
  #338  
Old 05-01-2002, 11:01 PM
Learner29's Avatar
Learner29 Learner29 is offline
 
Join Date: Nov 2001
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

> nice work, Firefly. Works weel.

IMHO, this Quick Reply Box hack is one of the very best hacks I ever used.
It works nice, it is VERY useful, and I personally did not have ANY error
with it, though I installed it on four different bulletins.

can I send a flower (F) to FireFly. ?
Reply With Quote
  #339  
Old 05-02-2002, 07:06 AM
ForKmaN's Avatar
ForKmaN ForKmaN is offline
 
Join Date: Jan 2002
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack and it seemed to work fine, but it started giving me syntax errors because of the JavaScript with the checking message length part of the hack, is there someway I can fix this?

I was going to uninstall it but I'm not sure if this code for this hack is interfering with other hacks.
Reply With Quote
  #340  
Old 05-02-2002, 07:07 AM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by akaler
[...]
Two suggestions

A. I noticed that when you do a quick reply, it doesn't add that particular post to your subscribed threads. Is there a way to turn that on? Or perhaps in an update, give a checkbox someone hits to subscribe... a little "subscribe to thread" box would be cool.

A lot of people don't even know they're subscribed to threads when they reply the normal way. A checkbox system would not just give them a choice, but give them awareness, too.

Look at Post #272 and more...


Instead, I'm still looking for a way to check if the current page is the last page of the thread .... Anyone ?!?!? :disappointed:
Thnx
Reply With Quote
  #341  
Old 05-02-2002, 09:44 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jawelin: Try
Code:
if ($pagenumber == ceil($totalposts/$perpage)) {
But you will need to move the hack down a bit I think... mess with it a little.
Reply With Quote
  #342  
Old 05-02-2002, 10:07 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hellsatan,

It was working fine before. I have been through the showthread.php at least 10 times trying to figure out what the problem is. I'm not sure what is causing it.
Reply With Quote
  #343  
Old 05-02-2002, 10:36 AM
KeithMcL's Avatar
KeithMcL KeithMcL is offline
 
Join Date: Nov 2001
Location: Dublin, Ireland
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack - pretty easy to install.

On my forums I couldn't find exactly where to add the $replybox part to the Showthread but worked it out for myself.

Thanks Chen!
Reply With Quote
  #344  
Old 05-02-2002, 01:20 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
Jawelin: Try
Code:
if ($pagenumber == ceil($totalposts/$perpage)) {
But you will need to move the hack down a bit I think... mess with it a little.
Yeah! Thanks... It worked! :classic:

I put the check you suggested between the others :
PHP Code:
} elseif ($pagenumber != ceil($totalposts/$perpage)) {    // replybox on the last page only 
    
$replybox=''
and MOVED the entire block brutally at the end of showthread.php, just before the template evaluation...
I tried a couple places above, but think it should at least be after the $limitlower/$limitupper stuff. Truthfully, that box goes at the end of the page, doesn't it ?

:classic:
Thanks again.
Reply With Quote
  #345  
Old 05-02-2002, 05:16 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Boofo...

Hmmm...

Send me an email of your Showthread template to : thephora@hotmail.com

I shall look through it and see if I can find any problems or errors...

Other than that, I have no clue...

Satan
Reply With Quote
  #346  
Old 05-03-2002, 12:34 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is on it's way to you. And thank you for taking the time to look at this. :-)
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 06:46 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.08965 seconds
  • Memory Usage 2,364KB
  • 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_code
  • (1)bbcode_php
  • (2)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