Notify Modification Last Post

Started by M-DVD, January 06, 2009, 07:45:29 AM

Previous topic - Next topic

M-DVD

Link to Mod




MOD Notify Modification Last Post v1.3
==========================






  • Author:
M-DVD
  • Version:
1.3
  • Release:
11th December 2008
  • Languages:
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 RC1-X




Comment this Mod
My MODs
Images
Help support my MODs



Features:

  • The users will can receive mails notification when the last post of topic have been modificated.

  • Also, you can enable the Bump topic when the Last Post is modificated.

  • Or, you can enable the Show Icon "New" in the topic.

  • Settings: Admin > Posts and Topics > Post Settings

Thank to AlenNS and mark7144 for Ideas

==========================

Languages (normal & utf-8)


$txt['ModifyLastPostMail'] = 'Enable Notification Mail when the last post is edited';
$txt['ModifyLastPostMail_sub'] = 'Send Notification to users that are subscribed to the topic';
$txt['ModifyLastPostBump'] = 'Bump topic when the last post is edited';
$txt['ModifyLastPostBump_sub'] = 'This option also show icon (see next option)';
$txt['ModifyLastPostIcon'] = 'Show icon "New"';
$txt['ModifyLastPostIcon_sub'] = 'Show icon "New" when the last post has been modified.';
$txt['notification_modify_subject'] = 'Reply modified: %s';
$txt['notification_modify'] = 'The last post in a topic you are watching has been modified 
by %s.' 
"\n\n" 'View the reply at: ';
// Only SMF 2.0 emaillang.xml
$search = array ('Topic reply''A reply has been posted');
$replace = array ('Reply modified''The last post has been modified');


==========================

Características:

  • Los usuarios podrán recibir mails de notificación cuando el último post de un tema es modificado.

  • También, tu puedes activar que el tema suba cuando se modifique el último mensaje.

  • O activar que muestre el ícono "Nuevo" mensaje al ser modificado el último post.

  • Configuraciones: Administración > Mensajes y Temas > Configuración de Mensajes

Fin.

==========================

ChangeLog:

QuoteVersion 1.0 - 11th December 2008
   o Initial release.
   o Allows get notifications (mails, icon new, or bump) if the last post topic's was modified.
   o Compatible with SMF 1.1.X & SMF 2b-RC
Version 1.1 - 15th January 2009
   ! Fix little bug with other mods install in SMF 1.1.7 - Thanks ceewee by report
   ? Unistall and ReInstall - Isn't neccesary edit yours templates files
Version 1.2 - 22th June 2009
   ! This package was uploaded by mistake. It wasn't the final 1.2. Sorry.
Version 1.3 - 24th June 2009
   ! Fix bug with Bump and QuickModify - Thanks vika.vedy by report
   ! Fix bug that avoids the bump if another user creates a message at the same time - Thanks vika.vedy by report
   + English, English_British, Spanish_Es, Spanish_Latin, Portuguese_Portugal, German and Russian in the package
   ? Unistall the previous version, Update and Make HardRefresh - Isn't neccesary edit templates files
QuoteLeyend
   o Feature
   * Change
   + Added
   - Eliminated
   ! Bug Fixed
   ? How to Update

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

M-DVD


ceewee

Have 1.17 with default theme and a number of mods, installes perfect, when I push post and topics I get this
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /mounted-storage/home22b/sub003/sc20581-HXVG/xxxxxx.com/Sources/ManagePosts.php on line 287

Does this mean, lines expected are already changed by other mods?
BTW, my line 287 is empty!?
288-290 has
   // Check if your PHP is able to use spell checking.
   $context['spellcheck_installed'] = function_exists('pspell_new');
}

BTW package uninstalls perfectly also...but would like to use this mod, because I have modified a lot for 2009, during Christmas/New Year.

M-DVD

Update Notify Modication Last Post v1.1:
==========================


Changes:

  • Fix little bug with other mods install in SMF 1.1.7

How do I upgrade?

  • Uninstall the previous version
  • Install the new

=======================================

Cambios:

  • Reparado pequeño bug cuando hay otros mods instalados en SMF 1.1.7.

¿Como actualizar?

  • Desintalar la anterior versión
  • Instalar la nueva

Sudhakar Arjunan

hi this is a good mod.

Logging in as admin, do i have a option to remove the last edit option from the post.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

