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.

Quick Reply

View previous topic View next topic Go down

Solved Quick Reply

Post by Possibilities on September 28th 2011, 9:31 pm

how do i add quick reply and make it pop up when i press a button


Last edited by Copyright on September 29th 2011, 7:06 am; edited 1 time in total

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by Base on September 28th 2011, 9:38 pm

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.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 28th 2011, 9:42 pm

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 12:41 am

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]

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 2:11 am

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 6:01 am

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.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 6:08 am

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 6:11 am

Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 6:21 am

@LGforum wrote:Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?
yes exactly !!!

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 6:35 am

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>');

});

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 6:45 am

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 6:47 am

3 lines from the bottom of that script you will see the word 'prepend'
Change that word to 'append'

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 6:50 am

@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...

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 7:00 am

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();">

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 7:03 am

@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 !!!

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 7:09 am

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.

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 7:11 am

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum on September 29th 2011, 7:14 am

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

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities on September 29th 2011, 7:18 am

@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

Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by Nera. on September 29th 2011, 7:39 am

Solved > Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

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