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

 
 
Thread Tools
Details »»

Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Dec 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
  #287  
Old 04-10-2002, 12:08 AM
Kevlar's Avatar
Kevlar Kevlar is offline
 
Join Date: Nov 2001
Location: Ft. Lauderdale, FL.
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xube
Thanks (once again!) Chen. I've installed this hack and it is great, but I'm finding that when board members reply to messages using the quick reply box that this hack creates it doesn't automatically generate an email to members who have opted to receive email replies to the thread. :surprised: The automatic email continues to work when board members reply using the normal reply button. Is there a way to upgrade the coding for this hack so that it defaults to sending the auto emails out? Here are a couple of example posts from members on my board who have discovered this problem:
I'm having the same problem on my board. I read through the 19 pages of thread and was unable to find the fix for it. Anybody have any clues?
Reply With Quote
  #288  
Old 04-11-2002, 04:07 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by boatdesign
Previously in the thread I see that putting the quick reply box only on the last page was discussed, and many didn't see a point. I guess my reasons are that:

1.) Even though you can hit the normal "Post Reply" on any page, at least you see the recap on the newreply page so you won't accidentally miss the second page and post something redundant.

2.) Placing the reply box on the last page makes it clearer that the first page isn't all there is. I'm afraid if the reply box is on every page that I'll have to make all the page numbers bigger so newbies don't miss multiple page threads.

3.) Putting the quick reply on all pages rather than just the last page encourages people to post without reading what is already there (as I myself was guilt of earlier in this thread )... how can you know if your post is redundant if you haven't read all the way to the end of the thread?

Or is it really difficult to only show it on the last page?
I agree... :lick:
How could I check if current page is the last one available on a multi-page threads ?

Check would be very very simple, once found exactly what to check... :nervous:

Thanks.
Reply With Quote
  #289  
Old 04-13-2002, 02:09 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

Is there a version for vb 2.2.5?

Satan
Reply With Quote
  #290  
Old 04-13-2002, 02:25 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works for 2.2.5, I'm using it now.
Reply With Quote
  #291  
Old 04-13-2002, 02:29 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

Er...

I cant seem to make it work...

Quote:
From the .txt File :
1. In showthread.php find this bit of code:
// ##################################################
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
That isnt anywhere to be found...

Unless that is outdated, and a Newer version of the .txt file has been posted on one of the other 18 pages...

Satan
Reply With Quote
  #292  
Old 04-13-2002, 02:33 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

should be around 234-240-I just checked my original 2.2.5 showthread.php.
Reply With Quote
  #293  
Old 04-13-2002, 02:35 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

Thanks...

Satan
Reply With Quote
  #294  
Old 04-13-2002, 02:41 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

Could you post the file up again?

I cant find it anywhere...

Satan
Reply With Quote
  #295  
Old 04-13-2002, 02: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

Ok...

I have installed it to your instructions...

Now I get this error when I try and access a thread...

Why?

Quote:
The Error
Parse error: parse error in /home/thephora/public_html/showthread.php on line 106
Satan
Reply With Quote
  #296  
Old 04-13-2002, 11:11 PM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack firefly

I wonder is there a way to show the (( logged in )) code I need this so that if I use my other nick names I would know which name I'm using for the reply
Reply With Quote
  #297  
Old 04-13-2002, 11:39 PM
dxb's Avatar
dxb dxb is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got the answer I was looking for in this post

https://vborg.vbsupport.ru/showthrea...705#post234705

silly me

anyway one more Q .... I tried to apply the changes for the subscribe function that firefly wrote in this post

https://vborg.vbsupport.ru/showthrea...370#post237370

but it didnt work is that because they are made for 2.2.5
Reply With Quote
  #298  
Old 04-14-2002, 03:40 PM
Lorddraco98 Lorddraco98 is offline
 
Join Date: Nov 2001
Location: USA
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a problem. I got the quick reply box to show up, but it shows up at the top of the thread, instead of after the last post. Can anyone tell me what I'm doing wrong?
Reply With Quote
  #299  
Old 04-14-2002, 04:35 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

I think there is something on page 13 or 14 of this thread, and a guy who had a similar problem...

I am sure you will find the answer around there...

Satan
Reply With Quote
  #300  
Old 04-15-2002, 11:19 AM
Lorddraco98 Lorddraco98 is offline
 
Join Date: Nov 2001
Location: USA
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I checked and found that post hellsatan. My showthread templete looks like this:

<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td><smallfont>$pagenav $firstunread&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="{imagesfolder}/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="{imagesfolder}/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
$replybox

From what I read in the posts that is correct, but my quick reply box still shows at the top. Any other suggestions?? Thanks!
Reply With Quote
  #301  
Old 04-15-2002, 11:40 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not really sure Lorddraco...

In one of our Forums, The Confederacy (inivisble), the Quick Reply box appears, and at the top of the page...

In all the others, it is no existent!!!

I am more stumped by the appearance in one of the forums and not the others, than why it is at the top...

If anyone can sort out the reason to why it is at the Top, please could they help us, or if they have any clues as to why it only appears in that forum and not the others??

If either of these problems could be helped with or solved by anyone, I could address the other one, or if you have solutions to both?

Thanks...

@Lorddraco - Maybe it has something to do with the Template you are using, but Im no expert at php...I have limited knowledge, but it is growing...

If I find any solutions, I shall let you know...

Satan
Reply With Quote
 


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 09:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07518 seconds
  • Memory Usage 2,357KB
  • 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_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