Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Cyb - Advanced Registration Details »»
Cyb - Advanced Registration
Version: 1.7, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 12-07-2008 Last Update: 02-07-2009 Installs: 143
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

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 this 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 > Cyb - Advanced Registration

Versions:
v1.0 - Nov 29. 2008.
- Initial Version
v1.1 - Dec 08. 2008.
- New: Option to delete inactive accounts automatically after X days
- New: You can choose to e-mail users automatically when their accounts are accepted
- New: Enable only invited users to join
- Some minor bugs fixed
v1.2 - Dec 13. 2008.
- Fixed bug (Invitation e-mail address must be lower-case)
- Fixed bug (Random Question answer must be lower-case)
- Fixed bug (Unregistered users able to send Invitations)
- New: Limit number of Invitations user can send in 7 days
- Minor bug fixes in phrases and html
v1.3 - Dec 24. 2008.
- Improved detection of newly registered members who accepted invitations
- Fixed bug (referrer not marked if invitation code is not required)
v1.4 - Jan 02. 2009.
- Break lists into pages with standard vB navigation
- Code cleanup
v1.5 - Jan 25. 2009.
-Fixed bug (user can register without proper invitation code)
-New: Send multiple invitations at once
-New option: Maximum Invitations user can send at once
-New: Inviters are now able to add they real name to the message
-Minor bug fixes
v1.6 - Jan 25. 2009.
-Important bug fix in Invitation System
v1.7 - Feb 08. 2009.
-Fixed bug (Blank 'inviter' field for inviters who have been deleted in the meantime)
-Better inactive users detection for auto-prune (only zero-posters deleted)
-Fixed some CSS validation errors
-New: Check if e-mail address is already registered or invited before sending invitation
-Minor bugs fixed

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 08-08-2009, 10:31 AM
Gaskell's Avatar
Gaskell Gaskell is offline
 
Join Date: Sep 2004
Location: Land of the Prince Bishop
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to highlight COPPA users on the moderated user listing?
Reply With Quote
  #93  
Old 09-17-2009, 01:09 PM
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I temporarily disabled this hack, but I am decided to re enable it. However, I think I accidently did something wrong because where it says "Invitation code: 312312312" instead of giving numbers, it gives the referrals name.

My question is, in the phrase manager, what is the number that goes in between {} so the invite code shows up instead of the referrals name.
Reply With Quote
  #94  
Old 12-15-2009, 01:22 PM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm... Why does this show the Smiley list if you dont have access to send invites?
Reply With Quote
  #95  
Old 01-31-2010, 06:20 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed .... :up:

Thanks ...

Is there a reason the "Random Question" doesn't appear on the registration page when that option is turned ON?

Any help would be appreciated...

Thanks

Regards,
Badger
Reply With Quote
  #96  
Old 02-03-2010, 10:24 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone else having the problem mentioned in previous post?

Thanks ..

Regards.
Badger
Reply With Quote
  #97  
Old 07-18-2010, 03:38 PM
Firestorm17 Firestorm17 is offline
 
Join Date: Apr 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excuse me , this add on work's with vb 4.0.x???
Reply With Quote
  #98  
Old 09-16-2010, 04:57 PM
ryancooper ryancooper is offline
 
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to allow admins only to use this replace the template cyb_areg_invite with

Code:
        $stylevar[htmldoctype]
        <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
            <head>
            $headinclude
            <title>$vboptions[bbtitle] - $vbphrase[cybareg_invitations]</title>
            <script language="Javascript" type="text/javascript">
                function CybAReg_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})$/;
                    var error_address = '$vbphrase[cybareg_invitation_mailerror]: ';
                    var error_blank = '$vbphrase[cybareg_invitation_missingmail]';
                    var error_number = '$vbphrase[cybareg_invitation_limit]: $vboptions[cybareg_invite_oncelimit]';
                    var wait_message = '$vbphrase[cybareg_wait]';
                    var email = target.split(","); 
                    var errmail = "";

                    if (target=='')
                    {
                        document.getElementById(error_field).innerHTML=error_blank;
                        document.cybareg_invite.cybareg_invite_email.focus();
                        return false;
                    }
                    else if (email.length>$vboptions[cybareg_invite_oncelimit])
                    {
                        document.getElementById(error_field).innerHTML=error_number;
                        document.cybareg_invite.cybareg_invite_email.focus();
                        return false;
                    }
                    else
                    {
                        for (var i in email)
                        {
                            if (!emailRegExp.test(email[i]))
                            {
                                errmail += "; " + email[i];
                            }
                        } 
                        if (errmail)
                        {    
                            document.cybareg_invite.cybareg_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 CybAReg_UpdName(name){
                    if (name=='')
                    {
                        cybareg_name = "";
                    }
                    else
                    {
                        cybareg_name = " (" + name + ")";
                    }
                    document.getElementById('cybareg_nameupd').innerHTML=cybareg_name;
                }
            </script>
            </head>
            <body onload="document.cybareg_invite.cybareg_invite_email.focus();">
            $header
            $navbar
            <if condition="(($vboptions[cybareg_invite_amount]>0) AND ($cyb_areg_total_inv_user >= $vboptions[cybareg_invite_amount]))">
                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                    <tr valign="top">
                        <td class="tcat" align="$stylevar[left]">$vbphrase[cybareg_invitations]</td>
                    </tr>
                    <tr>
                        <td class="alt1" align="center"><phrase 1="$vboptions[cybareg_invite_amount]">$vbphrase[cybareg_invitation_nomore]</phrase></td>
                    </tr>
                </table>
            <else />
                
    <if condition="$bbuserinfo['usergroupid'] == 6">



<form name="cybareg_invite" id="cybareg_invite" action="misc.php?do=cybareginvdo" method="post" onsubmit="return CybAReg_CheckMail('cybareg_invite_email','cybareg_wrongmail', document.cybareg_invite.cybareg_invite_email.value);">
                    <input type="hidden" name="securitytoken" value="$cybareg_sectok" />
                    <input type="hidden" name="cybareg_inviter_id" value="$bbuserinfo[userid]" />
                    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <tr>
                            <td class="tcat" align="$stylevar[left]" colspan="2">$vbphrase[cybareg_invitations] $cyb_areg_inv_myinfo</td>
                        </tr>
                        <tr>
                            <td class="thead" align="$stylevar[left]">$vbphrase[email]</td>
                            <td class="thead" align="$stylevar[left]" width="50%">$vbphrase[cybareg_invitation_message_info]</td>
                        </tr>
                        <tr>
                            <td class="alt1" align="center"><span class="smallfont">$vbphrase[cybareg_invitation_notes]</span><br /><br /><span id="cybareg_wrongmail" style="color:red;">$vbphrase[cybareg_invitation_recipients]:</span><br /><br /><input type="text" class="smallfont" id="cybareg_invite_email" name="cybareg_invite_email" value="" size="50" dir="ltr" /></td>
                            <td class="alt2" align="$stylevar[left]" rowspan="2"><pre style="font-family:Verdana;font-size:11px">$cybareg_invmess_preview</pre></td>
                        </tr>
                        <tr>
                            <td class="alt1" align="center"><span class="smallfont">$vbphrase[cybareg_invitation_realname]</span><br /><br /><span>$vbphrase[cybareg_invitation_yourname]:</span><br /><br /><input type="text" class="smallfont" id="cybareg_inviter_name" name="cybareg_inviter_name" value="" size="50" dir="ltr" onkeyup="CybAReg_UpdName(this.value);" /></td>
                        </tr>
<tr>
                             <td class="tfoot" align="center" colspan="2">                       <input class="buton" type="submit" value="&nbsp;$vbphrase[send]&nbsp;" /><br>At this time invites are limited to admins only.</td>
                        </tr>
                    </table>
                </form>
            </if></if>
            <br />
At this time invites are limited to admins only.
            $footer
            </body>
        </html>
it doesn't actually NOT allow users to use the invites BUT it hides the invite forum to all but admins... Hope this helps soneone!

Ryan
Reply With Quote
  #99  
Old 12-28-2010, 11:29 AM
X-or X-or is offline
 
Join Date: Nov 2005
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works in 3.6.12?
Reply With Quote
  #100  
Old 03-31-2011, 10:17 PM
AuroraStorm's Avatar
AuroraStorm AuroraStorm is offline
 
Join Date: Nov 2006
Location: ATHell
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works just fine...thanks!
Reply With Quote
  #101  
Old 03-31-2011, 10:36 PM
AuroraStorm's Avatar
AuroraStorm AuroraStorm is offline
 
Join Date: Nov 2006
Location: ATHell
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I assign this to the Super Moderator?
Reply With Quote
Reply

Thread Tools

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 04:14 AM.


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.04805 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
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)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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