vBulletin Modifications

Different registration requirements for IPs?

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Discussion

Reply
 
LinkBack Thread Tools
Old 08-22-2006, 11:43 PM   #1
vB Newbie
Join Date: Jul 2006
deadhobo is on a distinguished road

Default Different registration requirements for IPs?

Hey there, I'm starting up a school discussion forum and recently had a spam attack and had to enable email verification. The problem with verification is that students at the school cannot access email due to the firewall... anyway, my question is if its possible to have different registration requirements for different IP ranges...

For example, if the user is signing up from a school IP address, do not require email verification, but require it for all other IP addresses. I don't know how to approach this and even where to start looking so all help is greatly appreciated (if its even possible to do).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-23-2006, 03:42 AM   #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

well it's possible to detect the ip and it's possible to make a range but wether you could do the rest of the code is a diffferent matter.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2006, 07:24 AM   #3
vB Newbie
Join Date: Jul 2006
deadhobo is on a distinguished road

Default

Well I figured it must be possible to do the actual detection, as that is how user bans are typically done. But really the question is if its possible to integrate that IP detection system into the user registration, and how to implement it.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2006, 07:53 AM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

I suppose you could duplicate the whole document with an if around it then change a bunch of stuff. Of course that would make it twice as big.

Last edited by Nick R; 08-25-2006 at 04:54 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:32 AM   #5
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Smile

I wonder if a conditional of some kind would work here?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 04:56 AM   #6
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Thats what i just said, of course big chances are when you come to upgrading it will a) need you to do it again due to the small fact you can't really use the plugin system and b) you wouldn't just be able to copy the last code because there will be differences between the versions.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 01:42 PM   #7
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Smile

Quote:
Originally Posted by rogersnm
Thats what i just said
Really? I fail to see where you mentioned conditionals at all.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 01:47 PM   #8
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Quote:
I suppose you could duplicate the whole document with an if around it then change a bunch of stuff. Of course that would make it twice as big.
Quote:
an if
Easier to understand ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-25-2006, 01:56 PM   #9
Michael Biddle
Administrator
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

enough guys
__________________
Support will ONLY be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2006, 07:23 AM   #10
vB Newbie
Join Date: Jul 2006
deadhobo is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
I suppose you could duplicate the whole document with an if around it then change a bunch of stuff. Of course that would make it twice as big.
Quote:
Originally Posted by Colonel Ingus
I wonder if a conditional of some kind would work here?
Thanks to both of you for restarting the discussion. I was turned off the idea after asking on another vB site which basically turned out that I would need to hire a coder if I wanted it done (not going to happen).

I looked into the register template and register.php, but I can't find where the actual email verification is setup; I found this which informed me of the "$vbphrase[ip]: $post[ip]" phrase, which I think would work perfectly with an if statement... if I can just find where to put it.

EDIT: Ah, I might have found it:
You must first be a registered member to view any code.

Last edited by deadhobo; 08-28-2006 at 07:28 AM.




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
Limit age registration xfile vBulletin 3.5 / 3.6 Hack Releases 8 06-24-2008 06:06 PM
New coder requirements and more gio~logist Announcements 85 08-09-2006 08:58 AM
Slim Registration Page Rex vBulletin Modification Requests 4 06-06-2006 03:29 PM
New user registration suspended. Paul Announcements 0 12-01-2004 03:12 AM


All times are GMT -3. The time now is 03:31 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)