vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   convert form to link (https://vborg.vbsupport.ru/showthread.php?t=243701)

arabuser 06-01-2010 06:18 AM

convert form to link
 
Hi im using glossary add-on with my vb 3.7 and there a template called (vbglossar_navbarsearch) to do search from navbar

PHP Code:

<form action="$vboptions[bburl]/vbglossar.php?$session[sessionurl]do=search" method="post">
            <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
            <
input type="hidden" name="s" value="$session[sessionhash]/>
            <
input type="hidden" name="do" value="search" />
            <
div>
                <
input type="text" class="bginput" name="keyword" size="25" tabindex="2008" />
                <
input type="submit" class="button" value="$vbphrase[go]tabindex="2009" />
            </
div>
        </
form

what I want is to use this search funcation in normal link coz I tried to do it by my self and I wasnt abel I tried

PHP Code:

<a href="http://www.mydomain.com/vb/vbglossar.php?do=search&keyword=2010">2010 list</a

but not work there some syntax to use this form function as link ?

Marco van Herwaarden 06-02-2010 09:30 AM

Please ask in the thread of the modification.


All times are GMT. The time now is 11:38 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.02040 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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