PDA

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


Floris
28 Oct 2002, 23:17
[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
28 Oct 2002, 23:45
Thanks for releasing this!

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

N9ne
29 Oct 2002, 00:21
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
29 Oct 2002, 00:38
this is a good hack
but this will not work if you are using the quick reply hack
possible to fix that?
anyone?

N9ne
29 Oct 2002, 00:49
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
29 Oct 2002, 03:27
yes you can...

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


Thanks

Larry

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

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

mewgood
29 Oct 2002, 06:44
anothr porblem
why this happen?

Floris
29 Oct 2002, 10:55
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
29 Oct 2002, 12:23
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
29 Oct 2002, 12:39
Very nice:)

Satan

Schorsch
29 Oct 2002, 15:07
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
29 Oct 2002, 15:17
Schorsch, please post your postbit template [just the segment which contains the box]

Schorsch
29 Oct 2002, 15:30
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
29 Oct 2002, 15:35
I will need more code than that as you have another hack installed, please post a larger segment of code ;)

Schorsch
29 Oct 2002, 15:41
Hi N9ne,

I just sent you my postbit template via PM.

regards,
Schorsch

edit: Thanks N9ne, works great now!

Dean C
29 Oct 2002, 16:31
How is this different from the Beta version released by FireFly?

- miSt

N9ne
29 Oct 2002, 16:47
This works flawlessly ;)

Floris
29 Oct 2002, 18:08
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$
29 Oct 2002, 19:08
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
29 Oct 2002, 20:16
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
29 Oct 2002, 21:28
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
29 Oct 2002, 22:02
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
30 Oct 2002, 03:43
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
30 Oct 2002, 03:50
Nevermind I fixed it...Very nice hack.


Thanks

-WoodiE

lordofgun
30 Oct 2002, 04:08
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
30 Oct 2002, 04:19
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
30 Oct 2002, 04:24
oppss..sorry, i forget to reply both in showthread....thanks ...it works w/ 2.2.8

Floris
30 Oct 2002, 11:36
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
31 Oct 2002, 14:33
excellent hack buddy.
thank you very much. looks beautiful and works like a charm.

*installed*

adriandaz
31 Oct 2002, 16:38
class! thanks.

partang2
14 Nov 2002, 19:39
Works 100% for me! Thanx for this great hack! ;)

CRego3D
18 Nov 2002, 03:03
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
18 Nov 2002, 11:07
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
22 Nov 2002, 15:10
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
07 Dec 2002, 09:08
great hack... working on my 2.2.9 bb

BlackDeath
24 Dec 2002, 13:18
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
24 Dec 2002, 13:29
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
19 Jan 2003, 12:27
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
19 Jan 2003, 13:16
It is really simple to find, try harder. Search for only one line that might be unique, and you will find it.

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

Kars10
20 Jan 2003, 17:32
Thanks for ignoring me and my pm Xiphoid.... :(

Floris
07 Feb 2003, 13:48
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
07 Feb 2003, 14:13
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
07 Feb 2003, 14:31
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
25 Feb 2003, 16:25
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
25 Feb 2003, 22:01
This is great, xiphoid, thanks a lot. :)

Boofo
25 Feb 2003, 22:25
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
25 Feb 2003, 22:57
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
26 Feb 2003, 06:31
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
26 Feb 2003, 06:41
Please explain what you mean. ;)

Dan_UPC
26 Feb 2003, 11:25
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
28 Feb 2003, 05:44
how to quote different page's post at once?

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

so anyone can fix that?

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

Lethal
25 Mar 2003, 00:10
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
27 Mar 2003, 23:34
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,width=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,directories=no,status=yes,menubar=no,res izable=yes,copyhistory=no,scrollbars=no,width=300,height=300,top=200,left=300');
}
function whodownloaded(attachmentid) {
window.open("whodownloaded.php?s=$session[sessionhash]&attachmentid=" + attachmentid, "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=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,height=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
28 Mar 2003, 04:17
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
29 Mar 2003, 00:59
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
03 Apr 2003, 08:12
alot more forums need this haak!

drumsy
03 Apr 2003, 16:16
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 Apr 2003, 02:59
03-29-03 at 01:59 AM InnerSelf said this in Post #61 (http://www.vbulletin.org/forum/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 Apr 2003, 04:27
03-24-03 at 08:10 PM Lethal said this in Post #58 (http://www.vbulletin.org/forum/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
20 Apr 2003, 18:28
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
20 Apr 2003, 18:48
nm, i fixed it, forgot to skip a line when editing newreply.php, stupid me :)

Floris
27 Apr 2003, 09:25
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.

http://www.vbulletin.org/forum/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
27 Apr 2003, 09:25
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.

http://www.vbulletin.org/forum/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
27 Apr 2003, 10:02
oh well i tried to install but the section of code in the newreply.php is different to what is in the instructions :(

msimplay
08 May 2003, 07:43
this work on 2.3 ?

msimplay
08 May 2003, 19:30
installed and confirmed working on Vbulletin 2.3 release candidate 3

SiGmA_X
29 May 2003, 02:09
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
02 Jun 2003, 15:00
03-29-03 at 02:59 AM InnerSelf said this in Post #61 (http://www.vbulletin.org/forum/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
11 Jun 2003, 11:38
02-28-03 at 07:44 AM squawell said this in Post #56 (http://www.vbulletin.org/forum/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
11 Jun 2003, 12:22
06-02-03 at 04:00 PM kevin_r1 said this in Post #74 (http://www.vbulletin.org/forum/showthread.php?postid=403397#post403397)
That makes 3 of us.
Is it safe to assume we're just sh!t outta luck?

DelFDgfd_gT
23 Jun 2003, 18:50
style="background: #backgroundcolor;"

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

Aaron1
28 Aug 2003, 10:00
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
19 Sep 2003, 02:53
Will this work in version 2.3.2?

Floris
19 Sep 2003, 08:03
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
19 Sep 2003, 23:29
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
27 Sep 2003, 21:20
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
18 Oct 2003, 18:22
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?