vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Password fields for custom user profile options? (https://vborg.vbsupport.ru/showthread.php?t=118484)

cheesegrits 06-13-2006 05:01 PM

Password fields for custom user profile options?
 
Is there any way to create a custom user profile option which will display as a traditional password field, so the text is represented as *'s and not as visible text?

I'm creating a POP3 mail check widget, whereby the user can specify a mail account for vB to keep an eye on, and show the number of items and total size in the box(es) in the Welcome box (top right, under the existing PM info).

Obviously I need to have the mailbox login details (server, username and password) as custom profile options, and it would be nice to have the password elided.

-- hugh

Kirk Y 06-13-2006 06:24 PM

You'd use type="password" in the input field to echo asterisks -- but I don't think you can specify input attributes in custom profile fields, you'll probably have to use a plugin to make your own fieldset and what not.

cheesegrits 06-13-2006 07:29 PM

Quote:

Originally Posted by acidburn0520
You'd use type="password" in the input field to echo asterisks

Yup, I'm familiar with the basic HTML form tags.

Quote:

Originally Posted by acidburn0520
-- but I don't think you can specify input attributes in custom profile fields,

That's my understanding too, hence this thread.

Quote:

Originally Posted by acidburn0520
you'll probably have to use a plugin to make your own fieldset and what not.

Can you point me at any documentation or examples on how I would go about creating my own "fieldset and whatnot"? Maybe I'm blind, but I've scoured the usual API docs, etc. Just an example of a mod that does this I can download and crib from would be enough.

TIA,

-- hugh


All times are GMT. The time now is 02:18 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.00950 seconds
  • Memory Usage 1,712KB
  • 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
  • (3)bbcode_quote_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