Previous Thread
Next Thread
Print Thread
Rate Thread
[6.2] Admin Request Temporary Password 1.0
#238060 02/24/2003 11:03 PM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name: AdminTempPasswordRequest1.0

Description: This allows the admin (or the mods if they can edit users) to request a temporary password be mailed to a user. Simply edit the user and the option will be below the option to Edit their profile.

Author: JoshPet www.joshuapettit.com
        For discussion and bug reports go to www.ubbdev.com

Credits: Allen for suggesting it.

Date: 2/24/03

Working Under: 6.2

Files Modified: /admin/selectoption.php

New Files: /admin/adminmailpassword.php

Database Modifications: none.

Notes: Easy to add. Should be standard.

Attached Files
Sponsored Links
Re: [6.2] Admin Request Temporary Password 1.0
Daine #238061 02/24/2003 11:23 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
whoa, thanks


- Allen wavey
- What Drives You?
Re: [6.2] Admin Request Temporary Password 1.0
SurfMinister #238062 02/25/2003 2:47 AM
Joined: Jan 2002
Posts: 674
smilesforu Offline
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
Thanks.. installed

Re: [6.2] Admin Request Temporary Password 1.0
Daine #238063 02/25/2003 8:33 AM
Joined: May 1999
Posts: 1,715
Gardener Offline
Addict
Offline
Addict
Joined: May 1999
Posts: 1,715
Yes, a good one. Been wanting this for quite a while, but couldn't bother to write it. =]

Re: [6.2] Admin Request Temporary Password 1.0
Daine #238064 02/25/2003 1:27 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
I was just going to post this in the suggestions and then the title caught my eye. I can't tell you how often I have to log out and go and request the password for someone, simply because I know if they are asking me, it's going to be easier than explaining to them they can do it themselves.

THANK YOU!


[:"red"]Lisa[/]
Sponsored Links
Re: [6.2] Admin Request Temporary Password 1.0
JacquiL #238065 02/25/2003 1:31 PM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
We should package this with your mod.

Feel free if you want to zip it all together and update your post.

Re: [6.2] Admin Request Temporary Password 1.0
Daine #238066 02/25/2003 3:51 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
I added it to my mod and updated my post. I agree, this should be standard.


[:"red"]Lisa[/]
Re: [6.2] Admin Request Temporary Password 1.0
JacquiL #238067 03/30/2003 3:28 PM
Joined: May 2002
Posts: 362
Allusivekudos Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 362
I know this may sound really weird, but I was able to use this as a template for something really important on my site. Everything is working just peachy, except the email is coming from webmaster@mydomain.com........ Is there a place I can change where that comes from? Like say I want it to say [][email protected][/] Anyone have any idea?

-peter

Re: [6.2] Admin Request Temporary Password 1.0
adrienne48 #238068 03/30/2003 4:00 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
The email address is being pulled from the config.inc.php file here:

Code
  // Email address<br />    $config['emailaddy']=	"";<br /><br />


[:"red"]Lisa[/]
Re: [6.2] Admin Request Temporary Password 1.0
JacquiL #238069 03/30/2003 5:34 PM
Joined: May 2002
Posts: 362
Allusivekudos Offline
Junior Member
Offline
Junior Member
Joined: May 2002
Posts: 362
Okay, I might be really dense.....

Is there any way I can have it not pull from that email address, and use a different one instead?

Thanks for working with me on this!

-peter

Sponsored Links
Re: [6.2] Admin Request Temporary Password 1.0
adrienne48 #238070 03/30/2003 7:02 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
It shouldn't be hard (it should be really easy) but that doesn't necessarily mean I can do it. Let me see what I can figure out.


[:"red"]Lisa[/]
Re: [6.2] Admin Request Temporary Password 1.0
adrienne48 #238071 03/30/2003 8:42 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
well, I tried

Sorry, I couldn't get it to work. The way it is now it pulls in the whole header section from ubbt.inc.php. You wouldn't want to change any of that (otherwise you'd just change the email address in config. ) So basically you just need to change the script from pulling the header information and place the necessary information in the script itself. (Unfortunately I couldn't do that. )


[:"red"]Lisa[/]

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,529
Posts293,721
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 143
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 17
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,795
Greg Hard 4,625
Top Posters(30 Days)
isaac 3
Top Likes Received
isaac 33
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200217.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.064s Queries: 40 (0.027s) Memory: 3.3326 MB (Peak: 3.6253 MB) Data Comp: Zlib Server Time: 2020-02-17 21:45:12 UTC
Valid HTML 5 and Valid CSS