vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Chris M 10-27-2002 04:29 PM

@smess:

When it tells you to look for the "<first/prev..." info, find the fourth occurance, and put $replybox directly underneath it:)

Satan

David_McPherson 10-27-2002 07:44 PM

Does anyone know how one might move the quick reply box to center with the "submit reply and reset form" buttons below. Also to have the "your Reply' text box a bit bigger? so it matches the box above?

http://mcpherson-racing.com/dave/quickreply.gif

iwk_batterio 10-28-2002 05:15 PM

Quote:

Originally posted by FireFly
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. :D

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:
https://vborg.vbsupport.ru/showthrea...950#post253950

If you want to add an option for each user to turn this feature on and off, please see this post:
https://vborg.vbsupport.ru/showthrea...595#post275595

sorry, I can't speak english very well...
When I Readed point number 3 to istall hack i Understand. :confused: I need to add

PHP Code:

<!-- 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 --><!-- 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 --><!-- 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 --> 

or to modify it? If 2?, where I need to add $replybox ?

Erwin 10-28-2002 05:18 PM

Add $replybox where you want the reply box to show up. So probably at the bottom.

Chris M 10-28-2002 05:26 PM

You need to modify the template, and find the fourth occurance of:

Code:

<!-- first unread and next/prev -->
Directly below that, add :

Code:

$replybox
Satan

iwk_batterio 10-28-2002 05:36 PM

ah , ok thx ! :classic:

FleaBag 10-28-2002 10:12 PM

Working nicely with 2.2.8, thanks. :)

Oddish 10-28-2002 10:12 PM

I'm getting JavaScript errors when using this hack: "Undetermined string constant."

EDIT: Forget it, an extra linebreak slipped through and messed up the "message too long"-alert string.

X-Fan 10-29-2002 01:01 AM

I'm still getting "Object Expected" javascript errors on the New Thread and Edit Post pages after having upgraded to v2.2.8 and re-implemented this hack.

Can someone PLEASE help me to fix that, as it's driving my visitors (and myself) nuts!!!!!!

Erwin 10-29-2002 09:10 AM

Check the javascript section of your quickreply template. It's a javascript error. Copy and paste that bit again.


All times are GMT. The time now is 02:45 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.02665 seconds
  • Memory Usage 1,770KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete