Logo by stereoman - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Check out the originating "3d Mandelbulb" thread here
 
*
Welcome, Guest. Please login or register. April 19, 2024, 09:51:39 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Does BBCode [Hide] work?  (Read 4396 times)
0 Members and 2 Guests are viewing this topic.
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« 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
« Last Edit: June 04, 2013, 10:40:44 PM by M Benesi » Logged

Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #1 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.  
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
Pauldelbrot
Fractal Senior
******
Posts: 2592



pderbyshire2
« Reply #2 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. smiley
Logged

M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #3 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.   
Logged

Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #4 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
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #5 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 ...
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pauldelbrot
Fractal Senior
******
Posts: 2592



pderbyshire2
« Reply #6 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.
Logged

Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #7 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. 
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
Pauldelbrot
Fractal Senior
******
Posts: 2592



pderbyshire2
« Reply #8 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.
Logged

Sockratease
Global Moderator
Fractal Senior
******
Posts: 3181



« Reply #9 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
Logged

Life is complex - It has real and imaginary components.

The All New Fractal Forums is now in Public Beta Testing! Visit FractalForums.org and check it out!
M Benesi
Fractal Schemer
****
Posts: 1075



WWW
« Reply #10 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> 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.  cheesy

  If I do figure it out, I'll post the script here.  
« Last Edit: June 05, 2013, 02:15:37 AM by M Benesi » Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
BBCode and use of LaTex Board Rules and Guidelines cKleinhuis 0 6733 Last post April 21, 2010, 11:48:54 PM
by cKleinhuis
Does it work for you? Mandelbulb3D Gallery DarkBeam 3 1425 Last post March 05, 2011, 03:30:05 PM
by DarkBeam
Hide And Seek Fractal Humor Sockratease 4 1481 Last post November 14, 2012, 12:46:43 AM
by Sockratease
The Solution - and the Cow playing hide and seek with Kepler featuring Me as the Strange Attractor Still Frame KRAFTWERK 0 1655 Last post May 31, 2013, 09:23:15 PM
by KRAFTWERK
Resize Images in Posts - BBCode Board Rules and Guidelines 0Encrypted0 2 14245 Last post June 02, 2016, 10:17:37 PM
by 0Encrypted0

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.158 seconds with 25 queries. (Pretty URLs adds 0.009s, 2q)