The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Request an Email Address from VB host 1.0 Details »» | |||||||||||||||||||||||||
Request an Email Address from VB host 1.0 by Grunt
This hack has code based on the "Contact Us Email Feedback Form (with IP address) Version 2.2 " hack by Erwin (used with permission). https://vborg.vbsupport.ru/showthrea...threadid=50783 This hack has been tested on vBulletin 2.3.0. I would imagine it would work on 2.2.x, (and probably with all version 2.0.x) What it does: This hack allows members to send the Webmaster of the site a request for an email address. Let's say your website is www.yoursite.com and you want to offer your users yourname@yoursite.com email addresses. This form will automate this process. Registered users will be brought to a form (must be logged in to use) that allows them to enter the requested name. All other information is automated. If the user does not enter information in the field, they will be shown an error page. Once submitted, the user will be brought to a screen letting them know that the request has been sent. The Webmaster will then recieve an email listing the requesters VB Username, Email Address that he/she is registered with, and his/her requested @yoursite.com email address. Installation: Create the 3 templates based on the txt files - name the templates after the file names, and copy the content of the txt files into the templates. emailrequest emailrequest_error emailrequest_sent Then upload the following files into your forums directory. emailrequest.php sendmailrequest.php Last thing you need to do is to place this link anywhere on your site. <a href="http://www.yourforums.com/yourforums/emailrequest.php">Email Request</a> And you're done! Enjoy Grunt **4/8/03 - updated zip with correct templates** Show Your Support
|
Comments |
#2
|
|||
|
|||
screenshots:
|
#3
|
|||
|
|||
Nice idea, simple, yet effective I know some sites that wanted me to apply such a thing, now it is a step closer
|
#4
|
||||
|
||||
Neat If I find the use for it, I'll definately use it. And I just might need it with all the ideas I have for the site. XD
|
#5
|
|||
|
|||
Funnily enough just in time after I'd installed a mail server . Nice work Gruntie.
|
#6
|
||||
|
||||
Nice idea but unpractical as anyone who has the time to hack a board can simply increase the server load dramatically by repeatedly sending an email
|
#7
|
|||
|
|||
if some punk wants to crash a server, im sure theres a hundred other ways that it can be done also.
If its a concern, perhaps someone else (more knowledgable than I) could implement a 'only able to send xx emails per xx seconds' hack to this. |
#8
|
|||
|
|||
Grutie if you're interested in stopping such actions just add a little more code the the hack...
i haven't looked at the actual coding but you can add this query: Code:
ALTER TABLE user ADD requestemail smallint(6) unsigned NOT NULL DEFAULT '0' PHP Code:
PHP Code:
then add a template "emailrequest_alreadysent" and add the error information to that... hope that helps... regards, g-force2k2 |
#9
|
||||
|
||||
Yeah then you have to also remeber you might want to add a thing like If you are getting them problem in error or have waited x amount of days email webmaster thing just incase something happens to the email
|
#10
|
|||
|
|||
I like this - could you also add a text box for the user to choose a password of their liking.
Also my forum title is different to the .com name so it showns the wrong email! extention - can you advise how to over come this. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|