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)

s.molinari 01-22-2002 07:16 PM

oops I see I have a small mistake in my example. Doubt it has something to do with your prob though. The first td tag is missing a ">".

You could do 1 of 2 things:

1. set up a test account on your board so i can take a look at the html code.

or...

2. Post the code here.

Scott

Stretchr 01-22-2002 10:14 PM

Scott,
I sent you the code PM because I wasn't sure about posting an entire template on here. Just for others' information, as a test I reverted to the original vbcode_popup_smiliesbits template and things seem to work normally. Unless that's a problem I'll keep it that way until and unless we can resolve this other issue. Thank you for your help.

Stretchr 01-23-2002 08:38 PM

Thanks, Scott. Wasn't seeing the forest from the trees on this one. Must have looked at that section of the code 20 times. I appreciate your help! :D

Quote:

Hello Stretchr,

As I mentioned in my last post I have an error in my syntax which you also have in your template. The first td tag should look like this:

<td bgcolor="$backcolor">

If you'll notice there is a " and a > missing. Change that part and see what happens.

Scott

Xelation 01-23-2002 09:10 PM

w00t!! Took me a couple of mins to figure out what you were trying to say... but after I thought it over.... it just clicked! Great Hack... Keep it up!

Joshua Clinard 01-24-2002 04:36 AM

I still cannot figure out what this does.

FWC 01-24-2002 05:39 AM

Quote:

Originally posted by Joshua Clinard
I still cannot figure out what this does.
The main function is it puts the smilie wherever the cursor is instead of at the end of the message. It also allows you to highlight already typed text and click on one of the tags and have it entered automatically. My users would kill me if I ever removed this hack. :)

s.molinari 01-24-2002 05:11 PM

Quote:

allows you to highlight already typed text and click on one of the tags and have it entered automatically
I don't think that part works. But it does let you place a tag or a smilie where you want it.

Scott

FWC 01-24-2002 05:54 PM

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

I don't know. I just typed and highlighted this and hit red and it did the trick. It does on my board, too. :)

s.molinari 01-24-2002 06:11 PM

Maybe I misunderstood. When I highlight something it gets replaced with the vbcode I choose. I am using IE6.

What browser are you using?

Scott

FWC 01-24-2002 07:29 PM

Quote:

Originally posted by s.molinari
Maybe I misunderstood. When I highlight something it gets replaced with the vbcode I choose. I am using IE6.

What browser are you using?

Scott

IE 6 on an XP machine and a 2000 Pro machine.

And it works on both. :)

Well, I managed to break it. It was working fine until I highlighted some text and canceled the tag. :(


All times are GMT. The time now is 10:21 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.01378 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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