I have seen on lots of websites a bbcode called "Spoiler" or "hide"
It would be useful for saving space. It would kinda like this, but not in project form.
Here is the project
It would be like [spoiler]text[/spoiler] Or something like that.
It would also be useful if you are typing up large guides or stories, allowing you to shorten your post, rather than having to have giant posts everwhere.
Transparent text only hides things, while Spoiler Code allows you to shorten the post, and make it invisible until unhidden.
Thanks, and I hope my idea is taken into consideration.
Last edited by Nexstudent (2010-12-30 17:37:13)
Offline
dont you mean HTML code?
Offline
scimonster wrote:
dont you mean HTML code?
No. I mean something that will hide things unless clicked. It is on a variety of things, such as the Project pokemon forums, and the PokeFarm logs.
It is a code for BBcode, using [spoiler][/spoiler]
It is not Html.
Offline
Nice idea, but can't you just use gainsboro, which is invisible until highlighted?
Offline
When I first saw this, I was against. Spoiler tags in bbcode are useful if you're discussing movies and books where crucial plotline is involved, but there's no need for that here.
Then I realised how many people (myself included) like to use the fora to write tutorials. Spoiler text would allow a tutorial to be split into chapters, and then each chapter can be written inside a spoiler tag and only viewed by those who want to, providing a neater, easier to read and understand tutorial. This would also allow users to post long pieces of code or a large image that only appears to users who will find it useful!
I totally support this idea.
(one problem is that it might make moderating posts a lot harder for many moderators, they might be against it for that reason. To solve this I would suggest a "show all spoilers" option for a user that the mods can use to see all of the post easily and quickly.)
Offline
I added a few things, in case there are some doubts, such as TDD's
Offline
sparks wrote:
When I first saw this, I was against. Spoiler tags in bbcode are useful if you're discussing movies and books where crucial plotline is involved, but there's no need for that here.
Then I realised how many people (myself included) like to use the fora to write tutorials. Spoiler text would allow a tutorial to be split into chapters, and then each chapter can be written inside a spoiler tag and only viewed by those who want to, providing a neater, easier to read and understand tutorial. This would also allow users to post long pieces of code or a large image that only appears to users who will find it useful!
I totally support this idea.
(one problem is that it might make moderating posts a lot harder for many moderators, they might be against it for that reason. To solve this I would suggest a "show all spoilers" option for a user that the mods can use to see all of the post easily and quickly.)
At the moment, gainsboro doesn't seem to cause any modding problems, does it? Spoilers are much easier to find than gainsboro, so I don't really see a problem with this.
I support
Offline
I completely support. Very large archives or guides could really benefit from this. (I'm looking at you, Block Library.) I'd also like to suggest that we could customize the text that you would click on to expand/collapse the section.
Offline
coolstuff wrote:
I definitely support - but the "spoiler" name is a bit misleading. Perhaps call it "expand" instead? It's a tad more generic.
---
Is there even a way to add bbcode to punbb forums?
Last edited by kimmy123 (2010-12-30 21:03:48)
Offline
kimmy123 wrote:
coolstuff wrote:
I definitely support - but the "spoiler" name is a bit misleading. Perhaps call it "expand" instead? It's a tad more generic.
---
Is there even a way to add bbcode to punbb forums?
I think there's some sort of plugin system, but we currently don't have any installed as far as I can see. Here's an article that describes exactly what we'd need to do...basically write a quick function to put text inside a hidden div so that:
It was Colonel Mustard in the pantry with the turkey drumstick.
becomes:
<div class="spoilerContainer"> <a class="showSpoiler">Expand</a> <div class="theSpoiler"> It was Colonel Mustard in the pantry with the turkey drumstick. </div> </div> <script type="text/javascript"> $(document).ready(function(){ $(".spoilerContainer").children(".showSpoiler").click(function(e){ $(this).parent().children(".theSpoiler").show() }) }) //Assumes jQuery </script>
Offline
coolstuff wrote:
I definitely support - but the "spoiler" name is a bit misleading. Perhaps call it "expand" instead? It's a tad more generic.
That was the name of the bbcode i saw, I didn't come up with it.
Offline
Nexstudent wrote:
coolstuff wrote:
I definitely support - but the "spoiler" name is a bit misleading. Perhaps call it "expand" instead? It's a tad more generic.
That was the name of the bbcode i saw, I didn't come up with it.
Regardless, it should still be changed, don't you agree?
Offline
I agree that spoiler gives the wrong impression, Though it might be a spoiler somewhere else, either "expand" or any text we like could be used (though then it's hard to tell the difference between a link seeing as we can use things like bold to make it different to a link:
link as normal
expand is bold
because as I just demonstrated, links can be made bold or itallics too.
Nor can we use colours as:
link as normal
expand is coloured
Because you can do that with links.
So either expand should be called expand, and leave it as that, or expand appears as a button with chosen text.
Last edited by sparks (2010-12-31 10:24:19)
Offline
Nexstudent wrote:
scimonster wrote:
dont you mean HTML code?
No. I mean something that will hide things unless clicked. It is on a variety of things, such as the Project pokemon forums, and the PokeFarm logs.
It is a code for BBcode, using [spoiler][/spoiler]
It is not Html.
on other websites its HTML, but here it would be BBC
Offline
I support this, I was just about to suggest it myself!
The only problem I can think of is mods having a harder time but the pros outweigh the cons.
Cross your fingers!
Offline
Support!
Easy (enough) to program, awesome to use, good things all around!
[That didn't come out exactly as I thought it would]
Offline