Advertisement:

Author Topic: Change All Subjects  (Read 65094 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,417
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Change All Subjects
« on: April 16, 2008, 11:31:17 PM »
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
« Last Edit: January 06, 2010, 12:30:50 AM by live627 »
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

Offline Joomlamz

  • SMF Hero
  • ******
  • Posts: 2,639
  • Gender: Male
  • Suporte SmfPT
    • apllicmz on Facebook
    • apllicmz on GitHub
    • https://www.linkedin.com/in/aplic on LinkedIn
    • @aplichosting on Twitter
    • Webdesign
Re: Change All Subjects
« Reply #1 on: April 17, 2008, 01:09:49 AM »
thank nice work

translate portugues pt_PT/pt_BR

Code: [Select]
<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>



Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: Change All Subjects
« Reply #2 on: April 21, 2008, 10:49:23 AM »
Thanks for this!  ;D

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: Change All Subjects
« Reply #3 on: April 28, 2008, 02:20:07 PM »
Swedish translation

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

Offline perro88

  • Jr. Member
  • **
  • Posts: 358
    • techcoreforum
Re: Change All Subjects
« Reply #4 on: April 28, 2008, 10:18:11 PM »
thanks. useful mod

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: Change All Subjects
« Reply #5 on: August 30, 2008, 04:52:23 AM »
Will this work whit 2.x?

And if not, will it do in the future?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Change All Subjects
« Reply #6 on: August 30, 2008, 04:57:35 AM »
Not yet, but probably in the future.
Former SMF Core Developer | My Mods | SimplePortal

Offline Leemy

  • Full Member
  • ***
  • Posts: 443
Re: Change All Subjects
« Reply #7 on: February 05, 2009, 04:03:15 PM »
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!

Offline vinston84

  • Jr. Member
  • **
  • Posts: 140
    • sve o filmu
Re: Change All Subjects
« Reply #8 on: February 21, 2009, 12:14:06 PM »
can someone explain how does it work?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Change All Subjects
« Reply #9 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.
Former SMF Core Developer | My Mods | SimplePortal

Offline Leemy

  • Full Member
  • ***
  • Posts: 443
Re: Change All Subjects
« Reply #10 on: February 22, 2009, 02:36:38 AM »
Does this work in 2.0 rc1?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,526
  • Young and Foolish
    • SimplePortal
Re: Change All Subjects
« Reply #11 on: February 22, 2009, 04:08:18 AM »
No.
Former SMF Core Developer | My Mods | SimplePortal

Offline vinston84

  • Jr. Member
  • **
  • Posts: 140
    • sve o filmu
Re: Change All Subjects
« Reply #12 on: February 24, 2009, 08:10:40 AM »
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.
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:)

Offline gunsite

  • Newbie
  • *
  • Posts: 6
Re: Change All Subjects
« Reply #13 on: May 16, 2009, 06:55:40 PM »
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.

Offline Rattler

  • Semi-Newbie
  • *
  • Posts: 70
  • Gender: Male
    • Mallorca Service Net
Re: Change All Subjects
« Reply #14 on: July 22, 2009, 11:27:06 AM »
works great, just one small non functional error (typo) in the english modifications file (./Themes/default/languages/Modifications.english.php):

Code: [Select]
$txt['changeallsubject'] = 'Chage Subject of All';
should probably be:

Code: [Select]
$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™).

Offline smokester

  • Semi-Newbie
  • *
  • Posts: 98
  • So.. who's got the beer?
Re: Change All Subjects
« Reply #15 on: November 02, 2009, 05:17:28 PM »
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).

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • SID Giessen
Re: Change All Subjects
« Reply #16 on: December 27, 2009, 05:39:29 PM »
Nice Mod
Runs on 2.0RC2

Here the German Lang
Code: [Select]
// 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

Offline AK_CCM

  • Semi-Newbie
  • *
  • Posts: 57
  • Gender: Male
    • Bavarian Mycological Society
Re: Change All Subjects
« Reply #17 on: January 06, 2010, 12:20:58 AM »
A german translation too:

Code: [Select]
$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';

Offline live627

  • Developer
  • SMF Hero
  • *
  • Posts: 5,881
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Change All Subjects
« Reply #18 on: January 06, 2010, 12:25:37 AM »
Hmm do my eyes deceive me or are the  translations different?

Offline AK_CCM

  • Semi-Newbie
  • *
  • Posts: 57
  • Gender: Male
    • Bavarian Mycological Society
Re: Change All Subjects
« Reply #19 on: January 06, 2010, 10:17:48 AM »
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:

Code: [Select]
$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