vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Copy post button? (https://vborg.vbsupport.ru/showthread.php?t=65884)

dndog 06-05-2004 11:11 PM

Copy post button?
 
Is there a hack that can be added that allows users to copy an entire post before they post it?

sabret00the 06-05-2004 11:51 PM

what do you mean copy entire posts?

dstruct2k 06-07-2004 12:34 AM

Probably for if there's errors (not logged in, etc) then the user can correct the error, paste their post, and repost it.


And the trick is: CTRL+A followed by CTRL+C


If it did it automatically, people would get mad that their clipboards were overwritten. I know I'd be mad. :)

Kihon Kata 06-28-2004 11:59 AM

Yes, but that's pressing 4 buttons. If there was a copy button right next to previerw post, then this would be a a good hack to have.

I don't think this would be all the tough to do. Look here at what I did on this page (non-vB). This button hightlights and copies it all in one.
Anyone up for the challenge of doing this hack?


Quote:

Originally Posted by dstruct2k
Probably for if there's errors (not logged in, etc) then the user can correct the error, paste their post, and repost it.


And the trick is: CTRL+A followed by CTRL+C


If it did it automatically, people would get mad that their clipboards were overwritten. I know I'd be mad. :)


Chris Gwynne 06-28-2004 01:50 PM

Quote:

Originally Posted by TonysDesigns
Yes, but that's pressing 4 buttons. If there was a copy button right next to previerw post, then this would be a a good hack to have.

I don't think this would be all the tough to do. Look here at what I did on this page (non-vB). This button hightlights and copies it all in one.
Anyone up for the challenge of doing this hack?

That's just simple JavaScript, you could apply the same effect easily. Just look in your templates and start adding the relevant code.

Boofo 06-28-2004 03:16 PM

Quote:

Originally Posted by Chris Gwynne
That's just simple JavaScript, you could apply the same effect easily. Just look in your templates and start adding the relevant code.

Can you show us how, please? I messed with it for over an hour and got nowhere. ;)


All times are GMT. The time now is 10:08 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.01001 seconds
  • Memory Usage 1,720KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete