Quote:
Originally Posted by myown
how to give unlimited invitations to all users ? instead of 10, 20 or more.
|
HOW TO INCREASE INVITATIONS
This is what I had to do to get it to work. Tried to overwrite the existing plugin but it would not work.
Step 1 - Uninstall the invitation plugin
Step 2 - Edit the XML file.
Find this code: Located at Line
14
Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '10' NOT NULL");
Replace with the below code if you want 100 invitations:
Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 100 ) UNSIGNED DEFAULT '100' NOT NULL");
Replace with the below code if you want 1000 invitations:
Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 1000 ) UNSIGNED DEFAULT '1000' NOT NULL");
Or change the two numbers in red with whatever you want.
Step 3 - Re-install invitation plugin.