I've now even taken the code out of Wordpress and trying the most basic test, the securitytoken variable is still empty. If I'm logged in or not, nothing is populated for the security token.
<?php
$curdir = getcwd ();
chdir('/home/userdirectory/public_html/forums');
require_once('./global.php');
chdir ($curdir);
echo "anything yet?!" . $bbuserinfo[securitytoken];
?>
If I can simply check for this cookie using the code above, I'd be happy. If anyone has a solution, please enlighten... I'm hoping not to have to hack vb in order to pull this variable. I would use "guest" always, but unfortunately if logged into VB a standard search on a non-VB page, I receive "Your submission could not be processed because you have logged in since the previous page was loaded.".
|