Welcome to Fractal Forums

Community => Discuss Fractal Forums => Topic started by: M Benesi on June 04, 2013, 10:23:13 PM




Title: Does BBCode [Hide] work?
Post by: M Benesi on June 04, 2013, 10:23:13 PM
Test:
[hide] this text [/hide]

  hrmm... the only option seems to be finding the correct system color name [color=AppWorkspace] ... [/color] :

   But what is it?  Not

 .this.

http://www.w3.org/TR/CSS21/ui.html#system-colors


  Maybe I'm a bit dense... well... compared to the universe as a whole.. yup.  Anyways:

Here is the section with the post colors:

Code:
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #000000;
background: #E1E6EB url(images/lightsilver/windowbg.gif) repeat-y;
}
.windowbg2
{
color: #000000;
background: #FBFCFD url(images/lightsilver/windowbg2.gif) repeat-x;
}
.windowbg3
{
color: #000000;
background: #CBD7E2 url(images/lightsilver/windowbg3.gif) repeat-y;
}

  The background colors alternate.  Can't find the system name for them, however, which would make this easier.

TEST
test


Title: Re: Does BBCode [Hide] work?
Post by: Sockratease on June 04, 2013, 10:34:49 PM
The hide feature is not a part of the default SMF Forum software.

While it may be an optional add-on, it's not here now.

Matching the background color is pointless because users have many color schemes to choose from and no one color choice will cover all cases  (I use a pink background color!).

Why do you want it here?  This forum has no obvious need for it as they are usually tied to other features like a Thank You button which must be clicked to reveal hidden content, or a "Must Reply To See" set up  (which inevitably leads to many garbage spam posts).

So for now, the answer is no.

If you can make a compelling case for the feature, we can search the library of add on features over at the SMF website and see if there is one compatible with this version of the software.  


Title: Re: Does BBCode [Hide] work?
Post by: Pauldelbrot on June 04, 2013, 10:47:50 PM
IMO, the only really worthwhile use for such a thing is for spoilers, which you can then deliberately read by selecting the text but can't read accidentally.

I don't think that use is particularly frequently applicable at FractalForums, though, as opposed to, say, a movies/TV shows discussion forum.

Perhaps if the OP gave more details about his proposed use for it?

In any event, you can always use a really tiny size that will be readable if copied and pasted into Notepad.

Rather like this. :)


Title: Re: Does BBCode [Hide] work?
Post by: M Benesi on June 04, 2013, 10:57:13 PM
  Thanks!  

  I'm doing that (searching the mods- found one for SMF 2.0 +, not the 1.18 branch of SMF).  

Quote
Matching the background color is pointless because users have many color schemes to choose from and no one color choice will cover all cases  (I use a pink background color!).

  I am wondering about the system name for post color- it should have a certain assigned name, like "postColor" or something (although it would be different for quotes, so perhaps a css style name for the current sections background color!)?

  This would allow one to hide a bit of text, although this isn't what I really want (come to think of it....).


