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)

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 06:27 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
  • Page Generation 0.01738 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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