SMF Community Helpers > Mod Development

[MOD] Quote to new topic

(1/18) > >>

emanuele:
Let's give this board a try! :P

This mod has been created following an idea by Groovystar.

From time to time it happens that a post in a topic can be the starting point of a new discussion, but people are too lazy to just quote it and copy the text to a new topic, so this mods adds a new button "quote to new topic" that allows to start a brand new topic with the content of a quote. In the resulting posting page there is also a dropdown that allows to select in which board the new topic should be posted.
But that's not all, of course! :P
Another useful thing in that case is to keep track of both where the topic started and which topics have been generated from a particular post, so the mod adds:
1) to the new topic, a button (next to "reply" etc.) pointing to the original post,
2) to the post that has been quoted to a new topic, a link to every new topic started from there.

As far as I remember that's all (I wrote it a while ago and...well, my memory is not that good :P).

There is also a github repo available:
https://github.com/emanuele45/Quote-to-new-topic

ETA: prefixes and naming are as usual not particularly consistent because I change my mind on the name of my mods several times a minute :P

Antechinus:
"1) to the new topic, a button (next to "reply" etc.) pointing to the original post,"

So is that only in the OP of the new thread?

ETA: NVM. Just realised you meant the buttonlist. Might be better to put it in the OP.

emanuele:
Yes, that was one of the ideas...in the end I put it into the buttonlist in order to avoid another theme edit.
Additionally (in theory) it should not be *so* important because in the OP there should be the quote from the original post that should come with a link to the post...a lot of "should"... lol

Antechinus:
Fair enough. I was just thinking that it's the sort of thing that doesn't really need another button cluttering up the list. Maybe the link in the quoteheader is enough.

emanuele:
Yep, I admit I didn't like the new button me too...(also because AFAIR the text is long)
I'll check if I can find some other spot...mmm...I think I found it, but I have to test it.

Navigation

[0] Message Index

[#] Next page

Go to full version