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
  #942  
Old 05-02-2003, 05:29 PM
peterjun peterjun is offline
 
Join Date: Apr 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I alow unregistered/guests to use the quick response box?

They have permission to post, and the box shows up for them, but when they try to post, I get an error message: "You did not specify a username for your post"

Is there any way to have the reply box just default to unregistered when the user is not logged in/guest?

Thanks so much!
Reply With Quote
  #943  
Old 05-02-2003, 05:29 PM
peterjun peterjun is offline
 
Join Date: Apr 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I alow unregistered/guests to use the quick response box?

They have permission to post, and the box shows up for them, but when they try to post, I get an error message: "You did not specify a username for your post"

Is there any way to have the reply box just default to unregistered when the user is not logged in/guest?

Thanks so much!
Reply With Quote
  #944  
Old 05-05-2003, 01:11 PM
mmmender's Avatar
mmmender mmmender is offline
 
Join Date: Sep 2002
Location: toronto
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

has anyone tested this in 2.2.9 or 2.3? i can't get it to work but i really want to!!!
Reply With Quote
  #945  
Old 05-05-2003, 01:41 PM
Reno Reno is offline
 
Join Date: May 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for telling me about the experience mmmender. I was about to try myself also on vB 2.3.

So, anyone tried this on 2.3 and does it work (except mmmender)?
Reply With Quote
  #946  
Old 05-05-2003, 02:50 PM
WEForums WEForums is offline
 
Join Date: Apr 2003
Location: Jacksonville, Florida
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works for vB 2.3.0. No errors.

What error are you receiving?
Reply With Quote
  #947  
Old 05-05-2003, 11:24 PM
Reno Reno is offline
 
Join Date: May 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. I don't get any errors. Just checking to see if there are errors or not. Thanks WEForums.

[EDIT] I CAN'T FIND THIS!!! :alien:

3. In the "showthread" template add $replybox right after the following:
// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/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="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################
Reply With Quote
  #948  
Old 05-06-2003, 07:29 AM
SVTBlackLight01's Avatar
SVTBlackLight01 SVTBlackLight01 is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried using the smilie box with this and didn't like the way it affected the display of the QRB or how it took longer to load the page.

To solve this problem and still enable the use of smilies, I just added a link similar to the "get more" in the normal reply.

If anybody is interested, in the showthread_replybox template replace:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>

with:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b><br><br>[<a href="javascriptpensmiliewindow(240,280,'')">Get Smilies</a>]</normalfont></td>
Reply With Quote
  #949  
Old 05-06-2003, 09:59 AM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not gonna read through all the pages, but in my forums i keep getting this error in 2.3.0 (Both of my forums get it)

Fatal error: Cannot redeclare stripslashesarray() (previously declared in /home/*******/public_html/talk/global.php:31)
Reply With Quote
  #950  
Old 05-06-2003, 10:57 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:29 AM SVTBlackLight01 said this in Post #947
I tried using the smilie box with this and didn't like the way it affected the display of the QRB.

To solve this problem and still enable the use of smilies, I just added a link similar to the "get more" in the normal reply.

If anybody is interested, in the showthread_replybox template replace:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>

with:

<td bgcolor="{ secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b><br><br>[<a href="javascriptpensmiliewindow(240,280,'')">Get Smilies</a>]</normalfont></td>
I couldn't get this to work. I joined the java and script and still it wouldn't work. You have an extra quote in your code, too.
Reply With Quote
  #951  
Old 05-06-2003, 12:30 PM
Reno Reno is offline
 
Join Date: May 2003
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does the following really exist in vB 2.3?

// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav </smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>

<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################
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 07:18 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.05828 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
  • (1)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_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