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)
-   -   New vbcode.js - vBcode and smilie user interface improvement (https://vborg.vbsupport.ru/showthread.php?t=24033)

punkbull 11-18-2001 01:12 PM

If I install this hack, will my Netscape users still be able to use the smilies normally?

LanciaStratos 11-19-2001 09:24 PM

Working perfect on 2.2.0! :D Great hack, thanks s.molinari! :cool:

LuBi 11-20-2001 01:47 AM

When i try to edit a post, the body part where I would edit the text posted is blank now?

DarkReaper 11-20-2001 02:53 AM

Quote:

Originally posted by FireFly
Ok, let's see how this works here. :)
PHP Code:

<?php
echo "This is working good.";
?>



LOL! :)

LuBi 11-27-2001 02:42 PM

I still need help with this code. After I installed it when members would go to edit a post the body where their text was is blank. Can anyone help me out my members are bothered by it big time :eek: mad emails

JJR512 11-27-2001 03:58 PM

Did you correctly make the necessary changes to the editpost template?

LuBi 11-27-2001 04:09 PM

Well I'll re-install and go over everything again. thanks

TheUnforgiven 11-28-2001 06:19 PM

*bump* hehe i just needed this hack...

Mutt 11-28-2001 09:32 PM

Hey everyone. I just installed this at
CCDV.com and love it, but it's missing something. when you highligh text in normal mode it correctly grabs the text and sticks in in the popup then inserts the vbcode around the text, but when in enhanced mode, the highlighted text gets lost. this is a problem

I wrote the original UBB Code buttons hack back in the day which was later used by the vb team to build these great vbcode buttons. (hey vb team, great job by the way. your code is damn pretty compared to my old messy code.) I was disappointed to see that the vbcode buttons were missing the cursor possition and highlighted text enhancements so it's great to see this addon hack.

real quick, I got a fix for this and wanted to share.

here are 2 new functions. replace the ones in this hack with these new functions and it will work.

code removed due to some error. I reposted it on the next page as an txt attachment and that code works fine.

now when in enhance mode, if you highlight some text and hit any of the top row vbcode buttons or dropdowns and the text will get surrounded by the begining and ending vbcode tags. the bottom row buttons will still open prompts.


I hope it isn't a problem for me posting this code. if this is some copyright violation or something, feel free to delete.

JJR512 11-28-2001 10:53 PM

I tried your replacements, Mutt, and what happens to me now is that in enhanced mode, if I select some text and hit a button, the text is replaced by the opening tag, not surrounded by the opening and closing tags.


All times are GMT. The time now is 10:06 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.03605 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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