Skip to content

Instantly share code, notes, and snippets.

View 3D-I's full-sized avatar
💭
😜 Buried by a certain volume of code 🤓

3Di 3D-I

💭
😜 Buried by a certain volume of code 🤓
View GitHub Profile
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2008 evil3
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
<?php
/**
*
* notebbcode (Prime Note Bbcode) - extension
*
* @copyright (c) 2016 3Di (based on the hard work of Matt Friedman/VSE)
*
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
<?php
/**
*
* notebbcode (Prime Note Bbcode) - extension
*
* @copyright (c) 2016 3Di
*
* (based on the hard work of Matt Friedman/VSE)
*
* @license GNU General Public License, version 2 (GPL-2.0)
<?php
/**
*
* notebbcode (Prime Note Bbcode) 1.0.0-b3 - extension
*
* @copyright (c) 2016 3Di
*
* (migration based on the hard work of Matt Friedman/VSE)
* @license GNU General Public License, version 2 (GPL-2.0)
*
<?php
/**
*
* notebbcode (Prime Note Bbcode) 1.0.0-b3 - extension
*
* @copyright (c) 2016 3Di
*
* (migration based on the hard work of Matt Friedman/VSE)
* @license GNU General Public License, version 2 (GPL-2.0)
*
"version-check":
{
"host": "github.com",
"directory": "/3D-I/online-since/blob/master",
"filename": "onlinesince-vcheck.json"
}
{
"stable": {
"1.0": {
"current": "1.0.1",
"download": "https://github.com/3D-I/online-since/archive/RC2.zip",
"announcement": "",
"eol": null,
"security": false
}
},
@3D-I
3D-I / modission_reset_3111.php
Last active April 18, 2024 04:03
Reset modules and permissions to the standard set for phpBB 3.1.x. May be useful if upgrading from 3.0.x and there is an error about a missing module, or language keys, such as, ACP_SOME_MOD, are visible in a control panel. Does not remove all database changes from MODs, it is not a database cleaner, it just removes non standard permissions and…
<?php
/***
* Usage: Download and unzip the file, upload it to your Board's root (i.e.: www.mydomain.com/phpBB3/)
* Point your browser to i.e.: www.mydomain.com/phpBB3/modission_reset_3111.php) and follow instructions.
*
* Version 2.2.6 (3Di in 17-Jul-2017 for phpBB 3.1.11) - Oyabun1 2015
*
* This script is free software. It comes without any warranty.
* license http://opensource.org/licenses/GPL-2.0 GNU General Public License v2.
*
@3D-I
3D-I / remove_bom.php
Last active September 14, 2019 08:46
<?php
// hexa code: EF BB BF
// displayed in browsers with:  - UTF8 files
static function remove_bom($str = '')
{
if (substr($str, 0, 3) == pack('CCC', 0xef, 0xbb, 0xbf))
{
$str = substr($str, 3);
}
<?php
/**
*
* @package phpBB 3.1.8- Available Board-wide template variables
* @copyright (c) 2016 3Di (Marco T.)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
// The following are all _common_ variables that may be used at any point in a template.