![]() |
Quote:
Oh thanks man, it working! I hit my head on a wall for days on this problem. |
Having the same problem here!
Where does this code go? require_once('./global.php'); print($vbulletin->userinfo['securitytoken']); |
This thread only applies if you are creating your own files - are you doing this?
|
Problem has been solved, thanks for checking in.
This was for a search box outside of the existing ones, so it needed to generate the token. |
Quote:
|
Including global.php will generate a token automatically, otherwise, you can generate one yourself.
|
Thanks for the quick response. I'm trying to do this on a wordpress page. On the appropriate php file for the template sidebar of WP I put this code:
Code:
<?php $vwd = '/home/domains/theybannedme.com/www_root/forums'; |
$bbuserinfo can only be used inside vBulletin templates.
Code:
<input type="hidden" name="securitytoken" value="<?php echo $vbulletin->userinfo['securitytoken']; ?>" /> |
Using this:
Code:
<?php $vwd = '/home/domains/theybannedme.com/www_root/forums'; Quote:
|
View the source of the page - is there a token there?
|
All times are GMT. The time now is 03:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|