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)

N9ne 09-30-2002 06:41 PM

antifanatic: You're running 2.0.0? You really should upgrade to 2.2.8 ;)

JFry 09-30-2002 06:48 PM

The weirdness continues. The hack is now showing up on threads in ONE forum, only. The other forums still have nothing. The weirdest part ~ I didn't make any modifications since I last installed and checked it. It just showed up out of the blue. I think my forums are possessed.

N9ne 09-30-2002 07:25 PM

Check all of your template sets, make sure you have modified them all with the code in the instructions.

frizor 10-01-2002 01:37 PM

for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions

antifanatic 10-01-2002 05:03 PM

does any 1 have any help for 2.0.0 as i dont want to upgrade

NTLDR 10-01-2002 07:03 PM

Quote:

Originally posted by frizor
for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions
I expect that you haven't placed the varible in the correct place in the showthread template. Check your template edits.

Brandon Rohde 10-02-2002 08:07 AM

I am trying to use the hack to allow people to turn quick reply on/off.

When I post this line:
Quote:

ALTER TABLE user ADD showquickreply tinyint(1) DEFAULT '1' not null AFTER nosessionhash
I get this error:
Quote:

bash: syntax error near unexpected token `tinyint(1'
Anyone know how to fix this or what the problem may be?

RUBiK 10-02-2002 02:55 PM

Quote:

Originally posted by Brandon Rohde
Anyone know how to fix this or what the problem may be?
Yes, you're not supposed to type that at the bash (shell) prompt but rather inside of mysql (i.e. at the "mysql>" prompt obtained by typing 'mysql' with the proper parameters to access the correct vBulletin database or whatnot).

LeeCHeSSS 10-02-2002 03:30 PM

Odd that noone suggested this b4, but in showthread.php find
Code:

$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread';
and replace with:
Code:

$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread,showthread_replybox';
It gets rid of 1 unnecessary query

[email protected] vbmenu_register("postmenu_307509", true); 10-08-2002 04:03 AM

Quote:

Originally posted by frizor
for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions

@ otacon - the code snippet in the 'showthread' template...

<!-- first unread and next/prev -->

...shows up a total of 4 times - $replybox should be after the fourth instance of it - you have it placed after the second instance of it.

Easy mistake to make...

[email protected] vbmenu_register("postmenu_307511", true); 10-08-2002 04:04 AM

This is awesome. Installed !

Is the a way to stretch the reply box to the right some?

edwardandtubbs1 10-08-2002 01:16 PM

very easy to install, just make sure you get the "$replybox" in the right place. Version 2.2.8

Areku 10-09-2002 06:12 PM

Some users using the Quick Reply box complain about not getting the email notifications anymore... Is there any fix for this? thanks!

sauron2002 10-14-2002 08:43 PM

top class stuff, me using

http://www.wolfensteinx.com/surface/forums

TimHL 10-15-2002 02:04 AM

I have tired to install this on a 2.2.8 and it doesn't show up . I put it in the correct place but it doesn't work. FireFly any ideas?

Sia Bani 10-15-2002 10:11 PM

I've successfully installed this on 2.2.8! It's GREAT....but....

Now I get blank pages every once in awhile when people try to link to another page, another secion on the forum, another thread, when they click reply...anything they click.

It's occasional, and I can't seem to figure otu what is causing this. Any ideas firefly??

BigCheeze 10-16-2002 01:25 AM

<- MORON ALERT

OK guys.. I've tried.. and failed to install this hack.... I have checked what I though was all correct, and still nada. Here's the info:

System: VB 2.2.8, phpPortal 3.0 pr8.1, PHP 4.2, Red Hat 7.3. The Quick reply box shows up at the bottom, but when I put in a message and click submit reply, I get:

Quote:

vBulletin Message
No thread specified. If you followed a valid link, please notify the webmaster
hhhhhh..... What did I do wrong? Thanks guys!!

xevito 10-17-2002 07:36 PM

I cant get it to go at the bottom.

Rand M 10-18-2002 03:01 PM

Installed in v2.2.8, all working (after putting $replybox in the right place).

Many thanks

xevito 10-18-2002 03:04 PM

Fixed ;) I was being a numpty ;)

xevito 10-19-2002 01:25 PM

Erm got it installed but it doesnt seem to work all the time for me - any ideas?

Dean C 10-22-2002 03:58 PM

Whoooaaa i haven't played with this hack for a LONGGGGGG time..

Anywayz if a thread is closed the quick reply box shows up for mods, sm's and admins and not regular members...

How do i get it so if the thread is closed the quick reply box will only show up for admins :D

- miSt

xevito 10-22-2002 06:06 PM

I have reinstalled but I tried the email thing and that screws up.

Anyone know how to make the subscribe thing work properly.

BigCheeze 10-23-2002 09:06 PM

Quote:

Originally posted by Darth Cow
Since I already have two requests...

First, run this database query:

Code:

ALTER TABLE user ADD showquickreply tinyint(1) DEFAULT '1' not null AFTER nosessionhash
There, that should do the trick :). If you have any trouble or can't get it to work, let me know.

I got this all installed (Like I said before I was being a moron). I got the attachments working, and the smilies box. However, when I try to add this feature..

If you turn it off, it won't turn it back on. It will change the vaule in the DB to 0 for off, but doesn't seem to want to change it back to 1 for on. I have to manually do that.

Any clue? Did I miss something??

Thanks!!!!!!!!!!!

X-Fan 10-26-2002 02:34 PM

Okay, this is bizarre. After upgrading to v2.2.8, I'm now getting "Object Expected" javascript errors on the New Thread and Edit Post pages.

Any ideas how to fix that?

smess 10-27-2002 02:44 AM

will this work on 2.2.2.?

AlexT 10-27-2002 12:26 PM

is this available for 2.2.8 please. I notice this forum is run and 2.2.8 and has a perfect quick reply box. Am i missing something or is it available and compatible ?

All help is greatly appreciated.

Chris M 10-27-2002 01:13 PM

@AlexT and smess - It should work for most if not all of the 2.2.x versions;)

Satan

smess 10-27-2002 03:46 PM

My reply box showed up at the top instead of the bottom, any help would be appreciated.

spittingangels 10-27-2002 04:25 PM

i'm currently using this hack and it works great but some of my members have requested implementation of the mood hack done by VeloCD and his instructions for including his hack within this hack are incorrect. has anyone else gotten the two hacks to work together?

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 11:33 AM.

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.02357 seconds
  • Memory Usage 1,855KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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