PDA

View Full Version : [HowTo] Quote Multiple Posts At Once


Floris
10-28-2002, 10:00 PM
[HowTo] Quote Multiple Posts At Once

v1.0.1 [build for vBulletin 2.2.8 Final] last update: 29/10/2002

_____ Introduction:
This was originally my idea and FireFly has been so cool to help me out and code it. I have been wanting this for a damn long time on my forums, and finally it has been realized!

The beta release has been beta a long time and no bugs have been found. After 450+ downloads here is the final 1.0 version for vBulletin 2.2.8 and it works 100% on a clean install.

This code modification works on vBulletin 2.2.x for sure!

_____ What to expect:
The code/template modification allows your users to check a checkbox next to each post in a thread. And when clicked on the 'post reply'-button, takes them to newreply.php with all quotes from all checked messages in the textarea.
This saves you a lot of time if you want to reply to more then one post in a thread, without having to go back and forward and make several posts or copy/paste all the time and get confused.

_____ What will happen when:
If you check one quote [ ] checkbox or more, it will quote those posts.
If no quote: [ ] checkbox is checked, then the 'post reply'-button acts like a normal postreply, nothing is quoted.
And if you click on the quote button in a post, it will just quote that post (even if any of the checkboxs are checked).

_____ Support:
Sure, but it depends on my knowledge and my free time. No alternation to the code modification / postbit / otherwise will be provided. All support goes through his thread, so please do not PM or E-mail me about it, thank you.

_____ Screenshots:
For screenshots, I have put some in the .zip file.

_____ Installation:
You have to apply a few template changes and a file change in order to get this to work. Download the attachment from this post and follow the installation steps. In about 10 minutes your board is tweaked and ready for more coolness.

_____ Update:
I just uploaded version 1.0.1 which is the same version, no bug fixes, but with the little tweaks and addons from N9ne. For those who installed 1.0.0, just upgrade from the .txt file from N9ne (see few posts up this thread).

Enjoy!

N9ne
10-28-2002, 10:45 PM
Thanks for releasing this!

N9ne
10-28-2002, 10:55 PM
Umm how do I get rid of those ugly white boxes behind the add reply image?

N9ne
10-28-2002, 11:21 PM
I have made a modification. Instead of using the template modifications in the instructions for showthread, you can try these ;)

These will get rid of the white box, keep the hand cursor on mouse over, make the add reply button at the top of showthread work too.

This has been tested on 2.2.8 and works flawlessly.

mewgood
10-28-2002, 11:38 PM
this is a good hack
but this will not work if you are using the quick reply hack
possible to fix that?
anyone?

N9ne
10-28-2002, 11:49 PM
mewgood: Can you be more specific? This hack works if you have quick reply installed, but you can't use quick reply if you want to quote the selected posts...

TECK
10-29-2002, 02:27 AM
yes you can...

Larry@IOG
10-29-2002, 03:16 AM
/me slaps install very easy about 3-5 min in 2.2.8

Thanks

Larry

ZiRu$
10-29-2002, 05:01 AM
WOW! I like this better than Fireflys cause it dosent add a new button. Thanks I'll install tomorrow!

mewgood
10-29-2002, 05:41 AM
ya thats what I mean
I can't use quick reply if I want to quote the selected posts...possible to change it ?

mewgood
10-29-2002, 05:44 AM
anothr porblem
why this happen?

Floris
10-29-2002, 09:55 AM
Originally posted by ZiRu$
WOW! I like this better than Fireflys cause it dosent add a new button. Thanks I'll install tomorrow!
I am glad that you like it. This is just the final and tweaked version from the one FireFly released, the source code in the .txt file didn't change (that much).

Originally posted by mewgood
this is a good hack
but this will not work if you are using the quick reply hack
possible to fix that?
anyone?
As said in the first post, this works 100% on a clean installation of vBulletin 2.2.x - Therefor, if you have installed other hacks, then adjust the code and places to modify templates to match the installation hack, it will then probably work. Ofcourse, the quick reply hack is a hack to quickly reply to the topic, not to do multiple quotes with. So, no, it won't work with the QR-hack, but I bet the normal functionallity to the post reply button, even with the QR-hack installed, will work.

Originally posted by mewgood
anothr porblem
why this happen?
I do not know, maybe because it is an input button with a graphic over it. (Otherwise we would have a third button: see the beta hack for that code) Maybe you can fix it by removing the class="bginput" from the <input ..> tags (there are two that apply to this hack).

Originally posted by Larry@IOG
* Larry@IOG slaps install very easy about 3-5 min in 2.2.8


Thanks

Larry
Glad you guys like it.

N9ne
10-29-2002, 11:23 AM
mewgood: Simple use the steps I posted, they fix it.

[however the ZIP has been updated, and the hack is now 1.0.1 :)].

No one can complain that this doesn't work, as I'm almost certain it works with 2.2.4+ and should work on 2.2.x...

Chris M
10-29-2002, 11:39 AM
Very nice:)

Satan

Schorsch
10-29-2002, 02:07 PM
Hi xiphoid,

thanks for your great work!

one question, how can I align the checkbox more to the right ?

http://www.fetter-esel.com/images/checkbox.jpg

regards,
Schorsch

N9ne
10-29-2002, 02:17 PM
Schorsch, please post your postbit template [just the segment which contains the box]

Schorsch
10-29-2002, 02:30 PM
Originally posted by N9ne
Schorsch, please post your postbit template [just the segment which contains the box]

it's exactly like in the install.txt:

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="75%" align="left" valign="baseline">
<smallfont>$post[icon] <b>$post[title]</b></smallfont></td><td align="right" valign="baseline" nowrap>
<smallfont>quote: <input type="checkbox" name="quotes[$post[postid]]"></smallfont></td></tr></table>

N9ne
10-29-2002, 02:35 PM
I will need more code than that as you have another hack installed, please post a larger segment of code ;)

Schorsch
10-29-2002, 02:41 PM
Hi N9ne,

I just sent you my postbit template via PM.

regards,
Schorsch

edit: Thanks N9ne, works great now!

Dean C
10-29-2002, 03:31 PM
How is this different from the Beta version released by FireFly?

- miSt

N9ne
10-29-2002, 03:47 PM
This works flawlessly ;)

Floris
10-29-2002, 05:08 PM
Originally posted by Mist
How is this different from the Beta version released by FireFly?

- miSt
You obviously didn't read the thread.

It has the tweaks and final stuff all together with a few screenshots in one package, as a final version.

ZiRu$
10-29-2002, 06:08 PM
I installed the latest verion. I have a mini problem. my "quote:" is on 1 line and the checkbox is on the second line, Heres my postbit...what can i do?


<td width="20%" align="left">
<smallfont>
(<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post #$countposts</a>)</smallfont></td>

<td width="80%" align="left">
<smallfont>
quote: <input type="checkbox" name="quotes[$post[postid]]">
</smallfont></td>

Floris
10-29-2002, 07:16 PM
Your code isn't the one I put in the installation file, you are missing the alignement that makes it displays on the right and the nowrap part which keeps everything in place.

Ian
10-29-2002, 08:28 PM
I just installed the hack and must say it works awsome, hoever, I do have one slight problem. My, Last Thread Next Thread links seem to have a extra row of space bwtween the upper table. I attatched a picture to show the problem, the picture also includes my L33T driving skills.

cgwillis
10-29-2002, 09:02 PM
Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.

WoodiE
10-30-2002, 02:43 AM
I too am having the same problem as Schorsch...what can i do to move the check box over to the left more?

-WoodiE

WoodiE
10-30-2002, 02:50 AM
Nevermind I fixed it...Very nice hack.

Thanks

-WoodiE

lordofgun
10-30-2002, 03:08 AM
Originally posted by cgwillis
Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.

Good question!

LangTuDaTinh
10-30-2002, 03:19 AM
great hack but how come it only work /w the top post reply button for my forum? it doens't work /w the bottom post reply, please help...thanks

LangTuDaTinh
10-30-2002, 03:24 AM
oppss..sorry, i forget to reply both in showthread....thanks ...it works w/ 2.2.8

Floris
10-30-2002, 10:36 AM
Originally posted by Ian
I just installed the hack and must say it works awsome, hoever, I do have one slight problem. My, Last Thread Next Thread links seem to have a extra row of space bwtween the upper table. I attatched a picture to show the problem, the picture also includes my L33T driving skills.
I think your showthread template has an extra space because of the </form> tags (maybe) Try removing the blank line between the </form> tag and the </table> tag. My code doesn't have any <br> in it to cause it. It could just be a html behaviour acting up.

Originally posted by cgwillis
Just a quick question that I THINK I know the answer for:

Is there any way to make the checkmarked quotes stay in the form memory if you move to another comments page in a single thread? I can only quote multiple messages on the same page in a thread.
The awnser you could expect is no, and I am afraid to say that I think it is no. It requires too much code modifications to achieve this. (version 2.x hehe, but I doubt that will happen).

Originally posted by WoodiE
I too am having the same problem as Schorsch...what can i do to move the check box over to the left more?


-WoodiE

Originally posted by WoodiE
Nevermind I fixed it...Very nice hack.


Thanks

-WoodiE

That goes for everybody: It is just the template, everybody can place it anywhere withint the template to implement it in their own design of the postbit. I just put it in its own table, to the right, because that is where I wanted it, and that is where everybody from the beta thread showed to have it. I am glad that you could fix it, wasn't that hard eyh! And I am glad you like the hack.

Originally posted by LangTuDaTinh
great hack but how come it only work /w the top post reply button for my forum? it doens't work /w the bottom post reply, please help...thanks
Matter of reading the words 'BOTH!!' from the installation file.. :P

Originally posted by LangTuDaTinh
oppss..sorry, i forget to reply both in showthread....thanks ...it works w/ 2.2.8

See! :) I am glad you got it working.

Buddha
10-31-2002, 01:33 PM
excellent hack buddy.
thank you very much. looks beautiful and works like a charm.

*installed*

adriandaz
10-31-2002, 03:38 PM
class! thanks.

partang2
11-14-2002, 06:39 PM
Works 100% for me! Thanx for this great hack! ;)

CRego3D
11-18-2002, 02:03 AM
Originally posted by TECK
yes you can...

you said it can be used with the "quick reply" box (instead of the "post reply" .. care to share how ?

ghroob
11-18-2002, 10:07 AM
Sorry
I installed this good hack but there is one problem
If I close thread
Any member can post reply :)
Fix it please
I wait
It is good and imprtant hack any way

Thank you

ghroob
11-22-2002, 02:10 PM
Originally posted by ghroob

If I close thread
Any member can post reply :)


Sorry again :dead:

I am wrong :dead:

Only admin can reply
But members can't reply to closed post

Thank you for good Hack

Xer
12-07-2002, 08:08 AM
great hack... working on my 2.2.9 bb

BlackDeath
12-24-2002, 12:18 PM
Originally posted by mewgood
anothr porblem
why this happen?

i am getting the exact error and i didnt see that anyone solved this issue? am i wrong?

BlackDeath
12-24-2002, 12:29 PM
Originally posted by xiphoid


I do not know, maybe because it is an input button with a graphic over it. (Otherwise we would have a third button: see the beta hack for that code) Maybe you can fix it by removing the class="bginput" from the <input ..> tags (there are two that apply to this hack).



removing the bginput solved the issue w/ the "new reply" showing up w/ a white bg. thanks.

Kars10
01-19-2003, 11:27 AM
Hi !!
Problem here!! I installed on a "little"- hacked 2.2.9 Board. I installed the Last-Post -Hack by PPN (thats the only modification on newreply). And canĀ“t find the exact code you mean to replace..
I send you my newreply Xiphoid. Can you please have a look??

Thanks.

Floris
01-19-2003, 12:16 PM
It is really simple to find, try harder. Search for only one line that might be unique, and you will find it.

Kars10
01-19-2003, 04:04 PM
Ok. I found the first line. But that wont help me. The code is different. :(
Please have a look in my file ...

Kars10
01-20-2003, 04:32 PM
Thanks for ignoring me and my pm Xiphoid.... :(

Floris
02-07-2003, 12:48 PM
You are not allowed to distribute vBulletin files.

My hack is for unhacked board, if you have altered yours, re-apply it to fit your needs. I do not support that.

By the way, hack will work on 2.2.10

Kars10
02-07-2003, 01:13 PM
You are not allowed to distribute vBulletin files.
What you mean with that? The pm to you?? :)
Thats funny, i thought you have a licence...or have i postet it here in the thread?? :confused:
BTW: Xenon helps me out... :p

Floris
02-07-2003, 01:31 PM
The copyright of vbulletin states you are not allowed to distribute the vbulletin files, who cares if someone else also has the license or not.

The point is: I only support for unhacked versions anyway.

Dan_UPC
02-25-2003, 03:25 PM
Ok i've got a prob with this hack. If a user who in not logged in clicks the post reply button, they are then asked to log in but then they are taken to a 'no thread specified' error instead of the post reply screen .... looking at the url they are being sent to, it looks fine except that it is missing the &threadid=xxx part of the url. Everything works fine if the user is logged in before they click the link. I'm using 2.2.9 any clues why this is happening?

EDIT: I've fixed the problem, this is how I did it:

In the install instructions, I changed the line that says:

<form action="newreply.php" method="POST">

to read:

<form action="newreply.php?threadid=$threadid" method="POST">

That's it! Problem fixed.

Martin64
02-25-2003, 09:01 PM
This is great, xiphoid, thanks a lot. :)

Boofo
02-25-2003, 09:25 PM
Floris, when I use the quote box, this message:

Work -> No Fun > Work > No Fun > Work

Is like this instead:

Work -&gt; No Fun -&gt; Work -&gt; No Fun -&gt; Work

If I use the quote button, it looks like it is supposed to. And idea what I can do to make the quote box act the same way?

Great hack, by the way. Thank you. ;)

Boofo
02-25-2003, 09:57 PM
Sorry, floris, I figured it out. Oops!

I just changed:

$pagetext=htmlspecialchars($postinfo[pagetext]);

to this:

$pagetext=$postinfo[pagetext];

and everything is as it should be. Again, sorry to sound like a newbie here.

Dan_UPC
02-26-2003, 05:31 AM
My fix for my earlier problem has bought my attention to another problem with this hack. In the case I described in my last post in this thread, we lose the list of posts the user wants quoted. I guess we need to move all the required info to the url so that everything works ok in this circumstance.

Boofo
02-26-2003, 05:41 AM
Please explain what you mean. ;)

Dan_UPC
02-26-2003, 10:25 AM
1. Take an unhacked board
2. Set your board so that only registered members can post.
3. Install this hack
4. Make a thread and put a few replies in it
5. Make sure you are logged out
6. Goto the thread you just made and tick the boxes to quote a few of the posts ...
7. Click 'Post Reply'
8. Because you are logged out, you get the no perms screen with the option to log in.
9. Log in on that screen
10. You get an error message 'No Thread Specified' ... I fixed this by adding the thread id to the url as per my earlier post in this thread.
11. You now get the post new reply screen but none of the quotes are there.

squawell
02-28-2003, 04:44 AM
how to quote different page's post at once?

i test that and it cant work.....

so anyone can fix that?

Fi_InCogNiTo
03-24-2003, 12:13 AM
It would be nice to add a script hat would make this work along with quick reply ;)

Lethal
03-24-2003, 11:10 PM
I have 2 styles on my board at the moment, I installed this hack and it works perfectly on the 1 style but the other one, when I click the the check box or just click quote it gives me this parse error:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /htdocs/www/forums/newreply.php(68) : eval()'d code on line 2

It gives me that error for every check box I have checked also. I don't understand because it don't give me this error on my other style. So is it from a template?

The error seems to be pointing to this

eval("\$message = \"".gettemplate("quotereply",1,0)."\";");

and this if I have multiple check boxes

eval("\$message .= \"".gettemplate("quotereply",1,0)."\n\n\n\";");

BigJohnson
03-27-2003, 10:34 PM
I am having some trouble.

Thisd is what my template looks like.

{htmldoctype}
<html>
<head><title>$bbtitle - $thread[title]</title>
$headinclude

<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,wi dth=175,height=275,resizeable=yes,status=no")
}
function who(userid) {
window.open("userrate.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=230, height=300");
}
function pubs() {
window.open('member.php?s=$session[sessionhash]&action=pubsthreads&postuserid=$post[userid]','pubsthreads','toolbar=no,location=no,directorie s=no,status=yes,menubar=no,resizable=yes,copyhisto ry=no,scrollbars=no,width=300,height=300,top=200,l eft=300');
}
function whodownloaded(attachmentid) {
window.open("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid, "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,h eight=300, top=50, left=50");
}
function showwarnings(userid) {
window.open("warn.php?s=&action=show_warn&userid="+userid,
"show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600, height=350");
}
function addwarnings(postid) {
window.open("warn.php?s=&action=add_warn&postid="+postid,
"add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=400, height=200");
}
function whovoted(pollid) {
window.open("poll.php?action=whovoted&pollid=$pollinfo[pollid]="+pollid, "whovoted", "toolbar=no,scrollbars=yes,resizable=no,width=350,h eight=400, top=50, left=50");
}
// -->
</script>
</head>
<body>
$header

<!-- breadcrumb, nav links -->
<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%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
$poll
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread&nbsp;</smallfont>
<br>
$ratingdisplay
</td>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="right" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
&nbsp;
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<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>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont>
</tr>
</table></table>
<!-- /breadcrumb, nav links -->

<a name="posttop"></a>

<!-- End content area table (CREATED IN HEADER!!) -->
</td>
</tr>
</table></form>

<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->

<br>

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<!-- /Thread nav and post images -->
</td>
</tr>
</table>
</td></tr></table>

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->

$postbits

<!-- spacer -->
<table background="{imagesfolder}/logobg.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- spacer -->

<!-- breadcrumb, nav links -->
<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%">
<form action="newreply.php" method="POST">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<tr>
<td bgcolor="{secondaltcolor}" {bevel2} valign="top" align="left" width="32%"><smallfont>
<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>
&nbsp;
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput"></smallfont>
<br>
<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>
<br>
<smallfont><b>All times are GMT$timediff.<br>The time now is $timenow.</b></smallfont></td></form>
<td bgcolor="{firstaltcolor}" {bevel1} valign="top" width="68%" align="left">$navbar<br>
<smallfont>This thread, which was started by <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>, contains $thread[replycount] replies, has been viewed $thread[views] times, and contains $thread[attach] attachments.</smallfont>
<br>
<smallfont>$pagenav $firstunread&nbsp;</smallfont>
<br>
$ratingdisplay
</tr></td>
</table></table></form></form>
<!-- /breadcrumb, nav links -->

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->


<!-- restart content table from header -->
<table cellpadding="10" cellspacing="0" border="0" width="{tablewidth}" background="{imagesfolder}/logobg.gif" align="center">
<tr>
<td>

$replybox

$similarthreads

<!-- thread options links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="625">
<tr>
<td bgcolor="{firstaltcolor}" {bevel1} align="center" width="625" colspan="3"><smallfont>
<img src="{imagesfolder}/printer.gif" alt="" border="0" align="absmiddle">
<a href="printthread.php?s=$session[sessionhash]&threadid=$threadid">Show Printable Version</a> |
<img src="{imagesfolder}/sortasc.gif" alt="" border="0" align="absmiddle">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&action=download">Download Thread</a> |
<img src="{imagesfolder}/sendtofriend.gif" alt="" border="0" align="absmiddle">
<a href="sendtofriend.php?s=$session[sessionhash]&threadid=$threadid">Email this Page</a> |
<img src="{imagesfolder}/subscribe.gif" alt="" border="0" align="absmiddle">
$log_subscription_link
</smallfont></td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="40%">$forumjump</td>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$adminoptions</td>
<td bgcolor="{secondaltcolor}" {bevel2} align="center" width="30%">$threadrateselect</td>
</tr>
<tr>
<td colspan="3" bgcolor="{firstaltcolor}" {bevel1} align="center" width="100%">$searchthread</td>
</tr>
</table>
</td></tr></table>
<!-- /thread options links -->

<br>

<!-- forum rules and admin links -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<center><td align="center"><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td></center>
</tr>
</table>
<!-- /forum rules and admin links -->

$footer

<object classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541" codeType="application/x-oleobject" id="MsgrApp" width="0" height="0"></object>
<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683" codetype="application/x-oleobject" id="MsgrObj" width="0" height="0" codebase="#Version=2,0,0,83"></object>

</body>
</html>

When i click the quote box and then click reply nothing shows in the message area. I don't know what my problem is.

I am guessing it has something to do with the FORM actions and closing of the form tags in the wrong areas. Can someone please help me thanks.

Lethal
03-28-2003, 03:17 AM
I am having the same problem but only with one template set. Everything is fine with one but the other one gives me an error and nothing shows up.

InnerSelf
03-28-2003, 11:59 PM
if i replace this in my template +-------------------------------------------------------------------------------------------------+
| (3a) In the "showthread" template, replace both! instances of code: |
+-------------------------------------------------------------------------------------------------+
<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a>
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| (3b) With this code: |
+-------------------------------------------------------------------------------------------------+
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput">
+-------------------------------------------------------------------------------------------------+

then my "post a reply is weird.

if i click it without checked boxes i get (please fill smth in the subject field and texteares.

and if i check boxes then it direclty post all those boxes without seeing a newreply field.

any suggestions?

Mathiau
04-03-2003, 07:12 AM
alot more forums need this haak!

drumsy
04-03-2003, 03:16 PM
One of my styles doesn't use images so the post reply button would be out. How do I replace it instead with a text link "Post Reply"?

futuredood
04-04-2003, 01:59 AM
03-29-03 at 01:59 AM InnerSelf said this in Post #61 (https://vborg.vbsupport.ru/showthread.php?postid=374762#post374762)
if i replace this in my template +-------------------------------------------------------------------------------------------------+
| (3a) In the "showthread" template, replace both! instances of code: |
+-------------------------------------------------------------------------------------------------+
<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a>
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| (3b) With this code: |
+-------------------------------------------------------------------------------------------------+
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput">
+-------------------------------------------------------------------------------------------------+

then my "post a reply is weird.

if i click it without checked boxes i get (please fill smth in the subject field and texteares.

and if i check boxes then it direclty post all those boxes without seeing a newreply field.

any suggestions?


same problem here, anyone??

Lethal
04-04-2003, 03:27 AM
03-24-03 at 08:10 PM Lethal said this in Post #58 (https://vborg.vbsupport.ru/showthread.php?postid=372716#post372716)
I have 2 styles on my board at the moment, I installed this hack and it works perfectly on the 1 style but the other one, when I click the the check box or just click quote it gives me this parse error:


Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /htdocs/www/forums/newreply.php(68) : eval()'d code on line 2


It gives me that error for every check box I have checked also. I don't understand because it don't give me this error on my other style. So is it from a template?

The error seems to be pointing to this

eval("\$message = \"".gettemplate("quotereply",1,0)."\";");

and this if I have multiple check boxes

eval("\$message .= \"".gettemplate("quotereply",1,0)."\n\n\n\";");





HELP PLZ!!

212rikanmofo
04-20-2003, 05:28 PM
ok i installed this hack but when i check mark the messages i wanna quote and then hick the reply button, nothing happens at all... im in 2.3.0, whats goin on... i checked it over so many times, i cant figure out why when i hit the button nothing happens at all...

212rikanmofo
04-20-2003, 05:48 PM
nm, i fixed it, forgot to skip a line when editing newreply.php, stupid me :)

Floris
04-27-2003, 08:25 AM
It just came to my attention that when I released this hack that I totally overlooked to provide the right credits to a section of this hack.

https://vborg.vbsupport.ru/showthread.php?postid=246109#post246109

Here b-b00gie explains to us of how to integrate the "multiple quotes" and the "submit reply" functions into one.

I changed it a little bit while I was working on this version, and just forgot about it. And first couldn't find the post in the beta thread no more. But anyway. Credits ofcourse goto him.

The first post is updated, no code has changed, only credits added.

Floris
04-27-2003, 08:25 AM
It just came to my attention that when I released this hack that I totally overlooked to provide the right credits to a section of this hack.

https://vborg.vbsupport.ru/showthread.php?postid=246109#post246109

Here b-b00gie explains to us of how to integrate the "multiple quotes" and the "submit reply" functions into one.

I changed it a little bit while I was working on this version, and just forgot about it. And first couldn't find the post in the beta thread no more. But anyway. Credits ofcourse goto him.

The first post is updated, no code has changed, only credits added.

trafix
04-27-2003, 09:02 AM
oh well i tried to install but the section of code in the newreply.php is different to what is in the instructions :(

msimplay
05-08-2003, 06:43 AM
this work on 2.3 ?

msimplay
05-08-2003, 06:30 PM
installed and confirmed working on Vbulletin 2.3 release candidate 3

SiGmA_X
05-29-2003, 01:09 AM
I'm having a strange problem.. Followed all directions, and it works IF and only IF you click a 'quote' box. If you do not, it doesn't let you reply. Is there a way to make it so you can click Reply no matter what? :)

kevin_r1
06-02-2003, 02:00 PM
03-29-03 at 02:59 AM InnerSelf said this in Post #61 (https://vborg.vbsupport.ru/showthread.php?postid=374762#post374762)
if i replace this in my template +-------------------------------------------------------------------------------------------------+
| (3a) In the "showthread" template, replace both! instances of code: |
+-------------------------------------------------------------------------------------------------+
<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a>
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| (3b) With this code: |
+-------------------------------------------------------------------------------------------------+
<input type="image" src="$replyclose" border="0" alt="Post A Reply" name="submit" class="bginput">
+-------------------------------------------------------------------------------------------------+

then my "post a reply is weird.

if i click it without checked boxes i get (please fill smth in the subject field and texteares.

and if i check boxes then it direclty post all those boxes without seeing a newreply field.

any suggestions?


That makes 3 of us.

Leah
06-11-2003, 10:38 AM
02-28-03 at 07:44 AM squawell said this in Post #56 (https://vborg.vbsupport.ru/showthread.php?postid=359346#post359346)
how to quote different page's post at once?

i test that and it cant work.....

so anyone can fix that?

Anyone?

kevin_r1
06-11-2003, 11:22 AM
06-02-03 at 04:00 PM kevin_r1 said this in Post #74 (https://vborg.vbsupport.ru/showthread.php?postid=403397#post403397)
That makes 3 of us.
Is it safe to assume we're just sh!t outta luck?

DelFDgfd_gT
06-23-2003, 05:50 PM
style="background: #backgroundcolor;"

I added that and it made the white space behind the new reply image not noticeable.

Aaron1
08-28-2003, 09:00 AM
Hmm, i really can't get it to work! Argh!

I really followed the instruction by the letter, but when i select which posts i want to be quoted, and i click on 'New Reply', it just submits, the quotes right into a new post, without going to the new reply page...

Maybe it has something to do with a redirect removal?

This is what i got below the hack in newreply.php:

$threadid=verifyid("thread",$threadid);

$threadinfo=getthreadinfo($threadid);

if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
if (!$threadinfo[open]) {
if (!ismoderator($threadinfo[forumid],"canopenclose")) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
exit;
}
}

Maybe it hasn't got anything to do with it, but nevertheless it could be though!
Please help! :classic:

TSN
09-19-2003, 01:53 AM
Will this work in version 2.3.2?

Floris
09-19-2003, 07:03 AM
Will this work in version 2.3.2?
It should also work with 2.3.2 - just compare the code and if you think it requires some changes, try it out .. im sure it will work.

TSN
09-19-2003, 10:29 PM
Thanks. Works great. Can anyone show me how to make my quotes have a box around it with a smaller font size just like vbulletin.org.

geniuscrew
09-27-2003, 08:20 PM
This is frustrating me big time :/ - the beta worked perfectly on 2.2.9+, but now this version isn't working for me at the moment.

I'm using 2.3.2, and the bottom post reply button doesn't work, and also the posts aren't quoted when i click the top reply button. I have checked the code several times, rechecked and tried again, but it just doesn't seem to work!



Edit: I just noticed it is just this style that it doesn't work on :/ - don't see why not....


Edit: I just copied the template from the other style set and it's working :)

ladonia
10-18-2003, 05:22 PM
One of my styles doesn't use images so the post reply button would be out. How do I replace it instead with a text link "Post Reply"?

I'm having the same problem. Can anyone help?