PDA

View Full Version : Quick Reply Box


Pages : 1 [2] 3 4 5 6

boatdesign
03-31-2002, 08:41 PM
I installed everything, but the box came at the top of the thread, not the bottom.
Look at step 3 and where you have placed the $replybox variable in the showthread template - you need to move $replybox to the right place.

Ignite
03-31-2002, 08:53 PM
this is how I have it, and its still at the top:

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

DFX
03-31-2002, 08:56 PM
Ok I just tried installing the other quick reply box metioned in the second post in this thread and it wouldn't work either. S I set up a testboard with 2.2.4 (same version my main board is on) and both of the qrb's work perfect. So I'm assuming this is a database problem of some sort, but when I try to run repair.php from the admin directory it says all tables are "OK" using the 2 default lines listed on the page. Any help?

Austin Dea
03-31-2002, 09:03 PM
the hack calls for you to look for this...

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

now compare the codes :D.

*cough* it's the second occurence of a <!-- first unread and next/prev --> section ;)

Ignite
03-31-2002, 09:38 PM
who me? is that what I am looking for? b/c my reply box is still at the top

boatdesign
03-31-2002, 10:35 PM
If you look at the showthread page, there is a < Last Thread Next Thread > section at both the top of the thread table and the bottom of the thread table. I believe you put $replybox below the first when you should have put $replybox under the second next/prev section - you just need to move "$replybox" in your showthread template until you get it where you want it to display.

boatdesign
03-31-2002, 10:36 PM
P.S. Anyone figure out how to only show the quick reply box for users who are logged in? (And not for unregistered users who are also allowed to post as guests... only for people who are logged in?)

(Forgive me because I am still very weak at PHP)...

Looking at the other posts in this forum I see this code:
if (!in_array($bbuserinfo['usergroupid'], array(5,6,7))) {
$replybox='';
} else {
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}
Is something like this all I need to do to not show the quick reply box to Unregistered Users (who do have permission to post, but I still want to encourage them to register and thus don't want to make it too easy to post as a guest.) Would I just enter the usergroupid for Unregistered in the array?

Or shoud I use this which I also see up in the thread:

if (($bbuserinfo['usergroupid']=="5") or ($bbuserinfo['usergroupid']=="6")) {
/*if (!$getperms['canviewothers'] and $thread
['postuserid']!=$bbuserinfo['userid']) {
show_nopermission();
}
if (($bbuserinfo['userid']!=$thread['postuserid']) and
(!$getperms['canviewothers'] or !$getperms
['canreplyothers'])) {
$replybox='';
} elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
$replybox='';
} elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
$replybox='';
} else {*/
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
} else {
$replybox=''
};


If one of the PHP experts could come up with the definitive code to use to not show the quick reply to guests (Unregistered Group who do have permission to post) I would really appreciate it.

boatdesign
04-01-2002, 03:11 AM
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?

boatdesign
04-02-2002, 05:28 AM
OK - it was easier than I thought.

Just add

} elseif ($bbuserinfo['usergroupid']=="1") {
$replybox='';
in the list of conditionals to not show the reply box to guests.

Now the only thing I can't figure out is how to only show the reply box if:
1.) it is the last page of a multipage thread, or
2.) it is a single page thread.

I can use
} elseif ($pagenumber!="1") {
$replybox='';

for example to not show it on page 1 but to show it on page 2.

I see above there is this conditional statement:
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {

Which I thought I would be able to easily adapt, but I can't seem to make it work.

Can anyone give me a hand?

Webmasta XT
04-02-2002, 10:29 AM
when i add the smilies box and press one smilie it doesnt add one in the box...

pHAZE_1
04-02-2002, 04:01 PM
hey firefly

i installed this hack, but the box is above the thread and i want it below the thread, just like it is here, how would i do that? please be specifi. thanks

btw it is very cool.

hukgwai
04-02-2002, 09:46 PM
Firefly: great hack.. it's working pefectly on my board..

just a cosmetic question..

how would i go about putting the reply buttons right next to the form rather than another table below it?

boatdesign
04-02-2002, 11:08 PM
how would i go about putting the reply buttons right next to the form rather than another table below it?
From your admin CP edit the showthread_replybox template.

boatdesign
04-02-2002, 11:12 PM
i installed this hack, but the box is above the thread and i want it below the thread, just like it is here, how would i do that? please be specifi. thanks
If you look at the showthread page, there is a < Last Thread Next Thread > section at both the top of the thread table and the bottom of the thread table. I believe you put $replybox below the first when you should have put $replybox under the second next/prev section - you just need to move "$replybox" in your showthread template until you get it where you want it to display.

hukgwai
04-03-2002, 12:37 AM
Originally posted by boatdesign

From your admin CP edit the showthread_replybox template.

i already know that much.. i don't know what to do... just cut and paste and make it a nested table? i would appreciate it if someone showed me exactly what the code is.. thanks

banoota
04-05-2002, 06:49 PM
am i the only one having trouble installing this?!

banoota
04-05-2002, 06:56 PM
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 -->


i don't get this bit, you mean we should put the code in our original showthread.php template? and if yes, where exactly?

cuz the text above sounds like "type $replybox" after the code block above

i couldn't find such thing in the original showthread.php

JTMON
04-06-2002, 01:02 AM
Can anyone tell me why I get parse error on line 480 on 2.2.5, the last line?

JTMON
04-06-2002, 01:13 AM
fixed it, I missed a '}'

Sadie Frost
04-06-2002, 01:54 AM
Originally posted by banoota


i don't get this bit, you mean we should put the code in our original showthread.php template? and if yes, where exactly?

cuz the text above sounds like "type $replybox" after the code block above

i couldn't find such thing in the original showthread.php

It's not in showthread.php, it's in the showthread template in teh admin cp :) And yes, after that code in the template, put $replybox on the next line

Hope that helps :)

banoota
04-06-2002, 07:36 AM
Originally posted by Sadie Frost


It's not in showthread.php, it's in the showthread template in teh admin cp :) And yes, after that code in the template, put $replybox on the next line

Hope that helps :)

oopth! i feel dumb :ermm:

thanks =)

Jawelin
04-06-2002, 11:40 AM
Originally posted by Jawelin
How could make this hack automatically subscribe to the just replied thread if the user config has subscription enabled ?
Is the proper hidden var enough ?

Thanks

As asked in Post #246 (https://vborg.vbsupport.ru/showthread.php?postid=234694#post234694) I put some addon to choose:
- subscribe to the thread (defaulted to 'no' in the original hack)
- add signature in quick-replied post (defaulted to 'yes' in the original hack)
Both are initially set to user's default values within UserCP:

In showthread.php

// replace :
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");

// with :
$textareacols = gettextareawidth();
if (trim($bbuserinfo[signature])!= "") $signaturechecked="checked";
if ($bbuserinfo[emailnotification]!=0) $emailchecked="checked";
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");


In showthread_quickreply template:

# remove two separate lines:

<input type="hidden" name="email" value="">
<input type="hidden" name="signature" value="yes">


# then add :

<td nowrap valign="bottom"><smallfont>
&nbsp;&nbsp;<input type="checkbox" name="email" value="yes" $emailchecked> Subscription<br>
&nbsp;&nbsp;<input type="checkbox" name="signature" value="yes" $signaturechecked> Signature<br>
&nbsp;&nbsp;<br>&nbsp;</smallfont></td>

# right after :

<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a><br><br></smallfont></td>


That's all, folks.
Thanks to FF for the great hack, again... but many users asked me such an enhancement.
Bye

Admin
04-06-2002, 11:45 AM
Good addition, only one thing.
You should really replace this:
if (trim($bbuserinfo[signature])!= "") $signaturechecked="checked";
if ($bbuserinfo[emailnotification]!=0) $emailchecked="checked";
With this:
if (trim($bbuserinfo[signature]) != '') {
$signaturechecked = 'checked';
} else {
$signaturechecked = '';
}

if ($bbuserinfo['emailnotification'])
$emailchecked = 'checked';
} else {
$emailchecked = '';
}
So people can't add stuff to the $emailchecked variable through the URL (this is why 2.2.5 was released). :)

inetd
04-06-2002, 12:01 PM
Jawelin, good addon :) :super:

P.S. FireFly, you edit only for 2.2.5?

Jawelin
04-06-2002, 12:03 PM
Yes, of course.
Thanks for pointing it out.

P.S.: I wouldn't affect your code too much... ;)

Even the resulting behavior of the table isn't too changed with those two little boxes... Otherwise, I moved the two buttons inside that table, btw.

jeevsy
04-07-2002, 08:23 AM
workd perfectly in vb2.2.5 BUT..............


i get this error when i try and edit any of the posts:

Fatal error: Call to undefined function: unindexpost() in /home/flashdo/public_html/board/editpost.php3 on line 264


but if you then press back, back a few times in ie then refrech on the page, the changes HAVE taken place.


any ideas what's up with this error message?

===========
www.flash-group.com/board
===========

thanks,
J

Admin
04-07-2002, 11:12 AM
Nothing to do with this hack.

Xube
04-07-2002, 02:30 PM
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:

email notification gone?
What happened to email notification when someone replies to a post you have participated in? I have it turned on in my profile, but I stopped getting them about the time the quick reply option went into effect.

Re: email notification gone?
Maybe you replied using QuickReply box. In that case, email notification is NOT turned on. The only way I have gotten the emails to work when using the quick reply box is to go back in thread and edit your post. Make sure "Email Notification" is checked. Just did it for that particular post.

Xube
04-07-2002, 02:49 PM
Originally posted by Jawelin
How could make this hack automatically subscribe to the just replied thread if the user config has subscription enabled ?
Is the proper hidden var enough ?
Thanks

...sorry, found this thread by searching & saw this fix after I posted.

Oopth! <==== what a great word banoota :D

inetd
04-08-2002, 10:05 AM
FireFly if not login to vB and to send the answer through Quick Reply Box the form for input login|password will appear. After input login&password there is a message: No thread specified. If you followed a valid link, please notify the webmaster. Having returned on two pages back any more you will not see the typed answer. Fix it please!

Xube
04-08-2002, 10:48 PM
Originally posted by inetd
FireFly if not login to vB and to send the answer through Quick Reply Box the form for input login|password will appear. After input login&password there is a message: No thread specified. If you followed a valid link, please notify the webmaster. Having returned on two pages back any more you will not see the typed answer. Fix it please!

Inetd, you what about installing the version of this hack that only shows the quick reply box when you are viewing a thread if you are logged on. That would eliminate the problem of the error. :D

inetd
04-09-2002, 10:14 AM
xube, i logged on. write reply more 15 minutes. Submit Reply and see error message. Understand me? :)

Dade
04-09-2002, 09:57 PM
grrr! How do I add smilies and vBCode to the quick reply box? Puleese help me! :D

JTMON
04-09-2002, 09:59 PM
Read through the thread, I asked the same question and he told me and it worked.

Dade
04-09-2002, 11:01 PM
19 pages here I come..

Kevlar
04-10-2002, 12:08 AM
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?

Jawelin
04-11-2002, 04:07 PM
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.

Chris M
04-13-2002, 02:09 PM
Is there a version for vb 2.2.5?

Satan

JTMON
04-13-2002, 02:25 PM
it works for 2.2.5, I'm using it now.

Chris M
04-13-2002, 02:29 PM
Er...

I cant seem to make it work...

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

JTMON
04-13-2002, 02:33 PM
should be around 234-240-I just checked my original 2.2.5 showthread.php.

Chris M
04-13-2002, 02:35 PM
Thanks...

Satan

Chris M
04-13-2002, 02:41 PM
Could you post the file up again?

I cant find it anywhere...

Satan

Chris M
04-13-2002, 02:58 PM
Ok...

I have installed it to your instructions...

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

Why?

The Error
Parse error: parse error in /home/thephora/public_html/showthread.php on line 106

Satan

dxb
04-13-2002, 11:11 PM
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

dxb
04-13-2002, 11:39 PM
got the answer I was looking for :) in this post

https://vborg.vbsupport.ru/showthread.php?postid=234705#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/showthread.php?postid=237370#post237370

but it didnt work is that because they are made for 2.2.5

Lorddraco98
04-14-2002, 03:40 PM
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?

Chris M
04-14-2002, 04:35 PM
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

Lorddraco98
04-15-2002, 11:19 AM
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!

Chris M
04-15-2002, 11:40 AM
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

Lorddraco98
04-15-2002, 11:51 AM
Great man, thanks. If anyone else can help us It'd be greatly appreciated!

Chris M
04-15-2002, 11:56 AM
Draco...

You wouldnt happen to know any reason why my error occurs?

Not the Quick Reply at the Top I mean...

I meant why it appears only in that forum?

Satan

Lorddraco98
04-15-2002, 12:18 PM
Nope, sorry man. I'm a PHP newbie hehe, but I'm trying to learn. But I really have no idea why it would do that. It could be the forums using different templetes, but I'm not sure.

Chris M
04-15-2002, 12:45 PM
Maybe...

I wonder why though...

I am also a php Newbie here, but I am learning pretty fast, although this has me truly stumped...

Satan

TheDutch
04-15-2002, 01:52 PM
Hi Hellsatan,

Checked the syntax? You didnt forgot a } or {?? or a ;?
Check that it might be the problem.

Greetz,
TheDutch

Chris M
04-15-2002, 02:25 PM
Hmmm...

Maybe...

I shall, but I think it is a more complex fault than that to solve the reason why its in different forums...

Thanks...I shall try it, but I doubt it will work...

Satan

Chris M
04-16-2002, 10:47 AM
Nope it wasnt the Syntax...

It wants to work in only one forum...

And I dont know why...

Satan

Lorddraco98
04-16-2002, 12:18 PM
I checked all the syntax on mine as well, but I still cannot figure out why it shows at the top. Any ideas?

Chris M
04-16-2002, 12:32 PM
Nope...

Im stumped...

Get this...

I figured out the error I made, and tried to fix it...

Yes...The Quick Reply box wanted to work then...

But again...Only in that forum...

So then I had 2 Quick Reply Boxes, one on top of each other...

Mayhem!

And they were both still at the top...

Maybe it is stuborn because it is 2.5.5...

Satan

Lorddraco98
04-16-2002, 02:52 PM
I'm using 2.2.2 O well, guess it'll just have to stay at the top

Smoothie
04-16-2002, 02:54 PM
Running 2.2.2. My QRB is at the bottom.

Lorddraco98
04-16-2002, 03:09 PM
Smoothie, does this look right to you?
I put this in my showthread tempalte
<!-- first unread and next/prev -->
$replybox

and then I edited the showthread.php and did everything else that the directions said. Was your install process the same?

Chris M
04-16-2002, 06:06 PM
I found the problem...

My friend, -rs-, found the problem...

There are 2 sets of "<!-- first unread and next/prev -->"!!!!!

Ray pointed out that I put it after the First set, which made it go at the top...

If you search, and add "$replybox" after the second set, it should go to the bottom...

Satan

Lorddraco98
04-16-2002, 08:29 PM
Sweet, my board now has MySQL errors which I need to fix, but after that I'll give that a go :D THanks again!

akaler
04-17-2002, 11:07 AM
This is a GREAT hack, Firefly!

Improves usability serveral hundred percent... thank you!!

Sometimes the simplest things are the most genius.

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.

B. A new spell checking hack has been released that looks like it's going to turn into something viable. Perhaps there could be a checkbox or a link for something like that, too? Perhaps like the count characters link your already have?

Those two small, out of the way suggestions would add even more to the usability -- key things people want control over... without clutter.

Thanks again, firefly! Hope you consider the suggestions.

Kevlar
04-17-2002, 04:47 PM
The really weird part...

I'm subscribed to this thread, but I'm guessing that when people use the quick reply box to reply, I do not get an email alerting me that the thread has been updated.

I'm guessing when users actually click on the "post reply" or "quote" button and submit the message that way, then I get an email alerting me that somebody has responded to the thread.

I'm having the same problem on my board ... anybody have a fix?

Chris M
04-17-2002, 04:56 PM
@akaler - I am sure that there are going to be more updates to this Hack...

I think this is a very good idea to have a Spellcheck, but I think it would look untidy and monstrous, and there is little point in having a Quick Reply box if you are going to clogg it up with Features that should be reserved for the "Post Reply" page...

The "Subscribe to Thread" issue I believe was solved in the earlier pages of this thread...I am not entirely sure which page, but I think it was between 12 and 16...

Satan

akaler
04-20-2002, 10:21 AM
@akaler - I am sure that there are going to be more updates to this Hack...cool man, good!

I think this is a very good idea to have a Spellcheck, but I think it would look untidy and monstrous, and there is little point in having a Quick Reply box if you are going to clogg it up with Features that should be reserved for the "Post Reply" page...[/b]A *link* wouldn't clutter anything up. Just like there's a smiley pop up based on a short link for the other quick reply hack, you could have little TIDY links, too. No clutter, necessary.

The "Subscribe to Thread" issue I believe was solved in the earlier pages of this thread...I am not entirely sure which page, but I think it was between 12 and 16...hahahaha! Pages 12-16!!!god.

There obviously needs to be a thread search feature here. I mean, the ability to search WITHIN a thread. When 1 thread alone has 400 messages... you're to the poin where that single thread IS a forum unto itself! Seriously! I've visited many forums with less posts than thing slike this thread has!

Anyway, thanks for the tips! I'm going to painstakingly look for that. Hopefully, someone has come out with a thread search hack -- I'm going to look for one, too. And if not... if any coders are out there reading this... how about it? Search within a thread hack? It's getting essential for big boards like this

Chris M
04-20-2002, 11:11 AM
Good idea...

Just one question...

Why all in bold?:D

Satan

Lorddraco98
04-20-2002, 12:42 PM
my quick reply box now shows up at bottom. There are 4 references to <---first and last post----> and that;s what you have to look for hehe. THanks all!

Admin
04-20-2002, 12:47 PM
Originally posted by akaler
There obviously needs to be a thread search feature here. I mean, the ability to search WITHIN a thread. When 1 thread alone has 400 messages... you're to the poin where that single thread IS a forum unto itself! Seriously! I've visited many forums with less posts than thing slike this thread has!

Anyway, thanks for the tips! I'm going to painstakingly look for that. Hopefully, someone has come out with a thread search hack -- I'm going to look for one, too. And if not... if any coders are out there reading this... how about it? Search within a thread hack? It's getting essential for big boards like this
LOL, This thread is small. Look at the vbStats thread, to get things started. Then look out for seriously huge threads, with like 65k replies. :D

Anyway, I decided this "Search in Thread" thing's gonna be my next hack. It should be easy. :)

Chris M
04-20-2002, 01:02 PM
Cool...

I look forward to this!!!

@LordDraco - I made exactly the same mistake...My friend pointed it out...

Satan

Entourage
04-22-2002, 09:51 AM
Very nice hack !! tnx

akaler
04-22-2002, 08:50 PM
Originally posted by hellsatan
Good idea...

Just one question...

Why all in bold?:D

Satan

Hi, "Satan". (said in a south park voice :)) Thanks.

I can't answer why it's all in bold, either. I used all the VB-code close codes properly. I even just went in to take a second look at it, with a fresh head on me. Looks fine. I fiddled with it a lot more, even adding superfluous /b's and whatnot. Nothing seems to help.

Maybe multiquoting doesn't work well here or something? That'd be weird, though, since I believe I've multiquoted before and it worked fine. But we all know that beliefs aren't necessary true, either. :) Oh ho hum. Long story story: I don't know!

akaler
04-22-2002, 08:52 PM
Originally posted by FireFly

LOL, This thread is small. Look at the vbStats thread, to get things started. Then look out for seriously huge threads, with like 65k replies. :D

Anyway, I decided this "Search in Thread" thing's gonna be my next hack. It should be easy. :) GOOD GOD! I had no idea there were such large threads!!!

And thanks a bunch for working on a "search in thread hack"!! Yay!! I'm sure it's going to be another huge hit with a lot of the bigger boards!

lazzy
04-25-2002, 06:53 AM
um...the code apears in two different places in the php file...i dont want to mess up my forums so do i just delete the two lines of code and put the replacement code where the first line went? help...

DWZ
04-25-2002, 09:27 AM
Just installed it :)

lazzy
04-25-2002, 04:47 PM
then tell me if u deleted the two lines of code...what did u do???

lazzy
04-26-2002, 12:04 AM
so do u delete the two lines of code and put the addition where the first one was? or do u delete both lins of code and put it where the second one was, or do u just delete the first and put it where the first was, or just delete the second and put it there, OR do u delete BOTH linens and past the same code where both lines where, or do u just pull a gun out right now and blow a hole in the monitor?

Learner29
04-29-2002, 07:44 AM
THANK YOU A MILLION.
a very neat hack...

I made a little error and placed it on top of the page, but then could find where the error is... in fact, I do not have the very last version of vb on my forum, and thus the php files are a bit different....

anyway, I am a big fan of your hacks firefly.

thanks

MikeL
04-29-2002, 11:34 AM
Very nice but I get a runtime error line 274 anyone else...

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

Thanks

Pulsorock
04-29-2002, 09:42 PM
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?

Boofo
05-01-2002, 12:03 PM
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.

Chris M
05-01-2002, 05:58 PM
@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

Learner29
05-01-2002, 08:31 PM
this is an excellent hack. I love it. I tried it and it works very fine.

Sketch
05-01-2002, 09:29 PM
nice work, Firefly. Works weel. ;)

Sketch

Learner29
05-01-2002, 11:01 PM
> 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. ?

ForKmaN
05-02-2002, 07:06 AM
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.

Jawelin
05-02-2002, 07:07 AM
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 (https://vborg.vbsupport.ru/showthread.php?postid=237367#post237367) and more...
:p

Instead, I'm still looking for a way to check if the current page is the last page of the thread .... Anyone ?!?!? :disappointed:
Thnx

Admin
05-02-2002, 09:44 AM
Jawelin: Try
if ($pagenumber == ceil($totalposts/$perpage)) {
But you will need to move the hack down a bit I think... mess with it a little.

Boofo
05-02-2002, 10:07 AM
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.

KeithMcL
05-02-2002, 10:36 AM
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!

Jawelin
05-02-2002, 01:20 PM
Originally posted by FireFly
Jawelin: Try
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! :cool: :classic:

I put the check you suggested between the others :
} 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.

Chris M
05-02-2002, 05:16 PM
@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

Boofo
05-03-2002, 12:34 AM
It is on it's way to you. And thank you for taking the time to look at this. :-)

Floris
05-03-2002, 11:31 AM
Uhm, how can I set it so, that if a user has - Email notification set to yes/ or /no- that this quick reply box hack will use it?

tpearl5
05-04-2002, 01:53 AM
This might be a bug. When a user posts using the quick reply the thread does not update in the active threads. This is aparent on my board because I link to the active threads.

For example: in this thread http://degster.com/midi/board/t13.html

I posted last however it does not say this here: http://degster.com/midi/board/search.php?action=showresults&getnew=true&searchid=2803

(yes, I know it's linked to an individual search)

Mntsnow
05-04-2002, 01:53 AM
I assume that this will still work in Version 2.2.5 even though it says it's for 2.2.3 since it's being used here :)

My question is... Is the coding still the same or do I have to look for different code or implement different code?

Thanks for helping a newbie ;)

tpearl5
05-04-2002, 02:03 AM
There's no differences that I noticed when I installed everything.

Mntsnow
05-04-2002, 02:10 AM
Thanks :) I'm going to try it then :)

Learner29
05-04-2002, 03:24 AM
> I assume that this will still work in Version 2.2.5 even though it says
it's for 2.2.3 since it's being used here :)
> My question is... Is the coding still the same or do I have to look for
different code or implement different code?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

it works! for sure, I tested it 4 times and it works smooooth
Yet if I remember well, yes, some minor, very minor, and apparent changes in
the code might be there...
But you will get by. I am confident.
Just give it a try and if it does not work, let us know.
It is a big family here, you would find many who are willing to help ya.
;-)

Learner29
05-04-2002, 03:28 AM
> This might be a bug. When a user posts using the quick reply the thread
does not update in the active threads. This is aparent on my board because
I link to the active threads.
>
> For example: in this thread
http://degster.com/midi/board/t13.html
>
> I posted last however it does not say this here:
http://degster.com/midi/board/search.php?action=showresults&amp;getnew=
true&amp;searchid=2803
>
> (yes, I know it's linked to an individual search)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hmmm. I do not know if my post would answer your question but let me tell
you this.
I used the reply-box, and went back to the forum, and the thread was
CORRECTLY updated with last post by ME.

Mathiau
05-04-2002, 03:31 AM
quick reply works fine on 2.2.5, got it on my board, tested it many times, no probs, no bugs *knock on wood*

:)

Chris M
05-04-2002, 01:37 PM
Firefly...

Myself and Boofo have been working to get this to work, and now it doesnt, even after a Fresh re-install...

What is wrong with it?

We havent added any other hacks except for the Quick Reply Box, and it still comes up with :

"No Valid Link specified...Please contat the Webmaster"

Any clues, as both of us a clueless??

Satan

kmistry
05-04-2002, 02:43 PM
works fine for me!

Boofo
05-04-2002, 04:01 PM
this really has me stumped! I just did a fresh install, put the quick reply box in and triple checked everything and I still get the Forum not specified error. Anyone have any idea at all what could be causing this?

Chris M
05-04-2002, 05:05 PM
I know this isnt confirmed...

But maybe it could be your hosting company's server?

Probably not...

FireFly - Help!:(

Satan

Boofo
05-04-2002, 05:11 PM
I had it working at one time. :lick:

Chris M
05-04-2002, 07:56 PM
Damn...

Maybe there is no explanation...

Satan

Boofo
05-04-2002, 08:46 PM
I'm moving to a new server this weekend. We'll see if that does anything. :-)

Chris M
05-05-2002, 12:27 PM
Hopefully...

Contact me when done boofo...

Satan

deano1
05-07-2002, 08:32 PM
help please someone
i did the hack
it dose work
but it's on the top of my forums
not the bottom
what i do wrong ???

Learner29
05-07-2002, 09:31 PM
deano1, it is easy ... watch well.

As FireFly says:

In the "showthread" template add $replybox right after the following:

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

Look for this statement well. You will find FOUR of it.

Put $replybox AFTER the last one, that is AFTER the fourth one.

deano1
05-08-2002, 03:02 AM
thanks learner29
i was just coming back to say i fixed it
if i would have read all posts first in this thread
instead of jumping to the end
i would have found it before complaining

thanks anyway
now i will add the smily box

bonnmac
05-08-2002, 05:38 PM
Another thanks is due. Works great on v2.2.5! :)

deano1
05-09-2002, 12:25 AM
Originally posted by FireFly
JTMON - Add this line:
$clickysmilies = getclickysmilies();
to showthread.php right after this:
$textareacols = gettextareawidth();
then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
to the template right after the <form> tag. That should work. :)

Wow this is even handier than I thought... :D

i am having a problem with the above stuff
adding smiley box
i got the first part
but i can't find where to put the second set of code
help please
this part

<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

Boofo
05-09-2002, 03:43 AM
Is there a way to do a smilies drop down box instead of the standard box of smilies for the quick reply box?

midad
05-09-2002, 11:27 AM
Great Hack FF ;)
Installed.... :)

Elentari
05-09-2002, 12:50 PM
I just got this installed! My very first hack! Yey! Thanks so much Firefly!! :D

Rapdis
05-09-2002, 01:05 PM
Hmm... quick reply is good but no bv codes.... no smilies....

Webmasta XT
05-11-2002, 08:15 PM
FireFly: When I click on [Get More] for the smilies box, the window opens but when I click on any smilies, they don't work, how come?? I mean it doesn't insert them in the box..

DFX
05-12-2002, 05:01 AM
I just exported some of my tables over from my old board to a new board. I didn't include the post table, and The QRB still only works sometimes. When it doesn't work it bypasses the "Thank you for posting" redirection screen and in IE's url bar it shows

forum.com/forum/showthread.php?which=Y2A&action=postreply&threadid=6549&title=&iconid=0&parseurl =yes&email=&disablesmilies=&closethread=&hiddenreply=&signature=yes&rating=0&mes sage=adsa&submit=Submit+Reply

I can't think of why it would go through sometimes and not others when the tables (according to repair.php) are all ok.

Any help?

CJi
05-12-2002, 03:52 PM
Quick question: is it possible to make this quick reply box subscribe people to threads if they opt for that as the default, and not if they don't? (not selectable or anything, just using their profile default settings).

Preasidium
05-12-2002, 06:35 PM
I have read this entire thread. All 25 pages. And i am completely lost on this install...

Firfly can you do me a huge favor and email me step by step instructions or something? I cant seem to find whats in the text file you supplied. I am very new to this still. I only have a few hacks installed. and they took me a while to figure out lol.

I am sorry im such a moron sometimes ^_^

MartynJ
05-12-2002, 11:00 PM
I would also like detailed instructions, I followed them as best as I could and still get weird parse errors, I can PM someone a copy of my edited Showthread PHP file?

Itworx4me
05-13-2002, 10:15 PM
Anyway to add the smiles to the quick reply box?

Webmasta XT
05-13-2002, 10:42 PM
Originally posted by Webmasta XT
FireFly: When I click on [Get More] for the smilies box, the window opens but when I click on any smilies, they don't work, how come?? I mean it doesn't insert them in the box..


Can Someone Please Reply to me? with the answer..

deano1
05-13-2002, 10:57 PM
no ones replying to anything

Pulsorock
05-14-2002, 04:32 PM
Originally posted by Pulsorock
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? HELP Anyone? I allow Guest posts to my board and Unregistered users that use the QRB appear with no name. What can I do to prevent them to use the QRB if they are unregistered or maybe offer a field where they can type the Nickname or something.

Allstar DC
05-14-2002, 08:12 PM
@itworx4me: do this:

[quote] quoted from firefly:
Add this line:

$clickysmilies = getclickysmilies();


to showthread.php right after this:

$textareacols = gettextareawidth();


then use $clickysmilies in the showthread_replybox template to add the box with the smilies in it, but you will also need to add these two lines:


<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>


to the template right after the <form tag. That should work. [/quote

Allstar DC
05-14-2002, 08:14 PM
@Pulsorock:
Do a search in this thread, this topic is discussed allready

Allstar DC
05-14-2002, 08:23 PM
@Webmasta XT:

did you added those 2 lines: <script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

to the showthread_replybox template ???

cause mine does work

deano1
05-14-2002, 08:40 PM
first of all
thanks for helping us

i don't have a showthread_quickreply template
all i have is a showthread_replybox

Allstar DC
05-14-2002, 08:50 PM
i know, sorry thats a lil typo in the instructions

"showthread_quickreply" template is actually named
"showthread_replybox" add that stuff there

deano1
05-14-2002, 09:10 PM
aw
thank you
i will try it then
and let you know
thanks for your wisdom

DFX
05-14-2002, 09:16 PM
Originally posted by DFX
I just exported some of my tables over from my old board to a new board. I didn't include the post table, and The QRB still only works sometimes. When it doesn't work it bypasses the "Thank you for posting" redirection screen and in IE's url bar it shows

forum.com/forum/showthread.php?which=Y2A&action=postreply&threadid=6549&title=&iconid=0&parseurl=yes&email=&disablesmilies=&closethread=&hiddenreply=&signature=yes&rating=0&message=adsa&submit=Submit+Reply

I can't think of why it would go through sometimes and not others when the tables (according to repair.php) are all ok.

Any help?

Think you can help me understand why it's doing that sometimes? maybe i messed up hacking the php file, I doubt that since I tried rehacking it several times. :ermm:

deano1
05-14-2002, 09:32 PM
this is mine

can you add it , those two lines
and copy it bcak here ?
thank you
i tried but failed

<script language="javascript">
<!--
var postmaxchars = $postmaxchars;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > $postmaxchars) {
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
function checklength(theform) {
if (postmaxchars != 0) { message = "\nThe maximum permitted length is $postmaxchars characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>

<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<input type="hidden" name="title" value="">
<input type="hidden" name="iconid" value="0">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="email" value="">
<input type="hidden" name="disablesmilies" value="">
<input type="hidden" name="closethread" value="">
<input type="hidden" name="hiddenreply" value="">
<input type="hidden" name="signature" value="yes">
<input type="hidden" name="rating" value="0">

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>
<td bgcolor="{secondaltcolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea><br>
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2">
<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
</normalfont></td>
</tr>
</table>

</form>

Allstar DC
05-14-2002, 09:50 PM
@DFX: i have to think about that one, im not that good at php.

@deano1 : download the attached "showthread_replybox" file
and replace the contents of your template with the one in the Attachment.

DFX
05-14-2002, 11:07 PM
I've come to the conclusion that it's a database problem. I've tried the same php file and the same style ( with template) on a new install and it works perfectly. About it working when it wants to on my real board, It only works on certain threads. I've tried repairing and optimizing......nothing works. Does anyone know which tables would affect this, so maybe I can dump them?

deano1
05-14-2002, 11:30 PM
yes
that worked
allstarDC

thank you for your help
you rock

http://www.deanosworld.net/vb/images/smilies/drules.gif

deano1
05-15-2002, 12:06 AM
and i added my own twist to it too
with dream weiver
the text i added i mean

http://www.deanosworld.net/temp/desk2.jpg

DFX
05-15-2002, 01:38 AM
It my continuous effort to try and understand why it's working on only certain threads I have found something else, on the quick reply box "check message lenght" option whenever i click it and it shows the amount of characters it works. However, on some threads when I click it it doesn't work and at the bottom of IE it gives me "Error" where it would say loading (5 documents left) etc. Maybe this will shed some light on it for you gurus out there. :confused:

deano1
05-15-2002, 01:58 AM
it's all working fine for me

Allstar DC
05-15-2002, 03:47 AM
DFX, you said that you "imported" some tables.

now the quickreply only works in some threads,
did you make all your forum sections before the import of tables or
did you add some new sections after the import too?

DFX
05-15-2002, 03:54 AM
I imported the forums table and added some sections after, yes. Is that bad. At this point i'm willing to wipe everything out except for members and post counts. I don't want a buggy database, I'd rather get it out of the way now instead of having massive downtime in the future.

Allstar DC
05-15-2002, 03:58 AM
ok, here is my next question:

when the quickreply does work, is that only in the section added after the import, or vice versa or.... ??

DFX
05-15-2002, 04:00 AM
Misc. Discussion was there prior and after import. QRB works in all forums just not on certain threads. If you click on the check message length button sometimes it will pop up and other times it won't, i think it not connecting to whatever it's supposed to and on these threads that the box doesn't pop up are the ones that the qrb won't work on.

DFX
05-15-2002, 04:11 AM
Here is a link that doesn't work with it.

http://www.dfusionfx.com/forum/showthread.php?threadid=597

Allstar DC
05-15-2002, 06:09 AM
mmm, i can't see what could cause that problem.

the best you probably can do is make new forums, and transfer all the posts to the new forums, and delete the old ones.

see if that fixes the prob

im affraid that there must be a problem with your imported tables

DFX
05-15-2002, 03:02 PM
Thanks for the help Allstar. :)

Allstar DC
05-15-2002, 05:46 PM
No need to thank me,

like i said i can't be any real help to you since i don't know much about php yet :(

dimitr|
05-16-2002, 03:19 AM
Never mind. :lick:

HappyPike
05-19-2002, 08:57 PM
Thanks FireFly! This hack also works on v2.03. (yeah, I'm still using v2.03)

What other cool hacks also work on 2.03??

chipheodeptrai
05-20-2002, 01:39 AM
I dont want link on quickreplay box, only text
how do i do?
please help thanks :)

Admin
05-20-2002, 11:25 AM
I know something that works on 2.0.3, it's called "Check me out I hack your board in 2 seconds!"... upgrade, for your own sake.

jucs
05-20-2002, 12:33 PM
I followed the directions, but my reply box shows up at the top rather than the bottom? How do I fix this? Thanks!

jucs
05-20-2002, 02:23 PM
Anyone?

Admin
05-20-2002, 02:35 PM
This is a common problem, read the rest of the thread and you will find your answer.

CJi
05-20-2002, 03:17 PM
Hi FireFly,

First off, great hack, thanks very much for your efforts, my users love it to death. I am however getting stick for the fact it doesn't subscribe users to threads who requested such in the UserCP. How can I make it subscribe to threads if they have the option by default in the UserCP, and not if they don't? I've tried to figure it out myself by checking the existing posting code, but couldn't see how vB have done it.

Any help appreciated. :(

solent
05-23-2002, 06:39 AM
very nice hack m8.

but when you close a thread you can still reply from the quick reply box.

any ideas how to fix this

Admin
05-24-2002, 07:05 AM
To subscribe users to the thread if the option is on in their profile.

In showthread.php, replace:
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
With:
if ($bbuserinfo['emailnotification']) {
$emailbox = 'yes';
} else {
$emailbox = '';
}
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");

Now in the showthread_replybox template, replace this:
<input type="hidden" name="email" value="">
With this:
<input type="hidden" name="email" value="$emailbox">

CJi
05-24-2002, 05:29 PM
FireFly, I could kiss you :) Thanks buddy, just what the doctor ordered!

Chris M
05-24-2002, 06:06 PM
@FireFly -

I saw your instructions on how to add the Smilies to the Quick Reply Box - Exactly where do you place "$clickysmilies" in the showthread_quickreply template?

I have tried several positions, and even tried putting table around it, but it just messes up the other tables of the box...

Satan

Allstar DC
05-25-2002, 07:56 AM
to add the smilies do the following:


open showthread_quickreply template

find:

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


and replace it with:


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


That should do the trick


*Remove the spaces after { and before }

Thomas P
05-30-2002, 10:48 AM
Gr8 hack m8! :bunny:

Very clean and simple to integrate :)

10x,
-Tom

moosey
05-30-2002, 02:25 PM
great hack mate!

seen it on boards and thinks it is dead usefull.. thx

NSeXcellent
06-01-2002, 12:53 PM
Originally posted by Allstar DC
to add the smilies do the following:


open showthread_quickreply template

find:

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


and replace it with:


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


That should do the trick


*Remove the spaces after { and before }


This is a very simple replacement, and I attempted it, but nothing shows up. Any clue? Yes I did remove the spaces before and after the brackets....

JZarate
06-01-2002, 09:00 PM
Thanks a lot FireFly! This hack worked like a charm in 2.2.5

Slynderdale
06-01-2002, 09:26 PM
my quick reply box :)

Allstar DC
06-01-2002, 09:32 PM
NSeXcellent: that coding was in answer to hellsatans question about how to add the smiles to the replybox.

thats how i have done it and it does work.

if it isn't working then you must have done something wrong

NSeXcellent
06-01-2002, 11:15 PM
Originally posted by Allstar DC
NSeXcellent: that coding was in answer to hellsatans question about how to add the smiles to the replybox.

thats how i have done it and it does work.

if it isn't working then you must have done something wrong
Yes that is what I was attempting to do... I installed the quick reply box, then that addition there, but i get no smilies for the quick reply box

AviationForum
06-01-2002, 11:43 PM
Arrgh!

I installed everything exactly as it was supposed to be, but when I try and reply using the Quick Reply Box I get a "no thread was specified" error message. :mad:

AviationForum
06-02-2002, 04:32 PM
HELLLLLLLLLLLP!

Martin CX
06-02-2002, 09:51 PM
Well... if you installed everything exactly as you were supposed to, you should be flying... but the error message sounds like something you'd get if this; " <input type="hidden" name="threadid" value="$threadid">" was omitted from the "showthread_replybox" template.

:ermm:

rebirth
06-03-2002, 01:44 AM
can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?

desi
06-03-2002, 12:37 PM
how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers

chr@nox
06-03-2002, 12:47 PM
very nice hack m8...i had an old one of this which did work on 2.2.5 but it gave a runtime error :p
thanks alot!!

and cihangir...the one at 230 is the one u need to have :)

