News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Change All Subjects

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

Previous topic - Next topic

Max22

Excuse me, can you provide a screenshot of this mod?

live627

Quote from: [SiNaN] 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.

Max22

#22
I use SMF 1.1.11

There is a conflict with this mod:

http://custom.simplemachines.org/mods/index.php?mod=1554

1) If you try to install "Change All Subjects" mod after "Change of Poster" mod , you should note a failed Post.Template.php  in Packages section.

2) If you try to install "Change of Poster" mod after "Change All Subjects" mod, failed files are Post.Template.php and Subs-Post.php.

In my case, I installed "Change All Subjects" mod after "Change of Poster" mod (First case)

Please explain me how to edit install11.xml file accordingly, without errors.

Already tried, but with no success.

Thank you.

AnHELLuS

Welcome Friends.
Here is a translation into Polish.


$txt['changeallsubject'] = 'Zmień wszystkie tematy';
$txt['permissionname_change_all_subjects'] = 'Zmień wszystkie tematy';
$txt['permissionhelp_change_all_subjects'] = 'Zezwala użytkownikom na zmianę tematu wątku wraz z tematami wszystkich odpowiedzi po przez edycję tematu pierwszego postu wątku.';
$txt['permissionname_change_all_subjects_own'] = 'Własny temat';
$txt['permissionname_change_all_subjects_any'] = 'Każdy temat';


In the annex: the mod plus files in Polish in ISO-8859-2, and utf8.

Thank you for the mod and greet.

live627

Thanks, although language files go in the separate Language Pack

maven

When I set the permission for the Global Moderators (Checkbox any post).
They dont get the checkbox when they change subject of a post at additional options.

For the admin it works like a charm.

live627

For the admin, yes. They are superman :P

Try 1.1.1 which addresses your issue, holler back for help

maven

Quote from: live627 on February 06, 2010, 01:06:09 AM
Try 1.1.1 which addresses your issue, holler back for help

- Downloaded the 1.1.1. version
- Uninstalled 1.1.
- Deleted 1.1.

Result:

As it should be:


But not as it should be in admin/permissions?

Checkboxes are still there.

Went on with procedure:
- Uploaded 1.1.1
- Installed
- Reset permission (saved it again & set global moderator again)

Now when I want to new thread/reply/modify this error appears:

Even wit admin account.

When I uninstall the package the new thread/reply/modify is possible and working again.


Noot: I'm familiar with php&mysql but not with SMF & it's functions/variables.


New to the community ;)

Joker™

im installed the package .... set the permissions also

but when i clicked on modify i got this error

Parse error: syntax error, unexpected T_VARIABLE in /home/content/f/r/e/freakyadmin/html/Sources/Post.php  on line 232
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

maven

Quote from: sid2varun on February 06, 2010, 05:43:20 AM
im installed the package .... set the permissions also

but when i clicked on modify i got this error

Parse error: syntax error, unexpected T_VARIABLE in /home/content/f/r/e/freakyadmin/html/Sources/Post.php  on line 232

Yep same problem  :(
See my screens above your post ;)

firehopper

Quote from: maven on February 06, 2010, 08:13:23 AM
Quote from: sid2varun on February 06, 2010, 05:43:20 AM
im installed the package .... set the permissions also

but when i clicked on modify i got this error

Parse error: syntax error, unexpected T_VARIABLE in /home/content/f/r/e/freakyadmin/html/Sources/Post.php  on line 232

Yep same problem  :(
See my screens above your post ;)

I'm also the same Prob at /Sources/Post.php  on line 232

maven


live627

Code (Find) Select
$context['can_changeallsubjects'] = ($ID_MEMBER_POSTER = $user_info['id'])

Code (Replace with) Select
$context['can_changeallsubjects'] = ($ID_MEMBER_POSTER == $user_info['id'])

I am still quite busy with other mods and life. Don't have time to redo the whole package though. Try that edit (just off the top of my head though and not properly tested!)

firehopper

Quote from: live627 on February 09, 2010, 12:21:50 PM
Code (Find) Select
$context['can_changeallsubjects'] = ($ID_MEMBER_POSTER = $user_info['id'])

Code (Replace with) Select
$context['can_changeallsubjects'] = ($ID_MEMBER_POSTER == $user_info['id'])

I am still quite busy with other mods and life. Don't have time to redo the whole package though. Try that edit (just off the top of my head though and not properly tested!)

No effect, same Error

live627

The package is now officially updated and tthe parse error should be gone (it is on my test site!)

firehopper

Quote from: live627 on February 11, 2010, 02:13:26 PM
The package is now officially updated and tthe parse error should be gone (it is on my test site!)

OK, done. Thanks good work!

Max22

Quote from: Max22 on January 12, 2010, 07:40:09 PM
I use SMF 1.1.11

There is a conflict with this mod:

http://custom.simplemachines.org/mods/index.php?mod=1554

1) If you try to install "Change All Subjects" mod after "Change of Poster" mod , you should note a failed Post.Template.php  in Packages section.

2) If you try to install "Change of Poster" mod after "Change All Subjects" mod, failed files are Post.Template.php and Subs-Post.php.

In my case, I installed "Change All Subjects" mod after "Change of Poster" mod (First case)

Please explain me how to edit install11.xml file accordingly, without errors.

Already tried, but with no success.

Thank you.

Up.

Sirius OCTeam

Hi,
the French translation
$txt['changeallsubject'] = 'Changer tous les sujets';
$txt['permissionname_change_all_subjects'] = 'Changer tous les sujets';
$txt['permissionhelp_change_all_subjects'] = 'Permettre au membre de régler le sujet d\'un topic et toutes ses réponses en éditant le sujet du premier message.';
$txt['permissionname_change_all_subjects_own'] = 'Sujets personnels';
$txt['permissionname_change_all_subjects_any'] = 'Tous les sujets';

maven

Quote from: live627 on February 11, 2010, 02:13:26 PM
The package is now officially updated and tthe parse error should be gone (it is on my test site!)

Thnx!

$txt['changeallsubject'] = 'Verander alle tittels';
$txt['permissionname_change_all_subjects'] = 'Verander alle tittels;
$txt['permissionhelp_change_all_subjects'] = 'Geef toestemming aan het lid om aanpassing van de eerste tittel door te voeren bij alle antwoorden van het ondewerp.';
$txt['permissionname_change_all_subjects_own'] = 'Eigen onderwerpen';
$txt['permissionname_change_all_subjects_any'] = 'Alle onderwerpen';


Dutch translation if you want it.

Eclipse16V

Hi,
nice Mod but i have a error in my errorlogs:

see attachment

here the line
292:  $context['can_announce'] = allowedTo('announce_topic') && $context['becomes_approved'];
293: $context['locked'] = !empty($locked) || !empty($_REQUEST['lock']);
294:
295: $context['is_new_topic'] = empty($topic);
296: $context['is_new_post'] = !isset($_REQUEST['msg']);
297: $context['is_first_post'] = $context['is_new_topic'] || (isset($_REQUEST['msg']) && $_REQUEST['msg'] == $id_first_msg);
298:
299: $context['can_modify_any'] = allowedTo('modify_any');
==>300: $context['can_changeallsubjects'] = ($ID_MEMBER_POSTER == $user_info['id']) ? allowedTo(array('change_all_subjects_own', 'change_all_subjects_any')) : allowedTo('change_all_subjects_any');
301: $context['can_changeallsubjects'] = ($context['can_changeallsubjects'] && $context['can_modify_any'] && isset($_REQUEST['msg']) && $context['is_first_post']);
302:
303: //
304: // Post Ratings BEGIN...
305: //


Thanks for help
I worked with:
SMF 2 in German

Shop:
SID Giessen

Advertisement: