Skip to content

norv/tools

 
 

Repository files navigation

Elkarte scripts

This repository contains a few useful scripts for Elkarte, such as install/upgrade or repair scripts, database cleaning up, etc.

All scripts in this repository are under BSD 3-clause license, unless specified otherwise.

Most of the scripts are developed or maintained by emanuele45.

Other small useful scripts, work in progress:

https://github.com/mikemill/Webinstaller.git

https://github.com/eurich/php-tools.git

Description

  • databasecleanup
  • install_script: a template that can be used to create manual installation scripts for mods. At the moment the hook part is fully working, the database part is still WIP.
  • ban_script.php: a script that allows perform multiple user banning at once. You can provide a list of usernames that you want to ban or you can ask the script to scan a board you have collected all the users you want to ban in (the name must be the subject of the topic).
  • fix_packages.php: after a large upgrade (to cleanup forum) the mods are still marked as installed, with this script you can invert that state.
  • populate.php: a script that can be used to populate a forum with dummy users (usually useful for testing), originaly written by SlammedDime http://code.mattzuba.com/populator
  • repair_settings.php: updated version of repair_settings.php it supports multiple attachments directory, fix several other problems.
  • smfinfo.php
  • status.php
  • webinstall.php

Download

######Apart from cloning the repo, you can find the files more useful to end-users on the download page

Feel free to fork this repository and make your desired changes.

Please see the Developer's Certificate of Origin in the repository: by signing off your contributions, you acknowledge that you can and do license your code under the license of the software.

######How to contribute:

  • fork the repository. If you are not used to Github, please check out fork a repository.
  • branch your repository, to commit the desired changes.
  • sign-off your commits, to acknowledge your submission under the license of the project.
  • an easy way to do so, is to define an alias for the git commit command, which includes -s switch (reference: How to create Git aliases)
  • send us a pull request.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%