Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2008, 07:10 PM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Restrict registrations to one type of domain

Hello all,

I have a forum (v3.7.2) directed at college and university professionals. I'm trying to restrict registration to .edu domains only. More specifically staff members (not students) at college and university domains (which are all .edu here in the US). Help please!

I saw this, but I'm not sure if it will allow all .edu type domains or if it is specific to only one .edu domain (ie: LSU.edu) https://vborg.vbsupport.ru/showthread.php?t=74619

If this is possible how do I grant manual/special access to other domians once I close off everything but .edu's

Thanks!
Reply With Quote
  #2  
Old 08-15-2008, 08:42 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could try editing out the my domain bit and adding .edu as the extension, but is there any reason you're using a version 3.0 modification? Because it may not even work as well with the current version...
Reply With Quote
  #3  
Old 08-16-2008, 12:04 AM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On the link I posted to that example the poster said "Should work with all vB 3 versions" Doesn't that include 3.7.2???

Really I'm open to any suggestions. Thanks!
Reply With Quote
  #4  
Old 08-16-2008, 12:13 AM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There were major changes in 3.5 so that will most likely no longer work.
Reply With Quote
  #5  
Old 08-18-2008, 12:24 PM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have a hack to pull this off? Still looking for help. Thanks!
Reply With Quote
  #6  
Old 08-18-2008, 01:12 PM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to create a White List for a specific type of e-mail domain? I'm looking to have an inclusive list of users from .edu domains.
Reply With Quote
  #7  
Old 08-18-2008, 04:26 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See https://vborg.vbsupport.ru/showpost....38&postcount=2
Reply With Quote
  #8  
Old 08-19-2008, 12:18 AM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That might work. I'll take a closer look at it. The only other option I can come up with is to enter all the TLD's that I don't want to the banned user area. To me a whitelist seems to be an easier approach. Any other ideas are welcome. Thanks!
Reply With Quote
  #9  
Old 08-19-2008, 07:08 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With that small code edit, you are turning the blacklist (banned list) into a whitelist (allowed list).
Reply With Quote
  #10  
Old 08-19-2008, 12:00 PM
josnoco josnoco is offline
 
Join Date: Dec 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes! The only potential problem with that is actualy banning a specific .edu address. The whitelist would allow all .edu. addresses form the gTLD and the ban (blacklist) feature would be gone with the edit/change, right? So how would I block a known .edu from a user who is causing problems?

The only other options I came up with are:
1. Use the banned user feature and list TLD’s I don’t want to allow registrations from.
2. I could try to adopt the regex feature in the username function and apply it to e-mail addresses.
3. Or I could try to find a hack for the register.php file that wil allow me to qualify .edu addresses.

Any additional thoughts on what I should do? Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 10:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03873 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete