Skip to content

Instantly share code, notes, and snippets.

@Dakoom
Dakoom / esoTalkImporter.php
Last active January 12, 2016 21:21
I created this based on this other importer from phpBB: https://gist.github.com/robrotheram/fa15c112fd7c995fdbc0. It shoudl work but I still have not tested it because I have to clean the database from spammers users.
<?php
// Configs for esoTalk database
$servername = "localhost";
$username = "username";
$password = "password";
$dbname = "esoTalkDatabase";
$fileName = "flaurm.sql";
$etprefix = "et_";
//Sets the inital id for the new users posts and discussions set if you know you have more then 1000 users change.
$id = 10000;
@Dakoom
Dakoom / gist:04e802faf6937ca11b62
Last active August 29, 2015 14:21
esoTalk forum software - ETUserController.class.php spam banned emails list
switch (substr(strrchr($data["email"], "@"), 1))
{
case "outlook.com":
$this->renderMessage(T("Error"), T("message.invalidEmail"));
return;
break;
case "spambog.ru":
$this->renderMessage(T("Error"), T("message.invalidEmail"));
return;