Alright I have tried it.
I put the helper and config files on the server then edited the controller example to use my login. It doesn’t produce any output, something must be wrong.
My forum url is in ‘/forum’ while CI app is in ‘/system’
/
/forum
/system
Like so.
I changed the config file to ‘phpci/forum’. I wonder if that is the problem.
UPDATE: I found this bit of code in the helper file:
// Hopefully the forum is in the same place as this script.
$ci =& get_instance();
$ci->config->load('smf');
$path = $ci->config->item('smf_path');
require_once('./'.$path. '/Settings.php');
I am pretty sure helpers are in the helper dir of the application while the smf installation is going to be in the ‘root’ of the application, it can’t find that Settings.php.
Like so:
domain.com/phpci/forum/Settings.php
domain.com/phpci/system/application/helpers/smf_auth_helper.php