Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Register: Require Passcode (vB4) Details »»
Register: Require Passcode (vB4)
Version: 1.0.0, by Eric Eric is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 05-06-2011 Last Update: Never Installs: 28
Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

This mod was made by paid request of jgrakowski. Once the mod was completed, he asked me to release it for everyone.

What is this?
This mod will allow you to require a user registering to the forum to enter an admin defined passcode during the registration process.

Features
Should be pretty self-explanatory

This mod should work with vB versions 4.0.8+ (I've not tested on versions prior to 4.0.8).

Installation
1. Extract the contents of the zip file.
2. Upload the contents of the `upload` folder to your forum root.
3. Enter your AdminCP and go to Plugins & Products > Manage Products > [Add/Import Product]
4. Import the product using the `product-register_passcode-vb4.xml` file.
5. Go to Styles & Templates -> Style Manager -> (your style) -> Edit the "register" template and find:

HTML Code:
	<h2 class="blockhead">{vb:rawphrase register_at_x, {vb:raw vboptions.bbtitle}}</h2>
Above that, add:

HTML Code:
	{vb:raw register_passcode_html}
6. Configure the mod in AdminCP -> Settings -> Options -> User Registration Options

Upgrading
In many cases, all you'll need to do to upgrade is follow the installation instructions above.

The only difference, will be you'll need to allow the files to overwrite. Also, when re-importing the product file, you'll need to set "Allow Overwrite" to "Yes".

Changelog
Version 1.0.0, 05/07/2011
  • Initial release.

Download Now

File Type: zip register_passcode-1.0.0-vb4.zip (13.3 KB, 155 views)

Screenshots

File Type: jpg acp_options.jpg (169.6 KB, 0 views)
File Type: jpg register.jpg (24.9 KB, 0 views)
File Type: jpg register_error.jpg (33.4 KB, 0 views)
File Type: png register_success.png (19.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
oneill, tbworld, TheLastSuperman

Comments
  #2  
Old 05-07-2011, 12:03 PM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks

is the special code generated automatically or does one has to request for a code from the Admin ? would defeat the purpose for a public forum though I think it's good for a private forum
Reply With Quote
  #3  
Old 05-07-2011, 02:24 PM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, great mod but 1 pass by registration/new member it's possible for a future update?
thx
Reply With Quote
  #4  
Old 05-08-2011, 12:31 PM
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be good, but since the code is indefinitely always the same, unless the person who created the pass code changes it, it isn't fool proof.

A real person, could get the pass code, register, and then since it doesn't change. Use the same passcode to create tons of bots to spam the heck out of the forums.

This is why I love Valters Advanced Registration mod. The password changes each time a new invitation is sent out, and the pass code can only work with the email address it was sent to.

Also, if a real human did register, then send a bunch of invitations out and registered as bots, you could delete them all, and the user, as there is a log of all invitations sent out, that states who the user is that sent out the invitation.
Reply With Quote
  #5  
Old 05-26-2011, 06:55 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was made by request and released by request. It does nothing more than what is in the description - if you look at the screenshots it is obvious the pass only changes when the admin changes it. This has nothing to do with invitations. The person who requested this mod uses it for a game server, and they must know the game server pass or key to register - hence Register Passcode.
Reply With Quote
  #6  
Old 06-21-2011, 09:07 PM
jgrakowski jgrakowski is offline
 
Join Date: Jan 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the reason is mostly to stop spam bots and such from registering 100 accounts, and so i dont have to moderate registration for the same reason. and to not muddle up and slow down registration. that was the only purpose.
Reply With Quote
  #7  
Old 10-03-2011, 11:31 AM
getwhatuask4 getwhatuask4 is offline
 
Join Date: Oct 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the difference between this and simply setting the human verification to Q&A during the registration process, and making the Q: 'what is the passcode?', and the A to whatever passcode you choose??

Have I missed something obvious?
Reply With Quote
  #8  
Old 01-28-2014, 06:30 PM
jgrakowski jgrakowski is offline
 
Join Date: Jan 2006
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its just more official and separate than that, more pronounced.
Reply With Quote
  #9  
Old 05-22-2014, 06:55 PM
Frosti Frosti is offline
 
Join Date: Sep 2010
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to code this further so that a wrong passcode doesn't allow anyone to even fill out the rest of the registration page???

like putting those <if> tag things around it or something?

or giving the passcode it's own submit button before moving on with registration?

BTW, I love this as is anyway... but it would be the ultimate if it didn't allow anyone past it if wrong.
Reply With Quote
  #10  
Old 03-16-2018, 09:25 AM
Ratne Ratne is offline
 
Join Date: Jul 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to insert this code
HTML Code:
{vb:raw register_passcode_html}
in mobile theme too?

edit:
just put in your registration mobile theme after this:
HTML Code:
<div data-role="fieldcontain">
this code

HTML Code:
<label for="password">Registration Password:</label>
						<input type="password" class="textbox" name="register_passcode" id="register_passcode" maxlength="50" value="" tabindex="1" />
<br />
Reply With Quote
Reply


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 11:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07275 seconds
  • Memory Usage 2,325KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete