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
VSa - Advanced Registration Details »»
VSa - Advanced Registration
Version: 2.0.3, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-16-2010 Last Update: 04-21-2013 Installs: 1338
DB Changes Uses Plugins Auto-Templates
 
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 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

File Type: zip VSa - Advanced Registration v2.0.3.zip (12.7 KB, 1933 views)

Screenshots

File Type: jpg navbar.jpg (47.2 KB, 0 views)
File Type: jpg invite.jpg (110.2 KB, 0 views)
File Type: jpg register.jpg (121.4 KB, 0 views)
File Type: jpg manage1.jpg (129.1 KB, 0 views)
File Type: jpg manage2.jpg (88.4 KB, 0 views)
File Type: jpg acp.jpg (208.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
10 благодарности(ей) от:
bluebare, DDIG, EliasAlucard, Insta-Gator, josner, K4GAP, SamSteve, yin9, Zakalway

Comments
  #132  
Old 07-18-2010, 04:05 PM
ceho ceho is offline
 
Join Date: Mar 2008
Location: Germany
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod is great, but it ignores the additional.css. As this is where I defined parts of my header and footer, is it somehow possible to make the mod use the additional.css?

Thanks!

Edit: got it, {vb:raw headinclude_bottom} is missing. By the way, the Advanced Forum Rules have the same little issue, the PayPal Donate mod doesn't (I found the solution by comparing the templates ;-)).
Reply With Quote
  #133  
Old 07-19-2010, 07:01 PM
aimsln aimsln is offline
 
Join Date: Dec 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Creating mastercode for Invation system:


Replace the plug-in code of "VSa - Advanced Registration - MN"
PHP Code:
if ($vbulletin->options['vsaareg_enable'] AND $vbulletin->options['vsaareg_enable_questions'])
        {
            
$vbulletin->db->hide_errors();
            
$vbulletin->input->clean_array_gpc('p', array(
                
'vsaareg_id' => TYPE_UINT,
                
'vsaareg_answer' => TYPE_STR)
            );
            if (
$vbulletin->GPC['vsaareg_id']>0)
            {
                
$vsaareg_tqinfo $vbulletin->db->query_first("
                    SELECT id, question, answer
                    FROM " 
TABLE_PREFIX "vsa_advreg AS vsa_advreg
                    WHERE id = '"
.$vbulletin->db->escape_string($vbulletin->GPC['vsaareg_id'])."'
                "
);
                if (
strtoupper($vbulletin->GPC['vsaareg_answer']) != strtoupper($vsaareg_tqinfo['answer']))
                {
                    
$userdata->error('vsaareg_wrong_answer'$vbphrase['vsaareg_random_question']);
                }
            }
            
$vbulletin->db->show_errors();
        }
    
        if (
$vbulletin->options['vsaareg_enable'] AND $vbulletin->options['vsaareg_enable_invite'])
        {
            
$vsaareg_invonly "";
            if (
$vbulletin->options['vsaareg_enable_invite_only'])
            {
                
$vsaareg_aregcode $vbulletin->input->clean_gpc('p''vsaareg_code'TYPE_STR);
                
$vsaareg_invonly "AND code = $vsaareg_aregcode";
            }
            if(
$vsaareg_aregcode != 'masterinvitecode'
            {
                
$vbulletin->db->hide_errors();
                
$vsaareg_tiinfo $vbulletin->db->query_first("
                    SELECT id, inviter, invited, code
                    FROM " 
TABLE_PREFIX "vsa_advreg_invite AS vsa_advreg_invite
                    WHERE invited = '"
.$vbulletin->db->escape_string($vbulletin->GPC['email'])."' AND done = '0' $vsaareg_invonly
                "
);
                if (
$vsaareg_tiinfo['id']>0)
                {
                    if (empty(
$userdata->errors))
                    {
                        
$vbulletin->db->query_write(" UPDATE " TABLE_PREFIX "vsa_advreg_invite SET done = '1' WHERE id = '".                        $vbulletin->db->escape_string($vsaareg_tiinfo['id'])."' ");
                        
$vsaareg_refinfo $vbulletin->db->query_first("
                            SELECT username
                            FROM " 
TABLE_PREFIX "user AS user
                            WHERE userid = '"
.$vbulletin->db->escape_string($vsaareg_tiinfo['inviter'])."'
                        "
);
                        
$userdata->set('referrerid'$vsaareg_refinfo['username']);
                    }
                }
                else if (
$vbulletin->options['vsaareg_enable_invite_only'])
                {
                    
$userdata->error('vsaareg_wrong_invcode');
                }
                
$vbulletin->db->show_errors();
            } else {
                
$userdata->set('referrerid'useridnumber);
            }
        } 
Replace masterinvitecode by your string. Sample would be: funnyday
PHP Code:
if($vsaareg_aregcode != 'funnyday'
And change the useridnumber to the user who will be listed as the referer:
PHP Code:
$userdata->set('referrerid'1); 
Not the username but the userid!

In my case this is our admin.

Reply With Quote
  #134  
Old 07-19-2010, 11:42 PM
oddmud's Avatar
oddmud oddmud is offline
 
Join Date: Oct 2009
Location: Canada
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I may be stupid but, I tried to register an account, and it didn't show me anywhere about sending invitations. I checked the settings, and usergroups 1 and 8 are not allowed to send invitations. So when do they get to send invitations if their still waiting email confirmation, or what not...

I'm not sure that makes a whole bunch of sense, but yeah.. i'm a little confused.
Reply With Quote
  #135  
Old 07-20-2010, 02:15 AM
Gun Geek Gun Geek is offline
 
Join Date: Mar 2009
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add aol to the list above.
Reply With Quote
  #136  
Old 07-20-2010, 09:18 AM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gun Geek View Post
You need to make sure that your forum cookie settings are set up properly. I noticed that when logged in if I went to any other page it logged me out it wasnt just with this mod.
I've installed this mod on another forum and it works perfectly fine. the URL it takes you is exactly the same on both forum when setting up a random question but on my actual forum it takes me to the smilies page.

Could someone help me fix this as developer seems to be ignoring my question.

Thanks a lot.
Reply With Quote
  #137  
Old 07-20-2010, 09:27 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike007 View Post
I've installed this mod on another forum and it works perfectly fine. the URL it takes you is exactly the same on both forum when setting up a random question but on my actual forum it takes me to the smilies page.

Could someone help me fix this as developer seems to be ignoring my question.

Thanks a lot.
Maybe worth redownloading the xml and trying to re import it mate
Reply With Quote
  #138  
Old 07-20-2010, 04:15 PM
BrightStar's Avatar
BrightStar BrightStar is offline
 
Join Date: Nov 2008
Location: UK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rammieone View Post
Maybe worth redownloading the xml and trying to re import it mate
Well that didnt help but thanks for the tip. Odd thing is it doesnt even appear in quick links menu either!
Reply With Quote
  #139  
Old 07-26-2010, 04:39 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fully italian translation ...
Attached Files
File Type: xml adv_registration_italian.xml (10.5 KB, 6 views)
Reply With Quote
  #140  
Old 07-27-2010, 06:16 AM
mailshuxin mailshuxin is offline
 
Join Date: Nov 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chinese version
Tested on vbulletin suite 4.0.4
Attached Files
File Type: xml VSa - Advanced Registration_Chinese.xml (71.6 KB, 4 views)
Reply With Quote
  #141  
Old 07-27-2010, 06:20 AM
mailshuxin mailshuxin is offline
 
Join Date: Nov 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thins mod is very great
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 01: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.05675 seconds
  • Memory Usage 2,401KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete