Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
Multiple Quotes Details »»
Multiple Quotes
Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-01-2002 Last Update: Never Installs: 22
Is in Beta Stage  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-29-2002, 06:33 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #33  
Old 04-29-2002, 02:00 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #34  
Old 04-29-2002, 07:42 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 04-29-2002, 07:54 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #36  
Old 04-29-2002, 11:53 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #37  
Old 04-30-2002, 08:14 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Feel free to share your code
Reply With Quote
  #38  
Old 04-30-2002, 03:44 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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? aranoid:

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:
Reply With Quote
  #39  
Old 04-30-2002, 04:02 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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? aranoid:

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
Reply With Quote
  #40  
Old 04-30-2002, 05:42 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an example from my forum...


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

Reply With Quote
  #41  
Old 05-06-2002, 10:45 PM
b-b00gie b-b00gie is offline
 
Join Date: Mar 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07824 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete