Jul 20, 2008

New Custom Bbcode Called [hide] - use this tag to hide your spoiler or a punch line

Free Web Hosting, No Ads > General > Alerts and Notices
Pages: 1, 2

free web hosting

New Custom Bbcode Called [hide] - use this tag to hide your spoiler or a punch line

BuffaloHELP
I made this custom bbcode called HIDE to hide part of your post. The usage goes like this:

CODE
[hide=option]Just insert what you want to hide.[/hide]


Here is an example of above bbcode. Please use your forum login name as the option. This will make the code work smoothly with multiple usage.
[hide=buffalohelp]Just insert what you want to hide.[/hide]

If you want to use more than one HIDE code in a single post, you MUST use it like this:
CODE
[hide=yourname1]Insert the hidden text one.[/hide]
[hide=yourname2]Insert the hiddent text two.[/hide]

This will show as
[hide=buffalohelp1]Insert the hidden text one.[/hide]
[hide=buffalohelp2]Insert the hidden text two.[/hide]

You'll note that yourname1 and yourname2 were used. If you were to use the same option field with the same variable, only one will open and the other will not. And the reason I've made it to use your forum name is to differentiate among all HIDE codes in a topic per page. This is crucial.

If you do not use distinguishable option values this is what will happen:
CODE
[hide=name]Inserting code[/hide]
[hide=name]Inserting second code[/hide]

This will show as
[hide=name]Inserting code[/hide]
[hide=name]Inserting second code[/hide]

As you can see, the second hide code does not show and it triggers the first one.

For the full list of available BBcodes for Trap17 board, please visit http://www.trap17.com/forums/index.php?act...mp;type=bbcodes

A word of caution: Words within the HIDE bbcode will still earn you hosting credits. Members using HIDE to post and paste articles to gain hosting credits against Trap17 forum rules will be warned immediately without exception. The earned hosting credits will also be reversed.

Thanks guys and enjoy using smile.gif

PS there's a possibility that your browser security can block the proper function of this code. When you see a security block message "blocked active content" either allow Trap17 as your trusted site or allow this script to run. That is up to you.

 

 

 


Reply

Dooga
This feature is really interesting, it might be useful with large articles or tutorials, and a person can write a summary and "click here to show" the rest or something.

Reply

electriic ink
Hey trap17 now has a spoiler (they are called spoilers, right huh.gif). Better use would be something like this:

QUOTE
Did you read the latest Harry Potter book. Who would've guess that [hide=hp]Thingy[/hide] died? Now discuss!

Reply

Plenoptic
QUOTE(electriic ink @ Aug 15 2006, 04:59 AM) *

Hey trap17 now has a spoiler (they are called spoilers, right huh.gif). Better use would be something like this:


Ya now we can hide the part of who dies and what not or whatever if people don't want to know. People can use the hide for quotes and what not as well like talk about an article and say to view the article go here http://articlelink.com or just have it in quotes.

[hide=Plenoptic]
QUOTE
here's the article
[/hide]

So I guess BBCodes are just like other scripts made into something simpler? Anyway that's cool, good job Buffalo.

 

 

 


Reply

Panzer
Great thanks for this, now we can talk about LOST!

Reply

MaineFishing45
Well nice work Buffalo, I prefer the other modification that shows the image saying there is hidden content in the post, but otherwise looks nice and I can see where is might come in handy.

Reply

TypoMage
So what does this do? What is it for? I am not reallyunderstanding what it does exactly? So if someone could just explain to me what this does. I know that is hides text but why would we want to do that???!?!?

Reply

Plenoptic
Typo there are many reasons why people would use this. You could have a riddle and hide the answer and after someone guesses they can click to show the answer, or like I said before instead of showing a huge article they can hide it there and people can click if they want to read it (of course still in quotes) or if there is a spoiler to a book that would give it away people can hide it from those who just want to read the other information or they could use it for some content that younger users should not read like Albus' Joke that you replied to earlier.

