vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to add a search form on a non-vb page? (https://vborg.vbsupport.ru/showthread.php?t=189890)

azn_romeo_4u 09-03-2008 04:19 AM

How to add a search form on a non-vb page?
 
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 05:35 AM

Make the token "guest".

azn_romeo_4u 09-03-2008 05:37 AM

Sorry I'm not sure what that means...how do you do that?

Dismounted 09-03-2008 06:13 AM

In the security token field, use "guest".

azn_romeo_4u 09-03-2008 12:48 PM

Is there a way to fix the

Quote:

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 03:25 PM

Quote:

Originally Posted by azn_romeo_4u (Post 1613596)
Is there a way to fix the



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

Quote:

Originally Posted by Dismounted (Post 1613376)
Make the token "guest".

Quote:

Originally Posted by Dismounted (Post 1613386)
In the security token field, use "guest".

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

azn_romeo_4u 09-03-2008 04: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.

Quote:

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 06: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.


All times are GMT. The time now is 12:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01584 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete