D1gaTel Posted January 17, 2013 Report Share Posted January 17, 2013 Как сделать так, чтобы галочка "Модерировать запросы на дружбу?" стояла по-умолчанию? Link to comment Share on other sites More sharing options...
Respected Posted January 17, 2013 Report Share Posted January 17, 2013 Как сделать так, чтобы галочка "Модерировать запросы на дружбу?" стояла по-умолчанию? Никак такое не реализовать. Link to comment Share on other sites More sharing options...
NomiD Posted January 17, 2013 Report Share Posted January 17, 2013 Ну почему же никак, все делается с помощью sql запроса, вот только не помню какой. Link to comment Share on other sites More sharing options...
D1gaTel Posted January 17, 2013 Author Report Share Posted January 17, 2013 (edited) Я смотрел таблицу members,frends ничего не нашёл... Edited January 17, 2013 by D1gaTel Link to comment Share on other sites More sharing options...
NomiD Posted January 17, 2013 Report Share Posted January 17, 2013 UPDATE ibf_profile_portal SET pp_setting_moderate_friends=1; ALTER TABLE ibf_profile_portal CHANGE pp_setting_moderate_friends pp_setting_moderate_friends TINYINT(1) NOT NULL DEFAULT '1'; Первый запрос для текущих пользователей, второй для новых. Respected, Viktar83, D1gaTel and 1 other 4 Link to comment Share on other sites More sharing options...
jack007 Posted January 17, 2013 Report Share Posted January 17, 2013 Table 'lol.ibf_profile_portal' doesn't exist Link to comment Share on other sites More sharing options...
NomiD Posted January 17, 2013 Report Share Posted January 17, 2013 Походу не тот префикс таблицы, измените префикс ibf_ на свой. А вообще не понимаю зачем менять префиксы .. гемору же больше а толку от смены не какой. Link to comment Share on other sites More sharing options...
HooLIGUN Posted January 17, 2013 Report Share Posted January 17, 2013 jack007, UPDATE ibf_profile_portal SET pp_setting_moderate_friends=1; Где ipf_ это префикс таблиц форума,посмотрите как начинаются ваши таблицы,и исправьте запрос. У меня например запрос будет выглядет так: UPDATE ipb_profile_portal SET pp_setting_moderate_friends=1; Viktar83 1 Link to comment Share on other sites More sharing options...
Recommended Posts