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

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
  #62  
Old 12-29-2008, 09:11 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invitation code is included in e-mail only when it's required to join.

Check hack options.
Reply With Quote
  #63  
Old 12-30-2008, 04:56 PM
samuelss samuelss is offline
 
Join Date: Feb 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybernetec View Post
Invitation code is included in e-mail only when it's required to join.

Check hack options.
Thanks for being so helpful.
Reply With Quote
  #64  
Old 12-30-2008, 06:07 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome :-)
Reply With Quote
  #65  
Old 01-01-2009, 10:12 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.4 - Jan 02. 2009.
- Break lists into pages with standard vB navigation
- Code cleanup

To upgrade:
- Import XML, allow overwrite
- Revert hack templates if any modified
Reply With Quote
  #66  
Old 01-02-2009, 06:30 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
Cybernetec - the chinese Spambot that causes Registrations everywhere and the Discussions of the last Months.
Any Idea why the Spambots still come through the Registrationquestions?
Reply With Quote
  #67  
Old 01-02-2009, 05:46 PM
kkeezer's Avatar
kkeezer kkeezer is offline
 
Join Date: Jan 2006
Location: Overland Park, KS
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated, TY! :up:

Kyle
Reply With Quote
  #68  
Old 01-05-2009, 06:04 AM
Aneurysm's Avatar
Aneurysm Aneurysm is offline
 
Join Date: Jul 2006
Location: West Coast, USA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update!!!
Reply With Quote
  #69  
Old 01-06-2009, 02:14 AM
Computer_Angel Computer_Angel is offline
 
Join Date: Aug 2004
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In hook: register_addmember_process
Quote:
if (($cybareg_tiinfo['inviter']>0) AND empty($userdata->errors))
{
$vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "cyb_advreg_invite SET done = '1' WHERE id = '".$db->escape_string($cybareg_tiinfo['id'])."' ");
$cybareg_refinfo = $vbulletin->db->query_first("
SELECT username
FROM " . TABLE_PREFIX . "user AS user
WHERE userid = '".$db->escape_string($cybareg_tiinfo['inviter'])."'
");
$userdata->set('referrerid', $cybareg_refinfo['username']);
}
$db->show_errors();
It seem you missing the show error when no invitation/ invalid invitation code. So the registration process will continue going event I set the option "Only invited users can register".
Reply With Quote
  #70  
Old 01-06-2009, 02:17 AM
Computer_Angel Computer_Angel is offline
 
Join Date: Aug 2004
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the hook : parse_templates

Quote:
if ($vbulletin->options['cybareg_enable'] AND $vbulletin->options['cybareg_enable_invite'] AND $vbulletin->userinfo['userid'])
{
$cybareg_navbarlink = "<a href=\"misc.php?do=cybareginv\">".$vbphrase['cybareg_invitation_invite']."</a>";
if ($vbulletin->options['cybareg_enable_link'])
{
$vbulletin->templatecache['navbar'] = str_replace('vbphrase[faq]</a></td>','vbphrase[faq]</a></td><td class=\"vbmenu_control\">$cybareg_navbarlink</td>',$vbulletin->templatecache['navbar']);
}
}
The invite friend link seem appear when using the default template. If I use other template then the invite link doesn't appear.
Reply With Quote
  #71  
Old 01-06-2009, 06:08 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just leave these plug-ins alone, it works properly. :-)

"Invite" link should be added manually to custom styles.

And use CODE tags when you want to post codes on forums.
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 10:21 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.05115 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (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
  • (4)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_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