Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Purge Old Visitor Messages Details »»
Purge Old Visitor Messages
Version: 1.2, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 07-19-2015 Last Update: 01-16-2016 Installs: 16
Uses Plugins
Translations  
No support by the author.

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

File Type: zip MarkFL - Purge Old Visitor Messages v1.2.zip (2.4 KB, 34 views)

Screenshots

File Type: png markfl_purgevm_acp.png (21.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
kylek, z3r0

Comments
  #12  
Old 01-18-2016, 07:27 PM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this do all usergroups or can you exclude some?
Reply With Quote
  #13  
Old 01-18-2016, 07:31 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #14  
Old 01-18-2016, 08:08 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blackberry View Post
gr8 :up:

plz make one to purge old PM
Quote:
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
  #15  
Old 01-19-2016, 07:46 AM
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 :up:
Reply With Quote
Благодарность от:
djbaxter
  #16  
Old 01-20-2016, 05:45 PM
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #17  
Old 01-20-2016, 06:01 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the cron job under scheduled tasks and make sure it's running with the frequency you want.

I'm not 100% certain but the displayed table size may not change until you optimize your tables - you can do this under Maintenance in the AdminCP.
Reply With Quote
Благодарность от:
blackberry
  #18  
Old 01-22-2016, 01:10 PM
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
Check the cron job under scheduled tasks and make sure it's running with the frequency you want.

I'm not 100% certain but the displayed table size may not change until you optimize your tables - you can do this under Maintenance in the AdminCP.
worked thank you
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 06:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04595 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (4)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete