vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   New way of handling vbcode when posting (https://vborg.vbsupport.ru/showthread.php?t=48930)

Bad Bunny 02-15-2003 04:16 AM

New way of handling vbcode when posting
 
On many newer brands of forum software, there is a way in which the "bbcode" is handled, which many of my users (myself included) find extremely useful.

When typing something, the user may highlight and then press a vbcode button in order to add the vbcode to the selected text.
I have foudn the hack that allowed the vbcode to be placed where the cursor is, and that is far better than the default, but it is still kind of clunky. So combing both methods would be very optimal.

If there is already a hack which does this, I am sorry I did look. But concider this my request for a function such as I have described.
If someone wants to see some forums that do this, you can try IPB and mercuryboard (both of which are fine for what they are, but obviously I am not using them for a reason). I also believe phpBB does it this way as well.

~Neeto

Xenon 02-15-2003 11:05 AM

hmm, i think there is already a hack for it, but don't know for sure...

i just know vb3 does that.

Bad Bunny 02-15-2003 12:44 PM

vB3 does MORE than that. vB3 is a wysiwyg editor when you post. I am not asking for THAT.

All I am asking for is that when you highlight a part of your message and press a vbcode button, the vbcode would encircle it. :)

Xenon 02-15-2003 01:32 PM

also with disabled WYSIWYG vb does that :P

but i'm sure the hack exists here, it's installed on vb.org or has that behaviour changed?
(i just use quick reply anymore ^^)

Erwin 02-15-2003 01:38 PM

Quote:

Originally posted by Bad Bunny
All I am asking for is that when you highlight a part of your message and press a vbcode button, the vbcode would encircle it. :)
That's in normal standard vB. No hacks needed. Just make sure the "Enhanced" option is ticked when posting.

Bad Bunny 02-15-2003 02:01 PM

First of all, I think I may not be clarifying myself enough.
The default handling of vB without hacks is poretty sad if you ask me. It will not even place the vbcode where the cursor is without a hack. It appends it to the end of the typed message.

Try it. Try replying or posting a new message, and when typing (in normal OR enhanced) try highlighting the text you want to wrap in vbcode. Then press the button.

What you get in normal mode is a replacement. What you get in enhanced is the first half of the vbcode appended to your message, and not even NEAR the highlighted text.

Bad Bunny 02-15-2003 02:05 PM

Come to think of it, it just appends the vbcode in both enhanced and normal. :(


All times are GMT. The time now is 07:12 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.01158 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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