James Cridland
06-03-2002, 04:38 PM
For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.

To do this, I tried adding this at the end of the template:

<SCRIPT LANGUAGE="JavaScript"><!--
document.vbform.message.focus();
//--></SCRIPT>

...but it doesn't do the job sometimes. Wonder where I'm going wrong?

Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"... I'll go hunting for a reason.

Martin CX
06-03-2002, 05:27 PM
Originally posted by desi
how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers The hack works fine in 2.2.5. The code changes between the latest versions are often not very big, and thus most hacks work for 2.2.5 or 2.2.6 even though they were made for 2.2.1, for example.

Martin CX
06-03-2002, 05:34 PM
Originally posted by rebirth
can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply? Basically, you need to include "<input type="checkbox" name="parseurl" value="yes" $parseurlchecked>" and "<input type="checkbox" name="signature" value="yes" $signaturechecked>" to the layout (and some text labels for the check boxes, obviously :)) and add it to the "showthread_replybox"-template where you want them. Afterwards remove "<input type="hidden" name="parseurl" value="yes">" and
"<input type="hidden" name="signature" value="yes">" from the template.

It isn't very hard. Have fun! :rambo:

James Cridland
06-03-2002, 10:35 PM
Originally posted by James Cridland
For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.

And the reason why we don't do this, kids, is because it then scrolls to the bottom of the page when you click on a thread to read, annoying the hell out of everyone.

Ignore me.

Bimma Boy
06-04-2002, 12:08 AM
Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

James Cridland
06-04-2002, 01:47 PM
Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"...

This is a valid point: we argue a lot on our board, and it's easy to post a reply without reading where the argument is going...

To make your reply box always appear at the END of the conversation (which will be at the beginning if you sort your posts the other way round!)... search for the following in the hack: $textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");

Replace with:
//We might have a reply box here

//Get total posts in this thread
$jrc_threadinfo=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE threadid='$threadid'");

//Check post order
if (!$postorder) {
// newest last page
$jrc_wherearewe=$jrc_threadinfo[posts]-($perpage*$pagenumber);
} else {
// oldest last page
$jrc_wherearewe=($perpage*$pagenumber)-$jrc_threadinfo[posts];
}
// print a reply box on page containing last post
if ($jrc_wherearewe<=0 or (!isset($pagenumber) and ($jrc_threadinfo[posts]<$perpage))) {

$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}

Hope that's of use to you.

desi
06-04-2002, 02:19 PM
hiya all ,
i installed this hack today this is what i get

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

any suggestions would be helpfull

also matinCX thankx for the info i have most of the hcaks working now


cheers :)

sidhighwind
06-04-2002, 03:28 PM
Originally posted by Bimma Boy
Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

Yes it works very good on 2.2.6!

:bunny:

desi
06-04-2002, 10:16 PM
could someone pls help me i posted my error in the post above .....

i'm have to get my board up and running tonite so pls let me know what do i fix in order to get the quick reply box running

thankx again

jimmy mac
06-06-2002, 03:00 AM
*edited out because i'm retarded*

desi
06-06-2002, 02:37 PM
wow now reply .......

once again i'm using vbulletin 2.2.5 and evertime i reply through the quick rely box i get the message
==============================================
No thread specified. If you followed a valid link, please notify the webmaster
==============================================

i have reinstalled the entire board again but get the same error

if anyone can tell me how to fix this pls let me know

thankx

snakes1100
06-06-2002, 03:00 PM
desi
sounds to me like u didn't do step 1 correctly...

desi
06-06-2002, 04:01 PM
Snakes there are 2 files fo hack which one do i use ???

thankx

snakes1100
06-06-2002, 04:07 PM
Well I seen the first one and that is the one to use, anything after that is most likely a add on like the smilies. I'll read thru all 30 pages and see if I can see the mysterious 2nd attachment your talking about. :rambo:

desi
06-06-2002, 04:45 PM
well i did all that reinstalled everthing and still the same error but this time better ......... a runtime error when i pree the submit button

lol

thankx for helping out bro

:)

NavyMaster2002
06-06-2002, 11:56 PM
Godd Hack i love it

desi
06-07-2002, 06:16 PM
seems like noone can solve my problem
now i installed 2.2.6 and still get the same error ............

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

i haven't installed any hack and i'm getting this error

cheers

McKannabis
06-07-2002, 08:46 PM
Excellent Hack, dude. Awesome idea.

Takara
06-08-2002, 08:10 AM
Nice hack firefly. Though by accident at first I installed the reply box at the top of my forums, hehe.

Limpkinw
06-10-2002, 01:50 AM
Great hack thanks!

I had the reply on top at first but fixed dat!

desi
06-10-2002, 02:59 AM
fixed it thanks for the help sweet hack :)

wolfe
06-10-2002, 10:53 AM
m8 if you look @ your code in the showthread_replybox it has in ther threadid you have to put

threadid="$threadid"

JackDawson
06-10-2002, 01:27 PM
Cool hack!!

Thx!!

Jacky

Lucrecia
06-11-2002, 02:54 PM
I saw on this site that they also have a drop down option to choose a smilie. What would be the code to put that in?

http://www.ffimpulse.com/forum/showthread.php?threadid=7900

Sal Collaziano
06-12-2002, 02:31 AM
How exactly do you get the EMAIL and SIGNATURE feature in there? Is there simply something in the code you must turn on? Or is it a recent addition? When I installed this hack, I never saw these options anywhere. But now, I'm seeing them...

rharbison
06-13-2002, 02:12 AM
Your members will love this one!

I installed it and traffic has probably doubled...

Pabs
06-15-2002, 08:39 AM
I'm getting script errors after installing this hack.

It says this:


Line: 1388
Char: 63
Error: Unterminated String Constant
Code: 0

N.B.
06-16-2002, 12:37 PM
Thanks, nice work :)

BigJohnson
06-17-2002, 09:02 AM
Very great hack but having one problem here though. My checj message length button doesnt work and my smilies when i click on them dont work. What could be the prob? I am so lost i think it is something with the java or something i don't know so i diced to ask the professionals ;)

Here is my Template for ReplyBox


<script language="javascript">
<!--
var postmaxchars = $postmaxchars;
function validate(theform) {
if (theform.message.value=="") {
alert("Please complete the message field.");
return false; }
if (postmaxchars != 0) {
if (theform.message.value.length > $postmaxchars) {
alert("Your message is too long.\n\nReduce your message to $postmaxchars characters.\nIt is currently "+theform.message.value.length+" characters long.");
return false; }
else { return true; }
} else { return true; }
}
function checklength(theform) {
if (postmaxchars != 0) { message = "\nThe maximum permitted length is $postmaxchars characters."; }
else { message = ""; }
alert("Your message is "+theform.message.value.length+" characters long."+message);
}
//-->
</script>

<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<input type="hidden" name="title" value="">
<input type="hidden" name="iconid" value="0">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="email" value="$emailbox">
<input type="hidden" name="disablesmilies" value="">
<input type="hidden" name="closethread" value="">
<input type="hidden" name="hiddenreply" value="">
<input type="hidden" name="rating" value="0">
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2"><normalfont color="{tableheadtextcolor}" class="thtcolor"><b>Post Reply</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td>
<td bgcolor="{secondaltcolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea><br>
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
<td nowrap valign="bottom"><smallfont>
<input type="checkbox" name="email" value="yes" $emailchecked> Subscribe to thread<br>
<input type="checkbox" name="signature" value="yes" $signaturechecked> Show signature<br>
<br> </smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2">
<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
<input type="submit" class="bginput" name="preview" value="Preview Reply" accesskey="p" tabindex="4">
</normalfont></td>
</tr>
</table>

</form>


Please help thanks so much. I took out the smilies just for now because they were causing to much hassle. thanks.

mentalblocks
06-17-2002, 04:14 PM
just tried to install this. Didn't work. I'm not sure on the #3 in the instructions,

I've put $replybox into the template just as that. Does it need to be in {} or some other syntatic supports?

BigJohnson
06-17-2002, 07:46 PM
Please help. If i cant get the smilies to work then i dont think I am going to keep this hack then. Please help i really enjoy this feature.

RobP
06-17-2002, 08:16 PM
This hack worked with vb version 2.2.5 but after we upgraded to 2.2.6 this has now stopped working, the code is in place where it should, the reply box doesn't appear :(

BigJohnson
06-18-2002, 08:35 AM
^^^BUMP^^^

BigJohnson
06-18-2002, 09:00 AM
ok i fixed the prob nevermind sorry guys.

jbell
06-18-2002, 06:12 PM
I installed the hack but when I tried to add $clickysmilies into the replybox - after the <form> I can't get it to show up - where exactly does this belong ???

FleaBag
06-19-2002, 06:27 PM
Working great on 2.2.6! :)

Doyler
06-19-2002, 08:17 PM
sweet hack, Greet thing about vb all old hacks seem to work perfectly on new boards. :D

Razor
06-21-2002, 01:07 AM
I followed the instructions step by step in the text file, but the reply box doesnt show up. Running on 2.2.6

inetd
06-21-2002, 02:07 PM
no comprendo
nicksaunders, WHAT? :? I don't understand you... :(

inetd
06-21-2002, 02:07 PM
The gambling addon will not be included in v1.3 since it's way to big
to add it in the Store Hack script. I will release it 'maybe' as an
addon.
Please release it... This is super idea!

5861king
06-21-2002, 06:09 PM
nice, one

Kinox
06-27-2002, 05:24 AM
This will generate 2 forms for you...

1 for showthread.php as quick reply.
1 for forumdisplay.php as quick thread.

Enjoy!

Kinox
06-27-2002, 05:25 AM
reply

Kinox
06-27-2002, 05:26 AM
thread

scsa20
06-27-2002, 06:06 AM
hmm...so it's basicly the same if you download the hacks sepretly from the actuly user who made it either the quick reply and/or quick thread??

Kinox
06-28-2002, 01:57 AM
yeah, made this for me, its easyer to run a hack file then do it by hand..

roxics
06-29-2002, 08:46 PM
I am so confused by the instructions in the this hack.

It says "Create a new template, with the name "showthread_replybox"

So I did that. But then it lists all this code underneth that I have no idea what to do with.

Then it says "In the "showthread" template add $replybox right after the following:"

Where in the Showthread template do I add that stuff? I'm in the Admin CP and it gives me this whole list to stuff under it
showthread_replybox [edit] [remove] [add template] [show all] [collapse groups]
activateform [change original]
activate_requestemail [change original]
aim [change original]
aimmessage [change original]
announcebit [change original]
announcement [change original]
avatar [change original]
avatarbit [change original]
avatars [change original]
bbcode [change original]
Calendar Templates [expand]
coppaform [change original]
editpoll [change original]
editpost [change original]
editpost_attachment [change original]
Email Subject Templates [expand]
Email Templates [expand]
Error Message Templates [expand]
FAQ Templates [expand]
footer [change original]
Forum Display Templates [expand]
Forum Home Page Templates [expand]
forumjump [change original]
forumjumpbit [change original]
forumrules [change original]
User Info Display Templates [expand]
gobutton [change original]
header [change original]
headinclude [change original]
head_newpm [change original]
icq [change original]
listbit [change original]
listedit [change original]
lostpw [change original]
mailform [change original]
Member List Templates [expand]
User Option Templates [expand]
navbar [change original]
nav_joiner [change original]
nav_linkoff [change original]
nav_linkon [change original]
New Posting Templates [expand]
Page Navigation Templates [expand]
phpinclude [change original]
Polling Templates [expand]
Postbit Templates [expand]
posticonbit [change original]
posticons [change original]
printthread [change original]
printthreadbit [change original]
Private Messaging Templates [expand]
quotereply [change original]
Redirection Message Templates [expand]
Registration Templates [expand]
reportbadpost [change original]
Search Templates [expand]
sendtofriend [change original]
Show Groups Templates [expand]
showpost [change original]
Show Thread Templates [expand]
signupadult [change original]
signupcoppa [change original]
signupverify [change original]
smiliebit [change original]
smilies [change original]
standarderror [change original]
standardredirect [change original]
Subscribed Thread Templates [expand]
threadreview [change original]
threadreviewbit [change original]
threadreviewbit_ignore [change original]
Thread Management Templates [expand]
timezone [change original]
User Control Panel Templates [expand]
username_loggedin [change original]
username_loggedout [change original]
vB Code Templates [expand]
whoposted [change original]
whopostedbit [change original]
Who's Online Templates [expand]
yahoo [change original]
That's all folks

Chris M
06-30-2002, 01:59 PM
Show Thread Templates [expand]

Click expand, and this :

Show Thread Templates [expand]
showthread [change original]
showthread_adminoptions [change original]
showthread_firstunread [change original]
showthread_hideposts [change original]
showthread_polloptions [change original]
showthread_pollresults [change original]
showthread_pollresults_closed [change original]
showthread_pollresults_voted [change original]
showthread_ratingdisplay [change original]
showthread_threadrate [change original]
Should appear...

Click on "[change original]" on the "showthread" value, and then search for the 4th occasion of what is asks you to search for...

Satan

nuno
06-30-2002, 02:34 PM
Sweet
Installed :)

Boofo
06-30-2002, 02:37 PM
Can you please post the code to add the attachment option to the reply box? I already ahve them installed and just need that. :)

Originally posted by Kinox
This will generate 2 forms for you...

1 for showthread.php as quick reply.
1 for forumdisplay.php as quick thread.

Enjoy!

nuno
06-30-2002, 02:47 PM
I think you guys are missing the point with Chen's hack, notice that it is called Quick Reply Box :p

Trommsdorff
07-02-2002, 05:27 PM
Awesome hack. I just installed and will be posting the change in daily posts. You guys are smart folks - thanks for the great hack.

HiSquad
07-04-2002, 12:05 AM
Hello
I would like all that hack in notepad

Thank you

Jared Press
07-04-2002, 01:51 PM
I am confused about the instructions. I have it isntalled and it works fine. except:

I get a runtime error "object expected"

I cant figure out how to add the smilie check box. I have read some refrences to to a quick reply template but I didn't make one I just made the changes to the showthread template as it says in my original doc.

Jared Press
07-04-2002, 01:52 PM
I cant find this code int he showtread template?

$textareacols = gettextareawidth();

Smoothie
07-04-2002, 03:03 PM
Originally posted by Jared Press
I cant find this code int he showtread template?

$textareacols = gettextareawidth(); showthread.php

Smoothie
07-04-2002, 03:05 PM
Originally posted by Jared Press


I cant figure out how to add the smilie check box. I have read some refrences to to a quick reply template but I didn't make one I just made the changes to the showthread template as it says in my original doc. you should have a showthread_replybox template.

lifesourcerec
07-05-2002, 12:03 PM
How do you reduce the colspan? The quick reply box is longer than the message tables (got table width set at 95%)

trilOByte
07-06-2002, 12:30 AM
.... for this hack,

would be a check box or radio button that could be incorporated into the postbit. When checked, the content of that post would be auto-inserted inside [quote] tags, when the QuickReply user hit the post reply button.

Basically an auto-quote funtion, tagged by a radio button or check box in the postbit.

Conscience
07-06-2002, 09:35 AM
firefly, i'm getting a small issue I think is related to the variable change in php...

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

any quick fixes there?

Admin
07-06-2002, 12:20 PM
Do you get it every time?

Conscience
07-06-2002, 02:00 PM
yup :(

Highlander
07-07-2002, 08:06 PM
yes i get also an runtime error...but i noticed that ecerybody get it who installs MS office xp ..relly it sounds unbeliveable..but i aksed about 50 members and testes it..instllling ms office...deinstalled it and it works without runtime !..

Boofo
07-07-2002, 08:10 PM
There must be something else wrong then. I have MS Office XP installed and have never had a problem with this hack. It runs great here. There is no way that MS Office XP can be messing with it. :)

Originally posted by Highlander
yes i get also an runtime error...but i noticed that ecerybody get it who installs MS office xp ..relly it sounds unbeliveable..but i aksed about 50 members and testes it..instllling ms office...deinstalled it and it works without runtime !..

Cygnus
07-08-2002, 09:35 PM
Sweet Hack! Installed beautifully the first try!

Cygnus

Heineken77
07-14-2002, 07:01 PM
Thank you Firefly! Works like a charm :)

I?E
07-15-2002, 06:20 PM
Where abouts is this line "$textareacols = gettextareawidth();"

Towards the Top, Middle, bottm... ect.

This is the only thing holding me back from finishing the install.. finding the darn code! :surprised:

PeterNRG
07-15-2002, 07:02 PM
About 266 post ago (https://vborg.vbsupport.ru/showthread.php?postid=232217#post232217) I asked what people should think about having the RATING function tied into the QuickReply box.

It surprized me actually that nobody replied to this, cause I think it's an indispensable thing to have if you want to be sure of people using the rate feature.

I mean, just have a look yourself at most boards who have the QuickReply installed: they all have empty Rating table cells.

I know people are lazy when it comes to rating posts, that's why we have to make this feature as easy accesible as possible, by implementing it next to the QuickReply SUBMIT button :)

Did I make any sense? :cool:

Logician
07-15-2002, 08:59 PM
This is really a very long thread and I dont know either if someone else posted this modification before or if anybody can find it in hundreds of other posts, but I'll post it anyway:

This modification will configure notification mail settings of the quick box according to the default settings of the poster. That is, if the poster has enabled email notification in his user cp settings, his quick reply will be configured accordingly too. On the other hand, if his default setting of the poster is to get no notification, he will not be subscribed to the thread when he used the quick reply box..

This thread is very active so I dont have subscription here, therefore if you are replying this message, I will not be able to read.. :knockedout:

Martin CX
07-15-2002, 09:02 PM
Thanks, Logician. I'll use your modification in the morning.

Boofo
07-16-2002, 12:03 AM
Would this also work?

if ($bbuserinfo['emailnotification']) {
$emailbox = 'yes';
} else {
$emailbox = '';
}

And

<input type="hidden" name="email" value="$emailbox">

Originally posted by Logician
This modification will configure notification mail settings of the quick box according to the default settings of the poster. That is, if the poster has enabled email notification in his user cp settings, his quick reply will be configured accordingly too. On the other hand, if his default setting of the poster is to get no notification, he will not be subscribed to the thread when he used the quick reply box..

GamerNext
07-16-2002, 11:05 PM
My quick reply box seems to be appearing at the top of the thread rather than the bottom...

GamerNext
07-16-2002, 11:12 PM
Nevermind, I just switched where it goes.