Reply

BooZker
Wow this is perfect for so many things. I will have to use this. You should put the HIDE tags in the main reply box next to to the Quote and Code buttons. I think people would use this more too.


Reply

TripleH13
nice work. That must be one of the best Bcodes. It has become very popular the last little while. I have see many forums using it. It is also very helpful to get other members to thank people for the stuff they post without just reading and not posting anything.

Reply

Latest Entries

Soby
Been using the hide code for a long time. This is mostly on forum that share media and warez and other stuff. A great bbcode if i say so myself. But there is one problem, the explanation you made was good but the example you set for the hide code , dunno if im misinterpreting it or something but, it doesn't show up as a hide code. The hide code i used when i was on different forums, I used the simple versions.
the text here
. can you please elaborate on the hide code used on this forum please?

Reply

Forbez
Very intresting BB code there. Yet again you guys amaze us with you dedication to your members with think of BB codes which can only improve out expeirence at trap 17. I thank you for that.

Reply

megabytemb
cool

its always best to have more code funcitions

Reply

BuffaloHELP
UPDATE

I am sorry for all previous HIDE tag users. I will be making corrections as much as I can for those who have been using HIDE=option tag.

The new HIDE tag will not require for you to enter the option field. Simple use HIDE text here /HIDE.
CODE
[hide]Hidden text here[/hide]

Sample below
Hidden text here


FAQ
Q: After editing my post which contained HIDE, my hidden message does not show.
A: The new HIDE code requires random number to be generated when a page is refreshed. Simply refresh your page after editing and you will see your hidden quote.

Reply

BuffaloHELP
UPDATE

I made an adjustment to the HIDE code. From now on HIDE code will be included in QUOTE tag automatically. You do not need to use QUOTE in conjunction to HIDE code.

Thank you.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. [hide] bbcode - 22.24 hr back. (1)
Similar Topics

Keywords : custom, bbcode, called, hide, tag, hide, spoiler, punch, line

  1. New Custom Bbcodes Called [google] [define] [imgalign]
    to help you better format your posts (8)
  2. New Custom Bbcode [table]
    much needed tag (20)
    Hello Trap17 members, After reviewing members' signatures, I believe TABLE tag is needed in our
    forum as well. The usage is the same as the regular HTML code: CODE
    [table=1][tr][td]column 1[/td][td]column
    2[/td][/tr][/table] will show: column 1 column 2 Table
    column's width is predefined. To avoid unnecessary forum format distortion please limit per
    column content to fit the forum width. Table=1 option is needed to create table outline. You may use
    0 to omit this option. CODE ....
  3. Topic View Changed To Include Custom Fields
    custom fields enabled (3)
    When you read a topic next time, notice the new profile information under a member's avatar. It
    will show as: Member name Profile title Group icon Group: Posts: Joined: From: Member No.: T17
    GFX Crew (or Spam Patrol) This new custom field was added to the topic view to enhance the
    awareness of T17 GFX Crew. For moderators and administrators we will be able to see hosted
    member's cPanel username as well. No other members can see this value, not even their own. This
    can cut down crucial delay time when members are request for hosting support. Instead of "what....
  4. New Custom Bbcodes For This Board
    (43)
    HI all, I'm in the process of introducing a couple of new BBCodes to help us make better
    posts and make parts of the content stand out. Two such new BBCodes are CONSOLE and NOTE . Out
    of these, the NOTE BBCode is for use of the Mods & Admins only. Anybody else found using them in
    their posts will be penalized suitably. 1. CONSOLE This code is to be used for displaying
    console input/output in your posts. The text to be shown has to be enclosed within a matching pair
    of tags. Example: # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0D:88:39....

    1. Looking for custom, bbcode, called, hide, tag, hide, spoiler, punch, line

Searching Video's for custom, bbcode, called, hide, tag, hide, spoiler, punch, line
advertisement



New Custom Bbcode Called [hide] - use this tag to hide your spoiler or a punch line



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE