The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VSa - Advanced Registration Details »» | |||||||||||||||||||||||||||||||||||||||
Info:
This product adds several advanced options to control new registrations, like: - 'Random Questions' - User must answer random question to continue with the registration (can be on/off) - 'Invitations System' - Let users invite their friends to join community - You can choose to accept only invited people to register - 'moderated users' management (accept/edit/contact/delete) - e-mail users automatically when their accounts are accepted (can be on/off) - 'non-activated users' management (accept/edit/contact/delete) - Option to delete inactive accounts automatically if not confirmed X days after registration All these features are controlled from one single page. Notes: - Don't forget to check/update product options after installation - Only Admins can access mentioned product options/logs - Inviter is automatically marked as referral when invited user registers using invitation code Installation: 1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product] To set options: Go to: AdminCP > vBulletin Options > VSa - Advanced Registration Versions: v1.0 - Nov 29. 2008. -Initial Version v1.7 - Feb 08. 2009. -Latest vB 3.x version v2.0 - Feb 17. 2010. -Updated for vB 4 -Done some code cleanup, minor bugs fixed v2.0.1 - Feb 19. 2010. -Fixed: Multiple invitations not sent properly -Fixed: JS error if there are whitespaces in email address list -New: Exclude groups from sending invites v2.0.2 - May 22. 2012. -Compatible with vBulletin 4.2 v2.0.3 - Apr 22. 2013. -Compatible with vBulletin 4.2.1 Download Now
Screenshots
Show Your Support
|
10 благодарности(ей) от: | ||
bluebare, DDIG, EliasAlucard, Insta-Gator, josner, K4GAP, SamSteve, yin9, Zakalway |
Comments |
#162
|
||||
|
||||
@valter
Seems this error start when I updated to 4.0.8 |
#163
|
|||
|
|||
Ensure that product templates are up to date.
I've just tested this on two 4.0.8 forums and it worked fine. |
#164
|
||||
|
||||
Quote:
There is an conflict with mod 'Movie Of The Week' and your mod that is causing the problem. No problems with 4.0.8, all templates clear and working properly. I can disable MOTW and your mod works fine. |
#165
|
|||
|
|||
Not valid code in template vsa_areg_invite:
HTML Code:
<script language="Javascript" type="text/javascript"> function VSaAReg_CheckMail(email_field,error_field,target){ emailRegExp = /^[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.([A-Za-z]){2,4})$/; error_address = '{vb:rawphrase vsaareg_invitation_mailerror}: '; error_blank = '{vb:rawphrase vsaareg_invitation_missingmail}'; error_number = '{vb:rawphrase vsaareg_invitation_limit}: {vb:raw vboptions.vsaareg_invite_oncelimit}'; wait_message = '{vb:rawphrase vsaareg_wait}'; target_clean = target.replace(" ",""); email = target_clean.split(","); errmail = ""; if (target_clean=='') { document.getElementById(error_field).innerHTML=error_blank; document.vsaareg_invite.vsaareg_invite_email.focus(); return false; } else if (email.length>{vb:raw vboptions.vsaareg_invite_oncelimit}) { document.getElementById(error_field).innerHTML=error_number; document.vsaareg_invite.vsaareg_invite_email.focus(); return false; } else { for (var i in email) { if (!emailRegExp.test(email[i])) { errmail += "; " + email[i]; } } if (errmail) { document.vsaareg_invite.vsaareg_invite_email.focus(); document.getElementById(error_field).innerHTML=error_address + "<span class=\"smallfont\">" + errmail.substr(1) + "</span>"; return false; } else { document.getElementById(error_field).innerHTML=wait_message; return true; } } } function VSaAReg_UpdName(name){ if (name=='') { vsaareg_name = ""; } else { vsaareg_name = " (" + name + ")"; } document.getElementById('vsaareg_nameupd').innerHTML = vsaareg_name; } </script> Fix: HTML Code:
<script language="Javascript" type="text/javascript"> <!-- function VSaAReg_CheckMail(email_field,error_field,target){ emailRegExp = /^[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.([A-Za-z]){2,4})$/; error_address = '{vb:rawphrase vsaareg_invitation_mailerror}: '; error_blank = '{vb:rawphrase vsaareg_invitation_missingmail}'; error_number = '{vb:rawphrase vsaareg_invitation_limit}: {vb:raw vboptions.vsaareg_invite_oncelimit}'; wait_message = '{vb:rawphrase vsaareg_wait}'; target_clean = target.replace(" ",""); email = target_clean.split(","); errmail = ""; if (target_clean=='') { document.getElementById(error_field).innerHTML=error_blank; document.vsaareg_invite.vsaareg_invite_email.focus(); return false; } else if (email.length>{vb:raw vboptions.vsaareg_invite_oncelimit}) { document.getElementById(error_field).innerHTML=error_number; document.vsaareg_invite.vsaareg_invite_email.focus(); return false; } else { for (var i in email) { if (!emailRegExp.test(email[i])) { errmail += "; " + email[i]; } } if (errmail) { document.vsaareg_invite.vsaareg_invite_email.focus(); document.getElementById(error_field).innerHTML=error_address + "<span class=\"smallfont\">" + errmail.substr(1) + "</span>"; return false; } else { document.getElementById(error_field).innerHTML=wait_message; return true; } } } function VSaAReg_UpdName(name){ if (name=='') { vsaareg_name = ""; } else { vsaareg_name = " (" + name + ")"; } document.getElementById('vsaareg_nameupd').innerHTML = vsaareg_name; } //--> </script> And not valid code in template vsa_areg_manage: HTML Code:
<script language="Javascript" type="text/javascript"> <!-- function VSaChAregAll(obj) { arrInput = document.getElementsByTagName("input"); for (i=0; i<arrInput.length; i++) { if (arrInput[i].type == 'checkbox') { arrInput[i].checked = obj.checked; } } } function VSa_SwitchAreg(target) { if (target=="users_mod") { document.getElementById("vsaareg_tu_mod").style.display = "block"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="users_act") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "block"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="users_inv") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "block"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="questions") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "block"; } } //--> </script> HTML Code:
<script language="Javascript" type="text/javascript"> function VSaChAregAll(obj) { arrInput = document.getElementsByTagName("input"); for (i=0; i<arrInput.length; i++) { if (arrInput[i].type == 'checkbox') { arrInput[i].checked = obj.checked; } } } function VSa_SwitchAreg(target) { if (target=="users_mod") { document.getElementById("vsaareg_tu_mod").style.display = "block"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="users_act") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "block"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="users_inv") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "block"; document.getElementById("vsaareg_tq").style.display = "none"; } if (target=="questions") { document.getElementById("vsaareg_tu_mod").style.display = "none"; document.getElementById("vsaareg_tu_act").style.display = "none"; document.getElementById("vsaareg_tu_inv").style.display = "none"; document.getElementById("vsaareg_tq").style.display = "block"; } } </script> Attachment 123297 |
#166
|
||||
|
||||
This is awesome if your site is invite only (which mine happens to be) I keep seeing a lot of spammers trying to sign up - but without the invite code - it's a no go for them.
Thanks for this. |
#168
|
|||
|
|||
Hello I am sorry to post this here but I am running 3.8 and this hack stopped working. I have posted in the 3.8 hack topic but got no response. Hoping someone here can help out..
Thank you for you time and any help! This worked fine for the longest time but all of a sudden when I enter a email then hit submit and this comes above in red Error: e-mail address(es) incorrect: [object Object]; function forEach() { [native code] }; function (){ return this.filter($defined); }; function (keys){ var obj = {}, length = Math.min(this.length, keys.length); for (var i = 0; i < length; i++) obj[keys[i]] = this[i]; return obj; }; function (object){ var result = {}; for (var i = 0, l = this.length; i < l; i++){ for (var key in object){ if (object[key](this[i])){ result[key] = this[i]; delete object[key]; break; } } } return result; }; function (item, from){ return this.indexOf(item, from) != -1; }; function (array){ for (var i = 0, j = array.length; i < j; i++) this.push(array[i]); return this; }; function (){ return (this.length) ? this[this.length - 1] : null; }; function (){ return (this.length) ? this[$random(0, this.length - 1)] : null; }; function (item){ if (!this.contains(item)) this.push(item); return this; }; function (array){ for (var i = 0, l = array.length; i < l; i++) this.include(array[i]); return this; }; function (item){ for (var i = this.length; i--; i){ if (this[i] === item) this.splice(i, 1); } return this; }; function (){ this.length = 0; return this; }; function (){ var array = []; for (var i = 0, l = this.length; i < l; i++){ var type = $type(this[i]); if (!type) continue; array = array.concat((type == 'array' || type == 'collection' || type == 'arguments') ? Array.flatten(this[i]) : this[i]); } return array; }; function (array){ if (this.length != 3) return null; var rgb = this.map(function(value){ if (value.length == 1) value += value; return value.toInt(16); }); return (array) ? rgb : 'rgb(' + rgb + ')'; }; function (array){ if (this.length < 3) return null; if (this.length == 4 && this[3] == 0 && !array) return 'transparent'; var hex = []; for (var i = 0; i < 3; i++){ var bit = (this[i] - 0).toString(16); hex.push((bit.length == 1) ? '0' + bit : bit); } return (array) ? hex : '#' + hex.join(''); }; function (){ return JSON.encode(this); } Again I realize this is the wrong version forum but this is my last ditch effort to get it working! |
#169
|
|||
|
|||
Quote:
This has stopped working on 4.0.6 so it's not 4.0.8 related and MOTW is also disabled so its not that. @ryancooper.. same problem bud all round. |
#170
|
|||
|
|||
@ RobbieZ Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|