Code Monkey home page Code Monkey logo

prune-old-pms's Introduction

MyBB_Prune-old-PMs - v1.1

*Plugin for MyBB 1.8.x created by @Eldenroot /https://community.mybb.com/user-84065.html/ maintained by MyBB Group

Prune old PMs with custom settings for time period for read/unread PMs.

Do you wanna show a notice for all users inform them about automatic deleting PMs? If yes, please follow these steps:

  1. Go to your ACP
  2. Open template group "Private messaging templates" and open "private" template
  3. Find this: {$emptyexportlink}</span>
  4. Add after these code:
    <span class="smalltext" style="float: right; color: #000; font-weight: bold; cursor: help;" title="Read PMs will be deleted after 30 days, unread PMs will be deleted after 90 days automatically.">Read PMs will be deleted after 30 days, unread PMs will be deleted after 90 days automatically!</span>
  5. Save the template, you are DONE!

You can customize time period and style according to your theme. :)

Support thread: https://community.mybb.com/thread-162704.html

Do not redistribute without my permissions!

prune-old-pms's People

Contributors

eldenroot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

prune-old-pms's Issues

New folder IDs change

This PR mybb/mybb#3515 (after will be merged) brings new IDs for all folders... it will need a small change in the plugin code to make it work again :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.