and make it return only a small, easily pare-able response (JSON or 0/1/ would be good), none of that forum HTML/UI/etc from rest of the board, i guess first question is:
is there already a mod that does something like this?
and how should i get started? have written some mods for PhpBB before, but that was years ago, 2007-8 i think, i guess its a good idea to
include("config.php") , and since i think im gonna need "function validate_username", include("includes/functions_user.php") (ty igorw)
and iirc (and a quick check of the file confirms) i had to do define('IN_PHPBB',true);
the code i have thus far is:
Code: Select all
<?php define('IN_PHPBB',true); require_once('config.php'); require_once('includes/functions_user.php'); var_dump(validate_username("lol"));
Fatal error: Call to undefined function utf8_clean_string()
so.. any idea what im missing?
and i think, if i found a small (working) mod's source code that i could examine, or some basic modding tutorial, that'd probably help me allot any suggestions?