Log in

View Full Version : How to add a search form on a non-vb page?


azn_romeo_4u
09-03-2008, 05:19 AM
Anyone know how? It was possible in 3.68 but now with the updated versions and the tokens...doesnt' work anymore.

Dismounted
09-03-2008, 06:35 AM
Make the token "guest".

azn_romeo_4u
09-03-2008, 06:37 AM
Sorry I'm not sure what that means...how do you do that?

Dismounted
09-03-2008, 07:13 AM
In the security token field, use "guest".

azn_romeo_4u
09-03-2008, 01:48 PM
Is there a way to fix the

Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.

If i'm logged in on the page, can't do the search.

Lynne
09-03-2008, 04:25 PM
Is there a way to fix the



If i'm logged in on the page, can't do the search.
Make the token "guest".

In the security token field, use "guest".

<input type="hidden" name="securitytoken" value="guest" />

azn_romeo_4u
09-03-2008, 05:34 PM
thx. I did that but I got that error if I'm logged on when doing a search on a non vb page.

Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.

Lynne
09-03-2008, 07:40 PM
If you created the page using one of the articles in the Articles forum, then the $head and $headinclude are called and the value for that should get filled in automatically in this line:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

It will say "guest" if the person isn't logged in, and it will have the value in there if they are.