vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   AJAX Name Suggest? (https://vborg.vbsupport.ru/showthread.php?t=115714)

DevilYellow 05-16-2006 02:07 AM

AJAX Name Suggest?
 
Has anyone used the built a product that uses the AJAX name suggest script that is also used on the newpm area of the private.php page?

Pretty much I have a simple form in an admincp page where one field is "username" and I'd really like that to have dropdown to ensure the correct username is entered.

Code:

if ($_REQUEST['do'] == 'new')
{

        print_form_header('test', 'add');
            construct_hidden_code('testid', $vbulletin->GPC['testid']);
       
        print_table_header($vbphrase['add_test']);
        print_input_row($vbphrase['username'], 'username');
        print_input_row($vbphrase['test'], 'test');

        print_submit_row($vbphrase['save']);
}

So I am just curious how I would do that.

Also - when I was playing around I justnoticed that for some reason I can not figure out how to delete a custom template.

peterska2 05-16-2006 03:01 AM

AJAX Name complete is already in PM's, it is just quite slow so you have to wait for it.

To delete a custom template, click revert. As the template is custom, it reverts to not there.

DevilYellow 05-16-2006 03:09 AM

Thank you!

I was really curious as to adapting the AJAX name complete to the product that I am working on. I do not mind that it is slow.


All times are GMT. The time now is 10:45 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.01086 seconds
  • Memory Usage 1,709KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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