vBulletin Modifications

Mini Mods - Disable Email Verify for certain IPs

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.5.4] Mini Mods - Disable Email Verify for certain IPs (9)
Released: 08-29-2006, 08:54 PM
Modification Information:
Author: deadhobo
Last Online: 12-13-2006
Hack Version: 1.0 Installer Included: 0 Additional queries added to database: 0
New Templates: 0 Template Edits: 0 File Edits: 3
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 10ish

Code Hack
All this mod does is allow users from a pre-defined IP address to be able to sign up without email verification. For example, on a school forum, new users might not have access to email from the school, and it is likely using a particular IP or a range. This mod would allow them to sign up without verification while retaining the safety of verification for all other addresses. Also a demo isn't really possible as it only instant-activate for the IP specified in advance.

I'm new to this so please forgive me if these instructions are lacking or difficult to follow. Rogersnm helped me with making this hack, which was really only intended to fit my needs but I figured why not release it. The mod was made for 3.5.4, no idea if it works on different versions.

Anyway, onto the hack.
1) Download and make a backup of register.php
2) Open the file with your text editor of choice and search for the following:
You must first be a registered member to view any code.
3) Replace the next line with the following (where "XX.XXX.XXX.XXX" is the IP address you wish to allow):
You must first be a registered member to view any code.
4) Search for the following:
You must first be a registered member to view any code.
5) Replace the next line with (same deal with "XX.XXX.XXX.XXX"):
You must first be a registered member to view any code.
6) Search for the following:
You must first be a registered member to view any code.
7) Replace the line two above it ("if ($vbulletin->options['verifyemail']...") with:
You must first be a registered member to view any code.
8) Save, double check that you have a backup, upload (overwrite) and hope nothing went wrong.
Good luck to anyone who finds this useful!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 08-31-2006, 04:48 PM   #2
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Do i get credit for the if parts?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2006, 11:03 PM   #3
vB Newbie
Join Date: Jul 2006
deadhobo is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
Do i get credit for the if parts?
Yes, thank you for your help. In the second paragraph it says

Quote:
Rogersnm helped me with making this hack
With a link to your site. If you wish for more credit, let me know and I'll be happy to make your name more prominent, but for now I will just assume you missed it.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-25-2007, 04:23 PM   #4
vBulletin Guru
Atakan KOC's Avatar
Join Date: Jan 2006
Real Name: Atakan KOC
Location: Turkey / Istanbul
Atakan KOC is on a distinguished road

Default

Thanks....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[req] Disable Thread Notification Email Options Zatch Bell vBulletin Modification Requests 2 06-11-2006 11:00 AM


All times are GMT -3. The time now is 10:23 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)