The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hi,
I managed to get this working some time ago - and it turned out to be quite easy. This is how I did it: 1. In vBulletin options -> vBulletin Options, select 'User registration options', then set 'Moderate new members to 'Yes'. On the same page, set 'Email Address to Notify About New Members' to the email address of your PDA. 2. In the phrase manager (Languages and phrases -> phrase manager), locate the phrase titled 'newuser'. This is the wording for the email that the administrator receives when a new user registers. I changed the wording to something like this: "Dear administrator, A new user has registered on $vboptions[bbtitle] User name : $username Email Address : $email Birthday : $birthday Referrer: $referrer IP Address: $ipaddress $customfields To accept: http://www.thesiteinquestion.com/code/admin/acceptuser.php?userid=$userid To deny: http://www.thesiteinquestion.com/code/admin/denyuser.php?userid=$userid To view their profile, go here: $vboptions[bburl]/member.php?u=$userid" 3. You will notice - from the code above - that the administrator receives two links, one to accept the new user and one to deny the new user access. Each link contains the user ID of the user being moderated - in other words, the userid is passed to each of these pages. ACCEPT: To accept the new user (acceptuser.php), use the following SQL: "UPDATE user SET usergroupid = 2 WHERE userid = $userid"; ..Now send him an email saying that he has been accepted. DENY: To deny a new user (denyuser.php), send him an email saying that he has been denied access, then delete the user record from the user table. I hope this helps. My client is receiving user registrations via plain text email on his internet-enabled PDA. Simply clicking on a link allows him to moderate new users from anywhere in the world. I hope that this information was useful. Shaune |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|