Quote:
Originally Posted by Aadil
Code:
# a> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
# b> Ability to reset invites to 0 on a per user basis (override), admin controlled
# c> Ability to reset to max being unused, admin controlled
# d> Abilitiy turn to on or off Invitation System per user basis, admin controlled
and how to change default 100 invites to everyone?
|
This can all be done via mysql....
a --> See my post above
------
b -->
Find the userid (edit user profile & it'll be at the top of the admincp page)
UPDATE user set invitation=0 WHERE userid=yyy
yyy - the userid you found in step 1 of these instructions.
------
c --> I don't understand what you want here.
------
d -->
Find userid as above instructions explain.
UPDATE user set caninvitation=0 WHERE userid=yyy
yyy - the userid you found in step 1 of these instructions.
------
Change all user invites en-masse -->
UPDATE user set invitation=100
Then click on Structure (in phpmyadmin)
Edit the invitation field (pencil icon) and change the Default field to 100 (this will ensure all future registrations will default to 100 invitations.