vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   vbCode Button Functionality Mod? (https://vborg.vbsupport.ru/showthread.php?t=53791)

Clarity 06-03-2003 02:08 PM

vbCode Button Functionality Mod?
 
I've been looking for the hack or template mod/JS (this very board seems to be running it), that modifies the functionality of the vbCode buttons a bit.

On my stock 2.3.0 board, you cannot highlight a word in your message field, hit the 'I' button (as an example) and have it italicized (as per my 'I' example, bold and underline work as well). Hitting the button only appends the appropriate vBC at the end. This board does exactly what my users are asking for, I can finish this sentence without any code, then go back and highlight 'sentence' with my mouse, hit the U button, and it will be underlined.

I've spent the last hour looking for such a hack, but have come up empty, came here to this area to ask someone to make it, and realized as I was posting that it exists somewhere.

Little help? Thanks in advance. I've posted this both in Hack and Template Requests simply because I don't know which way it's handled. I've seen button functionality mods in both.

Breaker 06-03-2003 02:57 PM

Didn't notice that feature here! I really want this mod/hack for my site aswell, it is very useful and it gets annoying trying to do this all manually as it puts it at the end!

Boofo 06-03-2003 04:14 PM

You'll be surprised what searching for "vbcode" will bring up.

https://vborg.vbsupport.ru/showthrea...629#post146629

Clarity 06-03-2003 05:41 PM

Indeed. Frankly I'm not sure how I missed it. But thanks either way, that is exactly what I was looking for.

Now if I can just figure out how to fix the smilies pop-up (they no longer add in-line into a message with a click), I'll be golden.

I'll figure that out though. :) Love the mod, thanks for the heads up.


All times are GMT. The time now is 09:23 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.01517 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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