امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I'm trying to update the user's secondary groups using a super user api key. I want to add the user to group 5, which is a test group I've created. I'm getting a success message but the secondary groups haven't changed. Anyone know why it's not updating?
PHP:
Read more
PHP:
کد:
<?php
$vars = [
'api_bypass_permissions' => 1,
'username' => 'admin',
'secondary_group_ids' => [4, 5],
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://urbanmc.tk/api/users/3/");
curl_setopt($ch, CURLOPT_POST...
Read more
