The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Quick Reply

4 posters

Go down

Solved Quick Reply

Post by Possibilities Wed 28 Sep 2011 - 21:31

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


Last edited by Copyright on Thu 29 Sep 2011 - 7:06; edited 1 time in total
Possibilities
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by Base Wed 28 Sep 2011 - 21:38

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
Base
Forumaster

Male Posts : 10383
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Wed 28 Sep 2011 - 21:42

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 0:41

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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 2:11

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 6:01

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://2img.net/i/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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 6:08

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://2img.net/i/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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 6:11

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

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 6:21

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 6:35

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://2img.net/i/fa/admin/icones/question2.png"></a>');

});
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 6:45

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://2img.net/i/fa/admin/icones/question2.png"></a>');

});
ok i got that but do you know how to put it after post reply
Possibilities
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 6:47

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

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 6:50

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 7:00

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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 7:03

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 7:09

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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 7:11

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum Thu 29 Sep 2011 - 7:14

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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Quick Reply

Post by Possibilities Thu 29 Sep 2011 - 7:18

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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by Nera. Thu 29 Sep 2011 - 7:39

Solved > Locked
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top

- Similar topics

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