vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Mini Mods - vB5 Invite-only (https://vborg.vbsupport.ru/showthread.php?t=328026)

delicjous 05-15-2020 09:00 PM

vB5 Invite-only
 
1 Attachment(s)
vB5 Invite-Only

What this addon do
With vB 5.6.1 every permitted user could generate an invite-/ referral-link to invite others to your forum. In vB 5.6.2 will come a new function to abort a registration with a message to the registering user. So this mod will abort the registration if the user did not use a referral-link or did use a not valid referral-link.

This is a free version so there is no option to turn this off until uninstall or disable the product from/ in your forum.

Attention:
  • As long as this addon is installed and active nobody without a valid referral-link could register!
  • A referral-code could be used multiple times until it will expires! There is no option to turn this off in this plugin!
  • A user could invite as much users he wants. There is no option to stop a user to send valid referral-links to others!

How to install

Just upload the unzipped folder into core/packages/ ... (core/packages/delinviteonlyfree)
The addon will install automatically and is active immediately!


How to uninstall

You could stop the plugin by disable the plugin in your admincp -> products and hooks -> product-manager -> dropdown right.

To fully uninstall the plugin, delete the folder delinviteonlyfree from core/packages/ and go to admincp-> products and hooks -> product-manager -> dropdown right -> uninstall

Version history
  • 1.0.0 - Initial release
  • 1.1.0 - Change the referralcode-check

With vB 5.6.1 the registration will stop with an api-error and no information to the registering user. After upgrading to vB 5.6.2+ the user will see either a message of a missing referral-code or a wrong referral code if there is no or no valid referral-code in the registration-link. Please use the Version InviteOnlyFree_110 and upload the delinviteonlyfree folder to the core/packages folder of your forum.

Do not install on any vB Version below 5.6.1!!!

In Omnibus 05-16-2020 03:24 PM

Good idea. I am sure many forums wlll find this useful.

nano_9219 05-18-2020 06:22 PM

That's great!!!!

How can I generate a referal link? Can you explain how this works?

Ty

delicjous 05-19-2020 08:56 AM

Explained in https://forum.vbulletin.com/forum/vb...e-for-download

EchoBilisim 07-05-2020 02:39 PM

Hello, is it compatible with 5.6.2 version?

delicjous 07-07-2020 05:37 AM

Quote:

Originally Posted by EchoBilisim (Post 2603410)
Hello, is it compatible with 5.6.2 version?

Did you read the description??? Yes it is!

ywwz 09-01-2020 03:07 AM

Hello, is it compatible with 5.6.3 version?

ywwz 12-25-2020 09:25 PM

Cannot register using the refer link... 5.6.4

delicjous 12-26-2020 04:50 AM

Quote:

Originally Posted by ywwz (Post 2605331)
Cannot register using the refer link... 5.6.4

Updated the code.
It should work now.
I don't know if vB had changed something, but I thought it was working with vB 5.6.2.

ywwz 12-26-2020 07:33 PM

1 Attachment(s)
Quote:

Originally Posted by delicjous (Post 2605333)
Updated the code.
It should work now.
I don't know if vB had changed something, but I thought it was working with vB 5.6.2.

It now works, I only used the file "delinviteonlyfree", am I missing anything? Thank you so much.


All times are GMT. The time now is 11:15 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.01577 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete