Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on March 01, 2012, 05:11:54 PM

Title: Reason For Delete
Post by: vbgamer45 on March 01, 2012, 05:11:54 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3188)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)

[glow=black,2,300]Reason For Delete[/glow]
Developed by 4kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com/)
SMF 2.0.X



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
With this mod you can send a private message to the user that you delete an issue with templates that you create yourself.

[glow=black,2,300]Descripcion:[/glow]
Con este mod podras enviar un mensaje privado al usuario al cual le eliminas un tema con plantillas que tu mismo puedes crear.



[glow=black,2,300]Features:[/glow]

[glow=black,2,300]Caracteristicas:[/glow]



[glow=black,2,300]Screenshots | Imagenes[/glow]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FzX2Mz.png&hash=139a7f402679220d3f6d60cf3a9fc1159a3408e2)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FeVOSB.png&hash=950644812672e33e345b7a3a5bf7f5de661b82c5)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FWZiFP.png&hash=9fd4467a53a6e5d18af4eb97c1111705b883455c)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLiI3i.png&hash=02ec129a4fa3e41928e508ed699ba8f01db002ac)


Language Support | Lenguajes Soportados
- English
- Spanish_latin
- Spanish_latin-utf8
- Spanish_es
- Spanish_es-utf8



* This SMF modification is subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this SMF modification except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/

[glow=black,2,300]Reason For Delete[/glow]
Title: Re: Reason For Delete
Post by: vicram10 on March 02, 2012, 07:47:27 AM
nice mod.. congrats...
Title: Re: Reason For Delete
Post by: lean on March 02, 2012, 02:38:25 PM
Excelent Work!!
Title: Re: Reason For Delete
Post by: 4Kstore on March 03, 2012, 08:10:25 AM
One more!!! thanks for the comments!
Title: Re: Reason For Delete
Post by: HunterP on March 04, 2012, 04:34:20 PM

What should exactly happen and when? When I delete a posting, I don't get to send any PM or whatsoever. The mod is enabled, does it only work for admins?
Title: Re: Reason For Delete
Post by: Vlada87 on March 08, 2012, 05:53:56 PM
^^ i have same problem!
Title: Re: Reason For Delete
Post by: 4Kstore on March 09, 2012, 12:18:58 AM
Quote from: HunterP on March 04, 2012, 04:34:20 PM

What should exactly happen and when? When I delete a posting, I don't get to send any PM or whatsoever. The mod is enabled, does it only work for admins?
No, the mod was installed without errors?

The mod works only when you delete topics, no posts from topics...
Title: Re: Reason For Delete
Post by: Vlada87 on March 09, 2012, 07:26:43 PM
Why cant it work whit post too!?
Title: Re: Reason For Delete
Post by: 4Kstore on March 09, 2012, 08:35:40 PM
Quote from: Vlada87 on March 09, 2012, 07:26:43 PM
Why cant it work whit post too!?

maybe in a future version we can add this feature
Title: Re: Reason For Delete
Post by: HunterP on March 11, 2012, 02:59:08 PM
Quote from: 4Kstore on March 09, 2012, 12:18:58 AM
The mod works only when you delete topics, no posts from topics...

Ok, sorry, I thought it also worked for postings :(
Then this mod is no use for me, but I'd like to try again when it also works for postings ;)
Title: Re: Reason For Delete
Post by: HunterP on March 11, 2012, 03:13:56 PM

Also, I'd like to suggest a new option, a checkbox which allows me and my moderators to select whether we want to send a PM or not. If I enable your mod, a PM is sent for every deleted message (topic), but we don't want to PM allways. Just like the Move and Merge topic notification modifications.
Title: Re: Reason For Delete
Post by: 4Kstore on March 12, 2012, 11:50:20 AM
Quote from: HunterP on March 11, 2012, 03:13:56 PM

Also, I'd like to suggest a new option, a checkbox which allows me and my moderators to select whether we want to send a PM or not. If I enable your mod, a PM is sent for every deleted message (topic), but we don't want to PM allways. Just like the Move and Merge topic notification modifications.

If you left blank the additional info and do not select any template the PM will not be sent

Quote from: HunterP on March 11, 2012, 02:59:08 PM
Quote from: 4Kstore on March 09, 2012, 12:18:58 AM
The mod works only when you delete topics, no posts from topics...

Ok, sorry, I thought it also worked for postings :(
Then this mod is no use for me, but I'd like to try again when it also works for postings ;)

Ok, but we worked on several projects at once so it does not guarantee anything
Title: Re: Reason For Delete
Post by: HunterP on March 13, 2012, 02:13:47 PM
Maybe it is usefull to display the real_name in stead of the poster_name. Modded the query like this :

$context['inforows'] = array();
$inforows = array();
$request = $smcFunc['db_query']('', "
SELECT msg.id_topic, msg.id_board, msg.id_member, msg.subject, mem.real_name
FROM {db_prefix}messages as msg
LEFT JOIN {db_prefix}members AS mem ON (msg.id_member = mem.id_member)
WHERE id_topic = {int:id}
LIMIT 1",
array(
'id' => $id,
  )
);
Title: Re: Reason For Delete
Post by: Adrek on April 02, 2012, 02:26:40 PM
Quote from: 4Kstore on March 09, 2012, 08:35:40 PM
Quote from: Vlada87 on March 09, 2012, 07:26:43 PM
Why cant it work whit post too!?

maybe in a future version we can add this feature

When you add this then this mod will be perfect ;) Can't wait :)
Title: Re: Reason For Delete
Post by: HunterP on May 15, 2012, 12:33:36 PM
Quote from: HunterP on March 11, 2012, 02:59:08 PM
Quote from: 4Kstore on March 09, 2012, 12:18:58 AM
The mod works only when you delete topics, no posts from topics...
Ok, sorry, I thought it also worked for postings :(
Then this mod is no use for me, but I'd like to try again when it also works for postings ;)

Sorry to ask again, any news yet?
Title: Re: Reason For Delete
Post by: amiralib on August 30, 2012, 05:05:55 AM
edit and delete Profiles does not work for me ! 404 error !
Title: Re: Reason For Delete
Post by: amiralib on August 30, 2012, 08:50:21 AM
do you know on which table of DB can i change the Profiles ?
Title: Re: Reason For Delete
Post by: lean on September 29, 2012, 10:38:41 AM
Sorry, SSimple Team not supported in English language at the moment.
In SMFSimple.com We are looking for partners with this language to provide better support to all.
Thanks for understanding.
Title: Re: Reason For Delete
Post by: Skaty on January 07, 2013, 05:25:57 PM
Thank you for this mod.

Here is Turkish translate.



//Reason For Delete! Start - Smfsimple.com
$txt['rfd_menu_button'] = 'Silme Sebebi';
$txt['rfd_settings'] = 'Ayarlar';
$txt['rfd_description'] = 'Mod ayarlarını buradan yapabilirsin.';
$txt['rfd_enabled'] = 'Silme Sebebi aktif edilsin mi?';
$txt['rfd_titleset'] = 'PM Başlığı <br /> <small>Varsayılan başlık için boş bırakın</small>';
$txt['rfd_idusersend'] = 'PM kimden gitsin ? <br /> <small>Sadece üye IDsi girin!!</small> <br /> <small>Silen kişiden olması için boş bırakın.</small>';
$txt['rfd_btn_save'] = 'Kaydet';
$txt['rfd_AddProfiles'] = 'Sebepler İçin Profil Ekle';
$txt['rfd_EditProfiles'] = 'Sebep Profillerini Düzenle';
$txt['rfd_title'] = 'Başlık';
$txt['description'] = 'Açıklama';
$txt['rfd_default_text'] = 'Varsayılan yazı';
$txt['rfd_id'] = 'Id';
$txt['rfd_add'] = 'Ekle';
$txt['rfd_edit'] = 'Düzenle';
$txt['rfd_delete'] = 'Sil';
$txt['rfd_delete_topic'] = 'İletiyi Sil: ';
$txt['rfd_PostedBy'] = 'Gönderen: ';
$txt['rfd_additional_info'] = 'Ek Bilgi: ';
$txt['rfd_no_info'] = 'Varsayılan ayar, sadece ek bilgi ekleyin.';
$txt['rfd_choose_info'] = 'Ya da profillerden seçin.';
$txt['rfd_postRemoved'] = 'İleti Silindi: ';
$txt['rfd_variables'] = 'BBCODE kullanılabilir.:';
$txt['rfd_poster_name'] = '-> İleti Başlığı: ';
$txt['rfd_subject_topic'] = '-> Konu: ';
$txt['rfd_error_noid'] = 'Silmek için bir başlık seçmelisiniz.';
Title: Re: Reason For Delete
Post by: 4Kstore on January 07, 2013, 06:55:10 PM
Thank you @skaty, I will add this in next release of this mod.