vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   bbcode Icons in editor produce wrong tags v4.1.4 (https://vborg.vbsupport.ru/showthread.php?t=265653)

LVC 06-22-2011 04:14 PM

bbcode Icons in editor produce wrong tags v4.1.4
 
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

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?



Quote:

Originally Posted by Lynne (Post 2211382)

--------------- Added [DATE]1308765138[/DATE] at [TIME]1308765138[/TIME] ---------------

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

Quote:

Originally Posted by Lynne (Post 2211420)
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

Quote:

Originally Posted by Lynne (Post 2211450)
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.


Quote:

Originally Posted by kh99 (Post 2212239)
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.



All times are GMT. The time now is 01: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.01103 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete