Some questions about Posting

Go down

Some questions about Posting

Post by Nedvedd on September 13th 2010, 9:36 pm

How I can make the Quick-Reply Option to be as a Spoiler, when clicked, to show?

Also how I can add new things to the Post-Reply Option, I want to add something like a translator (in the forum where I am an admin, we write in cyrilic and I want to add a program which converts latin characters into cyrilic character). I only need a help how to add it into this Smile

Thanks!

Nedvedd
New Member

Male Posts : 23
Reputation : 0
Language : Bulgarian

Back to top Go down

Re: Some questions about Posting

Post by Adam360 on September 13th 2010, 10:39 pm

Answer for question 1 =

Code:
 [spoiler]Text Here[/spoiler]

Answer for question 2 =

I'll look it up, although, i'm not sure that you can.

avatar
Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Some questions about Posting

Post by Guest on September 13th 2010, 10:44 pm

adam360,

Answer is wrong xD.

he wants the Quick-Reply to have a show/hide button xD

that can be done with javascript and html from the templates i think .)

I will take a look Smile

Guest
Guest


Back to top Go down

Re: Some questions about Posting

Post by Adam360 on September 13th 2010, 11:07 pm

First question i've got wrong all night =[

Ahh well, i didn't read it properly

(it was the right answer to the question i thought i read =P
avatar
Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Some questions about Posting

Post by Nedvedd on September 14th 2010, 11:07 am

@Gangstar15 wrote:
he wants the Quick-Reply to have a show/hide button xD

that can be done with javascript and html from the templates i think .)

I will take a look Smile

Exactly, I want to make it more compact. If someone knows how it can be done, please to write in the topic Smile

Nedvedd
New Member

Male Posts : 23
Reputation : 0
Language : Bulgarian

Back to top Go down

Re: Some questions about Posting

Post by Guest on September 14th 2010, 5:04 pm

As i said that this can only be done with templates Razz. for Phpbb2 & punbb:

ACP - Display - Templates - General - Viewtopic_body:

find this:

Code:

<!-- BEGIN switch_user_logged_in -->
         <a name="quickreply"></a>
         {QUICK_REPLY_FORM}<br />
         <!-- END switch_user_logged_in -->

& Replace it with:

Code:

<!-- BEGIN switch_user_logged_in -->
<a class="tempa" onclick="javascript:ShowHide('HiddenDiv_1')" href="javascript:;"><div class="quick">Show / hide the Quick Reply</div>
<div class="temp" id="HiddenDiv_1" style="display: none;">
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
</div>
 
<script language="JavaScript">
function ShowHide(divId) {
if(document.getElementById(divId).style.display == 'none'){document.getElementById(divId).style.display='block';
}
else
{document.getElementById(divId).style.display = 'none';}
}
</script>
<!-- END switch_user_logged_in -->

And add this code above it too:

Code:

<style>
.quick{
        text-align:center;
        color: blue;
        font-size: 20px;
}

h2 {
padding : 0px;
}
.tempa {
margin : 0px;
font-size : 15px;
text-decoration : none;
}
.temp {
margin : 15px;
padding : 15px;
border: 0px solid #eb6c32;
}
</style>

You can also change the text to an image by adding this code instead the text:

Code:

<img src="IMAGE URL" border="0">

I hope this will work fine with you, its works perfect for me xD

Guest
Guest


Back to top Go down

Re: Some questions about Posting

Post by Nedvedd on September 14th 2010, 6:06 pm

And what about PhpBB3, I will ask the other Admin which is our version, but I am 99% sure are are on BB3!

Nedvedd
New Member

Male Posts : 23
Reputation : 0
Language : Bulgarian

Back to top Go down

Re: Some questions about Posting

Post by Guest on September 14th 2010, 6:13 pm

Lol okay then Smile.

Guest
Guest


Back to top Go down

Re: Some questions about Posting

Post by Nedvedd on September 14th 2010, 10:04 pm

Thanks for the help, but is there a way to do this in BB3?

Nedvedd
New Member

Male Posts : 23
Reputation : 0
Language : Bulgarian

Back to top Go down

Re: Some questions about Posting

Post by Guest on September 14th 2010, 10:08 pm

No problem, i don't know, i don't want to say "Yes" or "No" xD maybe it can be done with javascript xD

Guest
Guest


Back to top Go down

Back to top


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