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

Reply
 
Thread Tools Display Modes
  #11  
Old 08-13-2008, 03:16 PM
PaulSonny PaulSonny is offline
 
Join Date: Dec 2006
Location: Middlesbrough, UK
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #12  
Old 08-14-2008, 07:25 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PaulSonny View Post
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'
Reply With Quote
  #13  
Old 08-18-2008, 07:44 AM
hivehost hivehost is offline
 
Join Date: Jul 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
  #14  
Old 08-19-2008, 08:58 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Certain POST variables are passed through the input cleaner, which populates the $vbulletin->GPC array.
Reply With Quote
  #15  
Old 10-31-2008, 08:19 PM
MReardon MReardon is offline
 
Join Date: Oct 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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??
Reply With Quote
  #16  
Old 11-01-2008, 09:55 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which code are you referring to?
Reply With Quote
  #17  
Old 11-05-2008, 12:47 AM
MReardon MReardon is offline
 
Join Date: Oct 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #18  
Old 11-06-2008, 11:48 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 11-06-2008, 01:11 PM
MReardon MReardon is offline
 
Join Date: Oct 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #20  
Old 11-07-2008, 04:35 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to the default email censor (vBulletin Options > User Banning Options).
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 09:11 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.04067 seconds
  • Memory Usage 2,241KB
  • 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
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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