Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: RyanF on March 09, 2005, 02:42:09 AM

Title: Unsend PM
Post by: RyanF on March 09, 2005, 02:42:09 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=103)

This mod allows your members to recall any private message they send, as long as it hasn't been read by the recipient.
Title: Re: Unsend PM
Post by: FaSan on March 09, 2005, 06:40:37 AM
Great !!  8)
Title: Re: Unsend PM
Post by: CartDestr on March 09, 2005, 11:15:55 AM
That havent' sense: The IM are send by email if the user selected "Report my by email when I recived a IM"...
But if you deactivate this option, that fuction is great ;)
Title: Re: Unsend PM
Post by: nokonium on March 09, 2005, 01:01:13 PM
Looks a good idea but how do I call it back? I cannot see how to do it  :(
Title: Re: Unsend PM
Post by: tcchat on April 07, 2005, 01:21:44 PM
Quote from: CartDestr on March 09, 2005, 11:15:55 AM
That havent' sense: The IM are send by email if the user selected "Report my by email when I recived a IM"...
But if you deactivate this option, that fuction is great ;)


Heh, my mail server was down when I made this mod - I didn't even notice that it sent notifications for IMs   ::)

Oh well, if you want to disable notifications for IMs, find the following in Subs-Post.php on line 552:

// Off the notification email goes!
sendmail($notification_list, $mailsubject, $mailmessage);


And comment out (//) the sendmail function.
Title: Re: Unsend PM
Post by: tcchat on April 07, 2005, 01:26:10 PM
Quote from: nokonium on March 09, 2005, 01:01:13 PM
Looks a good idea but how do I call it back? I cannot see how to do it  :(
You need to have any messages you send saved to your Outbox.
To enable this, go to Edit Profile -> Personal Message Options -> Save a copy of each Personal Message in my outbox by default.

Then when you want to recall a message simply go to your Outbox and press the 'Unsend' button in between the reply and delete buttons.  :)
Title: Re: Unsend PM
Post by: Northerner on June 26, 2005, 03:44:22 PM
what is supposed to happen after i click the unsend button? the message was still in my outbox. plus i dont have a picture for the unsend button?

(http://www.shadow-clan.com/junk/unsend.jpg)
Title: Re: Unsend PM
Post by: Dem0n on June 27, 2005, 02:57:18 AM
Quote from: Northerner on June 26, 2005, 03:44:22 PM
what is supposed to happen after i click the unsend button? the message was still in my outbox. plus i dont have a picture for the unsend button?

(http://www.shadow-clan.com/junk/unsend.jpg)

Did you upload the unsend button?
Title: Re: Unsend PM
Post by: Northerner on June 27, 2005, 03:00:29 AM
wouldnt the mod install the button picture?
Title: Re: Unsend PM
Post by: xenovanis on June 27, 2005, 03:03:09 AM
Quote from: Northerner on June 27, 2005, 03:00:29 AM
wouldnt the mod install the button picture?

Maybe in the default theme, but definately not in a custom theme.
Title: Re: Unsend PM
Post by: Dem0n on June 27, 2005, 03:26:34 AM
Quote from: Northerner on June 27, 2005, 03:00:29 AM
wouldnt the mod install the button picture?

No. The mod may come with a unsend image. But with most mods that have images, you need to upload the image.
Title: Re: Unsend PM
Post by: Northerner on June 27, 2005, 04:07:08 AM
yep, your right and thanks for the help!
i also used Blocs button generator and created the correct button for my theme!

thanks again
Title: Re: Unsend PM
Post by: steve in houston on October 08, 2005, 02:47:08 PM
Worked great for me.
Thanks.

BTW, I did a google image search for unsend (small image) and the first image
that came up looked like a SMF default template button.
Title: Re: Unsend PM
Post by: skoozee on December 16, 2005, 05:48:29 AM
i keep downloading a corrupt file :(
Title: Re: Unsend PM
Post by: tinatoth on January 16, 2006, 09:02:17 AM
this mod doesnt work to me. it claims to have installed sucessfully, but there is no unsend button. i have uploaded an image called "unsend.gif" (I suppose thats the right name??) to the "english" directory in the images directory of the theme im  using, however the image code is simply not there.


this is the code of all buttons above the message in outbox that I get:

td align="right" valign="bottom" height="20" nowrap="nowrap" style="font-size: smaller;">
<a href="http://www.audiojunkies.net/index.php?option=com_smf&Itemid=34&action=pm;sa=send;f=outbox;pmsg=2516;quote;u="><img src="http://www.audiojunkies.net/smf/Themes/AJ_Default_Theme/images/english/quote.gif" alt="Reply with quote" border="0" /></a>
<a href="http://www.audiojunkies.net/index.php?option=com_smf&Itemid=34&action=pm;sa=send;f=outbox;pmsg=2516;reply;u=8"><img src="http://www.audiojunkies.net/smf/Themes/AJ_Default_Theme/images/english/im_reply.gif" alt="Reply" border="0" /></a> 
<a href="http://www.audiojunkies.net/index.php?option=com_smf&Itemid=34&action=pm;sa=removemore;f=outbox;delete[0]=2516;start=0;sesc=42d7214e56845ad9c928520d51b40bdd" onclick="return confirm('Remove this message?');"><img src="http://www.audiojunkies.net/smf/Themes/AJ_Default_Theme/images/english/delete.gif" alt="Remove this message" border="0" /></a>
<input type="checkbox" name="delete[]" id="deletedisplay2516" value="2516" class="check" onclick="document.getElementById('deletelisting2516').checked = this.checked;" />

see, there is quote, reply and delete. nothing inbetween.

and i know the pm hasnt been read cos i sent a test pm to my own test account, from which i have not read the pm.

so... help? SMF version 1.0.3
Title: Re: Unsend PM
Post by: tinatoth on February 21, 2006, 09:00:40 PM
ah... now on the new version of the site i see its not compatible with newer versions of smf... any chance of seeing this mod available for 1.0.3 and later?
Title: Re: Unsend PM
Post by: kriskd on May 25, 2006, 08:00:39 PM
Is this compatible with SMF 1.1 RC2 yet?
Title: Re: Unsend PM
Post by: Loverboy on January 03, 2007, 02:09:28 PM
Is this compatible with SMF 1.1.1 ?
Title: Re: Unsend PM
Post by: rotor on January 17, 2007, 02:09:30 AM
This must be an echo .....

Is this or isnt it compatible with 1.1.1 yet .....


It's a great mod that is available in Joomla for instance and it would be great to have it in SMF

anyone tried it in 1.1.1 yet?
Title: Re: Unsend PM
Post by: rotor on February 02, 2007, 09:45:33 PM
Anyone looked at it with 1.1.1 ??
Title: Re: Unsend PM
Post by: Coldfx on February 08, 2007, 10:34:45 PM
Updated to 1.1.1

Notes:

You can only unsend a PM if you saved the PM to your outbox..

Once you click unsend, if you click unsend again, it'll say it was already read, when it should say it was already unsent.  I still wonder why this happens, possibly the original authors fault.


Hope you enjoy it, I find it useful :)
Title: Re: Unsend PM
Post by: RoarinRow on February 09, 2007, 12:02:22 AM
Quote from: Coldfx on February 08, 2007, 10:34:45 PM
Updated to 1.1.1

Notes:

You can only unsend a PM if you saved the PM to your outbox..

Once you click unsend, if you click unsend again, it'll say it was already read, when it should say it was already unsent.  I still wonder why this happens, possibly the original authors fault.


Hope you enjoy it, I find it useful :)

It installs just fine.  Thank you!   8)
Title: Re: Unsend PM
Post by: RoarinRow on February 09, 2007, 01:17:39 AM
I had to remove this mod for 1.1.1.   It prevented my PM message window to pop up    :o   After I deleted it and sent a message to my test account, then the pop up window worked.
Title: Re: Unsend PM
Post by: Coldfx on February 09, 2007, 03:41:24 PM
Quote from: RoarinRow on February 09, 2007, 01:17:39 AM
I had to remove this mod for 1.1.1.   It prevented my PM message window to pop up    :o   After I deleted it and sent a message to my test account, then the pop up window worked.

I'll look into that, as I don't use the Javascript popup message :O

I think I know the edit I have to change, I'll give it a shot tonight.
Title: Re: Unsend PM
Post by: RoarinRow on February 09, 2007, 04:05:32 PM
Quote from: Coldfx on February 09, 2007, 03:41:24 PM
Quote from: RoarinRow on February 09, 2007, 01:17:39 AM
I had to remove this mod for 1.1.1.   It prevented my PM message window to pop up    :o   After I deleted it and sent a message to my test account, then the pop up window worked.

I'll look into that, as I don't use the Javascript popup message :O

I think I know the edit I have to change, I'll give it a shot tonight.

Great, thanks!   8)
Title: Re: Unsend PM
Post by: Coldfx on February 09, 2007, 08:59:51 PM
Alright, heh sorry for the original bug.  Fixed, should work now :)
Title: Re: Unsend PM
Post by: RoarinRow on February 09, 2007, 09:31:54 PM
Quote from: Coldfx on February 09, 2007, 08:59:51 PM
Alright, heh sorry for the original bug.  Fixed, should work now :)

