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)

LanciaStratos 01-25-2002 12:40 AM

Hey Scott, any ideas on what could be going on with my board? :confused:

s.molinari 01-25-2002 03:20 PM

@lanciastratos I do believe it's a browser problem. I use IE6 and had no such problems. I did have the situation that the smilies didn't work at all after opening different reply screens but my messages never disappeared.

Scott

s.molinari 01-25-2002 03:23 PM

@fwc - Highlighting was never intended. It works for some and for others it doesn't. I do believe though the basic functions are stable.

Scott

FWC 01-25-2002 04:54 PM

Quote:

Originally posted by s.molinari
@fwc - Highlighting was never intended. It works for some and for others it doesn't. I do believe though the basic functions are stable.

Scott

Yes, the basic functions are very stable. But, highlighting seems to work for most of my users and they love it. :)

Stretchr 01-25-2002 05:01 PM

It's kind of funny because a lot of what I've heard from folks about this hack pertains to how great the (unintentional?)highlight feature is. Serendipity
Quote:

Originally posted by s.molinari


I don't think that part works. But it does let you place a tag or a smilie where you want it.

Scott


LanciaStratos 01-25-2002 08:46 PM

OK, thanks Scott... :)

Mutt 01-28-2002 12:39 AM

If you go back throught this thread, you'll see that I posted a hack to this hack. if you make the extra mods that I posted, highlighting WILL work

alexp 01-29-2002 04:19 PM

I'm probably not allowed to do this, but adding the following function:

Code:

function insertGenericTwoParter(theForm, theValue, theMessage, defaultArg){
//theValue is the vb code
//theMessage is the message asking for the argument to the VB code

var arg=prompt(theMessage, defaultArg);

if (!arg) return; //end on cancel.

var theText=prompt("Enter text to insert between the "+theValue+" tags", "");

if (!theText) return; //end on cancel.

var tempText= "["+theValue+"="+arg+"]"+theText+"[/"+theValue+"]";

AddText(tempText,theform);

 theform.message.focus();

}

...into the same .js file allows you to add new buttons for new effects at will, without having to re-hack the file.

This may be useful to someone..

Regards,
Alex

Matze 02-02-2002 04:08 PM

Nice work, but i still good a closing undefined when i use just one opened tag. When i use bold and italic or italic an underlined etc, it works fine!
-> IE5.5, W2K SP2

Matze

Matze 02-02-2002 04:11 PM

Done, i took the vbcode.js from this server and now it works... :rolleyes:

Matze


All times are GMT. The time now is 11:22 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.01584 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_code_printable
  • (2)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