FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Quick Reply  () 2 Votes
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Unsubscribe from topic | Remove from bookmarks 
Switch to threaded view of this topic Create a new topic Submit Reply
Quick Reply [message #22672] Thu, 10 February 2005 14:16 Go to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I have created a small patch that adds a "quick reply" option at the bottom of threads. It works basically the same as the spoiler tag in that you have to click a link to make the reply box show up. Hopefully this can be touched up a bit and included by default.



Re: Quick Reply [message #22673 is a reply to message #22672] Thu, 10 February 2005 14:22 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Oops. I forgot to mention that it replies to the last post in the thread and automatically builds a subject based on the last posts subject. For example, if the subject of the last post in the thread is "A new subject" then the quick reply form will use the subject "Re: A new subject". If the subject of the last post is "Re: A new subject" then the quick reply form will use "Re: A new subject". I did not bother sifting through the source code to figure out what MSG to use for "Re:" so it is hardcoded in English. (One of those touch ups that it needs.)
Re: Quick Reply [message #22790 is a reply to message #22673] Wed, 16 February 2005 07:06 Go to previous messageGo to next message
ggray is currently offline  ggray   Ukraine
Messages: 96
Registered: October 2004
Location: Crimea: Simferopol
Karma: 0
Member
remove from buddy list
ignore all messages by this user

I think you need to add some panels like smiles and format.

[Updated on: Wed, 16 February 2005 07:06]

Report message to a moderator

Re: Quick Reply [message #22793 is a reply to message #22672] Wed, 16 February 2005 09:10 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
That is what the full reply form is for. If you know the fudcode for such things then you can just type them in. If you want to be able to click on them then you need to use the full reply form. The quick reply is for just that -- quickly replying to a thread without having to load a new page.

I use the feature quite a bit on a board that uses Invision Powerboard and felt that FUDforum could use it. If it isn't included in the next release I will update my hack for that release. Hell, I might even make it prettier (no extra functionality though).
Re: Quick Reply [message #22797 is a reply to message #22672] Wed, 16 February 2005 10:40 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Okay, here is the patch for FUDforum 2.6.10. I am not very good at creating patch files so you may have to manually patch the files. The patch file was created by copying the two modified files to a temporary directory, putting the original files in an "originals" directory within that temporary directory, and running `diff -C1 originals . > quick_reply.patch`. *shrug* It isn't much of a patch so you shouldn't have too much problem with it.

Also, you may want to add the following style definition to your forum.css:
#quickReply textarea {
        border: 1px solid black;
        color: black;
        background-color: #ff9;
}


I would make a graphical button just like the "Post Reply" button but I don't know what font the xcf files use nor how to make the button work for all languages. In fact, when I open the xcf and try to edit the text layer The Gimp says that it is invalid UTF-8 text.
Re: Quick Reply [message #23586 is a reply to message #22672] Wed, 23 March 2005 11:22 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Here is the version for 2.6.12. I did not release one for 2.6.11 because the release was so small that I didn't bother to update my own forum to 2.6.11.

There is a slight change in this version. I have included a graphic button like the "Post Reply" button. This graphic needs to go in your default theme image root directory. The graphic is in english and the font is a little off; I do not speak any other languages and I don't know what font is being used in all of the other graphics. I have also included my xcf for the new graphic so if someone can fix these issues then please feel free to do so.

The patch was created exactly as the previous patch was. If you were able to successfully apply the previous patch then you shouldn't have any issues with this one.

Enjoy.
Re: Quick Reply [message #24203 is a reply to message #22672] Tue, 19 April 2005 11:30 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I just found a small bug in this patch. If you use the quick reply function then your signature is not attached to the message. I will fix this in the next release. The next release, like always, will come after the next version of FUDforum.
Re: Quick Reply [message #27939 is a reply to message #22672] Sat, 01 October 2005 21:38 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I haven't had any time to update this. I will post a new version when I get the time to work on it.
Message by Hurry is ignored  [reveal message]  [reveal all messages by Hurry]  [stop ignoring this user] Go to previous messageGo to next message
Message by Hurry is ignored  [reveal message]  [reveal all messages by Hurry]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #28235 is a reply to message #22672] Fri, 14 October 2005 08:29 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Did you not read my latest post to this thread? I don't have the time right now to update this. Also, I wouldn't update it for an RC release if I did have the time. I said, much earlier in the thread, that this would only be updated for final releases.

Sorry, I am just too busy right now to work on this patch.
Re: Quick Reply [message #28554 is a reply to message #22672] Mon, 31 October 2005 00:39 Go to previous messageGo to next message
freeman is currently offline  freeman   China
Messages: 2
Registered: October 2005
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Good Job
www.firephp.com
Surprised
Re: Quick Reply [message #30189 is a reply to message #22672] Fri, 10 February 2006 06:06 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Anyone got the code to include signature as well in this very nice little hack? =)

Re: Quick Reply [message #30190 is a reply to message #22672] Fri, 10 February 2006 06:43 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Got it, added the following line in the template:

 		<input type="hidden" name="msg_show_sig" value="Y">


Re: Quick Reply [message #30192 is a reply to message #22672] Fri, 10 February 2006 06:45 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I love this forum software, just had to mention that!

Message by djechelon is ignored  [reveal message]  [reveal all messages by djechelon]  [stop ignoring this user] Go to previous messageGo to next message
Message by djechelon is ignored  [reveal message]  [reveal all messages by djechelon]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #30198 is a reply to message #22672] Sat, 11 February 2006 05:25 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
{VAR: sig} perhaps, not all into that, always enabled works fine with me, if they don't want to post signatures, they can remove their sig Razz Only got like 700ish users and they are all gamers, so they aren't all that picky!

Message by djechelon is ignored  [reveal message]  [reveal all messages by djechelon]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #30245 is a reply to message #22672] Sun, 12 February 2006 18:06 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Thanks a ton!

Message by hhh13 is ignored  [reveal message]  [reveal all messages by hhh13]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #31375 is a reply to message #22672] Wed, 19 April 2006 11:39 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Read message numbers 22797 and 23586 in this thread. They tell you exactly how to apply the patch and where to put the image.

Also, because of classes, I haven't had time to update my version of the hack to work with the latest version. Maybe I will get to it during my lax summer semester, but I doubt it. No one on my board really used it. I like the feature, but if my users aren't going to use it then I don't have a lot of incentive to maintain it. In other words, this hack most likely doesn't work with the newest version of the forum software without modifications.
Message by antivirus is ignored  [reveal message]  [reveal all messages by antivirus]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #34036 is a reply to message #34035] Mon, 02 October 2006 07:19 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
No. None of my forum users used it and I don't have the time to keep maintaining it.
Re: Quick Reply [message #34048 is a reply to message #22672] Mon, 02 October 2006 12:22 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
All of my users use it, so I am deeply in love with you JamesS! (Although I do not run 2.7.6 so I don't need a patch:p)

Re: Quick Reply [message #159483 is a reply to message #34048] Fri, 05 June 2009 10:07 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Here is an updated patch for FUDforum 2.8.1.
Re: Quick Reply [message #159484 is a reply to message #22672] Fri, 05 June 2009 10:31 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Great! It's good to see someone pick this up and maintain it. This should really be an included feature in the forum software.
Re: Quick Reply [message #159488 is a reply to message #159484] Fri, 05 June 2009 11:19 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
If there is general consensus we can include it with the next release. In preparation we need to get the phrase "Quick Reply" translated into as many supported languages as humanly possible. I also imagine that we need to have a setting so users and enable or disable this feature.

BTW: Here is a screenshot - http://cvs.prohost.org/index.php/Image:Quick_reply.jpg
Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #159492 is a reply to message #159491] Fri, 05 June 2009 12:42 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Copy quick_reply.patch to your FUDdata/thm/default/tmpl/ directory an use the patch command to apply it:

$ patch -p0 <quick_reply.patch


This may also help: http://cvs.prohost.org/index.php/Applying_patches

Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #159494 is a reply to message #159493] Fri, 05 June 2009 13:36 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Well done! I've also updated the zip with some basic instructions (README file).

BTW: You may want to download SUN's vbox (virtualbox.org). It will allow you to boot Ubuntu in a window or vice versa.

Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #159496 is a reply to message #159495] Fri, 05 June 2009 13:49 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Did you patch both files as per the README in the updated zip?
Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #159498 is a reply to message #159497] Fri, 05 June 2009 14:08 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
No, it's my fault. I've messed up the first zip.

Anyway, this may help to get the patching done on Windows: http://gnuwin32.sourceforge.net/packages/patch.htm
Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to next message
Re: Quick Reply [message #159519 is a reply to message #159499] Sun, 07 June 2009 03:49 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3732
Registered: December 2004
Karma: 26
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Here are some translations of "Quick Reply" from various dictionary sites. Please help to verify and complete missing translations:

afrikaans	= Snel antwoord
bulgarian	= Бърз отговор
catalan         = 
chinese		= 快速回复
czech		= rychlá odpověď
danish		= kvik-svar / hurtigsvar
dutch		= Snel antwoord
english         = Quick Reply
finnish		= nopea vastaus
french		= réponse rapide
german		= Schnelle Antwort
german_formal	= Schnelle Antwort
indonesian      = 
italian		= Risposta rapida
japanese	= 迅速な返事
korean		= 빠른 답변
latvian         =
lithuanian      =
norwegian	= Hurtigsvar 
polish		= szybka odpowiedź
portuguese	= resposta rápida
portuguese_br   = resposta rápida
romanian	= Răspuns rapid
russian		= быстрый ответ
slovak          = 
spanish		= respuesta rápida
swedish		= snabbt svar
turkish         =
vietnamese      =


Best regards.

Frank
Re: Quick Reply [message #159531 is a reply to message #159519] Sun, 07 June 2009 13:32 Go to previous messageGo to next message
Peter Vendike is currently offline  Peter Vendike   Denmark
Messages: 65
Registered: February 2009
Location: Denmark
Karma: 0
Member
Translator
add to buddy list
ignore all messages by this user
danish = kvik-svar / hurtigsvar

[Updated on: Sun, 07 June 2009 13:33]

Report message to a moderator

Message by nozafc is ignored  [reveal message]  [reveal all messages by nozafc]  [stop ignoring this user] Go to previous messageGo to previous message
Quick Reply
Formatting Tools:   
Pages (2): [1  2    »]  Switch to threaded view of this topic Create a new topic
Previous Topic: Youtube Plugin Change
Next Topic: Zshare Embedding Plugin
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Jul 15 14:45:52 EDT 2020

Total time taken to generate the page: 0.01220 seconds