Previous Thread
Next Thread
Print Thread
Rate Thread
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 Images
Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
whoa, thanks


- Allen wavey
- What Drives You?
Joined: Jan 2002
Posts: 674
Junior Member
Offline
Junior Member
Joined: Jan 2002
Posts: 674
Thanks.. installed

Joined: May 1999
Posts: 1,715
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. =]

Joined: Mar 2002
Posts: 305
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
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.

Joined: Mar 2002
Posts: 305
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[/]
Joined: May 2002
Posts: 362
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

Joined: Mar 2002
Posts: 305
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[/]
Joined: May 2002
Posts: 362
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
Joined: Mar 2002
Posts: 305
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[/]
Joined: Mar 2002
Posts: 305
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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,546
Posts293,801
Members13,838
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 239
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 23
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,806
Greg Hard 4,625
Top Posters(30 Days)
isaac 7
Top Likes Received
isaac 45
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 4
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

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

PHP: 5.4.45 Page Time: 0.055s Queries: 40 (0.022s) Memory: 3.3539 MB (Peak: 3.5963 MB) Data Comp: Zlib Server Time: 2020-09-24 01:37:34 UTC
Valid HTML 5 and Valid CSS