To clarify (below typed before Pauldelbrot's post...  hehehe...) -

  I like the ability to click a button (such as the phrase "reveal hidden text")  to expand/collapse text within a message.  This would allow us to "hide" certain parts of a message so that the messages don't seem overwhelming at first glance.

  If someone liked a comment before a "hidden" section of the message, they could expand the "hidden" portion of the message.  

  
  After this feature.... will work on a feature to resize images on click, so many small images can be in a post, with resize on click to larger image size in the current post (no new window, forces other images and text away), perhaps have multiple resizing options.   


Title: Re: Does BBCode [Hide] work?
Post by: Sockratease on June 04, 2013, 11:15:32 PM
I am wondering about the system name for post color- it should have a certain assigned name, like "postColor" or something (although it would be different for quotes, so perhaps a css style name for the current sections background color!)?

That, I believe, is part of the php code, not the bbc code, and therefore inaccessible to users while posting.

It would have to be an add on to work for all color styles.

Some people resize images using the img tag and adding the width/height modifiers, but I find that annoying as it still loads the full size image and it actually takes longer to load that way.

The feature you want is a standard part of many forums software, but not here.  I'm still not convinced it has any merit on this site.  Like Paul said - there is not really anything to hide in a place like this!

And I'm still unclear why you want it - the case has to be a compelling one if we are going to risk borking the boards by installing add ons which often conflict with other add ons and ultimately cause problems.

It's best to keep such features to a minimum for forum stability   :police:


Title: Re: Does BBCode [Hide] work?
Post by: cKleinhuis on June 04, 2013, 11:54:37 PM
i dont see a need for such feature as well, if it might be heavilly demanded, for some kind of game or such i could install it ...


Title: Re: Does BBCode [Hide] work?
Post by: Pauldelbrot on June 05, 2013, 12:08:53 AM
 Thanks!  

  I'm doing that (searching the mods- found one for SMF 2.0 +, not the 1.18 branch of SMF).  

  I am wondering about the system name for post color- it should have a certain assigned name, like "postColor" or something (although it would be different for quotes, so perhaps a css style name for the current sections background color!)?

  This would allow one to hide a bit of text, although this isn't what I really want (come to think of it....).


To clarify (below typed before Pauldelbrot's post...  hehehe...) -

  I like the ability to click a button (such as the phrase "reveal hidden text")  to expand/collapse text within a message.  This would allow us to "hide" certain parts of a message so that the messages don't seem overwhelming at first glance.

  If someone liked a comment before a "hidden" section of the message, they could expand the "hidden" portion of the message.  

  
  After this feature.... will work on a feature to resize images on click, so many small images can be in a post, with resize on click to larger image size in the current post (no new window, forces other images and text away), perhaps have multiple resizing options.   

So you really just want a "tl;dr" feature that can fold away most of a long post behind a "read more->" or something?

It might be easier just to post a "tl;dr" summary at the top, then the rest, and let people ignore the rest if they want. Or you might put the long version somewhere like pastebin and post a summary and a link here, if the long version is really, really long.


Title: Re: Does BBCode [Hide] work?
Post by: Sockratease on June 05, 2013, 12:45:51 AM
Code:
If it's soley for big posts, here's a handy work-around:

The code tag adds scrollbars to a box, so a long post can be made like this.
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.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
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
That should work for the stated purpose. 


Title: Re: Does BBCode [Hide] work?
Post by: Pauldelbrot on June 05, 2013, 01:16:26 AM
That's a clever alternative. It doesn't depend on an outside service like pastebin, or require an extra click-through, but it avoids pushing the first replies way, way down the page too.


Title: Re: Does BBCode [Hide] work?
Post by: Sockratease on June 05, 2013, 01:41:19 AM
Thanks, but it does have drawbacks.  Being the code tag, bbc code does not work!  No font changes (color, bold, etc.), embedded images, LaTex, smileys, or other bbc code dependent stuff.

But for a long winded plain text rant, it's perfect   :clown:


Title: Re: Does BBCode [Hide] work?
Post by: M Benesi on June 05, 2013, 02:08:05 AM
That, I believe, is part of the php code, not the bbc code, and therefore inaccessible to users while posting.

  You can use these codes <click>  (http://www.w3.org/TR/CSS21/ui.html#system-colors) with the  [color=Window][/color]  command as long as the system color is defined in php or somewhere else.  Here, the Window color is... well, the color in the window I am typing in currently.  Or at least I think it is.  Don't know how many of these are defined.

  Here is  [color=Window] [glow=window,10] TEST [/glow][/color]:

  What?  You actually reading this?  

  Highlight to read.  Don't know how it would look in IE, as the glow function apparently does something in them.  So.. I set the size of the glow to 10 pts.... probably should be 12?  anyways../

Quote
Some people resize images using the img tag and adding the width/height modifiers, but I find that annoying as it still loads the full size image and it actually takes longer to load that way.
 Yeah, wouldn't want that.  Rather have something load the larger images on click, or at least background load them AFTER the thread has loaded.  Seems like I've gotta write some mods.


  Why I want it:
So you really just want a "tl;dr" feature that can fold away most of a long post behind a "read more->" or something?

  Yeah, but if you use the "hide" feature, it tucks it away by default, then the user can expand it.    tl;dr being a too long, didn't read type thing.  So allow drop down expansions like you (Pauldelbrot) said.  

@all-  And the code tag does have those drawbacks, including it being a static sized window in the message, instead of a collapsible alternative.

Time to contribute to the mod community.  :D

  If I do figure it out, I'll post the script here.