ceewee

hi, it installs fine.

When I understand correctly, when I check both checkboxes in posts and topics, it shows "new" button and put last dat of modification as date post?

Is that what "bumps" means.?

M-DVD

Quote from: A.SK on January 16, 2009, 06:10:24 AM
hi this is a good mod.

Logging in as admin, do i have a option to remove the last edit option from the post.

Thanks  :D

I don't understand. ¿Revert the last edition?  :-\

Quote from: ceewee on January 17, 2009, 08:15:00 AM
hi, it installs fine.

When I understand correctly, when I check both checkboxes in posts and topics, it shows "new" button and put last dat of modification as date post?

Is that what "bumps" means.?


No, bump isn't with change date, is with change id_message.

Then "bump topic" always show "Icon New".

Change date doesn't cause bump topic.

Note: Thanks for report the bug  :D

Sudhakar Arjunan

Quote from: M-DVD on January 17, 2009, 02:57:20 PM
Quote from: A.SK on January 16, 2009, 06:10:24 AM
hi this is a good mod.

Logging in as admin, do i have a option to remove the last edit option from the post.

Thanks  :D

I don't understand. ¿Revert the last edition?  :-\


Once a member has made a edit, it will show as Last edited by {membername} and time.

If i login to my forum as admin, could i delete the above added line on every post updated.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

M-DVD

Quote from: A.SK on January 19, 2009, 12:35:22 PM
Once a member has made a edit, it will show as Last edited by {membername} and time.

If i login to my forum as admin, could i delete the above added line on every post updated.

Excuse if I haven't understood, today I have a severe headache. Sorry.

You want a function to delete this line?



If I understand, you have two options:

1 .- Hidden:

Admin > Current Theme > Show last modification date on modified posts (disable)

2 .- Delete (only membegroups with permissions)

Use this MOD Remove Post Modified (Last Edit) Time


Sudhakar Arjunan

You are right.

Thanks for this information.

Its was really useful for me and this is what i was looking for long time.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

M-DVD



M-DVD


victoryrock

I need help uploading it.  I am running 1.18 but when I use the package manager it shows that it is either corrupt or outdated.

What should I do?  I am not that yet profficient at manually installing Mods.

Thanks,
VR

M-DVD

Hello.

I have installed this mod on 1.1.8 and there have been no problems.

Can you say, what error shows exactly?

victoryrock

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.


I am however, doing this on a Mac right now and when I save your file, it uncompresses it in the process for some reason, then I have to go back an re-compress it.

I tried another MOD that says version 1.18, and I still get the same error.

I may just wait until I go to my home PC and try it again.

VR

Quote from: M-DVD on February 15, 2009, 06:09:54 PM
Hello.

I have installed this mod on 1.1.8 and there have been no problems.

Can you say, what error shows exactly?

victoryrock

OK, I uploaded it successfully, HOWEVER, I am getting this error now when I try to modify a post:

Fatal error: Cannot redeclare notifyupdatelastmessages() (previously declared in /home/.sites/143/site2/web/forum/Sources/Subs-Post.php:1996) in /home/.sites/143/site2/web/forum/Sources/Subs-Post.php on line 2155

What should I do...I really need this MOD to work considering we do a lot of updating.

Thanks

VR

Quote from: victoryrock on February 15, 2009, 06:17:02 PM
An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.


I am however, doing this on a Mac right now and when I save your file, it uncompresses it in the process for some reason, then I have to go back an re-compress it.

I tried another MOD that says version 1.18, and I still get the same error.

I may just wait until I go to my home PC and try it again.

VR

Quote from: M-DVD on February 15, 2009, 06:09:54 PM
Hello.

I have installed this mod on 1.1.8 and there have been no problems.

Can you say, what error shows exactly?

M-DVD

Hi

You have installed the mod twice (somehow), now you have a function duplicate (notifyupdatelastmessages), and possibly some other code too.

You must manually delete the duplicate.

victoryrock

If I was to attach my Subs-Post.php file, would you be able to do that for me please?  I am not that great at manually changing things.

If not, no worries.

Quote from: M-DVD on February 16, 2009, 12:25:16 PM
Hi

You have installed the mod twice (somehow), now you have a function duplicate (notifyupdatelastmessages), and possibly some other code too.

You must manually delete the duplicate.

Advertisement: