2012-02-21, 18:28 | Link #1 |
…Nothing More
Administrator
Join Date: Mar 2003
Age: 44
|
New BB Codes: Dynamic Loading
A little while ago I added a BB code to allow niconico videos to be posted. At the same time a number of other codes, in the same vein, were added but were not publicised.
I and the other staff have been testing them in the background for a while, on different platforms, and think I've got most of the bugs ironed out. There is still at least one issue involving accented (and maybe multi-byte) characters causing the content to be truncated, and some others noted in the samples below. What I've not done yet is test them in a truly wide and representative range of browsers... which I'm hoping everyone here can do for me . Theses are all now "public" beta if you like; so please have a look and provide some feedback. Note: they are all still subject to change and possibly complete removal. That means you might not want to use them in the wider forum without also considering what would happen if they were disabled. Before anyone asks: No, you can't use these tags in your signature, but yes, they should work in PMs, and unless something is broken, social groups... should you want to. Only thing to note: if you use quick reply or quick edit (the in-line post edit) you may need to click (the button or the re-enable message) to "re-enable" the dynamic functionality. This happens because the forum doesn't provide a way to extend the updates to the page, that happen after you post in those two cases. I'll spare you the details. This is unlikely to be made more user friendly until the forum is upgraded, because it will likely change when the forum is upgraded (and thus anything I do now will need redoing). It is a minor irritation. If you want to report the codes not working, please do so here. Be sure to include a note about your browser version and possibly operating system version too. It will help track down the incompatibilities (though I can't promise we'll be able to resolve them). All tags require JavaScript to function, lack of it means you'll just get a "need JavaScript" grey box. Oh, and if you're using IE 6 please stop. Sorry; you do not have access to this content.
Last edited by relentlessflame; 2018-02-26 at 18:35. Reason: Updated some references to align with currently-working functionality |
2012-03-01, 23:38 | Link #2 |
a.k.a. Flammenkrieg
IT Support
Join Date: Apr 2009
Location: Down under...
|
Reporting an issue I'm having with the [images] tag in this post (actually seems to be occurring with the other new beta tags as well), specifically this part:
Code:
[spoiler="Azusa, Ui, and Jun's graduation"][URL=http://imgur.com/FxpY4][IMG]http://i.imgur.com/FxpY4l.jpg[/IMG][/URL] [B][URL="http://p.tl/i/25477114"]梓 憂 純 卒業[/URL][/B] 純「梓、あんた今ヘンなこと考えてるでしょ?」 梓「え?」 純「ダメだよ、何度も話したよね?梓はこっから先は放課後ティータイムになるんだよ」 梓「でも…」 憂「私も純ちゃんも、梓ちゃんのいる放課後ティータイムのファンだから」 純「気なんて遣わなくていい。私たちはずっと梓のこと見て、応援するよ」 梓「うん…」 卒業のシーンかそれより前に、こんなシリアスな展開もあるんじゃないかと妄想です。 放課後ティータイムとわかばガールズの狭間で葛藤する梓(ないとは思いますが…) ※昨年12月に上げようとして結局頓挫している和誕マンガを投稿した際に削除予定です。[/spoiler] Spoiler for examples:
Using Windows 7 Ultimate (64-bit, Service Pack 1), Firefox 10.0.2. Also tested on Chrome and Internet Explorer 9. Though it seems the problem fixes itself if you use the in-line post editor and edit a post, then forcing the beta tags to reload the dynamic content. The issue comes back if you use the "go advanced" edit post option. Speaking of IE, it doesn't play very nicely with the [TABLE] tag right now...
__________________
Last edited by blaze0041; 2012-03-02 at 00:29. |
2012-03-02, 17:45 | Link #4 |
…Nothing More
Administrator
Join Date: Mar 2003
Age: 44
|
Thanks; seems to be dropping at "…". I'll see if I can debug and resolve the issue using your post as a test case.
Edit: Even more sure it is an encoding issue now... The forum I tested it on was using UTF-8 end-to-end. There the post works fine in the tag, but not outside~ The in-line edit doesn't work for it (again only outside the tags) and the advanced edit causes the post to appear on first viewing. Bizarre. Last edited by NightWish; 2012-03-02 at 19:05. |
2012-03-12, 03:15 | Link #8 |
a.k.a. Flammenkrieg
IT Support
Join Date: Apr 2009
Location: Down under...
|
Something else I've come across, mainly in regards to the spoiler tag (both new and old versions) and the (misc.) posting option "Automatically parse links in text".
For example: In this case, only example2 and example3 have their links automatically parsed, whilst example1 does not.
__________________
|
2012-03-13, 22:39 | Link #10 | |
Administrator
Join Date: Dec 2003
Age: 42
|
Quote:
So yeah, they all sort of work like spoiler tags in a way, but they're to cover uses beyond just spoilers.
__________________
|
|
2012-03-14, 15:04 | Link #11 |
…Nothing More
Administrator
Join Date: Mar 2003
Age: 44
|
It is a peculiarity of the the parser the forum uses. That's why it happens with the original spoiler tag too (which is completely independent of the new tags). Next time I make a change to them I'll see if I can work around it.
|
2012-03-21, 09:09 | Link #13 |
Administrator
Join Date: Dec 2003
Age: 42
|
This is just me, but I tend to think that it would be up to the person who codes the extension to write it such a way that doesn't break code that works just fine without the extension. If we try to fix it, it's possible the extension could change again later and it would break again. In the meantime, I think it's just "you shouldn't use that extension", for now...
__________________
|
2012-03-22, 04:17 | Link #14 | |
Senior Member
Join Date: May 2004
|
Quote:
I've tested AutoPager Chrome and AutoPatchWork, too. But with them, those new tags didn't work. The three extensions I tested remove script tags and source in them in the appended pages. Out of curiosity, why do contents have to be builded dynamically with javascript? If only the new tags' function were simple hide & show.
__________________
|
|
2012-03-22, 08:32 | Link #15 |
Administrator
Join Date: Dec 2003
Age: 42
|
Because loading the content on request was one of the improvements we were trying to achieve. Right now, people sometimes use the old spoiler tags to hide large and/or NSFW images, but most browsers will load them anyway even if they're not shown. Some people mistakenly think that hiding them inside the old-style spoiler tags will save on bandwidth, but it generally doesn't. So, with the new style tags, it does do that; only when you click the tag does it load the contents. That's what we wanted it to do in this case.
__________________
|
2012-03-23, 14:44 | Link #16 |
…Nothing More
Administrator
Join Date: Mar 2003
Age: 44
|
The only thing I will add to relentlessflame's reply is that even if we could have created the tags without javascript, the NicoNico tag (i.e. the tag request that prompted the creation of new tags in the first place) requires it. They don't offer an alternative, unlike YouTube for example.
|
2012-03-28, 13:50 | Link #17 |
Kaiba
Join Date: Jul 2010
Location: David Tennant's bedroom in the TARDIS
|
Did this go away?
Or do I need to do something to make it work? I can't seem to use them...they don't even appear in the text options when I go to make a post... I'm using Firefox (don't know what version or how to figure that out.) and Windows 7...
__________________
|
Tags |
bbcode, forum, forum software |
|
|