PDA

View Full Version : bbcode Icons in editor produce wrong tags v4.1.4


LVC
06-22-2011, 04:14 PM
I have two BBcodes that I added to my forum
1. soundcloud [SCPL]
2. Youtube Playlist [YTP]

Both worked fine under 4.1.3 -- but in 4.1.4 -- both buttons in the editor produce [YTP] tags when I am logged in as a registered user.

But when I am logged in as an Admin each button produces the right tags. For the life of me I cannot figure out

any help would be greatly apreciated

Screenshot of editor (cloud Icon is for soundlcoud - tape is for YT Playlist)

https://vborg.vbsupport.ru/external/2011/06/35.jpg

BBcode Page for soundCloud

https://vborg.vbsupport.ru/external/2011/06/36.jpg

BBcode page for Youtube Play list

https://vborg.vbsupport.ru/external/2011/06/37.jpg

Code: Youtube
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/p/{param}"></param><embed src="http://www.youtube.com/p/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

Code: Sound cloud
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url={param}&amp;g=bb" type="application/x-shockwave-flash" width="100%"></embed></object> <a href="{param}">{param}</a>

Lynne
06-22-2011, 04:27 PM
This is a bug - In Source mode, any custom BB code buttons always insert the last custom BB code tags (http://tracker.vbulletin.com/browse/VBIV-12351)

LVC
06-22-2011, 04:32 PM
Why can't I be so lucky with the lottery? LOL

I looked at the link -- and that is way too advanced for me to even consider tackling.

so for a newbie the solution is what ----- only use one BBcode until bug is fixed?



This is a bug - In Source mode, any custom BB code buttons always insert the last custom BB code tags (http://tracker.vbulletin.com/browse/VBIV-12351)

--------------- Added 1308765138 at 1308765138 ---------------

so for the time being I guess my only option is to disable one of the bbcodes

Lynne
06-22-2011, 05:41 PM
You can either apply the fix, or use the WYSIWYG editor when posting, or disable a bbcode from being in the editor area.

LVC
06-22-2011, 05:56 PM
You can either apply the fix, or use the WYSIWYG editor when posting, or disable a bbcode from being in the editor area.

is there a simple file/patch I can upload that corrects it?

I am not a programmer -- not even close.... so going in and changing codes in files is something I really to do want to attempt.

Lynne
06-22-2011, 06:55 PM
I did not see some file/patch in that bug report - just the actual code snippets to change and what to change them to in two of your uncompressed javascript files. You need to read the whole report in order to see what the fix is for this issue.

LVC
06-22-2011, 07:12 PM
I did not see some file/patch in that bug report - just the actual code snippets to change and what to change them to in two of your uncompressed javascript files. You need to read the whole report in order to see what the fix is for this issue.

Yes I read the entire thing --- don't have the skills to mess with codes or javascript files.

Hopefully a simple patch will be released that even a knucklehead like me can install :p

LVC
06-24-2011, 02:33 PM
Can someone please help me with this?

Can a fix be outlined for me in simple layman's terms? -----

I do not understand or follow the fix that was pointed out to me in the link

This bug is killing me

Very frustrated :(

kh99
06-24-2011, 03:22 PM
The fix isn't that hard to do. Just think of it as a text document that needs to be amended instead of code. First copy the file that needs to be changed so you're not working on your only copy. Then open the file in a text editor (wordpad would probably work), and find the part that needs to be changed. Copy the replacement from the web page to the clipboard (the same way you'd do for any text), select the lines that need to be replaced, and paste. Then upload the file and overwrite the existing one.

LVC
06-24-2011, 03:47 PM
Problem is that it is not very clear in bug post on what to copy/fix etc. if they at least posted simple instructions -- then maybe I could do it.

example of simple instructions for knuckleheads like me

1. download xyz file from your vbulletin root directory
2. Open file with text editor
3. find: xnxnxnxnxn code
4. replace code with this: ncncncncnnc
5. replace new file with old file

I just posted a sticky on my forum showing folks how to switch editors -- hopefully that will work for the time being.


Seems like something like this -- a quick patch could be released -- I guess most newbies will have to wait for the next upgrade.


The fix isn't that hard to do. Just think of it as a text document that needs to be amended instead of code. First copy the file that needs to be changed so you're not working on your only copy. Then open the file in a text editor (wordpad would probably work), and find the part that needs to be changed. Copy the replacement from the web page to the clipboard (the same way you'd do for any text), select the lines that need to be replaced, and paste. Then upload the file and overwrite the existing one.