Log in

View Full Version : bbcodes in vbeditor don't work correctly


biocyberman
11-02-2009, 12:07 PM
After upgrading to 3.8.4 PL1 from 3.8.3, default bbcodes. For bbcode, when selecting text to insert hyperlink, the selected text get replaced by the link like this:
If I have this text:

Please CLICK HERE to visit vBulletin.org

Now I select "CLICK HERE" to instert a link to [url]www.vbulletin.org.
After typing www.vbulletin.org to the text box of the dialog box, the "www.vbulletin.org" replace "CLICK HERE" so resulting in this link:



Please http://www.vbulletin.org to visit vBulletin.org



Instead of this:



Please CLICK HERE (http://www.vbulletin.org) to visit vBulletin.org



. [HTML] [PHP], etc also behave the same, text get deleted when selected before hitting bbcode buttons.

To avoid this one has to hit the bbcode button first to get the tags placed on the editor and then put text between the tags. That's very counter-intuitive for many users.

Any help his much appreciated.

ChopSuey
11-02-2009, 12:12 PM
[url= link ] Click here [/*url]

like that?

biocyberman
11-02-2009, 01:10 PM
It works fine if we manually type like to syntax you mentioned. But the problem here is that I want to let the URL https://vborg.vbsupport.ru/external/2009/12/3.gif bbcode button work normally

porcupine73
11-02-2009, 11:37 PM
What browser are you trying it in? I just upgraded to 3.8.4 PL1 as well but am not experiencing that issue.

biocyberman
11-03-2009, 11:38 AM
I am using firefox to type in the text. Other users of my forum use IE also have the same problem. I think somehow javascript is not working correctly.

porcupine73
11-03-2009, 10:34 PM
Hm not sure, tried it in Firefox 3.5 also but it seems to be working fine for me there as well.

biocyberman
11-17-2010, 09:23 PM
I would like to post here in case somebody has the same problem:
I recently upgrade to vb4 and found the problem again. I managed to find out that one of my javascript:
mbanner.js from http://www.mysticalm.com/dev/mbanner
It was conflicting with vbulletin. By changing object name in the script I solved the problem.