News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Change All Subjects

Started by vbgamer45, April 16, 2008, 11:31:17 PM

Previous topic - Next topic

vbgamer45

Link to Mod

Change All Subjects


Original Author: [SiNaN]
Previous Authors: live627
SMF Version: 2.0.X
Mod Version: 1.2

Description:
This modification adds an option to change the subjects of all messages in a topic. When the first message of a topic is being modified by a member that has suitable permissions, a checkbox for enabling the feature appears under the Additional Options.

It makes the subject of all replies equal to the first message's subject while preserving the response prefix.

It should work on any theme that uses the same base Profile template as the SMF core theme, for anything else you may have to do a theme edit, but it is a very small edit in the profile itself.

Changelog
    Version 1.2
       Taken over by Runic
       Removed 1.1 Support
    Version 1.1.2
        ! All errors should be fixed now
    Version 1.1.1
        Fixed permissions bug where checkbox would not appear with the correct permission set
    Version 1.1
        Added 2.0 RC1 and 2 support
        Added permissions
    Version 1.0
        Initial Release


Why Not Visit:
http://www.smfhacks.com
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Apllicmz

thank nice work

translate portugues pt_PT/pt_BR

<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['changeallsubject'] = 'Mudar todos assunto';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['changeallsubject'] = 'Mudar todos assunto';]]></add>
</operation>



Marcus Forsberg


Marcus Forsberg

Swedish translation

$txt['changeallsubject'] = '&Auml;ndra titel p&aring; alla inl&auml;gg i detta &auml;mne';


Marcus Forsberg

Will this work whit 2.x?

And if not, will it do in the future?

[SiNaN]

Not yet, but probably in the future.
Former SMF Core Developer | My Mods | SimplePortal

Leemy

Quote from: Blue Dream on August 30, 2008, 04:57:35 AM
Not yet, but probably in the future.
2.0 RC1 is out; would love to include in my soon-to-be 2.0 forum. Please update :)

Awesome mod, should be standard!

vinston84

can someone explain how does it work?

[SiNaN]

Edit the first post of a topic.
Expand the Additional Options in the post area.
You will see the option to Change All Subjects.
Check it and click "Save".

It should then change subjects of all posts in that topic as the subject of the first post.
Former SMF Core Developer | My Mods | SimplePortal

Leemy


[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

vinston84

Quote from: Blue Dream on February 21, 2009, 12:54:40 PM
Edit the first post of a topic.
Expand the Additional Options in the post area.
You will see the option to Change All Subjects.
Check it and click "Save".

It should then change subjects of all posts in that topic as the subject of the first post.
Quote from: Blue Dream on February 21, 2009, 12:54:40 PM
Edit the first post of a topic.
Expand the Additional Options in the post area.
You will see the option to Change All Subjects.
Check it and click "Save".

It should then change subjects of all posts in that topic as the subject of the first post.

thank a lot:)

gunsite

Hi

Thanks for the mod.

Just a small problem.  I installed this on 1.1.7 and am using the Babylon theme, the check box appears in the post screen, but not the text next to it to identify the function, how can I corrct this?

Thanks.

Rattler

works great, just one small non functional error (typo) in the english modifications file (./Themes/default/languages/Modifications.english.php):


$txt['changeallsubject'] = 'Chage Subject of All';


should probably be:


$txt['changeallsubject'] = 'Change Subject of All';


Fixed it in my theme, but maybe you want to fix it overall.

Rattler
You can discuss with people, and sometimes it even makes sense to do so. Forget that when confronted with the cruel facts of life... (inspired by SiGnature™).

smokester

I have just upgraded my forum to 2.0 RC1.2 and this is one mod that I am really going to miss.  Are there any plans to get it working with versions 2x by manual installation at least? (I tried the manual installation given for this mod and my version but it is in error).

Eclipse16V

Nice Mod
Runs on 2.0RC2

Here the German Lang
// Change All Subjects MOD
$txt['changeallsubject'] = 'Alle Betreffe ändern';
$txt['permissionname_change_all_subjects'] = 'Alle Betreffe ändern';
$txt['permissionhelp_change_all_subjects'] = 'Erlaubt es dem User das er alle Betreffe in seinem Thema, auf den neuen Betreff seines ersten Beitrag-Betreffs ändert.';
$txt['permissionname_change_all_subjects_own'] = 'Eigener Beitrag';
$txt['permissionname_change_all_subjects_any'] = 'Alle Beiträge';
I worked with:
SMF 2 in German

Shop:
SID Giessen

AK_CCM

A german translation too:

$txt['changeallsubject'] = 'Ändere den Betreff aller Beiträge dieses Themas';
$txt['permissionname_change_all_subjects'] = 'Ändere alle Betreffzeilen';
$txt['permissionhelp_change_all_subjects'] = 'Erlaubt dem Mitglied durch das Editieren des Betreffs im Initialbeitrag die Betreffzeilen eines Themas und sämtlichen Antworten zu ändern.';
$txt['permissionname_change_all_subjects_own'] = 'Eigenes Thema';
$txt['permissionname_change_all_subjects_any'] = 'Jedes Thema';

live627

Hmm do my eyes deceive me or are the  translations different?

AK_CCM

Yes, the translations are different. I`ve tried to find phrases who sounds better in german language but means the same as your text. Especially the plural of "subject" in german sounds strange, but Eclipse16V was translating the word into "Betreffe" correct. This is the reason why I use "Betreffzeilen" which means "subject lines".

If you would like an exactly translation you should use this:

$txt['changeallsubject'] = 'Ändere alle Betreffe';
$txt['permissionname_change_all_subjects'] = 'Ändere alle Betreffe';
$txt['permissionhelp_change_all_subjects'] = 'Erlaubt dem Mitglied durch das Editieren des Betreffs im Initialbeitrag den Betreff eines Themas mit allen seinen Antworten festzulegen.'
$txt['permissionname_change_all_subjects_own'] = 'Eigenes Thema';
$txt['permissionname_change_all_subjects_any'] = 'Jedes Thema';


Sorry for the confusion.

Regards, Andreas

Advertisement: