By trial and error I have identified the snippet of code that tests to see if the user is logged in as the offending code. I am pretty sure I am doing this correctly, but the failures seem to suggest I am not.
I have searched for some diagnostic logs (it looks like DEBUG is enabled in the file init.php on the boot folder of blkernel), but cannot find them.
This is the specific code that is failing:
Code: Select all
$ltext = $this->getValue('loggedintext');
if($login->isLogged()){
$ltext = $this->getValue('linktext');
}
I am attaching the entire plugin for examination. Most of it works fine. The plugin can be activated, and the options can be set and changed and written to the database.
Any help would be fantastic. Thanks