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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 10386
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 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
Possibilities
Forumember

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

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

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum 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://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 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://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 September 29th 2011, 6:11 am

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

Post by LGforum 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://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 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://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 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
LGforum
Hyperactive

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

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

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

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

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

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

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

Back to top Go down

Solved Re: Quick Reply

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

Male Posts : 77
Reputation : 1
Language : USA

Back to top Go down

Solved Re: Quick Reply

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

Solved > Locked
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top


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