Giter Site home page Giter Site logo

phpbb-ext-auto-lock-topics's People

Contributors

alfredoramos avatar alhitary avatar dependabot[bot] avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

phpbb-ext-auto-lock-topics's Issues

auto_lock_topics task does not appear in phpbbcli.php cron:list

As we have hundreds of thousands of topics in our phpBB install, I'm attempting to switch to using phpBB's "Run periodic tasks from system cron" but the Auto-lock Topics extension's task doesn't appear in the list of available cron tasks when using phpBB 3.3.3 and PHP 7.3.27-1~deb10u1:

$ php bin/phpbbcli.php cron:list


Ready tasks:
============

 * cron.task.core.tidy_cache
 * cron.task.core.tidy_sessions
 * cron.task.core.tidy_warnings

Not ready tasks:
================

 * cron.task.core.prune_all_forums
 * cron.task.core.prune_forum
 * cron.task.core.prune_shadow_topics
 * cron.task.core.prune_notifications
 * cron.task.core.queue
 * cron.task.core.tidy_database
 * cron.task.core.tidy_plupload
 * cron.task.core.tidy_search
 * cron.task.text_reparser.pm_text
 * cron.task.text_reparser.poll_option
 * cron.task.text_reparser.poll_title
 * cron.task.text_reparser.post_text
 * cron.task.text_reparser.user_signature
 * cron.task.core.update_hashes

I tried adding is_runnable and should_run methods to the cron task but to no avail.

Is it possible to support running the task from the CLI or does it only work if executed via a request?

For Translation

Dear,

I need the clarification for the bellow 2 things to be able to translate very well.

The line :

'ACP_AUTO_LOCK_POLLS_EXPLAIN' => 'Locks topics with polls not voted in fo post age days.',

Is it Ok ? no mistake with "fo" ?

Also, I need more explain to the bellow line :

'ACP_AUTO_LOCK_FREQ' => 'Auto-lock frequency',
'ACP_AUTO_LOCK_FREQ_EXPLAIN' => 'Time in days between auto-lock events.',

I couldn't understand what is the frequency or events

Thanks

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.