Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Delayed Email Verification Hack (DEV) Details »
Delayed Email Verification Hack (DEV)
Mod Version: 1.00, by CharlesHe (Member) CharlesHe is offline
Developer Last Online: Oct 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.8 Rating: (1 vote - 5.00 average) Installs: 1
Released: 25 Aug 2005 Last Update: Never Downloads: 0
Not Supported  

This hack allows newly registered users awaiting email activation to use the forums, but then restricts them from logging in after a certain period of time and informing them that the time limit has passed.

My forum is designed for a close community of students, but I still want email verification to prevent abuse. But my forum isn't established yet, and I don't want to scare people off by forcing them to check their email. I would like them to check out the forums and get used to them for a while before forcing them to do more work. So I've made this hack that should allow for a delay in email verification of one day.

Two files need to be modified and an extra phrase must be added.

There are some flaws: In theory because this only restricts login, someone could stay logged on past the grace period, but a higher degree of rigour restricting this exploit would not be appropriate for a delayed email verification anyways.

I've been programming for approximate 1 day. If anyone can teach me how to write admincp functions that allow some customization over the grace periods, or teach me how write a program to install this hack that would be great.

Replace this code in /login.php


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In includes/functions_login.php...

Insert before

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(approximate line 147)
With this this code :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Finally you need to do an SQL to add this new error phrase:

UPDATE `phrase` SET `text` = 'You may not login to the forums over one day after registering without activating your account. <br><br>

Activation should be easy. Please check your email to find the instructions to activate your account.
<br><br>
If you''re still having problems, please contact the administrator of the board at $vboptions[webmasteremail].' WHERE `phraseid` = '12302' LIMIT 1;

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Aug 2005, 21:16
dndog dndog is offline
 
Join Date: Apr 2004
You have to attach a text version of this hack as per vbulletin.org TOS.

Good work on your hack!

-dndog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:32.

Layout Options | Width: Wide Color: