WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Spoiler Help Empty Spoiler Help Fri Oct 08, 2010 10:51 am

blindbat1457


Registered Member
Registered Member
My problem is I bought a domain and installed phpbb3 and I want to create the spoiler code but not sure what the code is.
Spoiler:

Ankillien told you Razz

By the way off topic what does your name mean and how do you pronounce it/

2Spoiler Help Empty Re: Spoiler Help Fri Oct 08, 2010 11:01 am

ankillien

ankillien
Administrator
Administrator
Hi,

Can you add a spoiler in any post on your phpBB3 which is visible to guests? so that I can test it myself.

3Spoiler Help Empty Re: Spoiler Help Fri Oct 08, 2010 11:10 am

blindbat1457


Registered Member
Registered Member
ankillien wrote:Hi,

Can you add a spoiler in any post on your phpBB3 which is visible to guests? so that I can test it myself.

You mean on my forums?

If so then it won't work :/

I guess phpbb3 default doesn't have the bbcode for spoiler and so I was adding my custom bbcodes and realized it wasn't there.

4Spoiler Help Empty Re: Spoiler Help Fri Oct 08, 2010 1:17 pm

ankillien

ankillien
Administrator
Administrator
I need to see a spoiler working on your BB3 forum before I can provide any help.

Try adding a custom BBCode for spoiler.

5Spoiler Help Empty Re: Spoiler Help Sat Oct 09, 2010 2:13 am

blindbat1457


Registered Member
Registered Member
ankillien wrote:I need to see a spoiler working on your BB3 forum before I can provide any help.

Try adding a custom BBCode for spoiler.

Yeah that is what I am asking for.. I don't know the code to put for it.

Can't you just use the working phpbb3 spoiler on here?

6Spoiler Help Empty Re: Spoiler Help Sat Oct 09, 2010 9:35 am

ankillien

ankillien
Administrator
Administrator
How can we use phpBB3 spoiler here on FM forum?
I don't know how BB3's custom bbcomes work. I'll try installing it on my server and try to figure it out Smile

7Spoiler Help Empty Re: Spoiler Help Sun Oct 10, 2010 12:50 am

blindbat1457


Registered Member
Registered Member
ankillien wrote:How can we use phpBB3 spoiler here on FM forum?
I don't know how BB3's custom bbcomes work. I'll try installing it on my server and try to figure it out Smile

Custome bb's are very very easy.
http://www.phpbb.com/kb/article/adding-custom-bbcodes-in-phpbb3/

There I am sure you will understand it very quick.

8Spoiler Help Empty Re: Spoiler Help Sun Oct 10, 2010 1:38 am

Matti

Matti
Registered Member
Registered Member
Hello,

Are you need the HTML spoiler?

http://csshelp.forumotion.net/

9Spoiler Help Empty Re: Spoiler Help Mon Oct 11, 2010 12:02 pm

ankillien

ankillien
Administrator
Administrator
blindbat1457 wrote:
ankillien wrote:How can we use phpBB3 spoiler here on FM forum?
I don't know how BB3's custom bbcomes work. I'll try installing it on my server and try to figure it out Smile

Custome bb's are very very easy.
http://www.phpbb.com/kb/article/adding-custom-bbcodes-in-phpbb3/

There I am sure you will understand it very quick.

If you find them easy, can you make a spoiler yourself on your forum?

10Spoiler Help Empty Re: Spoiler Help Tue Oct 12, 2010 1:20 am

blindbat1457


Registered Member
Registered Member
Maki wrote:Hello,

Are you need the HTML spoiler?
Yeah I need the coding part of bbcodes.

ankillien wrote:
blindbat1457 wrote:

Custome bb's are very very easy.
http://www.phpbb.com/kb/article/adding-custom-bbcodes-in-phpbb3/

There I am sure you will understand it very quick.

If you find them easy, can you make a spoiler yourself on your forum?
I don't know how to do the onclick stuff. But they are very easy.

you just put the bbcode
Spoiler:

Then the HTML code.
<Table>
<tr>
<th>Spoiler:</th>
</tr>
<tr>
<td>{TEXT}</td>
</tr>
</table>

Where ever you place the {TEXT} in the bbcode is where the users text will show.

Like that but how do you make it "onclick"?

11Spoiler Help Empty Re: Spoiler Help Tue Oct 12, 2010 1:30 am

Guest


Guest
Maybe this can help a little ;D try it on a HTML Editor (:
Code:


<script type="text/javascript">
<!--
function resettoggle() {
var e = document.getElementById('toggle');
e.style.display = 'none';
}

function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}
//-->
</script>

<body onLoad="resettoggle()">
<a href="#" onclick="toggle_visibility('toggle');"><b>Spoiler:</b></a>
<div id="toggle">Text</div>
</body>

12Spoiler Help Empty Re: Spoiler Help Tue Oct 12, 2010 2:08 am

blindbat1457


Registered Member
Registered Member
Alright that works Smile

Just one more thing how would I make it like the one on this forum?
Just make it a table?
Spoiler:

13Spoiler Help Empty Re: Spoiler Help Tue Oct 12, 2010 2:18 am

Guest


Guest
Here :

Code:

<style type="text/css">
a:link,a:active,a:visited {
    text-decoration: none;
    }

a:hover{
   text-decoration: none !important;
    }

#spoiler {
-webkit-border-radius: 1px 1px;
-moz-border-radius: 1px 1px;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221)));
background: -moz-linear-gradient(top, white, #DDDDDD);
border: solid 1px rgb(153, 153, 153);
color: #333;
font-weight: bold;
}
#toggle{
-webkit-border-radius: 1px 1px;
-moz-border-radius: 1px 1px;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 255, 255)), to(rgb(221, 221, 221)));
background: -moz-linear-gradient(top, white, #DDDDDD);
border: solid 1px rgb(153, 153, 153);
border-top: 0px;
color: #333;
font-weight: bold;
}
</style>
<script type="text/javascript">
<!--
function resettoggle() {
var e = document.getElementById('toggle');
e.style.display = 'none';
}

function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}
//-->
</script>

<body onLoad="resettoggle()">
<a href="#" onclick="toggle_visibility('toggle');"><div id="spoiler"> Spoiler:</div></div></a>
<div id="toggle">Text</div>
</body>

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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