Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
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.
Attachments

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
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
Junior Member
Offline
Joined: Jan 2002
Posts: 674
Thanks.. installed

Joined: May 1999
Posts: 1,715
Addict
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
Enthusiast
Offline
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
I type Like navaho
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
Enthusiast
Offline
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
Junior Member
Offline
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
Enthusiast
Offline
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
Junior Member
Offline
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
Enthusiast
Offline
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
Enthusiast
Offline
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)