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
@3D-I
3D-I / sos_admin30.php
Created May 8, 2016
For phpBB 3.0.x - Gives a SOS admin account in order to fix some things.
View sos_admin30.php
<?php
/**
* Usage: --> make sure you have a backup of your Database before to run this tool!
* Download and/or 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/sos_admin30.php), it auto-destroys itself once ran.
*
* This file will create an admin user named Admin1 with a password of admin. From that point you should be
* able to get into the ACP.
* As soon as you have done this, use the temporary admin account to change the details on the original admin
* account, then delete the temporary account.
@3D-I
3D-I / default_bots.php
Last active Mar 6, 2017
phpBB 3.1.x - Restore default BOTs and delete any BOT you added to it. (Make a Backup first)
View default_bots.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/default_bots.php)
*
* @package default phpBB's BOTS v1.0.0-b3 (06-03-2017)
* @copyright (c) 2016 3Di (Marco T.)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
@3D-I
3D-I / reparse_bbcodes.php
Created Apr 13, 2016 — forked from Elsensee/reparse_bbcodes.php
Copied from STK for Olympus and customized to work on Ascraeus (phpBB 3.1). For me it works. Tell me if it works for you too. (Please be logged in as administrator if you call it)
View reparse_bbcodes.php
<?php
/**
*
* @package Support Toolkit - Reparse BBCode
* @version $Id$
* @copyright (c) 2009 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@3D-I
3D-I / sos_admin.php
Last active May 31, 2019
For phpBB [3.1][3.2] - Gives a SOS admin account in order to fix some things.
View sos_admin.php
<?php
/**
* Usage: --> make sure you have a backup of your Database before to run this tool!
* Download and/or 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/sos_admin.php), it auto-destroys itself once ran.
*
* This file will create an admin user named Admin1 with a password of admin. From that point you should be
* able to get into the ACP.
* As soon as you have done this, use the temporary admin account to change the details on the original admin
* account, then delete the temporary account.
@3D-I
3D-I / listener.php
Created Mar 26, 2016
TPOTM v1.0.4-a1: add banned users to the exclude list ot v1.0.3 (validated)
View listener.php
<?php
/**
*
* @package phpBB Extension - tpotm v1.0.4-a1-(Top Poster Of The Month)
* @copyright (c) 2005 - 2008 - 2016 3Di (Marco T.)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace threedi\tpotm\event;
@3D-I
3D-I / style.cfg
Last active Mar 23, 2016
aeroblack style.cfg with a CR added after the last line
View style.cfg
#
# phpBB Style Configuration File
#
# @package phpBB3
# @copyright (c) 2005 phpBB Group
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
#
#
# At the left is the name, please do not change this
# At the right the value is entered
@3D-I
3D-I / fb.php
Last active Mar 16, 2016
Checks the SSL and cURL status of your server configuration
View fb.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/fb.php - results will be on your screen
* @package - fb.php 1.0.0-a1
* @copyright (c) 2016 3Di (Marco T.) 14-Mar-2016
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*/
@3D-I
3D-I / right_install.php
Last active Aug 3, 2018
Mini Support Tool Kit for phpBB [3.0][3.1][3.2]
View right_install.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/right_install.php) and follow instructions.
*
* @package - right_install.php 2.0.0-b4 (true versions comparison and more)
* @copyright (c) 2016, 2017 3Di (Marco T.) 21-08-2017
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
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.
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);
}
You can’t perform that action at this time.