vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New User Registration Configuration (https://vborg.vbsupport.ru/showthread.php?t=317603)

Petormin 03-03-2015 03:25 AM

New User Registration Configuration
 
So I am at the point of banging my head against the wall. What I am trying to figure out is when a new user registers is there a way to require them to enter a message that gets sent along with the email notification or even just in the registration itself. It would make it alot easier to distinguish between the "Human Spam Bots" and actual people trying to register that i end up just deleteing (Example *Please enter a short message [Hey its billybob stop deleting my account im not a bot.]

kh99 03-03-2015 03:56 AM

If you create a profile field that's on the registration page, say it's field7, then you can edit the newuser phrase (the ones of type 'email body'), and add something like:
Code:

Phrase: {$vbulletin->GPC['options']['field7']}

Edit: well, that will work but you might need a plugin to 'clean' that value. Although offhand I can't think of anything a user could enter that would cause problems.

Petormin 03-03-2015 04:10 AM

is there no way to do it within vbulletin itself? (assuming your talking about editing the register.php file to add that bit.. somewhere)

kh99 03-03-2015 04:14 AM

It's all within vbulletin. I meant you should edit the phrase that's used for the email body. Go to "Search in Phrases" and search for newuser (click the 'Phrase Variable Name Only' radio button). There are several with that name, but it's obvious which one is the email body.

And also I looked again and I don't think you need to worry about 'cleaning', since nothing special is done to the other values like email and referrer before being used in the email.


All times are GMT. The time now is 12:56 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.00977 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete