vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How Can I Prevent User Updates (https://vborg.vbsupport.ru/showthread.php?t=204370)

across 02-05-2009 07:38 PM

How Can I Prevent User Updates
 
Hello,
We are implementing single sign on to our forums via our dealer portal. To do this, we are exporting user id's and passwords from our portal and hardmapping them to our forums. As such, we wish to prevent password changes. I found some posts regarding this, but the information given was limited. I have no idea how to remove the editable fields nor all the templates that might be involved. I know it is a lot to ask, but if someone could take the time to tell me how to do this and which templates I'll need to change, I'd greatly appreciate it.
Thank you,
Angela

Lynne 02-05-2009 11:04 PM

Users are unable to change userids, or usernames. The only thing you would need to worry about is passwords. Doing a Search in Templates for the word password, shows me several templates, but just a couple have to do with changing the password... I think.

Try this on a new style first!!!! Then test it and see if this does what you want (check your User CP and also logout, try to login with a wrong password, and then try the link to reset your password). I've never done this and I'm not gonna test it myself, so you will have to do it.

Here's the couple of the templates that come up with a search that I think have something to do with what you want and a suggestion on what to do:

- lostpw - modify it to basically take out the form (everything between <form> and </form>, then you will get rid of the ability to request a new password.
- modifypassword - delete the contents

Also, change the phrase "email_and_password" to whatever you want.

Test that on your new style and see if it's what you need.


All times are GMT. The time now is 10:26 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.00961 seconds
  • Memory Usage 1,706KB
  • 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)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