[Plugin] InviteMod
[Plugin] DefaultAvatar »

CerealGuy

  • Posts: 343
[Plugin] InviteMod
« on April 25th, 2014, 04:55 PM »Last edited on May 26th, 2014, 08:53 PM
InviteMod

With this plugin, new users need an Invitekey to register. Those Invitekeys can be generated from already registered Members.
Features:

    Permissions for infinite slots
    User recieves on x posts an invitekey
    Notificationsupport

Installation

    Drop the 'invitemod' directory in your plugins folder.

    Now you have to add the custom hooks. You need to do this after each upgrade/update!

    In /core/app/Register.php
    Search

   loadTemplate('Register');

and add AFTER

   call_hook('register_form_pre', array());

In /core/app/ManagePlugins.php
Search: 'register', and add AFTER:

   
Code: [Select]
     'register_form_pre',

    Activate plugin in acp
    (optional) Configurate the plugin

ToDo

    Better Permissions
    more admin options

FAQ

Ok cool, but dude, what does this Plugin?!

Imagine, you want a more private forum and only People which know someone on the Forum should be able to register.
Or you want that only people you know can register, but they should create their account on there own. Thats possible with
this plugin.

Interesting but tell me some more

Well,  Member can have a dynamic amount of Inviteslots. That amount can increase by writing more than X posts.
Now they have probably 3 Inviteslot and they genereate one Invitekey. After that they would only have 2 Inviteslots anymore.
But they can delete the invitekey and get back the slot. However, if a person registeres with that key it will disappear and the slot would be "lost".

Is it possible to get back a "lost" Inviteslots?

Yes it is, currently there is an option with which you can set that the inviter gets back his inviteslot if the invited user writes X Posts (default 1000).

https://github.com/C3realGuy/we_InviteMod

[Plugin] DefaultAvatar »