Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Purge Old Visitor Messages Details »
Purge Old Visitor Messages
Mod Version: 1.2, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 13
Released: 20 Jul 2015 Last Update: 17 Jan 2016 Downloads: 37
Not Supported Uses Plugins Translations  

This product will delete all visitor messages that are older than the specified number of days. There is now the option to restrict the visitor messages to be purged to only those which contain a specified string of text. You could use this to only delete the auto-generated welcoming visitor messages produced by this product:

New/Returning Members Visitor Message

Updates:

Version 1.1:
  • Now allows the entry of a string of text which must appear in visitor messages to be purged.

Version 1.2:
  • Only purges read visitor messages.


To Install:

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.

Click "Import"

You MUST set your settings to enable the mod. The setting for this add-on is found by following:

AdminCP -> Settings -> Options -> User Profile: Visitor Messaging Options

At the bottom of the page, you will find new settings labeled "Purge Visitor Message Threshold In Days" and "Required Text Within Visitor Messages For Purge":



The deletion is a daily cron job.

Support for this product can be found here:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	markfl_purgevm_acp.png
Views:	143
Size:	21.4 KB
ID:	154033  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Manage private messages and visitor messages o0mohammed0o vBulletin 4.x Add-ons 18 02 Aug 2015 21:15

Comments
  #2  
Old 22 Jul 2015, 08:32
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Real name: Zeeshan Shams
This one is really good ..
Reply With Quote
  #3  
Old 12 Sep 2015, 13:13
mitch84 mitch84 is offline
 
Join Date: Mar 2008
hi, perhaps added too a archive system?
Reply With Quote
  #4  
Old 13 Sep 2015, 08:10
blah100 blah100 is offline
 
Join Date: Oct 2014
Here's a suggestion: being able to delete visitor messages from banned users. It's not like their visitor messages are needed anymore
Reply With Quote
  #5  
Old 16 Jan 2016, 22:23
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
There's an error in this mod, just pointed out to me by a member who had been away for a while:

Currently, when visitor messages are deleted, the mod does NOT update the database variable vmunreadcount in user.

If a member has been a way for a while and unread visitor messages are deleted, it will still show those deleted unread messages in Notifications and there is no way for the user to reset that flag.

I have disabled the mod until this is fixed.

In the meantime, you can reset vmunreadcount to zero using the following SQL query:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 17 Jan 2016, 00:29
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by djbaxter View Post
There's an error in this mod, just pointed out to me by a member who had been away for a while:

Currently, when visitor messages are deleted, the mod does NOT update the database variable vmunreadcount in user.

If a member has been a way for a while and unread visitor messages are deleted, it will still show those deleted unread messages in Notifications and there is no way for the user to reset that flag.

I have disabled the mod until this is fixed.

In the meantime, you can reset vmunreadcount to zero using the following SQL query:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thank you for letting me know about this unforeseen (by me) situation, and I will fix this and update the product soon.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 17 Jan 2016, 00:54
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Update - Version 1.2:
  • Only purges read visitor messages.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #8  
Old 17 Jan 2016, 01:05
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Wow... that was fast!

Thank you!
Reply With Quote
  #9  
Old 18 Jan 2016, 21:14
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Real name: Sheem
gr8

plz make one to purge old PM
__________________
SachiiDosti - Hum Sub Dost Hain
Reply With Quote
  #10  
Old 18 Jan 2016, 21:20
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by blackberry View Post
gr8

plz make one to purge old PM
If I do that, I will update this product so that it will give the option to also purge old PMs that have been read.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #11  
Old 18 Jan 2016, 21:27
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
Does this do all usergroups or can you exclude some?

Last edited by z3r0; 19 Jan 2016 at 17:43.
Reply With Quote
  #12  
Old 18 Jan 2016, 21:31
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by z3r0 View Post
Does this do all usergroups or can you excude some?
At present, it purges all read visitor messages (older than the threshold you set), regardless of the usergroup(s) to which the recipients belong.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #13  
Old 18 Jan 2016, 22:08
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by blackberry View Post
gr8

plz make one to purge old PM
Originally Posted by MarkFL View Post
If I do that, I will update this product so that it will give the option to also purge old PMs that have been read.
This old vBulletin 3 mod is still working for me through progressive upgrades to 4.2.3, although it would be nice to have an update for 4.x: Periodic Prune PMs [ Cron Job - Fully Controllable ] - vBulletin.org Forum
Reply With Quote
  #14  
Old 19 Jan 2016, 09:46
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Real name: Sheem
Originally Posted by MarkFL View Post
If I do that, I will update this product so that it will give the option to also purge old PMs that have been read.
woow that would be awesome addition
__________________
SachiiDosti - Hum Sub Dost Hain
Reply With Quote
  #15  
Old 20 Jan 2016, 19:45
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Real name: Sheem
Originally Posted by djbaxter View Post
This old vBulletin 3 mod is still working for me through progressive upgrades to 4.2.3, although it would be nice to have an update for 4.x: Periodic Prune PMs [ Cron Job - Fully Controllable ] - vBulletin.org Forum
Thank you.. Installed it .. how long it takes to clear ? table size is same been a day.
__________________
SachiiDosti - Hum Sub Dost Hain
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:06.

Layout Options | Width: Wide Color: