Quick Reply
4 posters
Page 1 of 1
Quick Reply
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- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
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.
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.
Re: Quick Reply
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 buttonBase 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.
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
Have this javascript somewhere:
Then you need to create an image or link or something like this:
Then clcking that image will make the quick reply appear and dissappear.[code]
- 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
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
can you give me a tutorial on where to put it allLGforum 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]
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
Here, stick this into a Javascript file.
(modules>javascript management)
Make sure you check 'In all pages'
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.
(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- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
thanks but... how would i get the button where these are http://gyazo.com/9921d8ef265960393bd954fa748321c0LGforum 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.
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
yes exactly !!!LGforum wrote:Not sure what you mean. Do you mean next to the 'New topic' and 'Post reply' buttons?
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
- 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- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
ok i got that but do you know how to put it after post replyLGforum 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>');
});
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
3 lines from the bottom of that script you will see the word 'prepend'
Change that word to 'append'
Change that word to 'append'
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
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...LGforum wrote:3 lines from the bottom of that script you will see the word 'prepend'
Change that word to 'append'
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
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:
and change it to this:
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
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
thanks !!!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();">
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
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.
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
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
no its working fine but do you know anyone that can make me logos for my siteLGforum 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.
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
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
Feel free to PM me sometime if you wish for any more neat little features
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quick Reply
ok thanks alotLGforum 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
Possibilities- Forumember
- Posts : 77
Reputation : 1
Language : USA
Re: Quick Reply
Solved > Locked
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» When onclick button of "Post Reply" scroll down to the quick reply
» Quick reply and reply some functions not working
» Quick Reply and Reply alignment issues
» Quick Reply and Reply Not Showing Correctly
» smilies code for quick reply in reply
» Quick reply and reply some functions not working
» Quick Reply and Reply alignment issues
» Quick Reply and Reply Not Showing Correctly
» smilies code for quick reply in reply
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum