View Full Version : Multiple Quotes
This was an idea of xiphoid. The hack allows your users to check a checkbox next to each post in a thread, then at the bottom click a submission button which will take them to newreply.php with all quotes from all checked messages in the textarea.
I will post a screen shot soon.
Fun. :)
Thank you,
I have been playing with this idea for a while, and now it is realized! You the best! And it only took you under 10 minutes to code it!
Reaaaally cool, and when I get home, I will apply it to my board a.s.a.p.
What a cool idea :D I was beginning to think that VB had reached its limit hack wise but wow people just keep churning them out! :D :D
afterlab
02 Apr 2002, 13:25
Hmm.. Interesting, FireFly and Xiphoid. I'll consider installing it later today. Thanks for sharing!
Great, but i'm forced to install vbhacker :(
You don't have to actually use it, just choose the option to create a text file and voila. :)
Originally posted by afterlab
Hmm.. Interesting, FireFly and Xiphoid. I'll consider installing it later today. Thanks for sharing!
Well .. we are secret lovers :)
I had a nice idea, came to ' the' coder with it, and Chen managed to make it in 6 minutes. (That is a new world record!)
Xanthine
02 Apr 2002, 16:33
Thanks firefly. :D
well...it took me awhile to get it installed on one of my templates, but I got it installed....nice hack, vary useful when quoteing more then one persion ;)
will this work only with 2.2.5? Or is it just reccommended?
From memory, if you create yourself an image 'quote selected' and insert :
'<input type=image src=urltoimg>' you can achieve an image as a submit button, might be different syntax tho.
<edit> hrm doesnt seem to parse > / < :|</edit
Recluse
03 Apr 2002, 07:13
worked like a charm on 2.2.2
I think this will work for version 2.2.x
and if it does not, then just revert the templates to original and remove the hack from the php files.
Recluse
03 Apr 2002, 07:44
never mind, im a dumbass
Search online(or at the w3c) for the syntax of the <input type=image
It works, ive used it, but i dont work with html anymore, xml all the way :)
Just installed this on vB 2.2.5 (final) and works perfectly.
The vBhacker just can't find the text to replace in newreply.php because the 2.2.5 final version has a white line between //comment and the if ..{ }
You need vBHacker, which can be found in FireFly's sig.
Tungsten
08 Apr 2002, 15:55
Installed it here using VBHacker to generate the manual text file. Worked like a champ. Many thanks for a very useful addition to our boards, firefly. :)
Very nice, Firefly. Works perfectly. :)
I have been using it since firefly released it, and I must say, I am very pleased :)
WOOOWWWW we in the Netherlands would say:
Wat een ongelovelijke vette mega hack!!!
(means something like great hack ;) )
Thank you so much!
I tried installing this - somehow it refuses to work - my showthread template is quite modified, and so is my postbit - but you would expect it to work.
The main problem is that when I click on the submit button nothing happens. I suspect that I am not getting the form tags in the right spot - initially I thought it was the "Thread Rating" form tags interfering, so I took it out - didn't help. Then I thought maybe I am not placing and closing the form tags in the right place, so I put the form tags just above and just below the $postbit variable with the input line between them - you would expect this to work for sure, but it still didn't.
Anyway, I don't really need this hack, so I have given up. :)
For those who want the TEXT version, I have attached it below (exported it from vbhacker):
212rikanmofo
25 Apr 2002, 00:14
Originally posted by merk
From memory, if you create yourself an image 'quote selected' and insert :
'<input type=image src=urltoimg>' you can achieve an image as a submit button, might be different syntax tho.
<edit> hrm doesnt seem to parse > / < :|</edit
very nice hack, but i also like you would want to use my own image for the button, how can i make it load up an image? anyone?
Originally posted by FireFly
Yes Hot Dog.
thats Mr. Hot Dogg to you uddy............ :p
I dont really wanna install this hack cause it would look stupid without the graphic and they ALL have to be the same...........new thread, reply,closed and quote selected!~
Could someone make them?
geniuscrew
29 Apr 2002, 04:20
What template is the <*input type..... bit in?
thanx
Well, we can, but.. since every forum has a different type of buttno set and even if they are the same, they are looking differently in colours. So I think you just have to use your graphic skills for that :)
The checkbox can't be made a graphic though.
b-b00gie
29 Apr 2002, 16:00
Is there a way that you could change this so that when you check the checkbox all you have to do is hit "post reply" and it will bring the quotes to the reply page?
I'm trying to avoid adding another button.
Basically I'd like the following conditions:
If none of the checkboxes are checked, the "post reply" functions as normal
If there are any checkboxes checked, the "post reply" button becomes a "reply with quotes" button
If Firefly or someone could make that happen.... YOU ROCK!! :laugh:
You can accomplish something with php there, but changing on the fly of buttons requires javascript. And I hate client-side scripting. 9/10 times it has little error due to use of lame browser, or its settings.
Currently, when no one selected a checkbox, but still hit the quote selected, it will behave as a post reply.
b-b00gie
29 Apr 2002, 21:54
Originally posted by xiphoid
Currently, when no one selected a checkbox, but still hit the quote selected, it will behave as a post reply.
Cool! I'll try it out shortly!! :rambo:
b-b00gie
30 Apr 2002, 01:53
Sweet!!! It worked.
I eliminated my "post reply" function and made my "quote selected" button use the "post reply" image.
http://www.g20.net/forum (http://209.120.143.70/forum/index.php)
Feel free to share your code :)
b-b00gie
30 Apr 2002, 17:44
Originally posted by xiphoid
Feel free to share your code :)
OK... ;)
Here you go!
Keep in mind though, that if you are using an image for the reply buttons that has a tranparent background (such as the default images), you will see a small gray ring around them. This is because you are laying an image over a form item which has a default color of gray.
To fix this, I edited my reply images so that the backgrounds were not transparent. I made the background the same color as my table background color. Its very simple. How fast can you use the paintbucket tool and hit Save? :cheeky:
Enjoy.
BTW this is my first piece of code I've ever submitted so I'm not sure if I've followed all the rules properly. I gave Firefly credit for all the original code. I'm not sure if I should've posted this in its own thread? :paranoid:
Firefly, feel free to use any part of changes in your final release. Or just include my file along with yours so the endusers have more options. :knockedout:
Originally posted by b-b00gie
OK... ;)
Here you go!
Keep in mind though, that if you are using an image for the reply buttons that has a tranparent background (such as the default images), you will see a small gray ring around them. This is because you are laying an image over a form item which has a default color of gray.
To fix this, I edited my reply images so that the backgrounds were not transparent. I made the background the same color as my table background color. Its very simple. How fast can you use the paintbucket tool and hit Save? :cheeky:
Enjoy.
BTW this is my first piece of code I've ever submitted so I'm not sure if I've followed all the rules properly. I gave Firefly credit for all the original code. I'm not sure if I should've posted this in its own thread? :paranoid:
Firefly, feel free to use any part of changes in your final release. Or just include my file along with yours so the endusers have more options. :knockedout:
Thank you for sharing and nice tips. I will look into it soon :)
b-b00gie
30 Apr 2002, 19:42
Here's an example from my forum...
http://www.g20.net/forum/showthread.php?s=&threadid=1115 (http://209.120.143.70/forum/showthread.php?s=&threadid=1115)
;)
b-b00gie
07 May 2002, 00:45
Originally posted by xiphoid
Thank you for sharing and nice tips. I will look into it soon :)
Get a chance yet?
Has anyone tried this, out of those who've downloaded the file? Any problems?
BTW, should a "hack of a hack" be posted in its own thread? I thought Firefly would see this and let me know, but I guess he hasn't. Still wondering, as this was the first thing I've ever posted. :)
bonnmac
08 May 2002, 23:33
Installed and works like a charm! Thanks a million! I love it. :D
geniuscrew
18 May 2002, 03:03
Can anyone please help? i re installed it on a different server and it's not working anymore :-/
When I click the bottom "Quote Selected" nothing happens, but when i click the top one, it just goes to the new reply page (of course i ticked a few check boxes before I pressed them)
Please help as it is really doin my head in!
Thanx
Make sure you rehacked the templates and the files.
I have do exactli now it say..& manual . but revuze to work !
I clik Quote Selected but nothing ! And i have check the box-es
ULTIMATESSJ
20 May 2002, 22:36
This hack is amazing, worked like a charm, good work firefly, only one little problem, the button for the quote selected doesn't look too good, so would it be possible for someone to make a quote selected button
Originally posted by ULTIMATESSJ
This hack is amazing, worked like a charm, good work firefly, only one little problem, the button for the quote selected doesn't look too good, so would it be possible for someone to make a quote selected button
Good for you. I have just un-install it ! Not working.
Xelation
25 May 2002, 16:37
how would I change the submit button to an image?
working perfectly on 2.2.6 ! =)
Originally posted by Xelation
how would I change the submit button to an image?
After you installed the hack go to
showthread template
and look for:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
and change it to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
were : quoteselected.gif is your image
Mone'
btw : the image path as been change it automatically by this forum ?!?!?!
very strange.........
Mone',
Check out my forum and see if you can help me come up with a button to match, will you? :) You's the man!
Originally posted by FireFly
Looking good, Mone.
Just working on it :) as i really don't like the look of form !
Originally posted by Boofo
Mone',
Check out my forum and see if you can help me come up with a button to match, will you? :) You's the man!
is a bit hard not knowing what font you used on your buttons set..........
anyhow here is a quick one for you =)
Mone'
Thanks, Mone', it works great and actually looks great with the other buttons. I owe you one, man! (I owe you more than one!) :)
Xelation
28 May 2002, 19:42
Thanks so much mone! :)
b-b00gie
13 Jun 2002, 17:36
If you dont want to have make a "quote selected" button, on page 3 of this thread I posted a howto on combining your "post reply" and "quote selected" buttons into a single button...
Check it out. I've gotten quite a few emails from people stating how it was such a great addition to this hack...
:)
If you have the Reply Open/Closed hack installed, instead of editing the showthread template, just change the showthread_replyopen template to read what's in the attached text file and it works like a charm!
Also, b-b00gie, you might want to make sure that your edit actually includes the { imagesfolder } replacement text (without the spaces) rather than http://www.vbulletin.org/forum/images/ link, so that people are using their own quote button instead of vBulletin.org's! :)
Thanks to Chen for such an awesome hack, and to you b-b for an excellent edit!
b-b00gie
17 Jun 2002, 14:00
I'm not sure why its replacing that code. I didnt attach it like that, nor have I ever used or use the Vbulletin.org image. I've noticed it does that same for some other attachments I've viewed on this forum, so I believe it is a bug of the forum.
Yeah, the forum here sees it as part of its code, and as such inserts its replacement for it into the thread.
I've had that happen plenty of times before, and had to go back and edit in spaces to stop it happening.
I've been looking for a way to use this with the reply open/closed hack. When the thread is closed it won't read the quotes into the message, right? Also, don't you need to add the first part of the showthread_replyopen template with this (the part with the threadid in it)?
Originally posted by X-Fan
[B]If you have the Reply Open/Closed hack installed, instead of editing the showthread template, just change the showthread_replyopen template to read what's in the attached text file and it works like a charm!
ULTIMATESSJ
30 Jun 2002, 21:35
one bug i've found in it is that if a thred is closed, people can still post using it
freakyshiat
10 Jul 2002, 19:31
when quoting a post that either has '<' or '>' it replaces those characters with '<' and '>'
is that a bug?
Martin64
21 Jul 2002, 02:35
Sounds sweet, I'll check it out in the morning
/me looks at watch
*yaaaawn*
/me looks at watch again and notice that it's waaay past bed-time.
:D
Larry@IOG
24 Aug 2002, 19:05
Ok I installed this hack on 2.2.6 and my check box is working. I can check all the boxes on a post but when I click post reply button the pages does not change or even try to change. If I uncheck all of my boxes I can then post a reply but does not have multi qoutes anyone help me?
Thanks
Larry Jude
www.impulseownersgroup.com
kmfdm_kid2000
26 Aug 2002, 11:30
I installed it, and it worked at first, then it didn't, now it works again. A sporatic hack?? I'd love it if it worked 100%, but it's a GREAT Hack and idea, none-the-less...
PHiXTiT
05 Sep 2002, 14:49
Great work!!! :banana:
PHiXTiT
07 Sep 2002, 17:44
works great on 2.2.7 if anybody is wondering.
Thank you
but small question: why it is Beta Hack yet?
PHiXTiT
19 Sep 2002, 19:29
Also wondering?
I'm trying to install this hack also. but I don't want the checkboxes to show up in newthread but in newreply.
The idea is that in the newreply screen you see the last 25 posts. Next to those post are the checkboxes. The only problem is that the postid is not known there.
in the source it shows up like this:
<input type="checkbox" name="quotes[]">
Is there a way that I can fix this?
Originally posted by ULTIMATESSJ
one bug i've found in it is that if a thred is closed, people can still post using it
This is not a bug, this is a feature :)
When you are logged in as an administrator, you are still allowed to reply to closed posts. At least, that is how it is on my board.
Log out and login as a test member, registered usergroup, you will then not be able to post, you will get the msg 'sorry, this post is closed and you are redirected back to it'. (i just tested it)
Originally posted by PHiXTiT
works great on 2.2.7 if anybody is wondering.
Yes, it works on 2.2.x Maybe even on older versions but probably not on 3.x
Larry@IOG
29 Oct 2002, 00:03
I was gettign soem Java script errors I had to reset all of my templates back to orginal. What templates mods to I need in the admin panel? Thanks in advance
Larry
The Final Version Of This Hack Can Be Found Here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=45135)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.