vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   REQUEST: Insert vB Code at cursor location, not end of textblock (https://vborg.vbsupport.ru/showthread.php?t=26314)

theflow 08-24-2001 07:15 PM

I am not a coder. I would like to see vB code toolbar work differently than it currently does.

Currently: whenever you activate a vB code item from toolbar, it inserts that vB code at the end of the message being composed. The system logic presumes you will always be writing and formatting on-the-fly. But, many people like to post-process their message, or even paste in replies, then format them and make links etc.

Request: Can anyone create the code for me that tells all vB code insertions to be made at the point of your cursor's current position?

With this exception: I use Enhanced mode vs Normal mode. Thus I like to use the "close current tag" and "close all tags". Currently, they behave adequately. But from my experience, if I open a tag, compose some stuff, then hit "close all tags", the action is successful. But if I then go into my message and insert another [ b ] [ i ] anywhere, for the sake of argument, I want "close all tags" to insert [ /b ] and [ /i ] at the end of my message. And I can move them where I need to. Currently, this does not happen.

tubedogg 08-24-2001 08:07 PM

Quote:

Originally posted by theflow
The system logic presumes you will always be writing and formatting on-the-fly.
Actually at the time it was written Kier couldn't determine a way to make it work like you want it to, that's why it has stayed the way it is.

At any rate, http://www.vbulletin.com/forum/showt...threadid=24033

theflow 08-24-2001 11:37 PM

Quote:

Originally posted by tubedogg
Actually at the time it was written Kier couldn't determine a way to make it work like you want it to, that's why it has stayed the way it is.

At any rate, http://www.vbulletin.com/forum/showt...threadid=24033

Excellent! Thank you, and thanks Scott... I read the whole thread and the summary statement is:

Works for IE, NS can't take advantage of it, a few snags (perhaps) with keyboard equivalents of certain vB code button operations. tubedogg, I am presuming that reason this has not been added to vB itself is lack of NS support, which makes sense.


All times are GMT. The time now is 07:58 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.00937 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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