Quote:
Originally Posted by Voltar
You can have access to a users' security token outside of standard forum pages if you include global.php.
PHP Code:
require_once('./global.php');
print($vbulletin->userinfo['securitytoken']);
Would print out the hash. To use it in a search box, you would need to create a new hidden field in your form
PHP Code:
<input type="hidden" name="securitytoken" value="<?php echo($vbulletin->userinfo['securitytoken']); ?>" />
|
Oh thanks man, it working! I hit my head on a wall for days on this problem.