Posts: 6120
Threads: 64
Joined: June 5, 2013
Reputation:
65
Hide tags button?
September 17, 2014 at 6:51 pm
Is there a hide tags button somewhere or do you really have to type out the code every time you want to hide something?
(And what does the PHP code button do?)
Just curious...
Teenaged X-Files obsession + Bermuda Triangle episode + Self-led school research project = Atheist.
Posts: 30974
Threads: 204
Joined: July 19, 2011
Reputation:
141
RE: Hide tags button?
September 17, 2014 at 6:58 pm
(September 17, 2014 at 6:51 pm)Clueless Morgan Wrote: Is there a hide tags button somewhere or do you really have to type out the code every time you want to hide something?
No. Yes.
(September 17, 2014 at 6:51 pm)Clueless Morgan Wrote: (And what does the PHP code button do?)
Just curious...
It's not terribly useful for non-programmers. It lets you quote PHP code and prettifies it.
PHP Code: <?php echo "Hello World!"; ?>
Posts: 10470
Threads: 165
Joined: May 29, 2013
Reputation:
53
RE: Hide tags button?
September 17, 2014 at 7:16 pm
Cool idea for a tag, though. Also, "imgresize", or whatever it is. I keep forgetting that one.
"For me, it is far better to grasp the Universe as it really is than to persist in delusion, however satisfying and reassuring." - Carl Sagan
Posts: 30974
Threads: 204
Joined: July 19, 2011
Reputation:
141
RE: Hide tags button?
September 17, 2014 at 7:20 pm
(September 17, 2014 at 7:16 pm)c172 Wrote: Cool idea for a tag, though. Also, "imgresize", or whatever it is. I keep forgetting that one.
That would be "imgfit"
Posts: 7140
Threads: 12
Joined: March 14, 2013
Reputation:
72
RE: Hide tags button?
September 17, 2014 at 7:28 pm
(September 17, 2014 at 6:51 pm)Clueless Morgan Wrote: (And what does the PHP code button do?)
"Well, evolution is a theory. It is also a fact. And facts and theories are different things, not rungs in a hierarchy of increasing certainty. Facts are the world's data. Theories are structures of ideas that explain and interpret facts. Facts don't go away when scientists debate rival theories to explain them. Einstein's theory of gravitation replaced Newton's in this century, but apples didn't suspend themselves in midair, pending the outcome. And humans evolved from ape- like ancestors whether they did so by Darwin's proposed mechanism or by some other yet to be discovered."
-Stephen Jay Gould
Posts: 15351
Threads: 118
Joined: January 13, 2014
Reputation:
117
RE: Hide tags button?
September 17, 2014 at 7:48 pm
(This post was last modified: September 17, 2014 at 7:51 pm by SteelCurtain.)
If you are using Chrome, you can install the extension "BBCodeInsert."
That extension allows you to right click and insert various tags, from [b], [i], to [quote], and even [url] with a prompt. It also includes the ability to add custom shortcuts. I have added the [hide] tag shortcut to mine. It's pretty easy.
Once you have the extension installed, you go to your extensions (Tools-->Extensions) Then go to BBCodeInsert Options. All you do from there is copy this code into the box, hit save, and you'll have some hide tags prepared by yours truly.
Code: # Hide Tags with prompt
title:[hide]=prompt
template:![hide]{{p:$1}}[/hide]
prompt:Text to be hidden
#
# Hide Tags
title:[hide]
template:![hide][/hide]
#
"There remain four irreducible objections to religious faith: that it wholly misrepresents the origins of man and the cosmos, that because of this original error it manages to combine the maximum servility with the maximum of solipsism, that it is both the result and the cause of dangerous sexual repression, and that it is ultimately grounded on wish-thinking." ~Christopher Hitchens, god is not Great
PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---
Posts: 6120
Threads: 64
Joined: June 5, 2013
Reputation:
65
RE: Hide tags button?
September 17, 2014 at 7:58 pm
Cthulhu Dreaming Wrote:It's not terribly useful for non-programmers. It lets you quote PHP code and prettifies it.
Has there been a lot of PHP quoting in the past or is that just a standard forum button?
Cthulhu Dreaming Wrote:That would be "imgfit"
That's the one I always forget.
Is there a way to resize an image to a particular percentage? Say, the image is 600x800 and you want it to appear at 50% in thread?
I think I've tried [img width=# height=#] or various plays on the theme from the days when I knew how to write html but I suspect that just won't work here...
SteelCurtain Wrote:If you are using Chrome, you can install the extension "BBCodeInsert."
Cool, I'll have to check that out... Thanks
BTW, holy shit were the quote tags screwed up by the coding in these posts!! :p
Teenaged X-Files obsession + Bermuda Triangle episode + Self-led school research project = Atheist.
Posts: 30974
Threads: 204
Joined: July 19, 2011
Reputation:
141
RE: Hide tags button?
September 17, 2014 at 10:29 pm
(September 17, 2014 at 7:58 pm)Clueless Morgan Wrote: Cthulhu Dreaming Wrote:It's not terribly useful for non-programmers. It lets you quote PHP code and prettifies it.
Has there been a lot of PHP quoting in the past or is that just a standard forum button?
Cthulhu Dreaming Wrote:That would be "imgfit"
That's the one I always forget.
Is there a way to resize an image to a particular percentage? Say, the image is 600x800 and you want it to appear at 50% in thread?
I think I've tried [img width=# height=#] or various plays on the theme from the days when I knew how to write html but I suspect that just won't work here...
It's a standard feature of the advanced editor.
I don't think there are any bbcode tags to resize images like that. Personally, I resize them before I upload if I can.
Posts: 6990
Threads: 89
Joined: January 6, 2012
Reputation:
104
RE: Hide tags button?
September 18, 2014 at 8:41 am
(This post was last modified: September 18, 2014 at 8:42 am by Fidel_Castronaut.)
Quote:If you are using Chrome, you can install the extension "BBCodeInsert."
That extension allows you to right click and insert various tags, from [b], [i], to [quote], and even [url] with a prompt. It also includes the ability to add custom shortcuts. I have added the [hide] tag shortcut to mine. It's pretty easy.
Once you have the extension installed, you go to your extensions (Tools-->Extensions) Then go to BBCodeInsert Options. All you do from there is copy this code into the box, hit save, and you'll have some hide tags prepared by yours truly.
PHP Code: # Hide Tags with prompt title:[hide]=prompt template:![hide]{{p:$1}}[/hide] prompt:Text to be hidden #
# Hide Tags title:[hide] template:![hide][/hide] #
Couldn't get it to work?
Posts: 15351
Threads: 118
Joined: January 13, 2014
Reputation:
117
RE: Hide tags button?
September 18, 2014 at 9:15 am
Works just fine for me. Copy that exact code into the editor. I've got hide tags, spoiler tags, image tags, and YouTube video tags in my custom menu.
"There remain four irreducible objections to religious faith: that it wholly misrepresents the origins of man and the cosmos, that because of this original error it manages to combine the maximum servility with the maximum of solipsism, that it is both the result and the cause of dangerous sexual repression, and that it is ultimately grounded on wish-thinking." ~Christopher Hitchens, god is not Great
PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---
|