vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How to restrict only 1 domain email during reg. & how to set new value to be unique? (https://vborg.vbsupport.ru/showthread.php?t=186834)

PaulSonny 08-13-2008 03:16 PM

I believe anything over field4 is not a vBulletin default, as shown below. So this must mean that field5 and field6 are custom fields which means that are not likely to be in the default register.php?

Biography field1
Location field2
Interests field3
Occupation field4

Dismounted 08-14-2008 07:25 AM

Quote:

Originally Posted by PaulSonny (Post 1597847)
I believe anything over field4 is not a vBulletin default, as shown below. So this must mean that field5 and field6 are custom fields which means that are not likely to be in the default register.php?

Biography field1
Location field2
Interests field3
Occupation field4

vBulletin fetches all userfield[] input fields as an array :). This can be used to access field6:
PHP Code:

$vbulletin->GPC['userfield']['field6'


hivehost 08-18-2008 07:44 AM

Hi Sir,

Thank you for your reply.

Sorry to say that I have not found out the location of this mentioned variable in the entire vbulletin package. It seems to be that this variable exists in the earlier version of vBUlletin.

My current installed version of vBulletin is "vBulletin® v3.7.2 Patch Level 1".

Dismounted 08-19-2008 08:58 AM

Certain POST variables are passed through the input cleaner, which populates the $vbulletin->GPC array.

MReardon 10-31-2008 08:19 PM

guys i'm running vBulletin 3.5.8 and do not have this code in my class_dm_user.php file. what's up? since i cannot find it, i cannot proceed........ any help??

Dismounted 11-01-2008 09:55 AM

Which code are you referring to?

MReardon 11-05-2008 12:47 AM

I'm referring to :

File: ./includes/class_dm_user.php
Line: 634

Find:
PHP Code:
if (is_banned_email($email) AND !$this->adminoverride)
and replace with:
PHP Code:
if (!is_banned_email($email) AND !$this->adminoverride)

I am running 3.5.8 and therefore do not see this in the file specified above. Do i have any other options???? this is EXACTLY what i have been looking for for quite some time!!!

Marco van Herwaarden 11-06-2008 11:48 AM

For 3.5.7

File: ./includes/class_dm_user.php
Line: ~515
find:
PHP Code:

  if (is_banned_email($email) AND !$this->adminoverride

replace by:
PHP Code:

  if (!is_banned_email($email) AND !$this->adminoverride


MReardon 11-06-2008 01:11 PM

Can you provide instructions how to navigate to the whitelist (previously the blacklist) so that i may begin allowing the designated users to register?

Thank you for helping me locate the code!!

Dismounted 11-07-2008 04:35 AM

Go to the default email censor (vBulletin Options > User Banning Options).


All times are GMT. The time now is 11:21 AM.

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.01114 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete