Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2004, 03:45 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Requiring A Password to Register

Hello All,

I have an idea although im not sure how to do it..

I would like to have a field on the register page that asks for the registration password if the password is correct then when they submit the form it gets processed. If the password is incorrect it gives an error message that can be specified by a phrase.

Can someone do this ? i think its a good hack!

~Ross B
Reply With Quote
  #2  
Old 09-28-2004, 04:09 PM
nexialys
Guest
 
Posts: n/a
Default

this can be done in two different ways:
1- duplicate the COPPA process to have a password verification page.
2- have a new field in the registration page, and act to verify it like everything else in a single page process.

easy. (3 minutes hack!)
Reply With Quote
  #3  
Old 09-28-2004, 04:21 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm im a bit confused as to how i can set what password to use?
Reply With Quote
  #4  
Old 09-28-2004, 04:45 PM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for example: add a custom profile field in your admincp. make it shown on registration but not editable afterwords (as it will be shown in the profile otherwise)
Use the regex field to check the content of the password. I'm not such a Regex buff, but I'm sure someone can help you, or check out the manual on php.net
Reply With Quote
  #5  
Old 09-28-2004, 05:43 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i have added the custom profile and set it to show upon registration.

1. Now i need to figure out how to have it check the password with something i can set in the database.

2. I would like to be able to set the password for registration in the AdminCp - Vbulletin Options - User Registration Options.

Thanks Guys!

~Ross B
Reply With Quote
  #6  
Old 09-29-2004, 02:31 PM
rb2k1 rb2k1 is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still havent figured out how to do this :devious:
Reply With Quote
  #7  
Old 10-29-2004, 04:36 PM
ADiuM ADiuM is offline
 
Join Date: Sep 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I also would like this mod, or to figure out how to do it.
Reply With Quote
  #8  
Old 10-29-2004, 04:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Theoretically it should be possible this way:

Add a new custom field called password to register
make it required but not viewable
and then add the password you want to have into the regex box.
as long as your password doesn't have special chars which could be used for special regular expressions that should do the trick.

(just in theorie, i did not test it)
Reply With Quote
  #9  
Old 10-29-2004, 04:54 PM
ADiuM ADiuM is offline
 
Join Date: Sep 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I get a custom field to only show up on the registration page?
Reply With Quote
  #10  
Old 10-29-2004, 04:56 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you make it required it will show up automatically
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:18 PM.


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.04173 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete