vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Quote II -Quote posts instantly in your Quick Reply box (https://vborg.vbsupport.ru/showthread.php?t=54939)

EvilLS1 07-02-2003 07:47 AM

Quote:

Today at 09:39 AM corsacrazy said this in Post #10
mine werks :D another kool addon which i rekon i could do my self but if u wonted to try that wood b kool would be that wen a user clicks the check box they get send down to the QR box by using an anchor(bookmark)
I'll let you do that addon b/c in all honesty its not something that I would want.. And the reason is that it would be rather annoying when you're trying to quote multiple posts.. Glad to hear that it worked for you though. :)

Oblivion Knight 07-02-2003 10:02 AM

Excellent work EvilLS1!
You've just about hit the sweet spot with this addon :).

Is there any other way to make it work? As it is now, it adds a big gap between the checkbox and the post.. I tried to make it in to a button and place it next to the Quote button on the postbit template, and it worked, but it still adds the gaps and doesn't quite work design wise..

Sorry, I know I'm never satisfied am I..? :nervous:


Quote:

Today at 09:39 AM corsacrazy said this in Post #10
mine werks :D another kool addon which i rekon i could do my self but if u wonted to try that wood b kool would be that wen a user clicks the check box they get send down to the QR box by using an anchor(bookmark)
Here you are.. Have fun! :)


[high][EDIT][/high]
Text file updated 09/01/04 - HERE

corsacrazy 07-02-2003 01:06 PM

cheers mr knight !

also wen u check the box it adds the msg but wen u uncheck the box it just adds it to quick reply again.... wood there b a way 4 the txt in quick reply to get deleted once check box is UNchecked ?

Austin Dea 07-02-2003 03:15 PM

^ Nah. It's easy enough just to remove the text.

Nice work EvilLS1

wyzzor 07-02-2003 05:50 PM

EvilLS1 Good job man!

I like, thx....:)

Velocd 07-03-2003 04:48 AM

Quote:

also wen u check the box it adds the msg but wen u uncheck the box it just adds it to quick reply again.... wood there b a way 4 the txt in quick reply to get deleted once check box is UNchecked ?
Or just rid of the checkbox, and use an image button, and it would simulate sorta how the vB3 quick reply system works. (when you click the button and are redirected to the quick reply, of course in this case the quote is inserted into the quick reply)

EvilLS1 07-03-2003 05:26 AM

Thanks. :)

Oblivion Knight, This is the only way I know of.. You might try placing the button in a different place. Maybe under the user's location on the left.

corsacrazy, Try this (haven't tested it myself).. And if that doesn't work try searching for "javascript toggle function" on google. It can be done but I didn't bother adding it because its hard to find one that works with all browsers.
Code:

<input type="checkbox" id="p$post[postid]" onclick="if(document.p$post[postid].p$post[postid].checked)
document.post.message.value = document.post.message.value + document.p$post[postid].elements[0].value;
 else document.post.message.value = document.post.message.value -
document.p$post[postid].elements[0].value">


corsacrazy 07-03-2003 07:30 AM

Quote:

Today at 06:48 AM Velocd said this in Post #16
Or just rid of the checkbox, and use an image button, and it would simulate sorta how the vB3 quick reply system works. (when you click the button and are redirected to the quick reply, of course in this case the quote is inserted into the quick reply)
that is another oiption :D image nice one

Quote:

Today at 07:26 AM EvilLS1 said this in Post #17
Thanks. :)
corsacrazy, Try this (haven't tested it myself).. And if that doesn't work try searching for "javascript toggle function" on google. It can be done but I didn't bother adding it because its hard to find one that works with all browsers.


testing it as we speak !

corsacrazy 07-03-2003 07:37 AM

its did werk but only to a certain extent.. if u check the box the quote appears in QR then wen unchecked the text NAN apears in the box.... if i check multiple boxes they all gointo the box fine buut the nan still remains however if i then unceck ONE from the multiple selected everything disappears from the qr box and NAN is displayed again :(

Oblivion Knight 07-03-2003 08:59 AM

Quote:

Today at 06:48 AM Velocd said this in Post #16
Or just rid of the checkbox, and use an image button, and it would simulate sorta how the vB3 quick reply system works. (when you click the button and are redirected to the quick reply, of course in this case the quote is inserted into the quick reply)
Exactly what I have implemented on my postbit..
I just need to come up with a way to get rid of the gaps so I can place it next to the quote button now.. ;)

I'll have a look in to vB3's quick reply system, see if that gives me any clues how to do it.


All times are GMT. The time now is 01:03 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.01257 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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