Cool, thanks for the fix!   8)
Title: Re: Unsend PM
Post by: damacguy on February 22, 2007, 04:59:09 PM
Any chance this (great) mod will be updated to use Text or graphic button, depending on the theme. I'm using the default, with no SMF buttons. I can hack it, but that makes uninstalling... 'interesting'. ;-)

Thanks for the Mod!
Title: Re: Unsend PM
Post by: Coldfx on February 22, 2007, 06:10:10 PM
Quote from: damacguy on February 22, 2007, 04:59:09 PM
Any chance this (great) mod will be updated to use Text or graphic button, depending on the theme. I'm using the default, with no SMF buttons. I can hack it, but that makes uninstalling... 'interesting'. ;-)

Thanks for the Mod!

I could try to add that in, and for the uninstall too ;)

Just send me a copy of the picture you want included.
Title: Re: Unsend PM
Post by: PixieWAttitude on April 15, 2007, 08:06:27 PM
Works perfect for 1.1.2 :)

Thanks a million
Title: Re: Unsend PM
Post by: chep on June 02, 2007, 09:45:21 PM
Hello,

Nice mod for SMF 1.1.2. I didn't like the original unsend icon. I plucked a new unsend icon  from Bloc's button maker tool.

Then I also added in a fix which only exposes the unsend option if the message is being viewed in your outbox.

Also... I clarified the error message as so "Message $unsetID has either already been read by the recipient or been unsent previously."

Attached...