امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
I am attempting to call the
Code:
I want a list of IP addresses the...
Read more
getIpsByUser method located in XF/Repository/Ip. If it makes any difference, I'm calling it from a method in an item in XF/ApprovalQueue. I have tried calling it with both a user_id as well as a user entity object. Code:
کد:
$content = $unapprovedItem->Content;
$userId = $content->user_id;
$user = \XF::em()->find('XF:User', $userId);
$ipRepo = $app->repository('XF:Ip');
$ips = $ipRepo->getIpsByUser($user);
I want a list of IP addresses the...
Read more
