Quick Reply

Possibilities at 21h31
28
Sep
2011
how do i add quick reply and make it pop up when i press a button
1 Base, on 28/09/2011 at 21h38
Hi, to add quick reply please go to:

1. Administration Panel (advanced mode)
2. Configuration (on the left, under Messages and e-mails)
3. Select 'Allow Quick Reply : Yes'

I don't quite understand what you mean by the second question.
2 Possibilities, on 28/09/2011 at 21h42
Base wrote:Hi, to add quick reply please go to:

1. Administration Panel (advanced mode)
2. Configuration (on the left, under Messages and e-mails)
3. Select 'Allow Quick Reply : Yes'

I don't quite understand what you mean by the second question.
i mean like where it says reply and new topic i want it to say quick reply beside those and then at the bottom quick reply pops up when i click the button
3 LGforum, on 29/09/2011 at 00h41
Have this javascript somewhere:
Code:

<script>
function showhide(elementname) {var displayed=document.getElementById(elementname).style.display;
if (displayed == 'none') { document.getElementById(elementname).style.display='block' }
if (displayed == 'block') { document.getElementById(elementname).style.display='none' }}

var x=document.getElementById('quick_reply');
x.style.display='none';
</script>


Then you need to create an image or link or something like this:
Code:

<a onclick="showhide('quick_reply');"><img src="YOUR IMAGE URL"></a>


Then clcking that image will make the quick reply appear and dissappear.[code]
4 Possibilities, on 29/09/2011 at 02h11
LGforum wrote:Have this javascript somewhere:
Code:

<script>
function showhide(elementname) {var displayed=document.getElementById(elementname).style.display;
if (displayed == 'none') { document.getElementById(elementname).style.display='block' }
if (displayed == 'block') { document.getElementById(elementname).style.display='none' }}

var x=document.getElementById('quick_reply');
x.style.display='none';
</script>


Then you need to create an image or link or something like this:
Code:

<a onclick="showhide('quick_reply');"><img src="YOUR IMAGE URL"></a>


Then clcking that image will make the quick reply appear and dissappear.[code]
can you give me a tutorial on where to put it all
5 LGforum, on 29/09/2011 at 06h01
Here, stick this into a Javascript file.
(modules>javascript management)

Make sure you check 'In all pages'

Code:

function showhide(elementname) {var displayed=document.getElementById(elementname).style.display;
if (displayed == 'none') { document.getElementById(elementname).style.display='block' }
if (displayed == 'block') { document.getElementById(elementname).style.display='none' }}

function showquickreply() {
showhide('text_editor_select_controls');
showhide('text_editor_controls');
showhide('textarea_content');
}

$(function() {
var x=document.getElementById('quick_reply');
x.innerHTML=x.innerHTML + '<a onclick="showquickreply();"><img src="http://illiweb.com/fa/admin/icones/question2.png"></a>';

var y=document.getElementById('text_editor_select_controls');
y.style.display='none';
var z=document.getElementById('text_editor_controls');
z.style.display='none';
var w=document.getElementById('textarea_content');
w.style.display='none';
});


Once you have done that, one a thread you will see a small question mark at the bottom, click it to show the quick reply box.
You can change this image of course by changing the img src URL in the script above.

I could do better... but right now im busy.
6 Possibilities, on 29/09/2011 at 06h08
LGforum wrote:Here, stick this into a Javascript file.
(modules>javascript management)

Make sure you check 'In all pages'

Code:

function showhide(elementname) {var displayed=document.getElementById(elementname).style.display;
if (displayed == 'none') { document.getElementById(elementname).style.display='block' }
if (displayed == 'block') { document.getElementById(elementname).style.display='none' }}

function showquickreply() {
showhide('text_editor_select_controls');
showhide('text_editor_controls');
showhide('textarea_content');
}

$(function() {
var x=document.getElementById('quick_reply');
x.innerHTML=x.innerHTML + '<a onclick="showquickreply();"><img src="http://illiweb.com/fa/admin/icones/question2.png"></a>';

var y=document.getElementById('text_editor_select_controls');
y.style.display='none';
var z=document.getElementById('text_editor_controls');
z.style.display='none';
var w=document.getElementById('textarea_content');
w.style.display='none';
});


Once you have done that, one a thread you will see a small question mark at the bottom, click it to show the quick reply box.
You can change this image of course by changing the img src URL in the script above.

I could do better... but right now im busy.
thanks but... how would i get the button where these are http://gyazo.com/9921d8ef265960393bd954fa748321c0
7 LGforum, on 29/09/2011 at 06h11
Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?
8 Possibilities, on 29/09/2011 at 06h21
LGforum wrote:Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?
yes exactly !!!
9 LGforum, on 29/09/2011 at 06h35
Code:

function showquickreply() {
var displayed=document.getElementById('quick_reply').style.display;
if (displayed == 'none') { document.getElementById('quick_reply').style.display='block' }
if (displayed == 'block') { document.getElementById('quick_reply').style.display='none' }
}

$(function() {
var x=document.getElementById('quick_reply');
x.style.display='none';
 $('.buttons').prepend('<a onclick="showquickreply();"><img src="http://illiweb.com/fa/admin/icones/question2.png"></a>');

});
10 Possibilities, on 29/09/2011 at 06h45
LGforum wrote:
Code:

function showquickreply() {
var displayed=document.getElementById('quick_reply').style.display;
if (displayed == 'none') { document.getElementById('quick_reply').style.display='block' }
if (displayed == 'block') { document.getElementById('quick_reply').style.display='none' }
}

$(function() {
var x=document.getElementById('quick_reply');
x.style.display='none';
 $('.buttons').prepend('<a onclick="showquickreply();"><img src="http://illiweb.com/fa/admin/icones/question2.png"></a>');

});
ok i got that but do you know how to put it after post reply
11 LGforum, on 29/09/2011 at 06h47
3 lines from the bottom of that script you will see the word 'prepend'
Change that word to 'append'
12 Possibilities, on 29/09/2011 at 06h50
LGforum wrote:3 lines from the bottom of that script you will see the word 'prepend'
Change that word to 'append'
awesome but is there a way when you click it it scrolle's the page down to the quick reply ive seen other people do it so...
13 LGforum, on 29/09/2011 at 07h00
What do you mean it scrolls the page down?
Do you mean if they click this button at the top of the page?

If you mean this, then find this bit of the script:
Code:

<a onclick="showquickreply();">


and change it to this:
Code:

<a href="#bottom" onclick="showquickreply();">
14 Possibilities, on 29/09/2011 at 07h03
LGforum wrote:What do you mean it scrolls the page down?
Do you mean if they click this button at the top of the page?

If you mean this, then find this bit of the script:
Code:

<a onclick="showquickreply();">


and change it to this:
Code:

<a href="#bottom" onclick="showquickreply();">
thanks !!!
15 LGforum, on 29/09/2011 at 07h09
Working alright for ya?

Let me know if you have any issues with it, i can see some possible issues with it, but i have some fixes for it if needed.
16 Possibilities, on 29/09/2011 at 07h11
LGforum wrote:Working alright for ya?

Let me know if you have any issues with it, i can see some possible issues with it, but i have some fixes for it if needed.
no its working fine but do you know anyone that can make me logos for my site
17 LGforum, on 29/09/2011 at 07h14
I don't, you should try the graphic design section of this forum.

Feel free to PM me sometime if you wish for any more neat little features Wink
18 Possibilities, on 29/09/2011 at 07h18
LGforum wrote:I don't, you should try the graphic design section of this forum.

Feel free to PM me sometime if you wish for any more neat little features Wink
ok thanks alot
19 Nera., on 29/09/2011 at 07h39
Solved > Locked
Similar topics
I am a stickler for proper spelling. It would be a good idea to have a spell checker added to the sites so that you can check the spelling of your post before submitting it.
Notice: This tutorial can only be preformed by Founders, whilst in the Founding account. After Saving these edits, when an update is released, you will be required to manually add the new template codes in yourself (Otherwise you will have to delete the
In the Quick reply box I want to add Background with the text of my forum.
Replies 1 to 19 on 19 for "Quick Reply"
See also
more_less
Informations

19 Replies For the topic :
"Quick Reply"

This topic has been viewed 649 times.

Last message :
28/09/2011 at 21h31 by "Possibilities"