vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Multiple Quotes (https://vborg.vbsupport.ru/showthread.php?t=36896)

Admin 04-01-2002 10:00 PM

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. :)

Admin 04-02-2002 11:15 AM

Demo. :)

Floris 04-02-2002 11:16 AM

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.

Matt 04-02-2002 11:23 AM

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 04-02-2002 11:25 AM

Hmm.. Interesting, FireFly and Xiphoid. I'll consider installing it later today. Thanks for sharing!

Lesane 04-02-2002 11:27 AM

Great, but i'm forced to install vbhacker :(

Admin 04-02-2002 11:27 AM

You don't have to actually use it, just choose the option to create a text file and voila. :)

Floris 04-02-2002 11:31 AM

Quote:

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 04-02-2002 02:33 PM

Thanks firefly. :D

scsa20 04-02-2002 06:02 PM

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 ;)

Kumaro 04-02-2002 08:24 PM

will this work only with 2.2.5? Or is it just reccommended?

merk 04-02-2002 11:35 PM

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 &gt; / &lt; :|</edit

ZiRu$ 04-03-2002 12:50 AM

does this work on 2.2.4

Recluse 04-03-2002 05:13 AM

worked like a charm on 2.2.2

Admin 04-03-2002 05:16 AM

Yes Hot Dog.

Floris 04-03-2002 05:20 AM

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 04-03-2002 05:44 AM

never mind, im a dumbass

merk 04-03-2002 09:00 PM

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 :)

Floris 04-04-2002 09:32 PM

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 ..{ }

ja5es 04-07-2002 06:25 PM

How do I install this???

merk 04-07-2002 10:43 PM

You need vBHacker, which can be found in FireFly's sig.

ja5es 04-07-2002 10:55 PM

Thank you.

Tungsten 04-08-2002 01:55 PM

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. :)

FWC 04-10-2002 05:13 AM

Very nice, Firefly. Works perfectly. :)

Floris 04-12-2002 05:57 AM

I have been using it since firefly released it, and I must say, I am very pleased :)

Frenck 04-14-2002 05:36 PM

WOOOWWWW we in the Netherlands would say:

Wat een ongelovelijke vette mega hack!!!

(means something like great hack ;) )

Thank you so much!

Erwin 04-16-2002 10:11 AM

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 04-24-2002 10:14 PM

Quote:

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 &gt; / &lt; :|</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?

ZiRu$ 04-26-2002 06:48 PM

Quote:

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 04-29-2002 02:20 AM

What template is the <*input type..... bit in?

thanx

Floris 04-29-2002 06:33 AM

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 04-29-2002 02:00 PM

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:

Floris 04-29-2002 07:42 PM

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 04-29-2002 07:54 PM

Quote:

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 04-29-2002 11:53 PM

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

Floris 04-30-2002 08:14 AM

Feel free to share your code :)

b-b00gie 04-30-2002 03:44 PM

Quote:

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:

Floris 04-30-2002 04:02 PM

Quote:

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 04-30-2002 05:42 PM

Here's an example from my forum...


http://www.g20.net/forum/showthread.php?s=&threadid=1115

;)

b-b00gie 05-06-2002 10:45 PM

Quote:

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. :)


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
  • Page Generation 0.01445 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete