امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
This function has this this statement:
PHP:
Suppose the post position updates from 1 => 2, and it was made visible. This will result in multiple posts with position value of 2.
The newly made visible post will have a position of 2 and the post with a previous position...
Read more
PHP:
کد:
protected function postMadeVisible()
{
if ($this->isChanged('position'))
{
// if we've updated the position, we need to trust what we had is accurate...
$basePosition = $this->getExistingValue('position');
}
Suppose the post position updates from 1 => 2, and it was made visible. This will result in multiple posts with position value of 2.
The newly made visible post will have a position of 2 and the post with a previous position...
Read more
