The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Some questions about Posting

View previous topic View next topic Go down

Some questions about Posting

Post by Nedvedd on Mon 13 Sep 2010, 21:36

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 Mon 13 Sep 2010, 22:39

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.


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 Mon 13 Sep 2010, 22:44

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 Mon 13 Sep 2010, 23:07

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

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 Tue 14 Sep 2010, 11:07

@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 Tue 14 Sep 2010, 17:04

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 Tue 14 Sep 2010, 18:06

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 Tue 14 Sep 2010, 18:13

Lol okay then Smile.

Guest
Guest


Back to top Go down

Re: Some questions about Posting

Post by Nedvedd on Tue 14 Sep 2010, 22:04

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 Tue 14 Sep 2010, 22:08

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

View previous topic View next topic Back to top


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