Готовый перевод PhpFox Wiki / PhpFox Wiki: User_groups
Группы
Управление существующими группами
Добавление групп пользователей
Новые настройки группы
Подписка
Phpfox allows you to set subscriptions, which is basically a mechanism for changing users from one to another user group. You can use this to promote certain features, for example you may want to allow only a special user group the privilege of posting in the forum. This also serves as a way for your site to generate some direct income as you can charge for this change of user group. From this point on we will assume you have at least 2 user groups because the subscription requires it, one as a "On success" user group and one as a "On failure" user group. The on failure group will be the new user group when their order is not completed, this includes recurrent payments.
Создать пакеты подписки
Полный пример
Создать группу
Добавить дополнительные поля
Создать таблицы в базе данных
CREATE TABLE phpfox_photographer_value (user_id int(10) unsigned NOT NULL,UNIQUE KEY user_id (user_id)) ENGINE=MyISAM DEFAULT CHARSET=latin1;
CREATE TABLE phpfox_photographer (user_id int(10) unsigned NOT NULL,UNIQUE KEY user_id (user_id)) ENGINE=MyISAM DEFAULT CHARSET=latin1
Добавить поля для регистрации
Активировать подписку
Внимание! Этот перевод, возможно, ещё не готов.
Его статус: идёт перевод
Переведено на Нотабеноиде
http://notabenoid.org/book/10862/34901
Настройки
Готово:
