The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[hide][/hide] tags don't work

+2
Sanket
eattheword
6 posters

Go down

[hide][/hide] tags don't work Empty [hide][/hide] tags don't work

Post by eattheword June 4th 2009, 15:46

On our forum the [hide][/hide] tags don't seem to work. All they do is put the text in a coloured box but leave it visible.
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Sanket June 4th 2009, 17:14

Can you post a screenshot of what appears?
Have you enabled bbcode on profile as well as admin panel?
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by ankillien June 4th 2009, 17:25

If you have replied in the topic then it will become visible for you.
The content inside hide tags in only hidden to those who have not replies in the topic.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 5th 2009, 17:45

Ok, so that's not the behaviour I was expecting. On other forums I have used (not forumotion) the hide tags allow you to, well, hide something which is revealed by clicking on the 'click to reveal' link which appears in its place.

Is it possible to achieve this behaviour?
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by nelsaidi2 June 5th 2009, 20:39

Is it the spoiler tag your after?

Spoiler:

Code:
[spoiler]Text to hide[/spoiler]
avatar
nelsaidi2
Forumember

Posts : 36
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 5th 2009, 21:49

[quote="nelsaidi2"]Is it the spoiler tag your after?

[spoiler]Some text[/spoiler]

[code][spoiler]Text to hide[/spoiler][/code][/quote]

Huzzah! That's the one! Thanks for that! Smile Is it possible to give the tag a label? e.g. [spoiler=Don't look now!]some text[/spoiler]
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Sanket June 5th 2009, 21:50

Nopes not possible.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 5th 2009, 21:58

Ok, thanks. But I'm sure our lot will be pleased just knowing there is a working hide tag. I predict lots of happy faces. :wouhou:
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Guest June 5th 2009, 22:01

Heres a little trick for you Smile

a while ago for fun on my forum myself and the staff would leave hidden messages for the members by simply adding the message to different area's of the forum and using the color code to make the font effectively invisible until you highlight it

Obviously you don't know where the text is because you cant see it Very Happy

Try highlighting underneath this text

This is just an example of some forum trickery


regards







Craig
avatar
Guest
Guest


Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Cheesykid June 5th 2009, 22:07

Dose it do a purple or blueish font color that happens to me ill chek what happens here
Cheesykid
Cheesykid
Forumember

Posts : 197
Reputation : 0
Language : English
Location : At http://da-original.gooforum.com/

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Guest June 5th 2009, 22:13

well the good thing about the code is you can add any colour you want, here is the code and a link to hex codes to enable the exact colour you need Smile

[color=#dceaf5]This is just an example of some forum trickery[/color]

http://html-color-codes.com/

regards







Craig
avatar
Guest
Guest


Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Guest June 7th 2009, 08:35

eattheword wrote:Is it possible to give the tag a label? e.g.
Don't look now!:
Do you have HTML enabled on your forum? If you do, then yes, you can add anything you want to a spoiler label (or a code label for that matter). You just have to create the spoiler box manually:

Code:
<dl class="codebox" style="cursor: pointer;" onclick="this.getElementsByTagName('div')[0].style.display=((this.getElementsByTagName('div')[0].style.display=='none')?'':'none');"><dt>spoiler label</dt><dd><div style="display:none;">spoiler text</div></dd></dl>
The above is for phpBB3. For Invision, the only change would be (class="spoiler") instead of (class="codebox").


Last edited by Dion on June 7th 2009, 19:59; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 7th 2009, 19:12

Is there a phbBB2 version? Also, where do we need to put the HTML code?
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by Dark Takua June 7th 2009, 19:32

Dark Takua
Dark Takua
Active Poster

Male Posts : 1012
Reputation : 23
Language : English

http://gzpower.forumotions.net

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 8th 2009, 00:37

Dark Takua wrote:This is what comes up when you do the hide tags

Yes, that was the point of the original post. I learnt that
Spoiler:
tags are what I needed. What I'm looking for now is a way to change the behaviour of those spoiler tags so that users can add a label. The solution above seems to require pasting in the HTML code into each post. Is there a way of assigning this HTML functionality to the tag itself, or to a button?
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by ankillien June 8th 2009, 06:47

To do this, HTML must be allowed in posts.
This is the spoiler code...

Code:
<dl class="codebox" style="cursor: pointer;" onclick="this.getElementsByTagName('div')[0].style.display=((this.getElementsByTagName('div')[0].style.display=='none')?'':'none');">
<dt>Ankillien Posts:</dt>
<dd>
<div>This is the content inside thw spoiler.</div>
</dd>
</dl>

Notice the Ankillien Posts: inside <dt>. That will change the label.
The content goes inside <div> tags.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by eattheword June 8th 2009, 10:05

ok, so the person has to insert the DHTML code into the post by hand. Understood.

Thanks. :-)
avatar
eattheword
New Member

Posts : 14
Reputation : 0
Language : English

Back to top Go down

[hide][/hide] tags don't work Empty Re: [hide][/hide] tags don't work

Post by ankillien June 8th 2009, 10:25

Yes, they have to use this code.
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum