Quote Selected Text
3 posters
Page 1 of 1
Quote Selected Text
I could not find any mention of this when I tried searching, but I would like to know if there is any existing code (or a genius that that could come up with code) that could be added to a template that would allow this:
1. Click on reply
2. Have a quote button displayed in each post in the topic review
3. Highlight text in one of the topic review posts
2. Click the quote button
3. The highlighted text is quoted and inserted into the reply text box.
Hopefully this mock up will illustrate what I mean better:
I have seen this implemented in a non-forumotion forum, but I was just curious if it would be possible with a forumotion forum.
Thanks!
1. Click on reply
2. Have a quote button displayed in each post in the topic review
3. Highlight text in one of the topic review posts
2. Click the quote button
3. The highlighted text is quoted and inserted into the reply text box.
Hopefully this mock up will illustrate what I mean better:
I have seen this implemented in a non-forumotion forum, but I was just curious if it would be possible with a forumotion forum.
Thanks!
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Quote Selected Text
I created a tutorial for pretty much the same thing for on topics. Its not for the topic review part but could be edited to do so very easily.
http://www.avacweb.com/t39-9-quote-post-in-quick-reply-no-page-change
http://www.avacweb.com/t39-9-quote-post-in-quick-reply-no-page-change
Last edited by LGforum on Wed 17 Oct - 0:29; edited 1 time in total
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quote Selected Text
LGForum, the content of your above post is being removed as it doesn't add any information pertaining to the question asked other than mentioning the user to visit some forum. Since, you had posted initially to help, you are not receiving a warning. However, please don't do this in the future. Thanks.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Quote Selected Text
I would have happily deleted had I been able to.
Are supposed to be able to delete our own posts or not?
Are supposed to be able to delete our own posts or not?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quote Selected Text
You can always edit your posts
Also, members have the permission to delete their posts. Are you not able to?
Also, members have the permission to delete their posts. Are you not able to?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Quote Selected Text
I did edit it ... just not enough I guess.
No I don't. Looking at my post just above yours and the first post of mine in this thread, there's no delete button.
EDIT: Oh no wait there is on this post though. Is there a time limit on the delete then I guess?
No I don't. Looking at my post just above yours and the first post of mine in this thread, there's no delete button.
EDIT: Oh no wait there is on this post though. Is there a time limit on the delete then I guess?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quote Selected Text
There is no time limit on the delete. The time limit of None is only for the editing in the admin panel.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Quote Selected Text
Okay then I can't delete. The delete button is gone on my post above now too.
I only see it on posts I've literally just posted.
I only see it on posts I've literally just posted.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quote Selected Text
Okay, from the inputs i received, If you start a new thread & no one else has posted until, then only you have the option to delete that post.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Quote Selected Text
Ah I get it. So I should have been able to delete the first post before you replied.
Maybe I could have and just didn't notice. Heh.
Thanks.
EDIT you don't mind me adding the content of my post back now since it's available to guests?
I thought all my tutorials were available to guests, given our previous encounters.
Maybe I could have and just didn't notice. Heh.
Thanks.
EDIT you don't mind me adding the content of my post back now since it's available to guests?
I thought all my tutorials were available to guests, given our previous encounters.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Quote Selected Text
Yes, i think thats how it works. I have anyways asked Leeloo about it.
Yes, you can post the tutorial link as long as none of the content in that tutorial, requires you to login.
Yes, you can post the tutorial link as long as none of the content in that tutorial, requires you to login.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Quote Selected Text
Thanks for the reply, LGforum. It doesn't look like that code works for phpbb2, which is what I am running. I followed the instructions, but nothing changed. Any ideas as to what would make it work in phpbb2? If not, i'll try and tinker around with it. The code you provided should be a nice start, so thanks!
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Quote Selected Text
Thanks Rideem3, that change got the code working so that it will insert the highlighted text into the quick reply. I will see if I can figure out how to get it to insert the highlighted text into the "formal" reply. If I get it working I will post the code on here.
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Quote Selected Text
So, when you click reply, you are taken to the reply page where there is topic review section that contains the messages that have been posted in that topic.
Right now I am trying to simply add the normal quote button to each message in the topic review, similar to the picture I posted in my original message.
So far the only mention of quoting in the templates I have come across is found in the viewtopic_body template:
I attempted to add it to the posting_topic_review template, but the button didn't show up.
I'm not sure what to do at this point. Any suggestions?
Right now I am trying to simply add the normal quote button to each message in the topic review, similar to the picture I posted in my original message.
So far the only mention of quoting in the templates I have come across is found in the viewtopic_body template:
- Code:
{postrow.displayed.QUOTE_IMG}
I attempted to add it to the posting_topic_review template, but the button didn't show up.
I'm not sure what to do at this point. Any suggestions?
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Quote Selected Text
I understand the script is for the quick reply, but I'd like to know how to add a quote button to the messages in the topic review, if it's possible.
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Re: Quote Selected Text
Im sorry. I'm having a hard time trying to describe what it is I want to do. The best I could come up with was the image in my original post.
It was a function on a non-forumotion forum that I use all the time and it is very convenient.
I thought thought that if I knew how to add the quote button to the posts in the topic review, I might be able to modify the quick reply code to make it work with the normal reply (Confusing description again i'm sure ) I really am just learning to work with javascript, so I doubt I would be able to get it to work on my own anyway.
The javascript solution using the quick reply will do, I just didn't really want to add quick reply to my forum.
Thanks for trying to help guys.
It was a function on a non-forumotion forum that I use all the time and it is very convenient.
I thought thought that if I knew how to add the quote button to the posts in the topic review, I might be able to modify the quick reply code to make it work with the normal reply (Confusing description again i'm sure ) I really am just learning to work with javascript, so I doubt I would be able to get it to work on my own anyway.
The javascript solution using the quick reply will do, I just didn't really want to add quick reply to my forum.
Thanks for trying to help guys.
bob77707- Forumember
- Posts : 48
Reputation : 4
Language : English
Similar topics
» Requesting a Multi-Quote Icon [Selected and Unselected]
» Code to keep highlighted text selected in a post?
» Quote text color in Modernbb?
» Text is not Appearing in Quote Box
» How can I indent all the text into quote box
» Code to keep highlighted text selected in a post?
» Quote text color in Modernbb?
» Text is not Appearing in Quote Box
» How can I indent all the text into quote box
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum