Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: NanoSector on July 12, 2013, 02:29:38 PM

Title: Edit All Message Titles
Post by: NanoSector on July 12, 2013, 02:29:38 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3739)

Edit All Message Titles
If you need to report a bug, please do so on GitHub! (https://github.com/Yoshi2889/EditAllMessageTitles)

This mod changes the way in which the subject of an entire topic is changed. Instead of just changing the subject of the first post, the subjects of all the messages in the topic get changed. See the attached image for more information.

How to install:
The Package Manager should work in most cases.

Languages:
This mod does not use languages.

Features
- Changes subjects of all messages in a topic, not just the first.
- Does not change all the subjects if the edited message is not the first post.

Changelog
v0.1:
- Initial release

License:
This mod is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported license. (http://creativecommons.org/licenses/by-sa/3.0/)
Title: Re: Edit All Message Titles
Post by: Shambles on July 12, 2013, 04:59:40 PM
Runic did one recently... might see how they shape up in a one-to-one fight :D


http://custom.simplemachines.org/mods/index.php?mod=1165
Title: Re: Edit All Message Titles
Post by: NanoSector on July 12, 2013, 05:21:07 PM
Runic's has a typo... O:)
Title: Re: Edit All Message Titles
Post by: Colin on July 12, 2013, 05:22:35 PM
Yep, I just submitted a note to him.
Title: Re: Edit All Message Titles
Post by: NanoSector on July 12, 2013, 05:26:55 PM
DAMN! Washes away all the profit my mod gives! :P



No seriously, I'll have to take some action to add more stuff into this...
/me adds to-do list
Title: Re: Edit All Message Titles
Post by: Steve on July 12, 2013, 07:05:13 PM
Brilliant! Works perfectly for my needs! Thank you!
Title: Re: Edit All Message Titles
Post by: Neo_TE on July 13, 2013, 10:08:55 AM
Great mod. "Simple & Effective". Installed it in my forum and works perfectly. Thank you very much.


Quote from: Yoshi on July 12, 2013, 05:26:55 PM
DAMN! Washes away all the profit my mod gives! :P



No seriously, I'll have to take some action to add more stuff into this...
/me adds to-do list
lol, but I "strongly request" you to keep this mod as it is. "Simple & Effective" at what it does. Thanks again.
Title: Re: Edit All Message Titles
Post by: NanoSector on July 13, 2013, 10:27:26 AM
Thanks guys :)

Quote from: xPandax on July 13, 2013, 10:08:55 AM
Great mod. "Simple & Effective". Installed it in my forum and works perfectly. Thank you very much.


Quote from: Yoshi on July 12, 2013, 05:26:55 PM
DAMN! Washes away all the profit my mod gives! :P



No seriously, I'll have to take some action to add more stuff into this...
/me adds to-do list
lol, but I "strongly request" you to keep this mod as it is. "Simple & Effective" at what it does. Thanks again.
Oh, when adding stuff I'll keep this "silent mode" :)

A settings page I was thinking of:
Silent mode [x]
When enabled, any settings which add form controls (e.g. checkboxes) won't have any effect.

Add "Re:" prefix to posts [x]

Do not change custom titles [ ]
Disabling this will rename every post in the topic, whereas enabling it will only rename posts with titles like "Re: old topic title"

Allow users to disable this mods functionality when editing the first post [ ]
This will add a check box under Advanced Options (with no typos!)
(w00t for copycatism!)

Allow users to change the title for the replies [ ]
This will add a text box under Advanced Options
Title: Re: Edit All Message Titles
Post by: Hristo on July 13, 2013, 12:04:44 PM
I'm with Yoshi. This mod is the 4th I know of that basically does the same, so a more feature rich mod will make a difference.
Title: Re: Edit All Message Titles
Post by: NanoSector on July 13, 2013, 12:07:08 PM
Quote from: Hristo on July 13, 2013, 12:04:44 PM
I'm with Yoshi. This mod is the 4th I know of that basically does the same, so a more feature rich mod will make a difference.
Hehe, blame me for having no inspiration ::)

Nah, I'll add features as my mind works along (which is...not very fast, heh :P). I *hope* to get the new version out next week, but I can't promise anything.
Usually when I start working on feature x, feature y pops in my mind (look at the 0.3 update of my Private Profile mod, I didn't plan all those features).
Title: Re: Edit All Message Titles
Post by: Neo_TE on July 13, 2013, 09:07:47 PM
Quote from: Yoshi on July 13, 2013, 10:27:26 AM
Thanks guys :)

