![]() |
MultiQuote
Introduction
This multiquote hack allows your members to select multiple posts to quote from. These posts can be on a different page, in a different thread, or on an entirely different forum. Don't worry, the hack checks to make sure the user has read permissions on the post so no sneaky members can insert random post ID's in hopes to find what's going on in your secret staff forums. What's new in this "version 2"?
|
Sweet, I'll download it and give it a try right now...
|
sweeet, nice hack man, thanks for creating it!
is there a way to have the multiquote's show up in the Quick Reply though? /me clicks install |
Mabe on a click-to-click basis (ie. only the page the posts are on) but even that is a little over-the-top I think. 'Cuz you'll have all that text you'll be adding to the QR.
But I'm not the best at javascript -- mabe another guru will code it ;) |
I just installed it with no problems at all, nice job. :) But shouldn't the multi-quote button be added into the postbit_legacy template as well?
|
It could... But I've got school tomorrow -- c'mon! :p I'll do it later perhaps, the HTML is the same (<img ...>).
|
Nice :) I was waiting for this one! Will definately install ;) Thanks
|
great hack, I had been waiting for something like this :)
[high]* mtellin clicks install[/high] |
Installed and works like a champ
Clicks install ;) |
I already un-installed it without thinking, but I got a SQL error when I clicked the quote button, then unclick it and hit the post reply button...anyone else get this?
|
Quote:
|
Quote:
|
When quoting (after the updated file) and reply with quick reply another mysql error:
Database error in vBulletin 3.0.0 Release Candidate 1: Invalid SQL: SELECT postid, username, pagetext FROM vb3_post WHERE postid IN(6566,6568) AND postid <> ORDER BY postid ASC mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY postid ASC' at line 1 mysql error number: 1064 |
Another update that deals with these things more cleanly. I'm working on an addition that'll allow the "go advance" in the QR to also have all the quotes.
Change the newreply.php code to the following: PHP Code:
[Updated file uploaded in first post] |
I still get one error with this, when I click the multi quote button and then click go advanced I get this:
Database error in vBulletin 3.0.0 Release Candidate 1: Invalid SQL: SELECT postid, username, pagetext FROM post WHERE postid IN(19123) AND postid <> ORDER BY postid ASC LIMIT 20 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY postid ASC LIMIT 20' at line 1 mysql error number: 1064 EDIT: looks like NuclioN already posted this |
I can't recreate this problem on my localhost, so I asume this was prior to the Jan05-2 update? So its fixed -- correct?
|
Quote:
|
Yeah, I just updated everything with the new code that you just posted, and I'm getting the same error when I click on the "Go Advanced" button.
|
The go advanced button is producing this error but after your last update the quick reply gives that error again. I hope you can fix it because this is a great addition. :)
|
Ok, clicking MQ button followed by a "Go Advanced" in the QR gives an error? I think I've found it, forgot a '!' on a line. But before I make an 'update' would someone please try it? :p
PHP Code:
// edit. yep, the correct code.. |
I got a parse error when I tried that one, no matter what type of reply I tried
|
You sure you pasted it correctly? I've got the exact code and nothing is comeing up for me. Whats the error your getting?
|
That new code seems to work okay for me.
|
Quote:
However for me if I click more than one to quote, and then click post reply, it only has one quoted (but I didnt get any errors when clicking one to quote then clicking go advanced) |
Yeah, same here, but I think that that only happens when you try to quote the last reply in the thread. Any other reply that I try to quote works, but when I try to quote the last reply, it doesn't show up.
[Edit: I don't know if that was very clear... To clarify, if I select three posts to quote, they will all show up. But if one of those is the last post in the thread, only two will show up, and the last post in the thread is omitted.] |
Yeah, I get a database error when using Quick Reply (which is important to fix as most people use Quick Reply). Same one as posted already;
Database error in vBulletin 3.0.0 Release Candidate 2: Invalid SQL: SELECT postid, username, pagetext FROM post WHERE postid IN(19134) AND postid <> ORDER BY postid ASC LIMIT 20 mysql error: You have an error in your SQL syntax near 'ORDER BY postid ASC LIMIT 20' at line 1 mysql error number: 1064 Also, considering this works across threads and such, shouldn't the button for selected posts stay on? If you go back to a post on another page that you selected, the button turns off though the quote still works. |
PHP Code:
I'll update the main file with this code. The "go advanced" in the quick reply still doesn't show the quotes, though I'm working on it :) |
Zelda-King -- I assume you were using the code from the file? I posted a fix to that above, but the main file is now updated.
Quote:
|
Yeah, the button doesn't stay on for me cross-thread either.
|
Doh. Seems to only work in Moz. I'll look into that too.
|
Yeah, I'm using Internet Explorer 6. The database problem I had is fixed now I downloaded the Jan 6th update. I redid the hack from scratch just in case.
EDIT: Just to say, seeing as this hack requires postbit alterations, the button also shows in PMs and usernotes. It doesn't do anything of course, though I get errors on my usernotes page. ie, I get that alert "done but with errors on page". |
Great hack. Should be made standard in vB3. :)
|
Quote:
<if condition="$SHOWQUICKREPLY">button</if> |
Oh yes! Why didn't I think of conditions? :/
Nice one! :) |
Where to add that code Erwin?
|
Quote:
|
Doesnt work, I multi quote a few posts, click QUOTE MESSAGE IN REPLY. And no quotes appear
|
How can we format it so it looks like the quotes on here? I mean the box around the quotes? :) so it looks nice and neat like vb.org's do and make a space between the quote box and the start of the users comment as now there is no line return.
|
The mq_script template needs caching in showthread.php to avoid one extra query.
Under PHP Code:
PHP Code:
|
this isnt working for my site... ive read the instuctions a few time and re-did it all 3 times... i dont see no quick reply button or check box?? Can someone help.. here's my site
http://www.anabolicedge.net/forum |
All times are GMT. The time now is 04:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|