Skip to content

Instantly share code, notes, and snippets.

💭
😜 Buried by a certain volume of code 🤓

3Di 3D-I

💭
😜 Buried by a certain volume of code 🤓
Block or report user

Report or block 3D-I

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hook_troll.php
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2008 evil3
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
View notebbcode_1.php
<?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)
*
*/
View notebbcode_migration_1.php
<?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)
View notebbcode_100_b3.php
<?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)
*
View notebbcode_100_b3-bis.php
<?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)
*
View onlinesince_composer_vcheck1.json
"version-check":
{
"host": "github.com",
"directory": "/3D-I/online-since/blob/master",
"filename": "onlinesince-vcheck.json"
}
View 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 Jun 3, 2019
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…
View modission_reset_3111.php
<?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.
*
View remove_bom.php
<?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);
}
View template_var_board_wide_318.php
<?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.
You can’t perform that action at this time.