Quote from: xPandax on July 13, 2013, 10:08:55 AM
Great mod. "Simple & Effective". Installed it in my forum and works perfectly. Thank you very much.


Quote from: Yoshi on July 12, 2013, 05:26:55 PM
DAMN! Washes away all the profit my mod gives! :P



No seriously, I'll have to take some action to add more stuff into this...
/me adds to-do list
lol, but I "strongly request" you to keep this mod as it is. "Simple & Effective" at what it does. Thanks again.
Oh, when adding stuff I'll keep this "silent mode" :)

A settings page I was thinking of:
Silent mode [x]
When enabled, any settings which add form controls (e.g. checkboxes) won't have any effect.

Add "Re:" prefix to posts [x]

Do not change custom titles [ ]
Disabling this will rename every post in the topic, whereas enabling it will only rename posts with titles like "Re: old topic title"

Allow users to disable this mods functionality when editing the first post [ ]
This will add a check box under Advanced Options (with no typos!)
(w00t for copycatism!)

Allow users to change the title for the replies [ ]
This will add a text box under Advanced Options

Silent mode sound like a great idea. Or is it possible to have 2 versions of it? Simple one & advanced one so that users can download whatever they want and keep the code edits (made by the mod) to minimum.
Title: Re: Edit All Message Titles
Post by: NanoSector on July 14, 2013, 04:08:20 AM
That also sounds like a great idea :)
I'll keep this version available.
Title: Re: Edit All Message Titles
Post by: Neo_TE on July 14, 2013, 04:45:09 AM
Quote from: Yoshi on July 14, 2013, 04:08:20 AM
That also sounds like a great idea :)
I'll keep this version available.
Thank you very much. :D
Title: Re: Edit All Message Titles
Post by: Steve on July 15, 2013, 04:51:06 PM
Found a minor problem. If modifying a post without replies, one gets this error:

(http://i1262.photobucket.com/albums/ii614/OPStuph/all/errormsg.png~original)

Is there an easy fix for that?
Title: Re: Edit All Message Titles
Post by: NanoSector on July 15, 2013, 05:06:20 PM
I'll fix this later tonight, thanks for reporting! :)
Title: Re: Edit All Message Titles
Post by: Steve on July 15, 2013, 06:05:20 PM
Thanks for the rapid reply! :D
Title: Re: Edit All Message Titles
Post by: NanoSector on July 15, 2013, 06:08:28 PM
It should also be fixed by now, try if 0.1.1 fixed it :)
Title: Re: Edit All Message Titles
Post by: Steve on July 15, 2013, 07:22:41 PM
Works perfectly. Thank you! You da man! :D
Title: Re: Edit All Message Titles
Post by: littlenicki on July 31, 2013, 05:24:36 PM
Hello, could you please do a SMF 1.1.18 version of this mod? it would be much appreciated. Thank you!
Title: Re: Edit All Message Titles
Post by: NanoSector on July 31, 2013, 06:18:51 PM
Sorry littlenicki, as I stated in the other mod I'm not planning of making a 1.1.x version of this mod either, but if someone else wants to, feel free.
Title: Re: Edit All Message Titles
Post by: Steve on March 23, 2014, 09:18:08 PM
I apologize for responding to such an old thread but I love this mod and was wondering something. Is there a way to add an on/off setting? Sometimes I want to edit all messages titles and sometimes I don't. It would be great if there were a setting to enable it or not. :)
Title: Re: Edit All Message Titles
Post by: NanoSector on March 24, 2014, 02:22:54 AM
Hi Nuttysman,

Replying to old mod threads is completely fine. :)

I remember experimenting with such setting but didn't succeed. I'll try again at a later period but can't guarantee  :)

/me dots this down in his to do list
Title: Re: Edit All Message Titles
Post by: Steve on March 24, 2014, 09:14:12 AM
Thankee for considering it. :D
Title: Re: Edit All Message Titles
Post by: mikk on June 16, 2014, 09:56:19 AM
Hi, thanks for this mod!
Title: Re: Edit All Message Titles
Post by: Kimmie on August 25, 2014, 03:58:04 PM
Just installed this mod. I like how it changes the titles automatically! :). I have one error that happened the "1st" time I tried this out but have since not received one. Figured I would report it just to be safe.

action=admin
8: Undefined index: subjectcopy
File: /home/****/public_html/Sources/Who.php
Line: 803
Title: Re: Edit All Message Titles
Post by: NanoSector on August 25, 2014, 04:13:31 PM
Thanks for the report, though this is not related to my mod, unfortunately :(
My mod does not touch Who.php, nor does it introduce a variable/index named 'subjectcopy'.
Title: Re: Edit All Message Titles
Post by: Kimmie on August 25, 2014, 04:25:47 PM
Ah ok, it may be the mod I just removed that was similar to this one...hehehe sorry  :P
Title: Re: Edit All Message Titles
Post by: Steve on August 25, 2014, 05:18:15 PM
Did you ever look into the possibility of an on/off capability? If not, no biggie, I still use this. :D
Title: Re: Edit All Message Titles
Post by: NanoSector on August 26, 2014, 03:04:19 AM
I'll look into it, thanks for the suggestion :)
Title: Re: Edit All Message Titles
Post by: Kimmie on August 29, 2014, 01:47:53 PM
Just wanted to let you know that this doesn't work when you use the ajax modifier, however, for me, that is a good thing. There are times where I only want the 1st post updated.  :P
Title: Re: Edit All Message Titles
Post by: FragaCampos on August 29, 2014, 06:55:59 PM
I would certainly use this mod instead of another one I have if it could work with quick edit, like Kimmie said.
Of course I don't know if this is feasible or easy to implement, but it would definitely make this a must. ;)
Title: Re: Edit All Message Titles
Post by: NanoSector on August 29, 2014, 06:58:41 PM
I'll look into that, the mod should be able to handle this much in the same way it should with full reply.

Never really tested it with quick reply, so nice catch :)
Title: Re: Edit All Message Titles
Post by: Kimmie on August 31, 2014, 12:45:41 PM
Quote from: NanoSector on August 29, 2014, 06:58:41 PM
I'll look into that, the mod should be able to handle this much in the same way it should with full reply.

Never really tested it with quick reply, so nice catch :)

No, not with quick reply, with the ajax modifier.


(http://i.imgur.com/3Z2Rx41.png)

Title: Re: Edit All Message Titles
Post by: NanoSector on August 31, 2014, 01:35:16 PM
Quote from: Kimmie on August 31, 2014, 12:45:41 PM
Quote from: NanoSector on August 29, 2014, 06:58:41 PM
I'll look into that, the mod should be able to handle this much in the same way it should with full reply.

Never really tested it with quick reply, so nice catch :)

No, not with quick reply, with the ajax modifier.


(http://i.imgur.com/3Z2Rx41.png)


Yeah I know what you mean, I used the wrong words. I'll take a look at implementing this later, school comes first. :)
Title: Re: Edit All Message Titles
Post by: Kimmie on August 31, 2014, 04:25:37 PM
No problem, thanks :)
Title: Re: Edit All Message Titles
Post by: larry007 on September 06, 2014, 04:04:36 PM
Hi

One question...

How must I use this, sorry I am looking but I can't find it?
Title: Re: Edit All Message Titles
Post by: NanoSector on September 07, 2014, 08:36:44 AM
Hi larry007,

Please take a look at this wiki article:
http://wiki.simplemachines.org/smf/SMF2.0:Package_manager
Title: Re: Edit All Message Titles
Post by: larry007 on September 07, 2014, 10:07:11 AM
Oh sorry for my short question.  O:)

I have installed the Mod, all ok in Package manager! But now I cant' t find the funktion. When I open a post where can I edit one or all subjects, where are the settings?

I have used the Mod http://custom.simplemachines.org/mods/index.php?mod=1165 too for try. There can I find below the posts under "more option" a checkbox for changing this, was easy to find  :laugh:

But where is the other to use/settings?
Title: Re: Edit All Message Titles
Post by: NanoSector on September 07, 2014, 10:23:11 AM
This mod does not add a setting of some sort. If you edit the title of the first post of a topic, this mod automatically kicks in. :)
Title: Re: Edit All Message Titles
Post by: larry007 on September 07, 2014, 10:35:03 AM
ok, thank you.

what Mod would you use, which one is the better one?
Title: Re: Edit All Message Titles
Post by: NanoSector on September 07, 2014, 11:04:59 AM
I'm the author of this mod, so of course I would say this one is better ;)
Title: Re: Edit All Message Titles
Post by: FragaCampos on September 10, 2014, 02:18:40 PM
It will be when the quick edit function is implemented.  ::) :D
Title: Re: Edit All Message Titles
Post by: GigaWatt on March 18, 2018, 12:32:02 PM
Thanks :). Works like a charm on SMF 2.0.15 ;).