![]() |
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. :) |
Demo. :)
|
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
|
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. :)
|
Quote:
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!) |
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 |
does this work on 2.2.4
|
worked like a charm on 2.2.2
|
Yes Hot Dog.
|
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. |
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 ..{ } |
How do I install this???
|
You need vBHacker, which can be found in FireFly's sig.
|
Thank you.
|
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): |
Quote:
|
Quote:
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? |
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. |
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 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. |
Quote:
Cool! I'll try it out shortly!! :rambo: |
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 |
Feel free to share your code :)
|
Quote:
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: |
Quote:
|
|
Quote:
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. :) |
All times are GMT. The time now is 04:47 PM. |
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:
|